runcell 0.1.16a0__py3-none-any.whl → 0.1.16a2__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 (557) hide show
  1. d5m_ai/_version.py +1 -1
  2. d5m_ai/completion/__init__.py +11 -1
  3. d5m_ai/empty_display/__init__.py +3 -0
  4. d5m_ai/empty_display/empty_display_handler.py +137 -0
  5. d5m_ai/extension.py +12 -1
  6. d5m_ai/git_status_handler.py +225 -0
  7. d5m_ai/gitignore_handler.py +120 -0
  8. d5m_ai/labextension/package.json +7 -2
  9. d5m_ai/labextension/schemas/runcell/file-browser-toggle.json +22 -0
  10. d5m_ai/labextension/schemas/runcell/package.json.orig +7 -2
  11. d5m_ai/labextension/static/1105.da3b3cc0801d5b7daf78.js +1 -0
  12. d5m_ai/labextension/static/1113.a6206c1ce30c44e74d65.js +1 -0
  13. d5m_ai/labextension/static/1424.7330f97f81a7cbac0293.js +1 -0
  14. d5m_ai/labextension/static/1482.5594d3330698044d51b6.js +1 -0
  15. d5m_ai/labextension/static/1681.b7dbfbfc8e8bb443b01d.js +1 -0
  16. d5m_ai/labextension/static/1741.0e30660c73a4aa6109e0.js +1 -0
  17. d5m_ai/labextension/static/1980.a1d8fd213c03964ca2dd.js +1 -0
  18. d5m_ai/labextension/static/2313.e3756d51e535b61cbc41.js +1 -0
  19. d5m_ai/labextension/static/2331.f0e4d66886493b7ff0f6.js +48 -0
  20. d5m_ai/labextension/static/239.17dc9f15aff0e2c966f0.js +1 -0
  21. d5m_ai/labextension/static/2443.590c85be4982d61f9378.js +1 -0
  22. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4077.edd571d319dc66c9d7fa.js → d5m_ai/labextension/static/2490.742d719657af69afad3e.js +1 -1
  23. d5m_ai/labextension/static/2636.c45f9685b0508a44882a.js +1 -0
  24. d5m_ai/labextension/static/2726.e9c471b4ad7fed0d085b.js +1 -0
  25. d5m_ai/labextension/static/2783.e11cc76ea288d3c135d0.js +1 -0
  26. d5m_ai/labextension/static/2922.8cdf00bb7d09c5419d78.js +2 -0
  27. d5m_ai/labextension/static/2951.ef10b72fe6b301f68146.js +1 -0
  28. d5m_ai/labextension/static/2958.38f8dc8fc705367ecec4.js +1 -0
  29. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5408.f0ba6921f1e4477b4a96.js → d5m_ai/labextension/static/3027.2226147340da305061f3.js +1 -1
  30. d5m_ai/labextension/static/3033.98d8aa6a2f13a942b945.js +1 -0
  31. d5m_ai/labextension/static/3131.5b8a2d5bc188f95b8229.js +1 -0
  32. d5m_ai/labextension/static/3340.6609b3985073e002c83d.js +2 -0
  33. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/415.c2838574e93d05eb13ea.js → d5m_ai/labextension/static/415.0a1fdc1d9f76c0431d42.js +1 -1
  34. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9451.9bf13bcd4aa14be0ce6e.js → d5m_ai/labextension/static/4175.550a71c6766138e5a6ee.js +1 -1
  35. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4296.22c023f73b9ef8838492.js → d5m_ai/labextension/static/4296.7f1db6691a4ac120a383.js +1 -1
  36. d5m_ai/labextension/static/434.bfe4f51db2eb9644fbe7.js +2 -0
  37. d5m_ai/labextension/static/4497.5c0323113f039c9558b6.js +1 -0
  38. d5m_ai/labextension/static/4664.73a65498a9c43ddcf17e.js +1 -0
  39. d5m_ai/labextension/static/5112.5f1cd8ee9c2297a251f7.js +1 -0
  40. d5m_ai/labextension/static/5228.05d972957a2421ec1ce0.js +1 -0
  41. d5m_ai/labextension/static/5264.37c842e2843ca2bf4298.js +1 -0
  42. d5m_ai/labextension/static/{8652.ccf18cf55b444e7e4609.js → 539.7b5e45294371c047b74e.js} +1 -1
  43. d5m_ai/labextension/static/5391.375b4314cb4b851f0915.js +2 -0
  44. d5m_ai/labextension/static/5408.07fc40e33d3fd1a3f7b6.js +1 -0
  45. d5m_ai/labextension/static/5455.c1d01203e7e387437b83.js +1 -0
  46. d5m_ai/labextension/static/559.a4c3a83a74025324f179.js +1 -0
  47. d5m_ai/labextension/static/6131.0393c6487450018afcae.js +1 -0
  48. d5m_ai/labextension/static/6354.0025efd7872b7d32b46b.js +2 -0
  49. d5m_ai/labextension/static/6494.da246ca8363db0bb8bfc.js +1 -0
  50. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4175.d23c246efa6921b45150.js → d5m_ai/labextension/static/6556.7a46eed7932ddfc9e659.js +1 -1
  51. d5m_ai/labextension/static/6633.6708bbc3c085110097da.js +1 -0
  52. d5m_ai/labextension/static/6820.b3aba76c0f17b2560849.js +1 -0
  53. d5m_ai/labextension/static/7440.4e80677e4d48bac95cb6.js +1 -0
  54. d5m_ai/labextension/static/7556.c28352f72f5c6ab4e9e9.js +1 -0
  55. d5m_ai/labextension/static/7665.9b5dec1a38d313e36c39.js +1 -0
  56. d5m_ai/labextension/static/7772.094d82c7ec81259764f4.js +2 -0
  57. d5m_ai/labextension/static/8053.ebcecafa176e4cb5c439.js +2 -0
  58. d5m_ai/labextension/static/8263.47d184d4682b2f6564c4.js +1 -0
  59. d5m_ai/labextension/static/9319.6255ff90c37ad4298707.js +1 -0
  60. d5m_ai/labextension/static/9417.b1bbd219cb5ae78f19f9.js +1 -0
  61. d5m_ai/labextension/static/9517.b2f4fa51abd8b9d6687e.js +1 -0
  62. d5m_ai/labextension/static/9599.456325f0d51fefd16a42.js +1 -0
  63. d5m_ai/labextension/static/9977.17f268665ed85e3ccc62.js +1 -0
  64. d5m_ai/labextension/static/9997.1716894eb29a02d76575.js +1 -0
  65. d5m_ai/labextension/static/remoteEntry.c31036ba7b40ed91b072.js +1 -0
  66. d5m_ai/labextension/static/third-party-licenses.json +78 -12
  67. d5m_ai/ping/ping_handler.py +10 -1
  68. d5m_ai/quick_fix/__init__.py +9 -0
  69. d5m_ai/quick_fix/quick_fix_handler.py +142 -0
  70. d5m_ai/search_replace_handler.py +404 -0
  71. d5m_ai/tools/grep.py +54 -10
  72. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/package.json +7 -2
  73. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/schemas/runcell/file-browser-toggle.json +22 -0
  74. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/package.json.orig +7 -2
  75. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/1105.da3b3cc0801d5b7daf78.js +1 -0
  76. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/1113.a6206c1ce30c44e74d65.js +1 -0
  77. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/1424.7330f97f81a7cbac0293.js +1 -0
  78. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/1482.5594d3330698044d51b6.js +1 -0
  79. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/1681.b7dbfbfc8e8bb443b01d.js +1 -0
  80. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/1741.0e30660c73a4aa6109e0.js +1 -0
  81. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/1980.a1d8fd213c03964ca2dd.js +1 -0
  82. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2313.e3756d51e535b61cbc41.js +1 -0
  83. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2331.f0e4d66886493b7ff0f6.js +48 -0
  84. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/239.17dc9f15aff0e2c966f0.js +1 -0
  85. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2443.590c85be4982d61f9378.js +1 -0
  86. d5m_ai/labextension/static/4077.edd571d319dc66c9d7fa.js → runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2490.742d719657af69afad3e.js +1 -1
  87. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2636.c45f9685b0508a44882a.js +1 -0
  88. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2726.e9c471b4ad7fed0d085b.js +1 -0
  89. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2783.e11cc76ea288d3c135d0.js +1 -0
  90. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2922.8cdf00bb7d09c5419d78.js +2 -0
  91. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2951.ef10b72fe6b301f68146.js +1 -0
  92. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2958.38f8dc8fc705367ecec4.js +1 -0
  93. d5m_ai/labextension/static/5408.f0ba6921f1e4477b4a96.js → runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/3027.2226147340da305061f3.js +1 -1
  94. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/3033.98d8aa6a2f13a942b945.js +1 -0
  95. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/3131.5b8a2d5bc188f95b8229.js +1 -0
  96. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/3340.6609b3985073e002c83d.js +2 -0
  97. d5m_ai/labextension/static/415.c2838574e93d05eb13ea.js → runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/415.0a1fdc1d9f76c0431d42.js +1 -1
  98. d5m_ai/labextension/static/9451.9bf13bcd4aa14be0ce6e.js → runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/4175.550a71c6766138e5a6ee.js +1 -1
  99. d5m_ai/labextension/static/4296.22c023f73b9ef8838492.js → runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/4296.7f1db6691a4ac120a383.js +1 -1
  100. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/434.bfe4f51db2eb9644fbe7.js +2 -0
  101. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/4497.5c0323113f039c9558b6.js +1 -0
  102. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/4664.73a65498a9c43ddcf17e.js +1 -0
  103. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5112.5f1cd8ee9c2297a251f7.js +1 -0
  104. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5228.05d972957a2421ec1ce0.js +1 -0
  105. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5264.37c842e2843ca2bf4298.js +1 -0
  106. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8652.ccf18cf55b444e7e4609.js → runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/539.7b5e45294371c047b74e.js +1 -1
  107. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5391.375b4314cb4b851f0915.js +2 -0
  108. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5408.07fc40e33d3fd1a3f7b6.js +1 -0
  109. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5455.c1d01203e7e387437b83.js +1 -0
  110. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/559.a4c3a83a74025324f179.js +1 -0
  111. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js.LICENSE.txt +9 -0
  112. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/6131.0393c6487450018afcae.js +1 -0
  113. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/6354.0025efd7872b7d32b46b.js +2 -0
  114. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/6354.0025efd7872b7d32b46b.js.LICENSE.txt +9 -0
  115. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/6494.da246ca8363db0bb8bfc.js +1 -0
  116. d5m_ai/labextension/static/4175.d23c246efa6921b45150.js → runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/6556.7a46eed7932ddfc9e659.js +1 -1
  117. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/6633.6708bbc3c085110097da.js +1 -0
  118. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/6820.b3aba76c0f17b2560849.js +1 -0
  119. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/7440.4e80677e4d48bac95cb6.js +1 -0
  120. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/7556.c28352f72f5c6ab4e9e9.js +1 -0
  121. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/7665.9b5dec1a38d313e36c39.js +1 -0
  122. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/7772.094d82c7ec81259764f4.js +2 -0
  123. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/7772.094d82c7ec81259764f4.js.LICENSE.txt +9 -0
  124. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/8053.ebcecafa176e4cb5c439.js +2 -0
  125. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/8263.47d184d4682b2f6564c4.js +1 -0
  126. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js.LICENSE.txt +9 -0
  127. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/9319.6255ff90c37ad4298707.js +1 -0
  128. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/9417.b1bbd219cb5ae78f19f9.js +1 -0
  129. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/9517.b2f4fa51abd8b9d6687e.js +1 -0
  130. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/9599.456325f0d51fefd16a42.js +1 -0
  131. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/9977.17f268665ed85e3ccc62.js +1 -0
  132. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/9997.1716894eb29a02d76575.js +1 -0
  133. runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.c31036ba7b40ed91b072.js +1 -0
  134. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/third-party-licenses.json +78 -12
  135. {runcell-0.1.16a0.dist-info → runcell-0.1.16a2.dist-info}/METADATA +1 -1
  136. {runcell-0.1.16a0.dist-info → runcell-0.1.16a2.dist-info}/RECORD +467 -448
  137. d5m_ai/labextension/static/1028.9233307a672b5ed5f6dd.js +0 -2
  138. d5m_ai/labextension/static/1120.3a5c6cffcba0bf68b641.js +0 -1
  139. d5m_ai/labextension/static/1447.ac66ae39ce884d1a18d0.js +0 -1
  140. d5m_ai/labextension/static/1582.7da217d25960ba5397bd.js +0 -1
  141. d5m_ai/labextension/static/2161.b9e3a2903ed779f592ea.js +0 -1
  142. d5m_ai/labextension/static/2331.0c857f144a2f2b00f8a5.js +0 -48
  143. d5m_ai/labextension/static/2550.378fe2b47040840cbba8.js +0 -1
  144. d5m_ai/labextension/static/2629.316d3a1d7d7cfbfac695.js +0 -1
  145. d5m_ai/labextension/static/2650.3216fbc0094940682386.js +0 -1
  146. d5m_ai/labextension/static/3180.b882d8142e31a22c4ef1.js +0 -1
  147. d5m_ai/labextension/static/3390.801e2850a27488d150ad.js +0 -1
  148. d5m_ai/labextension/static/3898.7734843ff02cdada588b.js +0 -1
  149. d5m_ai/labextension/static/4023.69d752d417de37d76ade.js +0 -1
  150. d5m_ai/labextension/static/434.70808d0ec3c658d2b92d.js +0 -2
  151. d5m_ai/labextension/static/4580.34e04f4a7023e431d23d.js +0 -1
  152. d5m_ai/labextension/static/4662.421f5305b60cba12c534.js +0 -2
  153. d5m_ai/labextension/static/474.4f1d89bf1d32e86115a7.js +0 -1
  154. d5m_ai/labextension/static/505.0b3c0acccb75ef5c5f94.js +0 -1
  155. d5m_ai/labextension/static/5760.0764c352a23fbaf92015.js +0 -1
  156. d5m_ai/labextension/static/5768.1d2c1415c5e377656758.js +0 -1
  157. d5m_ai/labextension/static/5803.8d0ab269e03508d953f8.js +0 -1
  158. d5m_ai/labextension/static/6157.7340caa53e91c3c15c24.js +0 -1
  159. d5m_ai/labextension/static/6276.cf7ae04d4618ea88cb7d.js +0 -1
  160. d5m_ai/labextension/static/6405.3929194169c6276fd501.js +0 -1
  161. d5m_ai/labextension/static/6581.88276d028c7008c0d7e1.js +0 -1
  162. d5m_ai/labextension/static/7032.eca9d66cd1609cf6f365.js +0 -1
  163. d5m_ai/labextension/static/7060.bbf2c588a4144f5248ae.js +0 -1
  164. d5m_ai/labextension/static/7242.38eda68fb874a3721eea.js +0 -1
  165. d5m_ai/labextension/static/7261.d6bfa79184bf99829ca9.js +0 -1
  166. d5m_ai/labextension/static/7315.251f78c6623473a27bab.js +0 -1
  167. d5m_ai/labextension/static/7585.51f0157a7dd49a9a534e.js +0 -1
  168. d5m_ai/labextension/static/7618.c9e659f65fd9f8796383.js +0 -1
  169. d5m_ai/labextension/static/7728.3148ff9da2a552a37b64.js +0 -2
  170. d5m_ai/labextension/static/8053.cbb88a6e4c3f6b0fae8b.js +0 -2
  171. d5m_ai/labextension/static/8054.90b94cd21bd8db02f876.js +0 -1
  172. d5m_ai/labextension/static/8585.6f732e5d01ff2d4e2366.js +0 -1
  173. d5m_ai/labextension/static/8688.169ad6021b8624f8bf54.js +0 -1
  174. d5m_ai/labextension/static/8690.35988dd5d6c6da52307d.js +0 -1
  175. d5m_ai/labextension/static/8832.7d601f47c6263b04b71e.js +0 -1
  176. d5m_ai/labextension/static/9439.5294b5c7c6b988f8f312.js +0 -1
  177. d5m_ai/labextension/static/9744.402daf30add997cbcb0c.js +0 -1
  178. d5m_ai/labextension/static/9805.e511a6e51466a29b390f.js +0 -1
  179. d5m_ai/labextension/static/998.1d4225ccb6a06740f941.js +0 -1
  180. d5m_ai/labextension/static/9997.bc013b353c8eda57ad1c.js +0 -1
  181. d5m_ai/labextension/static/remoteEntry.d0ed4a0bca8c2e002f18.js +0 -1
  182. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1028.9233307a672b5ed5f6dd.js +0 -2
  183. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1120.3a5c6cffcba0bf68b641.js +0 -1
  184. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1447.ac66ae39ce884d1a18d0.js +0 -1
  185. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1582.7da217d25960ba5397bd.js +0 -1
  186. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2161.b9e3a2903ed779f592ea.js +0 -1
  187. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2331.0c857f144a2f2b00f8a5.js +0 -48
  188. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2550.378fe2b47040840cbba8.js +0 -1
  189. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2629.316d3a1d7d7cfbfac695.js +0 -1
  190. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2650.3216fbc0094940682386.js +0 -1
  191. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/3180.b882d8142e31a22c4ef1.js +0 -1
  192. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/3390.801e2850a27488d150ad.js +0 -1
  193. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/3898.7734843ff02cdada588b.js +0 -1
  194. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4023.69d752d417de37d76ade.js +0 -1
  195. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js +0 -2
  196. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4580.34e04f4a7023e431d23d.js +0 -1
  197. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4662.421f5305b60cba12c534.js +0 -2
  198. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/474.4f1d89bf1d32e86115a7.js +0 -1
  199. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/505.0b3c0acccb75ef5c5f94.js +0 -1
  200. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5760.0764c352a23fbaf92015.js +0 -1
  201. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5768.1d2c1415c5e377656758.js +0 -1
  202. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5803.8d0ab269e03508d953f8.js +0 -1
  203. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6157.7340caa53e91c3c15c24.js +0 -1
  204. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6276.cf7ae04d4618ea88cb7d.js +0 -1
  205. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6405.3929194169c6276fd501.js +0 -1
  206. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/6581.88276d028c7008c0d7e1.js +0 -1
  207. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7032.eca9d66cd1609cf6f365.js +0 -1
  208. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7060.bbf2c588a4144f5248ae.js +0 -1
  209. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7242.38eda68fb874a3721eea.js +0 -1
  210. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7261.d6bfa79184bf99829ca9.js +0 -1
  211. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7315.251f78c6623473a27bab.js +0 -1
  212. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7585.51f0157a7dd49a9a534e.js +0 -1
  213. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7618.c9e659f65fd9f8796383.js +0 -1
  214. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7728.3148ff9da2a552a37b64.js +0 -2
  215. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js +0 -2
  216. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8054.90b94cd21bd8db02f876.js +0 -1
  217. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8585.6f732e5d01ff2d4e2366.js +0 -1
  218. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8688.169ad6021b8624f8bf54.js +0 -1
  219. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8690.35988dd5d6c6da52307d.js +0 -1
  220. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8832.7d601f47c6263b04b71e.js +0 -1
  221. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9439.5294b5c7c6b988f8f312.js +0 -1
  222. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9744.402daf30add997cbcb0c.js +0 -1
  223. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9805.e511a6e51466a29b390f.js +0 -1
  224. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/998.1d4225ccb6a06740f941.js +0 -1
  225. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/9997.bc013b353c8eda57ad1c.js +0 -1
  226. runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/remoteEntry.d0ed4a0bca8c2e002f18.js +0 -1
  227. /d5m_ai/labextension/static/{2331.0c857f144a2f2b00f8a5.js.LICENSE.txt → 2331.f0e4d66886493b7ff0f6.js.LICENSE.txt} +0 -0
  228. /d5m_ai/labextension/static/{1028.9233307a672b5ed5f6dd.js.LICENSE.txt → 2922.8cdf00bb7d09c5419d78.js.LICENSE.txt} +0 -0
  229. /d5m_ai/labextension/static/{4662.421f5305b60cba12c534.js.LICENSE.txt → 3340.6609b3985073e002c83d.js.LICENSE.txt} +0 -0
  230. /d5m_ai/labextension/static/{434.70808d0ec3c658d2b92d.js.LICENSE.txt → 434.bfe4f51db2eb9644fbe7.js.LICENSE.txt} +0 -0
  231. /d5m_ai/labextension/static/{7728.3148ff9da2a552a37b64.js.LICENSE.txt → 5391.375b4314cb4b851f0915.js.LICENSE.txt} +0 -0
  232. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/1028.9233307a672b5ed5f6dd.js.LICENSE.txt → /d5m_ai/labextension/static/6354.0025efd7872b7d32b46b.js.LICENSE.txt +0 -0
  233. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js.LICENSE.txt → /d5m_ai/labextension/static/7772.094d82c7ec81259764f4.js.LICENSE.txt +0 -0
  234. /d5m_ai/labextension/static/{8053.cbb88a6e4c3f6b0fae8b.js.LICENSE.txt → 8053.ebcecafa176e4cb5c439.js.LICENSE.txt} +0 -0
  235. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/etc/jupyter/jupyter_server_config.d/d5m_ai.json +0 -0
  236. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/etc/jupyter/jupyter_server_config.d/runcell.json +0 -0
  237. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/install.json +0 -0
  238. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/schemas/runcell/plugin.json +0 -0
  239. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1045.a76db59a7c20953976f0.js +0 -0
  240. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1055.87aafb19805530488a2c.js +0 -0
  241. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/108.d7dbe40ec7e0ae1a68f8.js +0 -0
  242. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1104.a2b939bacec5e69efd99.js +0 -0
  243. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1171.130d3cc54764cac92856.js +0 -0
  244. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1178.3e25fad4a45450e227c9.js +0 -0
  245. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1203.5deaeee9e57ffc718f19.js +0 -0
  246. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1226.ff48aa5741f77eb739fe.js +0 -0
  247. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1273.4c5992b03f129c9e3025.js +0 -0
  248. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1285.cf3bab9529c47ac9288d.js +0 -0
  249. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1307.d98ceb66a2401e5f4ddd.js +0 -0
  250. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1328.38964f7daa84901e866f.js +0 -0
  251. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1377.edf5c2163aedef75c6a1.js +0 -0
  252. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1391.ab61eb03aed289d9d44c.js +0 -0
  253. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1431.a691b4fa7cf229072fc0.js +0 -0
  254. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1521.9f3807c4a4dd19a6ab8c.js +0 -0
  255. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1524.188ff9d525210d499ff3.js +0 -0
  256. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1534.39ba9b2bf5712b697b63.js +0 -0
  257. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1540.9eba7e882fd8e00a782a.js +0 -0
  258. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1552.5203480dcdda6574ef51.js +0 -0
  259. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1555.686745d50bd19fd9d271.js +0 -0
  260. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1618.9abd2093263741894755.js +0 -0
  261. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1635.84bd383b17e41c9fe103.js +0 -0
  262. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1678.57b141401f73a26257c8.js +0 -0
  263. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1685.842997eb9757846fe690.js +0 -0
  264. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1745.e6bb2c6882da5bf9883a.js +0 -0
  265. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1752.8c4ecff560428215fe75.js +0 -0
  266. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1797.f8ca14c3ec1c0f51f403.js +0 -0
  267. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1897.7cca7a664a9ca9b486ac.js +0 -0
  268. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1902.364fa5e977055fe14150.js +0 -0
  269. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1915.b55b7d52608421a7fc41.js +0 -0
  270. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/1970.dff4fcccbb6cadb04d0c.js +0 -0
  271. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/200.f1d30c245c18bbb03312.js +0 -0
  272. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js +0 -0
  273. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2031.155ab0916a863c8787a7.js.LICENSE.txt +0 -0
  274. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/207.f5bd6d1b383a6b01ca69.js +0 -0
  275. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2072.a4d04cc98bb118e689a1.js +0 -0
  276. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2075.5d6a026d7308b71b70a1.js +0 -0
  277. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2111.a3c1f620c0a31e54cb9f.js +0 -0
  278. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2152.4db0fcf1f4dccf54b600.js +0 -0
  279. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2173.9fddf72b827a6d629bad.js +0 -0
  280. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2198.e195afcaabb2e4063da9.js +0 -0
  281. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2224.c86b12cf9e2165904033.js +0 -0
  282. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2225.8d31eec53891ca7775b7.js +0 -0
  283. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2271.69d9ea25d4ddd02710f6.js +0 -0
  284. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/2331.0c857f144a2f2b00f8a5.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2331.f0e4d66886493b7ff0f6.js.LICENSE.txt +0 -0
  285. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2349.e7c5b5e507c7a81d1427.js +0 -0
  286. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2353.7b6b36b3164a86427209.js +0 -0
  287. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2382.9e67478cc4b31aede22c.js +0 -0
  288. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2385.cd85a7dd4acb5be739da.js +0 -0
  289. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/248.693fd98760ec6ce42219.js +0 -0
  290. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2555.7168a2616a6071addb97.js +0 -0
  291. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2576.56496d8cba50d3d69eb5.js +0 -0
  292. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2639.eb2553a7be688366d9f3.js +0 -0
  293. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2654.2453f6b5846a4719dba4.js +0 -0
  294. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/267.829ce2ca38940b778c91.js +0 -0
  295. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/270.9409a2f5631a31c79cd9.js +0 -0
  296. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2768.9e5b7c6ed84b2486f835.js +0 -0
  297. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2789.12830cdb21c09111668d.js +0 -0
  298. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js +0 -0
  299. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2824.d02df014c07b7288e78c.js.LICENSE.txt +0 -0
  300. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2838.2e689afee276e5e21c57.js +0 -0
  301. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2843.65aeb8be3744d20229b8.js +0 -0
  302. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2897.7bc91ca284ea12b863e8.js +0 -0
  303. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2905.0d34ef7a481f9a968f05.js +0 -0
  304. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/2922.8cdf00bb7d09c5419d78.js.LICENSE.txt +0 -0
  305. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/2971.60c60668c130ed05d493.js +0 -0
  306. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/299.8600f54b39a11eeff427.js +0 -0
  307. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3028.953cd3b9865063969086.js +0 -0
  308. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3041.4059f9ba4f9eba56672a.js +0 -0
  309. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3045.a457aa1d023ba5f799c2.js +0 -0
  310. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3092.fad665f8cdb1da61b55b.js +0 -0
  311. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3142.7df01050c977ede2b13b.js +0 -0
  312. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3157.bcb9f8ff06fa4af27b6a.js +0 -0
  313. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3214.a986c1896fa590b2da27.js +0 -0
  314. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3239.4562297487744a7cc1d4.js +0 -0
  315. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/325.bd1e5cab3b6e068b25bc.js +0 -0
  316. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3254.9e1aa1fee12644fea2d9.js +0 -0
  317. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3267.ff884bf47b52ac634854.js +0 -0
  318. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3291.156ad2d1520857115575.js +0 -0
  319. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3311.dc97fd544e85acac8477.js +0 -0
  320. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3319.687f07bb2f993c1dc44b.js +0 -0
  321. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3325.c100f45711f539a7f262.js +0 -0
  322. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/4662.421f5305b60cba12c534.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/3340.6609b3985073e002c83d.js.LICENSE.txt +0 -0
  323. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js +0 -0
  324. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3386.4c8eebdb8d318c2913ce.js.LICENSE.txt +0 -0
  325. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3407.cbbf99a2ff4805726f3e.js +0 -0
  326. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3424.92b1a820ff2aa6156c36.js +0 -0
  327. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3426.27afd4c41cfad8e1a63d.js +0 -0
  328. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3436.ea677bb3e7f3ce87d7fd.js +0 -0
  329. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3449.5d8818fac081c207ce79.js +0 -0
  330. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3514.c8a1863df3cfd5390617.js +0 -0
  331. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/355.45290b03d6d4be49a58e.js +0 -0
  332. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3551.87e6eb270a212d08b1b5.js +0 -0
  333. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/359.1463d2cf955623ecceae.js +0 -0
  334. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3619.3dfa7c4eaa067a407275.js +0 -0
  335. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3645.5ea37d9f483120f69f4e.js +0 -0
  336. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3659.056fa5e4e39b72bc358b.js +0 -0
  337. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3688.7bd1ba5006b22ed5616e.js +0 -0
  338. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3722.688cdfd335ffeac13492.js +0 -0
  339. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3724.06a5a1b542ff978df3b4.js +0 -0
  340. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/376.f9c52e5bbd650da7b67f.js +0 -0
  341. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3794.c0236d400b2129ac42a9.js +0 -0
  342. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/3930.b142768bad429b3ebb04.js +0 -0
  343. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4003.95678dd199222938923b.js +0 -0
  344. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4017.d35a7557e5338be92770.js +0 -0
  345. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4050.00a6bfc9f23c6ef07199.js +0 -0
  346. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4087.ea430b62171512019400.js +0 -0
  347. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/410.fd643a255d72a83c1be6.js +0 -0
  348. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4127.0e783d9a497298e9fe18.js +0 -0
  349. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4238.bd4642c4f9256441aea5.js +0 -0
  350. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4246.d8aedd2b15d1a95f1288.js +0 -0
  351. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4272.c92c9a0d98749863c853.js +0 -0
  352. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4317.1ba9f3c33b7a1484c5df.js +0 -0
  353. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/434.70808d0ec3c658d2b92d.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/434.bfe4f51db2eb9644fbe7.js.LICENSE.txt +0 -0
  354. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4353.6a83dae11a48e9d1b345.js +0 -0
  355. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4358.53a6106c5c93c3fda026.js +0 -0
  356. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4364.e87c307df69aa50a5b2a.js +0 -0
  357. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4365.b2b4496cc260301256b9.js +0 -0
  358. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4371.647bc44642d1ad0e99e4.js +0 -0
  359. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4390.1cafd3d4635b09e0c945.js +0 -0
  360. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js +0 -0
  361. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/7728.3148ff9da2a552a37b64.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/4412.23a8cb5fb7377d3c81ab.js.LICENSE.txt +0 -0
  362. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4425.a34c4f44daa5996eeec4.js +0 -0
  363. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4447.3ad32bafee045d2c0bab.js +0 -0
  364. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4477.d9e871faf650e6ad238a.js +0 -0
  365. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/45.560ee8b955f55e6a7471.js +0 -0
  366. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4503.794c4dd58c6bf2e6a66d.js +0 -0
  367. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4584.c610d4a425b036b86759.js +0 -0
  368. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4613.05840d3fc617590fff51.js +0 -0
  369. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4630.a78300f70b9af36897eb.js +0 -0
  370. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4682.1b69aa450cedd96227c9.js +0 -0
  371. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4713.4e4e598399fd6de85f5d.js +0 -0
  372. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4725.5447994a36dfeda58b9f.js +0 -0
  373. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4755.74d46f71eb4d23e4bca2.js +0 -0
  374. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4838.688e36ea43737e72dbdc.js +0 -0
  375. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/485.d27de91b0124447cf435.js +0 -0
  376. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4872.1404f5d25464532c27c2.js +0 -0
  377. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4886.443bcf6af7b83f72b4b5.js +0 -0
  378. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4913.d226f3c41ebb36489ce3.js +0 -0
  379. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/492.a7f5e972b35c8c877bf1.js +0 -0
  380. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/4928.5c8ad7f80ba081dfdbba.js +0 -0
  381. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5146.45d9b015343e5a7cace1.js +0 -0
  382. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5183.8c5527ebc7a807107471.js +0 -0
  383. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/524.927c6a42244b04ee834f.js +0 -0
  384. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5253.2cea0b927b50c952fe98.js +0 -0
  385. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5331.c971f98ac4fd9e9751a4.js +0 -0
  386. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/5391.375b4314cb4b851f0915.js.LICENSE.txt +0 -0
  387. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5431.528d309549815d363599.js +0 -0
  388. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5447.1267bc4aa4938bd0f08d.js +0 -0
  389. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5466.e1da4e862af22e314f82.js +0 -0
  390. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5473.7ac9ad0a3e047bfeceb0.js +0 -0
  391. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5509.c8c8ddebaabc3579daba.js +0 -0
  392. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5590.fd188e01caa78afb3ec4.js +0 -0
  393. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5620.cd3cd230d09209b34fb5.js +0 -0
  394. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5636.ca803ffcf0d43c2402c9.js +0 -0
  395. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5672.156ad2d1520857115575.js +0 -0
  396. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5695.0da6228c48571d9386f3.js +0 -0
  397. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5715.66ad4e7324b22a5e27fb.js +0 -0
  398. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5741.edd8fd814866705aad98.js +0 -0
  399. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5748.53eb48f5623074a948ba.js +0 -0
  400. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5765.e957d823cdfe2746a356.js +0 -0
  401. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5788.b9c62804c0698b91ca8a.js +0 -0
  402. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5882.b40b5d690d3f6f67f09a.js +0 -0
  403. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5885.8cd4d3e3008fdb31ce2a.js +0 -0
  404. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5900.6dca06924caef83a5b52.js +0 -0
  405. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5906.870c0d7bb4e022aaca9d.js +0 -0
  406. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5908.e81f83f7a9906d9d7542.js +0 -0
  407. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5973.4e08bf1ee13205326051.js +0 -0
  408. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/5977.d264e9baaebc417e35c0.js +0 -0
  409. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6007.987a9850d5891b1908ae.js +0 -0
  410. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js +0 -0
  411. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6030.dd5fd07844168dbaa6f6.js.LICENSE.txt +0 -0
  412. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6079.5c80b9de6aabb0be08d2.js +0 -0
  413. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6084.bf8d6b1da6c4cad209bb.js +0 -0
  414. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6094.f96654ca0070f8f391b1.js +0 -0
  415. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/611.5ae7fb260af8629f1528.js +0 -0
  416. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6176.bd441d4d6fe942889bf3.js +0 -0
  417. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6221.457e64a4f06be421eaa4.js +0 -0
  418. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6266.4f2bcc95c2d61cdaacbc.js +0 -0
  419. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/627.84c4aa26f69662abb72d.js +0 -0
  420. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6293.823b9bfe50fdfd62dd42.js +0 -0
  421. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6299.b14c1d46ba4ad9799f63.js +0 -0
  422. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6306.8d22227d6aa1dfc32da5.js +0 -0
  423. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6320.b844d6686eebcb036643.js +0 -0
  424. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6322.997db39a5d4b63e72b21.js +0 -0
  425. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6336.92de365c5fb0f261f799.js +0 -0
  426. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6366.5049626e7d5bb38a8574.js +0 -0
  427. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/640.ebfad36f1dde45e9cd05.js +0 -0
  428. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/642.817a48a77e1c16e6e65d.js +0 -0
  429. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6520.ff2a9ec2e50dd45868ac.js +0 -0
  430. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6573.7899a873adb98c3c0190.js +0 -0
  431. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6648.b7ed5e9a732275dc85ac.js +0 -0
  432. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6676.1a71900a6131dbe02aad.js +0 -0
  433. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6678.fe58c12ce33b0f5706f5.js +0 -0
  434. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6772.01fcccfcabd525210aee.js +0 -0
  435. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6774.1e0a751d7079179f8f73.js +0 -0
  436. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6795.1c49fa950817836e3f1e.js +0 -0
  437. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6803.eccda2da06d869b0acda.js +0 -0
  438. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6822.5bf91484ea172f864747.js +0 -0
  439. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6853.48004207e7c689ec55b4.js +0 -0
  440. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6880.c3cfce260b3d25d9ef5e.js +0 -0
  441. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6906.1f65b08daf64af8d1f27.js +0 -0
  442. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/6982.d9f1a29fe7834b53c855.js +0 -0
  443. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7005.9f8920f4e58652fe3ef9.js +0 -0
  444. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/711.5c259d7417620cf8eef8.js +0 -0
  445. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7131.cab088ddb371234f1fd6.js +0 -0
  446. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7161.f03be5c4590ae6db98c1.js +0 -0
  447. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7166.6e64d20ff3d06bb0726a.js +0 -0
  448. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7181.1d3f5611193e734beaf4.js +0 -0
  449. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/72.081fe34e2c76320135d0.js +0 -0
  450. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7232.5969981a73dac6835b93.js +0 -0
  451. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7273.9e6765278092fd30a14f.js +0 -0
  452. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7280.5862e5cf2b594fd45f82.js +0 -0
  453. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7336.b8136533f61cd1b71adc.js +0 -0
  454. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7359.7bc0ef939742600dba39.js +0 -0
  455. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7399.6fa42c5d34d3659f9f68.js +0 -0
  456. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7400.ea48afe8766bd82b3741.js +0 -0
  457. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7441.bce20fb0ea3d8638bc30.js +0 -0
  458. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7488.f63b5ad13eb23dbc3915.js +0 -0
  459. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/751.48ddf412afdd781e868f.js +0 -0
  460. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7572.937d1e5ce68a384389e9.js +0 -0
  461. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7652.cf086dfcd950ff2c4554.js +0 -0
  462. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7672.61e8e5299259407f1ee1.js +0 -0
  463. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7705.962a56002e394e3755aa.js +0 -0
  464. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7719.9dbadc40622a97c6fa90.js +0 -0
  465. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7771.efa5c4cf41907b4c8cfc.js +0 -0
  466. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/779.c50f60eeca2b40bf96db.js +0 -0
  467. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7792.e67368a87fa703a97f25.js +0 -0
  468. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7812.1b53bb1f6cce555d0b70.js +0 -0
  469. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7890.c8c8ddebaabc3579daba.js +0 -0
  470. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7954.b02433d4bd38b648ec0e.js +0 -0
  471. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7959.75734676fe5e861ad899.js +0 -0
  472. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7967.ccc236f921abba961fcb.js +0 -0
  473. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/7981.c14b5974541e98a1b340.js +0 -0
  474. /runcell-0.1.16a0.data/data/share/jupyter/labextensions/runcell/static/8053.cbb88a6e4c3f6b0fae8b.js.LICENSE.txt → /runcell-0.1.16a2.data/data/share/jupyter/labextensions/runcell/static/8053.ebcecafa176e4cb5c439.js.LICENSE.txt +0 -0
  475. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8056.06f4e4d87d7ccc1e4662.js +0 -0
  476. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8066.ad6692e614937d4dc480.js +0 -0
  477. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8122.f671cfb05d97b5e220fa.js +0 -0
  478. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8146.fc69595fa9fb4dc989ec.js +0 -0
  479. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8151.e18e503723ffa9d576f7.js +0 -0
  480. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8177.d8e81718e82279286385.js +0 -0
  481. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8179.33453f3165561d33347d.js +0 -0
  482. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8181.0f15741bcd037cfaf528.js +0 -0
  483. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8249.01410b92489460697717.js +0 -0
  484. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8295.39003c08c2539bf22593.js +0 -0
  485. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8304.075c39345f3b817edfb1.js +0 -0
  486. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8321.3ba6a40e5ed74b977afc.js +0 -0
  487. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8343.31e93467f566af5fb10e.js +0 -0
  488. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8354.3044135d1229985d61c6.js +0 -0
  489. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8366.55b8257f92b23e6f49ec.js +0 -0
  490. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8369.80293e64ec102044c767.js +0 -0
  491. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/84.3575d43472885d2b7714.js +0 -0
  492. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8400.7d8ed1bca69c56f67486.js +0 -0
  493. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8404.1c1c675dc23d7d9d80de.js +0 -0
  494. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8437.795ac38d87895b50d98e.js +0 -0
  495. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8480.6698a41d2cf895aafe0f.js +0 -0
  496. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8482.85d03122dfec6d4f9307.js +0 -0
  497. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/851.9faa523fb28cedcd6b88.js +0 -0
  498. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8522.dd261948e958bcf4ae64.js +0 -0
  499. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8524.4c79a5ea5e22a1389a1f.js +0 -0
  500. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8649.b722755e4bccf4a39cd5.js +0 -0
  501. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8675.ffadeba0edbfd8d2285d.js +0 -0
  502. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8748.bb9c4496cf4ab7577e74.js +0 -0
  503. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8751.e80b9f51b9cdb544d16b.js +0 -0
  504. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8768.4aba875e6cfb350edfa7.js +0 -0
  505. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/880.0bcd5ab06196cb9533c4.js +0 -0
  506. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8824.4b08a890046be218bb35.js +0 -0
  507. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8829.c51ecb2bf77a1ca2a962.js +0 -0
  508. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8856.6e271445d6d3837302ec.js +0 -0
  509. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8860.c824d17d8869a6dd6207.js +0 -0
  510. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8887.6480b4ee0c5fa187c2d7.js +0 -0
  511. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8929.3329d360058c1764e201.js +0 -0
  512. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/8957.4f33250ba35099dbe048.js +0 -0
  513. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9014.0e67032c3d7119ce3370.js +0 -0
  514. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/904.60333ec0aebf2d092197.js +0 -0
  515. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9040.9376593b8e7caa5ed6a0.js +0 -0
  516. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9055.7b9ab3136d6a82b298a4.js +0 -0
  517. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9071.d8aea526bf53118639a9.js +0 -0
  518. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9113.f9e25015d31ee397e490.js +0 -0
  519. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9115.c30adf6f374eb1bd3b93.js +0 -0
  520. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9125.26a8a929493c19af9f50.js +0 -0
  521. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9165.8b0907227f85ba27306b.js +0 -0
  522. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9180.7d6cded0c9f36ac75093.js +0 -0
  523. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9184.33de87e8d509010a9bdf.js +0 -0
  524. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9193.3666b71cf376fdec58b4.js +0 -0
  525. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9205.a2f5f2a2c0b69582717e.js +0 -0
  526. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9251.822a5aa9397713d54ea2.js +0 -0
  527. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9255.ad693b359f0d12767fe1.js +0 -0
  528. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9262.bebc0ed75d7f86d722f2.js +0 -0
  529. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9277.f3623a34b457ca052d80.js +0 -0
  530. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9285.2d3c4984387ebca606d4.js +0 -0
  531. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9289.9fb56f7beb83d721e654.js +0 -0
  532. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/934.3ce5b696b827323e706e.js +0 -0
  533. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9402.b8868b6860051723bf48.js +0 -0
  534. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9404.f6ff67c04b5dfb52e3d9.js +0 -0
  535. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9412.fe8cf617636a0df90247.js +0 -0
  536. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9456.2f96fda82d4be6b0448e.js +0 -0
  537. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9494.b4ae8d6a63ec84cc4ec3.js +0 -0
  538. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9513.0db046603be52099c3ec.js +0 -0
  539. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9514.458d7630c50b4b658200.js +0 -0
  540. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9559.07e6563cb0b401ff88a6.js +0 -0
  541. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9576.b2d6c2e9831fda63f41f.js +0 -0
  542. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9607.a4f836281d0337527f6e.js +0 -0
  543. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9621.55ea68ee13d702908a10.js +0 -0
  544. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9640.c489050f3a1342328779.js +0 -0
  545. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9650.b4d4a115ac2fca1dfbe8.js +0 -0
  546. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9704.f4c6d15183531d37b825.js +0 -0
  547. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9734.63cf17414a5103d290bb.js +0 -0
  548. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9754.2f617d267f5167be63ed.js +0 -0
  549. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9885.f84ed1b0565de3b61e99.js +0 -0
  550. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9912.b6643895a628f9ea506c.js +0 -0
  551. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9926.6e52dbb62a19476aae87.js +0 -0
  552. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9939.eab64dfd409dd1df1844.js +0 -0
  553. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/9986.e953beace913bfa7ba74.js +0 -0
  554. {runcell-0.1.16a0.data → runcell-0.1.16a2.data}/data/share/jupyter/labextensions/runcell/static/style.js +0 -0
  555. {runcell-0.1.16a0.dist-info → runcell-0.1.16a2.dist-info}/WHEEL +0 -0
  556. {runcell-0.1.16a0.dist-info → runcell-0.1.16a2.dist-info}/entry_points.txt +0 -0
  557. {runcell-0.1.16a0.dist-info → runcell-0.1.16a2.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 5391.375b4314cb4b851f0915.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[5391,7772],{31085:(e,n,o)=>{e.exports=o(73335)},47210:(e,n,o)=>{o.d(n,{N:()=>t});var r=o(93345),t=globalThis?.document?r.useLayoutEffect:()=>{}},47772:(e,n,o)=>{o.r(n),o.d(n,{Root:()=>f,Toggle:()=>s});var r=o(93345);function t(e,n,{checkForDefaultPrevented:o=!0}={}){return function(r){if(e?.(r),!1===o||!r.defaultPrevented)return n?.(r)}}"undefined"==typeof window||!window.document||window.document.createElement;var l=o(88049),u=o(61601),c=o(31085),a="Toggle",s=r.forwardRef((e,n)=>{const{pressed:o,defaultPressed:r,onPressedChange:s,...f}=e,[i,d]=(0,l.i)({prop:o,onChange:s,defaultProp:r??!1,caller:a});return(0,c.jsx)(u.sG.button,{type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":e.disabled?"":void 0,...f,ref:n,onClick:t(e.onClick,()=>{e.disabled||d(!i)})})});s.displayName=a;var f=s},61601:(e,n,o)=>{o.d(n,{hO:()=>a,sG:()=>c});var r=o(93345),t=o(7628),l=o(48193),u=o(31085),c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{const o=(0,l.createSlot)(`Primitive.${n}`),t=r.forwardRef((e,r)=>{const{asChild:t,...l}=e,c=t?o:n;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,u.jsx)(c,{...l,ref:r})});return t.displayName=`Primitive.${n}`,{...e,[n]:t}},{});function a(e,n){e&&t.flushSync(()=>e.dispatchEvent(n))}},73335:(e,n,o)=>{var r=o(93345),t=Symbol.for("react.element"),l=Symbol.for("react.fragment"),u=Object.prototype.hasOwnProperty,c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(e,n,o){var r,l={},s=null,f=null;for(r in void 0!==o&&(s=""+o),void 0!==n.key&&(s=""+n.key),void 0!==n.ref&&(f=n.ref),n)u.call(n,r)&&!a.hasOwnProperty(r)&&(l[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps)void 0===l[r]&&(l[r]=n[r]);return{$$typeof:t,type:e,key:s,ref:f,props:l,_owner:c.current}}n.Fragment=l,n.jsx=s,n.jsxs=s},88049:(e,n,o)=>{o.d(n,{i:()=>u});var r=o(93345),t=o(47210),l=r[" useInsertionEffect ".trim().toString()]||t.N;function u({prop:e,defaultProp:n,onChange:o=()=>{},caller:t}){const[u,c,a]=function({defaultProp:e,onChange:n}){const[o,t]=r.useState(e),u=r.useRef(o),c=r.useRef(n);return l(()=>{c.current=n},[n]),r.useEffect(()=>{u.current!==o&&(c.current?.(o),u.current=o)},[o,u]),[o,t,c]}({defaultProp:n,onChange:o}),s=void 0!==e,f=s?e:u;{const n=r.useRef(void 0!==e);r.useEffect(()=>{const e=n.current;if(e!==s){const n=e?"controlled":"uncontrolled",o=s?"controlled":"uncontrolled";console.warn(`${t} is changing from ${n} to ${o}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=s},[s,t])}const i=r.useCallback(n=>{if(s){const o=function(e){return"function"==typeof e}(n)?n(e):n;o!==e&&a.current?.(o)}else c(n)},[s,e,c,a]);return[f,i]}Symbol("RADIX:SYNC_STATE")}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[5408],{39907:t=>{var e,r,n=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function o(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(r){try{return e.call(null,t,0)}catch(r){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{r="function"==typeof clearTimeout?clearTimeout:s}catch(t){r=s}}();var c,a=[],u=!1,l=-1;function h(){u&&c&&(u=!1,c.length?a=c.concat(a):l=-1,a.length&&d())}function d(){if(!u){var t=o(h);u=!0;for(var e=a.length;e;){for(c=a,a=[];++l<e;)c&&c[l].run();l=-1,e=a.length}c=null,u=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{return r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function f(t,e){this.fun=t,this.array=e}function g(){}n.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];a.push(new f(t,e)),1!==a.length||u||o(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},65408:(t,e,r)=>{var n=r(39907);function i(t){return Array.isArray(t)?t:[t]}const s=/^\s+$/,o=/(?:[^\\]|^)\\$/,c=/^\\!/,a=/^\\#/,u=/\r?\n/g,l=/^\.*\/|^\.+$/;let h="node-ignore";"undefined"!=typeof Symbol&&(h=Symbol.for("node-ignore"));const d=h,f=/([0-z])-([0-z])/g,g=()=>!1,p=[[/^\uFEFF/,()=>""],[/((?:\\\\)*?)(\\?\s+)$/,(t,e,r)=>e+(0===r.indexOf("\\")?" ":"")],[/(\\+?)\s/g,(t,e)=>{const{length:r}=e;return e.slice(0,r-r%2)+" "}],[/[\\$.|*+(){^]/g,t=>`\\${t}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,r)=>e+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(t,e,r)=>e+r.replace(/\\\*/g,"[^\\/]*")],[/\\\\\\(?=[$.|*+(){^])/g,()=>"\\"],[/\\\\/g,()=>"\\"],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,n,i)=>"\\"===e?`\\[${r}${(t=>{const{length:e}=t;return t.slice(0,e-e%2)})(n)}${i}`:"]"===i&&n.length%2==0?`[${(t=>t.replace(f,(t,e,r)=>e.charCodeAt(0)<=r.charCodeAt(0)?t:""))(r)}${n}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>(e?`${e}[^/]+`:"[^/]*")+"(?=$|\\/$)"]],_=Object.create(null),v=t=>"string"==typeof t;class ${constructor(t,e,r,n){this.origin=t,this.pattern=e,this.negative=r,this.regex=n}}const m=(t,e)=>{throw new e(t)},w=(t,e,r)=>v(t)?t?!w.isNotRelative(t)||r(`path should be a \`path.relative()\`d string, but got "${e}"`,RangeError):r("path must not be empty",TypeError):r(`path must be a string, but got \`${e}\``,TypeError),y=t=>l.test(t);w.isNotRelative=y,w.convert=t=>t;class b{constructor({ignorecase:t=!0,ignoreCase:e=t,allowRelativePaths:r=!1}={}){var n;n=d,Object.defineProperty(this,n,{value:true}),this._rules=[],this._ignoreCase=e,this._allowRelativePaths=r,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[d])return this._rules=this._rules.concat(t._rules),void(this._added=!0);if((t=>t&&v(t)&&!s.test(t)&&!o.test(t)&&0!==t.indexOf("#"))(t)){const e=((t,e)=>{const r=t;let n=!1;0===t.indexOf("!")&&(n=!0,t=t.substr(1));const i=((t,e)=>{let r=_[t];return r||(r=p.reduce((e,[r,n])=>e.replace(r,n.bind(t)),t),_[t]=r),e?new RegExp(r,"i"):new RegExp(r)})(t=t.replace(c,"!").replace(a,"#"),e);return new $(r,t,n,i)})(t,this._ignoreCase);this._added=!0,this._rules.push(e)}}add(t){return this._added=!1,i(v(t)?(t=>t.split(u))(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,e){let r=!1,n=!1;return this._rules.forEach(i=>{const{negative:s}=i;n===s&&r!==n||s&&!r&&!n&&!e||i.regex.test(t)&&(r=!s,n=s)}),{ignored:r,unignored:n}}_test(t,e,r,n){const i=t&&w.convert(t);return w(i,t,this._allowRelativePaths?g:m),this._t(i,e,r,n)}_t(t,e,r,n){if(t in e)return e[t];if(n||(n=t.split("/")),n.pop(),!n.length)return e[t]=this._testOne(t,r);const i=this._t(n.join("/")+"/",e,r,n);return e[t]=i.ignored?i:this._testOne(t,r)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return i(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}}const T=t=>new b(t);if(T.isPathValid=t=>w(t&&w.convert(t),t,g),T.default=T,t.exports=T,void 0!==n&&(n.env&&n.env.IGNORE_TEST_WIN32||"win32"===n.platform)){const t=t=>/^\\\\\?\\/.test(t)||/["<>|\u0000-\u001F]+/u.test(t)?t:t.replace(/\\/g,"/");w.convert=t;const e=/^[a-z]:\//i;w.isNotRelative=t=>e.test(t)||y(t)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[5455],{15455:(r,e,s)=>{s.d(e,{diagram:()=>c});var a=s(29599),l=s(43340),c={parser:a.a,get db(){return new a.C},renderer:a.c,styles:a.s,init:(0,l._)(r=>{r.class||(r.class={}),r.class.arrowMarkerAbsolute=r.arrowMarkerAbsolute},"init")}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[559],{2075:(t,i,e)=>{e.d(i,{a:()=>M,b:()=>h,c:()=>D,l:()=>P,t:()=>p});var n=e(43340),s=e(44620),a=e(44032);function r(t,i){return null==t||null==i?NaN:t<i?-1:t>i?1:t>=i?0:NaN}function o(t,i){return null==t||null==i?NaN:i<t?-1:i>t?1:i>=t?0:NaN}function h(t){let i,e,n;function s(t,n,s=0,a=t.length){if(s<a){if(0!==i(n,n))return a;do{const i=s+a>>>1;e(t[i],n)<0?s=i+1:a=i}while(s<a)}return s}return 2!==t.length?(i=r,e=(i,e)=>r(t(i),e),n=(i,e)=>t(i)-e):(i=t===r||t===o?t:l,e=t,n=t),{left:s,center:function(t,i,e=0,a=t.length){const r=s(t,i,e,a-1);return r>e&&n(t[r-1],i)>-n(t[r],i)?r-1:r},right:function(t,n,s=0,a=t.length){if(s<a){if(0!==i(n,n))return a;do{const i=s+a>>>1;e(t[i],n)<=0?s=i+1:a=i}while(s<a)}return s}}}function l(){return 0}const c=h(r).right;h(function(t){return null===t?NaN:+t}).center;const u=Math.sqrt(50),g=Math.sqrt(10),x=Math.sqrt(2);function f(t,i,e){const n=(i-t)/Math.max(0,e),s=Math.floor(Math.log10(n)),a=n/Math.pow(10,s),r=a>=u?10:a>=g?5:a>=x?2:1;let o,h,l;return s<0?(l=Math.pow(10,-s)/r,o=Math.round(t*l),h=Math.round(i*l),o/l<t&&++o,h/l>i&&--h,l=-l):(l=Math.pow(10,s)*r,o=Math.round(t/l),h=Math.round(i/l),o*l<t&&++o,h*l>i&&--h),h<o&&.5<=e&&e<2?f(t,i,2*e):[o,h,l]}function d(t,i,e){return f(t=+t,i=+i,e=+e)[2]}function p(t,i,e){e=+e;const n=(i=+i)<(t=+t),s=n?d(i,t,e):d(t,i,e);return(n?-1:1)*(s<0?1/-s:s)}function m(t,i){i||(i=[]);var e,n=t?Math.min(i.length,t.length):0,s=i.slice();return function(a){for(e=0;e<n;++e)s[e]=t[e]*(1-a)+i[e]*a;return s}}function y(t,i){var e,n=i?i.length:0,s=t?Math.min(n,t.length):0,a=new Array(s),r=new Array(n);for(e=0;e<s;++e)a[e]=w(t[e],i[e]);for(;e<n;++e)r[e]=i[e];return function(t){for(e=0;e<s;++e)r[e]=a[e](t);return r}}function b(t,i){var e=new Date;return t=+t,i=+i,function(n){return e.setTime(t*(1-n)+i*n),e}}function _(t,i){var e,n={},s={};for(e in(null===t||"object"!=typeof t)&&(t={}),(null===i||"object"!=typeof i)&&(i={}),i)e in t?n[e]=w(t[e],i[e]):s[e]=i[e];return function(t){for(e in n)s[e]=n[e](t);return s}}function w(t,i){var e,s=typeof i;return null==i||"boolean"===s?(0,n.aU)(i):("number"===s?n.aV:"string"===s?(e=(0,n.aY)(i))?(i=e,n.aW):n.aX:i instanceof n.aY?n.aW:i instanceof Date?b:function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(i)?m:Array.isArray(i)?y:"function"!=typeof i.valueOf&&"function"!=typeof i.toString||isNaN(i)?_:n.aV)(t,i)}function A(t,i){return t=+t,i=+i,function(e){return Math.round(t*(1-e)+i*e)}}function S(t){return+t}var k=[0,1];function C(t){return t}function T(t,i){return(i-=t=+t)?function(e){return(e-t)/i}:function(t){return function(){return t}}(isNaN(i)?NaN:.5)}function v(t,i,e){var n=t[0],s=t[1],a=i[0],r=i[1];return s<n?(n=T(s,n),a=e(r,a)):(n=T(n,s),a=e(a,r)),function(t){return a(n(t))}}function R(t,i,e){var n=Math.min(t.length,i.length)-1,s=new Array(n),a=new Array(n),r=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),i=i.slice().reverse());++r<n;)s[r]=T(t[r],t[r+1]),a[r]=e(i[r],i[r+1]);return function(i){var e=c(t,i,1,n)-1;return a[e](s[e](i))}}function M(t,i){return i.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function D(){return function(){var t,i,e,s,a,r,o=k,h=k,l=w,c=C;function u(){var t=Math.min(o.length,h.length);return c!==C&&(c=function(t,i){var e;return t>i&&(e=t,t=i,i=e),function(e){return Math.max(t,Math.min(i,e))}}(o[0],o[t-1])),s=t>2?R:v,a=r=null,g}function g(i){return null==i||isNaN(i=+i)?e:(a||(a=s(o.map(t),h,l)))(t(c(i)))}return g.invert=function(e){return c(i((r||(r=s(h,o.map(t),n.aV)))(e)))},g.domain=function(t){return arguments.length?(o=Array.from(t,S),u()):o.slice()},g.range=function(t){return arguments.length?(h=Array.from(t),u()):h.slice()},g.rangeRound=function(t){return h=Array.from(t),l=A,u()},g.clamp=function(t){return arguments.length?(c=!!t||C,u()):c!==C},g.interpolate=function(t){return arguments.length?(l=t,u()):l},g.unknown=function(t){return arguments.length?(e=t,g):e},function(e,n){return t=e,i=n,u()}}()(C,C)}function L(t){var i=t.domain;return t.ticks=function(t){var e=i();return function(t,i,e){if(!((e=+e)>0))return[];if((t=+t)===(i=+i))return[t];const n=i<t,[s,a,r]=n?f(i,t,e):f(t,i,e);if(!(a>=s))return[];const o=a-s+1,h=new Array(o);if(n)if(r<0)for(let t=0;t<o;++t)h[t]=(a-t)/-r;else for(let t=0;t<o;++t)h[t]=(a-t)*r;else if(r<0)for(let t=0;t<o;++t)h[t]=(s+t)/-r;else for(let t=0;t<o;++t)h[t]=(s+t)*r;return h}(e[0],e[e.length-1],t??10)},t.tickFormat=function(t,e){var n=i();return function(t,i,e,n){var s,r=p(t,i,e);switch((n=(0,a.f)(n??",f")).type){case"s":var o=Math.max(Math.abs(t),Math.abs(i));return null==n.precision&&!isNaN(s=function(t,i){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,a.e)(i)/3)))-(0,a.e)(Math.abs(t)))}(r,o))&&(n.precision=s),(0,a.a)(n,o);case"":case"e":case"g":case"p":case"r":null==n.precision&&!isNaN(s=function(t,i){return t=Math.abs(t),i=Math.abs(i)-t,Math.max(0,(0,a.e)(i)-(0,a.e)(t))+1}(r,Math.max(Math.abs(t),Math.abs(i))))&&(n.precision=s-("e"===n.type));break;case"f":case"%":null==n.precision&&!isNaN(s=function(t){return Math.max(0,-(0,a.e)(Math.abs(t)))}(r))&&(n.precision=s-2*("%"===n.type))}return(0,a.b)(n)}(n[0],n[n.length-1],t??10,e)},t.nice=function(e){null==e&&(e=10);var n,s,a=i(),r=0,o=a.length-1,h=a[r],l=a[o],c=10;for(l<h&&(s=h,h=l,l=s,s=r,r=o,o=s);c-- >0;){if((s=d(h,l,e))===n)return a[r]=h,a[o]=l,i(a);if(s>0)h=Math.floor(h/s)*s,l=Math.ceil(l/s)*s;else{if(!(s<0))break;h=Math.ceil(h*s)/s,l=Math.floor(l*s)/s}n=s}return t},t}function P(){var t=D();return t.copy=function(){return M(t,P())},s.i.apply(t,arguments),L(t)}},15053:(t,i,e)=>{e.d(i,{o:()=>h});var n=e(44620);class s extends Map{constructor(t,i=r){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:i}}),null!=t)for(const[i,e]of t)this.set(i,e)}get(t){return super.get(a(this,t))}has(t){return super.has(a(this,t))}set(t,i){return super.set(function({_intern:t,_key:i},e){const n=i(e);return t.has(n)?t.get(n):(t.set(n,e),e)}(this,t),i)}delete(t){return super.delete(function({_intern:t,_key:i},e){const n=i(e);return t.has(n)&&(e=t.get(n),t.delete(n)),e}(this,t))}}function a({_intern:t,_key:i},e){const n=i(e);return t.has(n)?t.get(n):e}function r(t){return null!==t&&"object"==typeof t?t.valueOf():t}const o=Symbol("implicit");function h(){var t=new s,i=[],e=[],a=o;function r(n){let s=t.get(n);if(void 0===s){if(a!==o)return a;t.set(n,s=i.push(n)-1)}return e[s%e.length]}return r.domain=function(e){if(!arguments.length)return i.slice();i=[],t=new s;for(const n of e)t.has(n)||t.set(n,i.push(n)-1);return r},r.range=function(t){return arguments.length?(e=Array.from(t),r):e.slice()},r.unknown=function(t){return arguments.length?(a=t,r):a},r.copy=function(){return h(i,e).unknown(a)},n.i.apply(r,arguments),r}},44032:(t,i,e)=>{function n(t,i){if((e=(t=i?t.toExponential(i-1):t.toExponential()).indexOf("e"))<0)return null;var e,n=t.slice(0,e);return[n.length>1?n[0]+n.slice(2):n,+t.slice(e+1)]}function s(t){return(t=n(Math.abs(t)))?t[1]:NaN}e.d(i,{a:()=>f,b:()=>x,e:()=>s,f:()=>o});var a,r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(t){if(!(i=r.exec(t)))throw new Error("invalid format: "+t);var i;return new h({fill:i[1],align:i[2],sign:i[3],symbol:i[4],zero:i[5],width:i[6],comma:i[7],precision:i[8]&&i[8].slice(1),trim:i[9],type:i[10]})}function h(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function l(t,i){var e=n(t,i);if(!e)return t+"";var s=e[0],a=e[1];return a<0?"0."+new Array(-a).join("0")+s:s.length>a+1?s.slice(0,a+1)+"."+s.slice(a+1):s+new Array(a-s.length+2).join("0")}o.prototype=h.prototype,h.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 c={"%":(t,i)=>(100*t).toFixed(i),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,i)=>t.toExponential(i),f:(t,i)=>t.toFixed(i),g:(t,i)=>t.toPrecision(i),o:t=>Math.round(t).toString(8),p:(t,i)=>l(100*t,i),r:l,s:function(t,i){var e=n(t,i);if(!e)return t+"";var s=e[0],r=e[1],o=r-(a=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,h=s.length;return o===h?s:o>h?s+new Array(o-h+1).join("0"):o>0?s.slice(0,o)+"."+s.slice(o):"0."+new Array(1-o).join("0")+n(t,Math.max(0,i+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function u(t){return t}var g,x,f,d=Array.prototype.map,p=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];g=function(t){var i=void 0===t.grouping||void 0===t.thousands?u:function(t,i){return function(e,n){for(var s=e.length,a=[],r=0,o=t[0],h=0;s>0&&o>0&&(h+o+1>n&&(o=Math.max(1,n-h)),a.push(e.substring(s-=o,s+o)),!((h+=o+1)>n));)o=t[r=(r+1)%t.length];return a.reverse().join(i)}}(d.call(t.grouping,Number),t.thousands+""),e=void 0===t.currency?"":t.currency[0]+"",n=void 0===t.currency?"":t.currency[1]+"",r=void 0===t.decimal?".":t.decimal+"",h=void 0===t.numerals?u:function(t){return function(i){return i.replace(/[0-9]/g,function(i){return t[+i]})}}(d.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",g=void 0===t.minus?"−":t.minus+"",x=void 0===t.nan?"NaN":t.nan+"";function f(t){var s=(t=o(t)).fill,u=t.align,f=t.sign,d=t.symbol,m=t.zero,y=t.width,b=t.comma,_=t.precision,w=t.trim,A=t.type;"n"===A?(b=!0,A="g"):c[A]||(void 0===_&&(_=12),w=!0,A="g"),(m||"0"===s&&"="===u)&&(m=!0,s="0",u="=");var S="$"===d?e:"#"===d&&/[boxX]/.test(A)?"0"+A.toLowerCase():"",k="$"===d?n:/[%p]/.test(A)?l:"",C=c[A],T=/[defgprs%]/.test(A);function v(t){var e,n,o,l=S,c=k;if("c"===A)c=C(t)+c,t="";else{var d=(t=+t)<0||1/t<0;if(t=isNaN(t)?x:C(Math.abs(t),_),w&&(t=function(t){t:for(var i,e=t.length,n=1,s=-1;n<e;++n)switch(t[n]){case".":s=i=n;break;case"0":0===s&&(s=n),i=n;break;default:if(!+t[n])break t;s>0&&(s=0)}return s>0?t.slice(0,s)+t.slice(i+1):t}(t)),d&&0==+t&&"+"!==f&&(d=!1),l=(d?"("===f?f:g:"-"===f||"("===f?"":f)+l,c=("s"===A?p[8+a/3]:"")+c+(d&&"("===f?")":""),T)for(e=-1,n=t.length;++e<n;)if(48>(o=t.charCodeAt(e))||o>57){c=(46===o?r+t.slice(e+1):t.slice(e))+c,t=t.slice(0,e);break}}b&&!m&&(t=i(t,1/0));var v=l.length+t.length+c.length,R=v<y?new Array(y-v+1).join(s):"";switch(b&&m&&(t=i(R+t,R.length?y-c.length:1/0),R=""),u){case"<":t=l+t+c+R;break;case"=":t=l+R+t+c;break;case"^":t=R.slice(0,v=R.length>>1)+l+t+c+R.slice(v);break;default:t=R+l+t+c}return h(t)}return _=void 0===_?6:/[gprs]/.test(A)?Math.max(1,Math.min(21,_)):Math.max(0,Math.min(20,_)),v.toString=function(){return t+""},v}return{format:f,formatPrefix:function(t,i){var e=f(((t=o(t)).type="f",t)),n=3*Math.max(-8,Math.min(8,Math.floor(s(i)/3))),a=Math.pow(10,-n),r=p[8+n/3];return function(t){return e(a*t)+r}}}}({thousands:",",grouping:[3],currency:["$",""]}),x=g.format,f=g.formatPrefix},44620:(t,i,e)=>{function n(t,i){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(i).domain(t)}return this}e.d(i,{i:()=>n})},80559:(t,i,e)=>{e.d(i,{diagram:()=>lt});var n=e(43340),s=e(44620),a=e(15053),r=e(2075);function o(){var t,i,e=(0,a.o)().unknown(void 0),n=e.domain,r=e.range,h=0,l=1,c=!1,u=0,g=0,x=.5;function f(){var e=n().length,s=l<h,a=s?l:h,o=s?h:l;t=(o-a)/Math.max(1,e-u+2*g),c&&(t=Math.floor(t)),a+=(o-a-t*(e-u))*x,i=t*(1-u),c&&(a=Math.round(a),i=Math.round(i));var f=function(t,i,e){t=+t,i=+i,e=(s=arguments.length)<2?(i=t,t=0,1):s<3?1:+e;for(var n=-1,s=0|Math.max(0,Math.ceil((i-t)/e)),a=new Array(s);++n<s;)a[n]=t+n*e;return a}(e).map(function(i){return a+t*i});return r(s?f.reverse():f)}return delete e.unknown,e.domain=function(t){return arguments.length?(n(t),f()):n()},e.range=function(t){return arguments.length?([h,l]=t,h=+h,l=+l,f()):[h,l]},e.rangeRound=function(t){return[h,l]=t,h=+h,l=+l,c=!0,f()},e.bandwidth=function(){return i},e.step=function(){return t},e.round=function(t){return arguments.length?(c=!!t,f()):c},e.padding=function(t){return arguments.length?(u=Math.min(1,g=+t),f()):u},e.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},e.paddingOuter=function(t){return arguments.length?(g=+t,f()):g},e.align=function(t){return arguments.length?(x=Math.max(0,Math.min(1,t)),f()):x},e.copy=function(){return o(n(),[h,l]).round(c).paddingInner(u).paddingOuter(g).align(x)},s.i.apply(f(),arguments)}var h=function(){var t=(0,n._)(function(t,i,e,n){for(e=e||{},n=t.length;n--;e[t[n]]=i);return e},"o"),i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],a=[1,5],r=[1,6],o=[1,7],h=[1,5,10,12,14,16,18,19,21,23,34,35,36],l=[1,25],c=[1,26],u=[1,28],g=[1,29],x=[1,30],f=[1,31],d=[1,32],p=[1,33],m=[1,34],y=[1,35],b=[1,36],_=[1,37],w=[1,43],A=[1,42],S=[1,47],k=[1,50],C=[1,10,12,14,16,18,19,21,23,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],v=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],M={trace:(0,n._)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:(0,n._)(function(t,i,e,n,s,a,r){var o=a.length-1;switch(s){case 5:n.setOrientation(a[o]);break;case 9:n.setDiagramTitle(a[o].text.trim());break;case 12:n.setLineData({text:"",type:"text"},a[o]);break;case 13:n.setLineData(a[o-1],a[o]);break;case 14:n.setBarData({text:"",type:"text"},a[o]);break;case 15:n.setBarData(a[o-1],a[o]);break;case 16:this.$=a[o].trim(),n.setAccTitle(this.$);break;case 17:case 18:this.$=a[o].trim(),n.setAccDescription(this.$);break;case 19:case 27:this.$=a[o-1];break;case 20:this.$=[Number(a[o-2]),...a[o]];break;case 21:this.$=[Number(a[o])];break;case 22:n.setXAxisTitle(a[o]);break;case 23:n.setXAxisTitle(a[o-1]);break;case 24:n.setXAxisTitle({type:"text",text:""});break;case 25:n.setXAxisBand(a[o]);break;case 26:n.setXAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 28:this.$=[a[o-2],...a[o]];break;case 29:this.$=[a[o]];break;case 30:n.setYAxisTitle(a[o]);break;case 31:n.setYAxisTitle(a[o-1]);break;case 32:n.setYAxisTitle({type:"text",text:""});break;case 33:n.setYAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 37:case 38:this.$={text:a[o],type:"text"};break;case 39:this.$={text:a[o],type:"markdown"};break;case 40:this.$=a[o];break;case 41:this.$=a[o-1]+""+a[o]}},"anonymous"),table:[t(i,e,{3:1,4:2,7:4,5:s,34:a,35:r,36:o}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:a,35:r,36:o}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:a,35:r,36:o}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(h,[2,34]),t(h,[2,35]),t(h,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:a,35:r,36:o}),{1:[2,3]},t(h,[2,5]),t(i,[2,7],{4:22,34:a,35:r,36:o}),{11:23,37:24,38:l,39:c,40:27,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_},{11:39,13:38,24:w,27:A,29:40,30:41,37:24,38:l,39:c,40:27,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_},{11:45,15:44,27:S,33:46,37:24,38:l,39:c,40:27,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_},{11:49,17:48,24:k,37:24,38:l,39:c,40:27,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_},{11:52,17:51,24:k,37:24,38:l,39:c,40:27,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_},{20:[1,53]},{22:[1,54]},t(C,[2,18]),{1:[2,2]},t(C,[2,8]),t(C,[2,9]),t(T,[2,37],{40:55,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_}),t(T,[2,38]),t(T,[2,39]),t(v,[2,40]),t(v,[2,42]),t(v,[2,43]),t(v,[2,44]),t(v,[2,45]),t(v,[2,46]),t(v,[2,47]),t(v,[2,48]),t(v,[2,49]),t(v,[2,50]),t(v,[2,51]),t(C,[2,10]),t(C,[2,22],{30:41,29:56,24:w,27:A}),t(C,[2,24]),t(C,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:l,39:c,40:27,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_},t(C,[2,11]),t(C,[2,30],{33:60,27:S}),t(C,[2,32]),{31:[1,61]},t(C,[2,12]),{17:62,24:k},{25:63,27:R},t(C,[2,14]),{17:65,24:k},t(C,[2,16]),t(C,[2,17]),t(v,[2,41]),t(C,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(C,[2,31]),{27:[1,69]},t(C,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(C,[2,15]),t(C,[2,26]),t(C,[2,27]),{11:59,32:72,37:24,38:l,39:c,40:27,41:u,42:g,43:x,44:f,45:d,46:p,47:m,48:y,49:b,50:_},t(C,[2,33]),t(C,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:(0,n._)(function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},"parseError"),parse:(0,n._)(function(t){var i=this,e=[0],s=[],a=[null],r=[],o=this.table,h="",l=0,c=0,u=r.slice.call(arguments,1),g=Object.create(this.lexer),x={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(x.yy[f]=this.yy[f]);g.setInput(t,x.yy),x.yy.lexer=g,x.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var d=g.yylloc;r.push(d);var p=g.options&&g.options.ranges;function m(){var t;return"number"!=typeof(t=s.pop()||g.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=i.symbols_[t]||t),t}"function"==typeof x.yy.parseError?this.parseError=x.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,n._)(function(t){e.length=e.length-2*t,a.length=a.length-t,r.length=r.length-t},"popStack"),(0,n._)(m,"lex");for(var y,b,_,w,A,S,k,C,T={};;){if(b=e[e.length-1],this.defaultActions[b]?_=this.defaultActions[b]:((null===y||typeof y>"u")&&(y=m()),_=o[b]&&o[b][y]),typeof _>"u"||!_.length||!_[0]){var v;for(A in C=[],o[b])this.terminals_[A]&&A>2&&C.push("'"+this.terminals_[A]+"'");v=g.showPosition?"Parse error on line "+(l+1)+":\n"+g.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(v,{text:g.match,token:this.terminals_[y]||y,line:g.yylineno,loc:d,expected:C})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+y);switch(_[0]){case 1:e.push(y),a.push(g.yytext),r.push(g.yylloc),e.push(_[1]),y=null,c=g.yyleng,h=g.yytext,l=g.yylineno,d=g.yylloc;break;case 2:if(S=this.productions_[_[1]][1],T.$=a[a.length-S],T._$={first_line:r[r.length-(S||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(S||1)].first_column,last_column:r[r.length-1].last_column},p&&(T._$.range=[r[r.length-(S||1)].range[0],r[r.length-1].range[1]]),typeof(w=this.performAction.apply(T,[h,c,l,x.yy,_[1],a,r].concat(u)))<"u")return w;S&&(e=e.slice(0,-1*S*2),a=a.slice(0,-1*S),r=r.slice(0,-1*S)),e.push(this.productions_[_[1]][0]),a.push(T.$),r.push(T._$),k=o[e[e.length-2]][e[e.length-1]],e.push(k);break;case 3:return!0}}return!0},"parse")},D=function(){return{EOF:1,parseError:(0,n._)(function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},"parseError"),setInput:(0,n._)(function(t,i){return this.yy=i||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,n._)(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,n._)(function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var n=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),e.length-1&&(this.yylineno-=e.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:e?(e.length===n.length?this.yylloc.first_column:0)+n[n.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},"unput"),more:(0,n._)(function(){return this._more=!0,this},"more"),reject:(0,n._)(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,n._)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,n._)(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,n._)(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,n._)(function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},"showPosition"),test_match:(0,n._)(function(t,i){var e,n,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))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.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],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var a in s)this[a]=s[a];return!1}return!1},"test_match"),next:(0,n._)(function(){if(this.done)return this.EOF;var t,i,e,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),a=0;a<s.length;a++)if((e=this._input.match(this.rules[s[a]]))&&(!i||e[0].length>i[0].length)){if(i=e,n=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,s[a])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,s[n]))&&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,n._)(function(){return this.next()||this.lex()},"lex"),begin:(0,n._)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,n._)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,n._)(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,n._)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,n._)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,n._)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,n._)(function(t,i,e,n){switch(e){case 0:case 1:case 5:case 44:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 26:case 28:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:case 15:return 5;case 16:return 8;case 17:return this.pushState("axis_data"),"X_AXIS";case 18:return this.pushState("axis_data"),"Y_AXIS";case 19:return this.pushState("axis_band_data"),24;case 20:return 31;case 21:return this.pushState("data"),16;case 22:return this.pushState("data"),18;case 23:return this.pushState("data_inner"),24;case 24:return 27;case 25:return this.popState(),26;case 27:this.pushState("string");break;case 29:return"STR";case 30:return 24;case 31:return 26;case 32:return 43;case 33:return"COLON";case 34:return 44;case 35:return 28;case 36:return 45;case 37:return 46;case 38:return 48;case 39:return 50;case 40:return 47;case 41:return 41;case 42:return 49;case 43:return 42;case 45:return 35;case 46:return 36}},"anonymous"),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}}();function L(){this.yy={}}return M.lexer=D,(0,n._)(L,"Parser"),L.prototype=M,M.Parser=L,new L}();h.parser=h;var l=h;function c(t){return"bar"===t.type}function u(t){return"band"===t.type}function g(t){return"linear"===t.type}(0,n._)(c,"isBarPlot"),(0,n._)(u,"isBandAxisData"),(0,n._)(g,"isLinearAxisData");var x,f,d,p,m=(x=class{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce((t,i)=>Math.max(i.length,t),0)*i,height:i};const e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const a of t){const t=(0,n.aF)(s,1,a),r=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,r),e.height=Math.max(e.height,o)}return s.remove(),e}},(0,n._)(x,"TextDimensionCalculatorWithFont"),x),y=(f=class{constructor(t,i,e,n){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(t=>t.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),n=.2*t.width;this.outerPadding=Math.min(e.width/2,n);const s=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,s<=i&&(i-=s,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),n=.2*t.height;this.outerPadding=Math.min(e.height/2,n);const s=e.width+2*this.axisConfig.labelPadding;s<=i&&(i-=s,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"}))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map(t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map(t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}},(0,n._)(f,"BaseAxis"),f),b=(d=class extends y{constructor(t,i,e,n,s){super(t,n,s,i),this.categories=e,this.scale=o().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=o().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),n.l.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)??this.getRange()[0]}},(0,n._)(d,"BandAxis"),d),_=(p=class extends y{constructor(t,i,e,n,s){super(t,n,s,i),this.domain=e,this.scale=(0,r.l)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,r.l)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}},(0,n._)(p,"LinearAxis"),p);function w(t,i,e,n){const s=new m(n);return u(t)?new b(i,e,t.categories,t.title,s):new _(i,e,[t.min,t.max],t.title,s)}(0,n._)(w,"getAxis");var A,S=(A=class{constructor(t,i,e,n){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),n=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=n&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=n,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}},(0,n._)(A,"ChartTitle"),A);function k(t,i,e,n){const s=new m(n);return new S(s,t,i,e)}(0,n._)(k,"getChartTitleComponent");var C,T,v,R=(C=class{constructor(t,i,e,n,s){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=n,this.plotIndex=s}getDrawableElement(){const t=this.plotData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]);let i;return i="horizontal"===this.orientation?(0,n.a9)().y(t=>t[0]).x(t=>t[1])(t):(0,n.a9)().x(t=>t[0]).y(t=>t[1])(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}},(0,n._)(C,"LinePlot"),C),M=(T=class{constructor(t,i,e,n,s,a){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=n,this.orientation=s,this.plotIndex=a}getDrawableElement(){const t=this.barData.data.map(t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map(t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},(0,n._)(T,"BarPlot"),T),D=(v=class{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!this.xAxis||!this.yAxis)throw Error("Axes must be passed to render Plots");const t=[];for(const[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{const n=new R(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}break;case"bar":{const n=new M(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...n.getDrawableElement())}}return t}},(0,n._)(v,"BasePlot"),v);function L(t,i,e){return new D(t,i,e)}(0,n._)(L,"getPlotComponent");var P,E,N,$=(P=class{constructor(t,i,e,n){this.chartConfig=t,this.chartData=i,this.componentStore={title:k(t,i,e,n),plot:L(t,i,e),xAxis:w(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},n),yAxis:w(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},n)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,n=0,s=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),r=this.componentStore.plot.calculateSpace({width:s,height:a});t-=r.width,i-=r.height,r=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),n=r.height,i-=r.height,this.componentStore.xAxis.setAxisPosition("bottom"),r=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=r.height,this.componentStore.yAxis.setAxisPosition("left"),r=this.componentStore.yAxis.calculateSpace({width:t,height:i}),e=r.width,t-=r.width,t>0&&(s+=t,t=0),i>0&&(a+=i,i=0),this.componentStore.plot.calculateSpace({width:s,height:a}),this.componentStore.plot.setBoundingBoxXY({x:e,y:n}),this.componentStore.xAxis.setRange([e,e+s]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:n+a}),this.componentStore.yAxis.setRange([n,n+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,n=0,s=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),r=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:r});t-=o.width,i-=o.height,o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),e=o.height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,n=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,s=e+o.height,t>0&&(a+=t,t=0),i>0&&(r+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:r}),this.componentStore.plot.setBoundingBoxXY({x:n,y:s}),this.componentStore.yAxis.setRange([n,n+a]),this.componentStore.yAxis.setBoundingBoxXY({x:n,y:e}),this.componentStore.xAxis.setRange([s,s+r]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some(t=>c(t))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}},(0,n._)(P,"Orchestrator"),P),I=(E=class{static build(t,i,e,n){return new $(t,i,e,n).getDrawableElement()}},(0,n._)(E,"XYChartBuilder"),E),z=0,B=U(),O=Y(),F={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},W=O.plotColorPalette.split(",").map(t=>t.trim()),X=!1,V=!1;function Y(){const t=(0,n.a1)(),i=(0,n.G)();return(0,n.F)(t.xyChart,i.themeVariables.xyChart)}function U(){const t=(0,n.G)();return(0,n.F)(n.H.xyChart,t.xyChart)}function H(t){const i=(0,n.G)();return(0,n.i)(t.trim(),i)}function j(t){N=t}function G(t){B.chartOrientation="horizontal"===t?"horizontal":"vertical"}function Q(t){F.xAxis.title=H(t.text)}function q(t,i){F.xAxis={type:"linear",title:F.xAxis.title,min:t,max:i},X=!0}function K(t){F.xAxis={type:"band",title:F.xAxis.title,categories:t.map(t=>H(t.text))},X=!0}function Z(t){F.yAxis.title=H(t.text)}function J(t,i){F.yAxis={type:"linear",title:F.yAxis.title,min:t,max:i},V=!0}function tt(t){const i=Math.min(...t),e=Math.max(...t),n=g(F.yAxis)?F.yAxis.min:1/0,s=g(F.yAxis)?F.yAxis.max:-1/0;F.yAxis={type:"linear",title:F.yAxis.title,min:Math.min(n,i),max:Math.max(s,e)}}function it(t){let i=[];if(0===t.length)return i;if(!X){const i=g(F.xAxis)?F.xAxis.min:1/0,e=g(F.xAxis)?F.xAxis.max:-1/0;q(Math.min(i,1),Math.max(e,t.length))}if(V||tt(t),u(F.xAxis)&&(i=F.xAxis.categories.map((i,e)=>[i,t[e]])),g(F.xAxis)){const e=F.xAxis.min,n=F.xAxis.max,s=(n-e)/(t.length-1),a=[];for(let t=e;t<=n;t+=s)a.push(`${t}`);i=a.map((i,e)=>[i,t[e]])}return i}function et(t){return W[0===t?0:t%W.length]}function nt(t,i){const e=it(i);F.plots.push({type:"line",strokeFill:et(z),strokeWidth:2,data:e}),z++}function st(t,i){const e=it(i);F.plots.push({type:"bar",fill:et(z),data:e}),z++}function at(){if(0===F.plots.length)throw Error("No Plot to render, please provide a plot with some data");return F.title=(0,n.t)(),I.build(B,F,O,N)}function rt(){return O}function ot(){return B}function ht(){return F}(0,n._)(Y,"getChartDefaultThemeConfig"),(0,n._)(U,"getChartDefaultConfig"),(0,n._)(function(){return{yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]}},"getChartDefaultData"),(0,n._)(H,"textSanitizer"),(0,n._)(j,"setTmpSVGG"),(0,n._)(G,"setOrientation"),(0,n._)(Q,"setXAxisTitle"),(0,n._)(q,"setXAxisRangeData"),(0,n._)(K,"setXAxisBand"),(0,n._)(Z,"setYAxisTitle"),(0,n._)(J,"setYAxisRangeData"),(0,n._)(tt,"setYAxisRangeFromPlotData"),(0,n._)(it,"transformDataWithoutCategory"),(0,n._)(et,"getPlotColorFromPalette"),(0,n._)(nt,"setLineData"),(0,n._)(st,"setBarData"),(0,n._)(at,"getDrawableElem"),(0,n._)(rt,"getChartThemeConfig"),(0,n._)(ot,"getChartConfig"),(0,n._)(ht,"getXYChartData");var lt={parser:l,db:{getDrawableElem:at,clear:(0,n._)(function(){(0,n.z)(),z=0,B=U(),F={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},O=Y(),W=O.plotColorPalette.split(",").map(t=>t.trim()),X=!1,V=!1},"clear"),setAccTitle:n.b,getAccTitle:n.a,setDiagramTitle:n.q,getDiagramTitle:n.t,getAccDescription:n.g,setAccDescription:n.s,setOrientation:G,setXAxisTitle:Q,setXAxisRangeData:q,setXAxisBand:K,setYAxisTitle:Z,setYAxisRangeData:J,setLineData:nt,setBarData:st,setTmpSVGG:j,getChartThemeConfig:rt,getChartConfig:ot,getXYChartData:ht},renderer:{draw:(0,n._)((t,i,e,s)=>{const a=s.db,r=a.getChartThemeConfig(),o=a.getChartConfig(),h=a.getXYChartData().plots[0].data.map(t=>t[1]);function l(t){return"top"===t?"text-before-edge":"middle"}function c(t){return"left"===t?"start":"right"===t?"end":"middle"}function u(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}(0,n._)(l,"getDominantBaseLine"),(0,n._)(c,"getTextAnchor"),(0,n._)(u,"getTextTransformation"),n.l.debug("Rendering xychart chart\n"+t);const g=(0,n.K)(i),x=g.append("g").attr("class","main"),f=x.append("rect").attr("width",o.width).attr("height",o.height).attr("class","background");(0,n.e)(g,o.height,o.width,!0),g.attr("viewBox",`0 0 ${o.width} ${o.height}`),f.attr("fill",r.backgroundColor),a.setTmpSVGG(g.append("g").attr("class","mermaid-tmp-group"));const d=a.getDrawableElem(),p={};function m(t){let i=x,e="";for(const[n]of t.entries()){let s=x;n>0&&p[e]&&(s=p[e]),e+=t[n],i=p[e],i||(i=p[e]=s.append("g").attr("class",t[n]))}return i}(0,n._)(m,"getGroup");for(const t of d){if(0===t.data.length)continue;const i=m(t.groupTexts);switch(t.type){case"rect":if(i.selectAll("rect").data(t.data).enter().append("rect").attr("x",t=>t.x).attr("y",t=>t.y).attr("width",t=>t.width).attr("height",t=>t.height).attr("fill",t=>t.fill).attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth),o.showDataLabel)if("horizontal"===o.chartOrientation){let e=function(t,i){const{data:e,label:n}=t;return i*n.length*s<=e.width-10};(0,n._)(e,"fitsHorizontally");const s=.7,a=t.data.map((t,i)=>({data:t,label:h[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),r=a.map(t=>{const{data:i}=t;let n=.7*i.height;for(;!e(t,n)&&n>0;)n-=1;return n}),o=Math.floor(Math.min(...r));i.selectAll("text").data(a).enter().append("text").attr("x",t=>t.data.x+t.data.width-10).attr("y",t=>t.data.y+t.data.height/2).attr("text-anchor","end").attr("dominant-baseline","middle").attr("fill","black").attr("font-size",`${o}px`).text(t=>t.label)}else{let e=function(t,i,e){const{data:n,label:s}=t,a=i*s.length*.7,r=n.x+n.width/2,o=r+a/2,h=r-a/2>=n.x&&o<=n.x+n.width,l=n.y+e+i<=n.y+n.height;return h&&l};(0,n._)(e,"fitsInBar");const s=10,a=t.data.map((t,i)=>({data:t,label:h[i].toString()})).filter(t=>t.data.width>0&&t.data.height>0),r=a.map(t=>{const{data:i,label:n}=t;let a=i.width/(.7*n.length);for(;!e(t,a,s)&&a>0;)a-=1;return a}),o=Math.floor(Math.min(...r));i.selectAll("text").data(a).enter().append("text").attr("x",t=>t.data.x+t.data.width/2).attr("y",t=>t.data.y+s).attr("text-anchor","middle").attr("dominant-baseline","hanging").attr("fill","black").attr("font-size",`${o}px`).text(t=>t.label)}break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",t=>t.fill).attr("font-size",t=>t.fontSize).attr("dominant-baseline",t=>l(t.verticalPos)).attr("text-anchor",t=>c(t.horizontalPos)).attr("transform",t=>u(t)).text(t=>t.text);break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",t=>t.path).attr("fill",t=>t.fill?t.fill:"none").attr("stroke",t=>t.strokeFill).attr("stroke-width",t=>t.strokeWidth)}}},"draw")}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[6131],{36131:(e,r,t)=>{t.d(r,{diagram:()=>l});var a=t(51980),s=t(43340),l={parser:a.a,get db(){return new a.S(2)},renderer:a.b,styles:a.s,init:(0,s._)(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute},"init")}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 6354.0025efd7872b7d32b46b.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunkruncell=self.webpackChunkruncell||[]).push([[6354],{6354:(e,t,n)=>{n.r(t),n.d(t,{Arrow:()=>rn,Content:()=>nn,Portal:()=>tn,Provider:()=>Qt,Root:()=>Zt,Tooltip:()=>jt,TooltipArrow:()=>Jt,TooltipContent:()=>Ut,TooltipPortal:()=>$t,TooltipProvider:()=>Nt,TooltipTrigger:()=>Ht,Trigger:()=>en,createTooltipScope:()=>Rt});var r,o=n(93345),i=n(23315),s=n(23349),a=n(65087),l=n(61601),c=n(73645),u=n(31085),f="dismissableLayer.update",d=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:p,onFocusOutside:g,onInteractOutside:y,onDismiss:w,...v}=e,x=o.useContext(d),[b,E]=o.useState(null),T=b?.ownerDocument??globalThis?.document,[,C]=o.useState({}),R=(0,s.s)(t,e=>E(e)),P=Array.from(x.layers),[O]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),A=P.indexOf(O),L=b?P.indexOf(b):-1,D=x.layersWithOutsidePointerEventsDisabled.size>0,S=L>=A,N=function(e,t=globalThis?.document){const n=(0,c.c)(e),r=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{const e=e=>{if(e.target&&!r.current){let r=function(){h("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{const t=e.target,n=[...x.branches].some(e=>e.contains(t));S&&!n&&(p?.(e),y?.(e),e.defaultPrevented||w?.())},T),_=function(e,t=globalThis?.document){const n=(0,c.c)(e),r=o.useRef(!1);return o.useEffect(()=>{const e=e=>{e.target&&!r.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{const t=e.target;[...x.branches].some(e=>e.contains(t))||(g?.(e),y?.(e),e.defaultPrevented||w?.())},T);return function(e,t=globalThis?.document){const n=(0,c.c)(e);o.useEffect(()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{L===x.layers.size-1&&(a?.(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},T),o.useEffect(()=>{if(b)return n&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(b)),x.layers.add(b),m(),()=>{n&&1===x.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=r)}},[b,T,n,x]),o.useEffect(()=>()=>{b&&(x.layers.delete(b),x.layersWithOutsidePointerEventsDisabled.delete(b),m())},[b,x]),o.useEffect(()=>{const e=()=>C({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,u.jsx)(l.sG.div,{...v,ref:R,style:{pointerEvents:D?S?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.m)(e.onFocusCapture,_.onFocusCapture),onBlurCapture:(0,i.m)(e.onBlurCapture,_.onBlurCapture),onPointerDownCapture:(0,i.m)(e.onPointerDownCapture,N.onPointerDownCapture)})});function m(){const e=new CustomEvent(f);document.dispatchEvent(e)}function h(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,l.hO)(o,i):o.dispatchEvent(i)}p.displayName="DismissableLayer",o.forwardRef((e,t)=>{const n=o.useContext(d),r=o.useRef(null),i=(0,s.s)(t,r);return o.useEffect(()=>{const e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(l.sG.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var g=n(47210),y=o[" useId ".trim().toString()]||(()=>{}),w=0;const v=["top","right","bottom","left"],x=Math.min,b=Math.max,E=Math.round,T=Math.floor,C=e=>({x:e,y:e}),R={left:"right",right:"left",bottom:"top",top:"bottom"},P={start:"end",end:"start"};function O(e,t,n){return b(e,x(t,n))}function A(e,t){return"function"==typeof e?e(t):e}function L(e){return e.split("-")[0]}function D(e){return e.split("-")[1]}function S(e){return"x"===e?"y":"x"}function N(e){return"y"===e?"height":"width"}function _(e){return["top","bottom"].includes(L(e))?"y":"x"}function k(e){return S(_(e))}function M(e){return e.replace(/start|end/g,e=>P[e])}function j(e){return e.replace(/left|right|bottom|top/g,e=>R[e])}function F(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function H(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function I(e,t,n){let{reference:r,floating:o}=e;const i=_(t),s=k(t),a=N(s),l=L(t),c="y"===i,u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(D(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1)}return p}async function W(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=A(t,e),m=F(p),h=a[d?"floating"===f?"reference":"floating":f],g=H(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(h)))||n?h:h.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),y="floating"===f?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,w=await(null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),v=await(null==i.isElement?void 0:i.isElement(w))&&await(null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},x=H(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:l}):y);return{top:(g.top-x.top+m.top)/v.y,bottom:(x.bottom-g.bottom+m.bottom)/v.y,left:(g.left-x.left+m.left)/v.x,right:(x.right-g.right+m.right)/v.x}}function B(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $(e){return v.some(t=>e[t]>=0)}function z(){return"undefined"!=typeof window}function U(e){return G(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Y(e){var t;return null==(t=(G(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function G(e){return!!z()&&(e instanceof Node||e instanceof V(e).Node)}function X(e){return!!z()&&(e instanceof Element||e instanceof V(e).Element)}function K(e){return!!z()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function q(e){return!(!z()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function J(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Q(e){return["table","td","th"].includes(U(e))}function Z(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function ee(e){const t=te(),n=X(e)?re(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function te(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ne(e){return["html","body","#document"].includes(U(e))}function re(e){return V(e).getComputedStyle(e)}function oe(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ie(e){if("html"===U(e))return e;const t=e.assignedSlot||e.parentNode||q(e)&&e.host||Y(e);return q(t)?t.host:t}function se(e){const t=ie(e);return ne(t)?e.ownerDocument?e.ownerDocument.body:e.body:K(t)&&J(t)?t:se(t)}function ae(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=se(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),s=V(o);if(i){const e=le(s);return t.concat(s,s.visualViewport||[],J(o)?o:[],e&&n?ae(e):[])}return t.concat(o,ae(o,[],n))}function le(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ce(e){const t=re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=K(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=E(n)!==i||E(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function ue(e){return X(e)?e:e.contextElement}function fe(e){const t=ue(e);if(!K(t))return C(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ce(t);let s=(i?E(n.width):n.width)/r,a=(i?E(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}const de=C(0);function pe(e){const t=V(e);return te()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:de}function me(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=ue(e);let s=C(1);t&&(r?X(r)&&(s=fe(r)):s=fe(e));const a=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==V(e))&&t}(i,n,r)?pe(i):C(0);let l=(o.left+a.x)/s.x,c=(o.top+a.y)/s.y,u=o.width/s.x,f=o.height/s.y;if(i){const e=V(i),t=r&&X(r)?V(r):r;let n=e,o=le(n);for(;o&&r&&t!==n;){const e=fe(o),t=o.getBoundingClientRect(),r=re(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,s=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,f*=e.y,l+=i,c+=s,n=V(o),o=le(n)}}return H({width:u,height:f,x:l,y:c})}function he(e,t){const n=oe(e).scrollLeft;return t?t.left+n:me(Y(e)).left+n}function ge(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:he(e,r)),y:r.top+t.scrollTop}}function ye(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=V(e),r=Y(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const e=te();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}(e,n);else if("document"===t)r=function(e){const t=Y(e),n=oe(e),r=e.ownerDocument.body,o=b(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=b(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+he(e);const a=-n.scrollTop;return"rtl"===re(r).direction&&(s+=b(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}(Y(e));else if(X(t))r=function(e,t){const n=me(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=K(e)?fe(e):C(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=pe(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return H(r)}function we(e,t){const n=ie(e);return!(n===t||!X(n)||ne(n))&&("fixed"===re(n).position||we(n,t))}function ve(e,t,n){const r=K(t),o=Y(t),i="fixed"===n,s=me(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=C(0);function c(){l.x=he(o)}if(r||!r&&!i)if(("body"!==U(t)||J(o))&&(a=oe(t)),r){const e=me(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&c();i&&!r&&o&&c();const u=!o||r||i?C(0):ge(o,a);return{x:s.left+a.scrollLeft-l.x-u.x,y:s.top+a.scrollTop-l.y-u.y,width:s.width,height:s.height}}function xe(e){return"static"===re(e).position}function be(e,t){if(!K(e)||"fixed"===re(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Y(e)===n&&(n=n.ownerDocument.body),n}function Ee(e,t){const n=V(e);if(Z(e))return n;if(!K(e)){let t=ie(e);for(;t&&!ne(t);){if(X(t)&&!xe(t))return t;t=ie(t)}return n}let r=be(e,t);for(;r&&Q(r)&&xe(r);)r=be(r,t);return r&&ne(r)&&xe(r)&&!ee(r)?n:r||function(e){let t=ie(e);for(;K(t)&&!ne(t);){if(ee(t))return t;if(Z(t))return null;t=ie(t)}return null}(e)||n}const Te={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,s=Y(r),a=!!t&&Z(t.floating);if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},c=C(1);const u=C(0),f=K(r);if((f||!f&&!i)&&(("body"!==U(r)||J(s))&&(l=oe(r)),K(r))){const e=me(r);c=fe(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const d=!s||f||i?C(0):ge(s,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+d.x,y:n.y*c.y-l.scrollTop*c.y+u.y+d.y}},getDocumentElement:Y,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?Z(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=ae(e,[],!1).filter(e=>X(e)&&"body"!==U(e)),o=null;const i="fixed"===re(e).position;let s=i?ie(e):e;for(;X(s)&&!ne(s);){const t=re(s),n=ee(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||J(s)&&!n&&we(e,s))?r=r.filter(e=>e!==s):o=t,s=ie(s)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=i[0],a=i.reduce((e,n)=>{const r=ye(t,n,o);return e.top=b(r.top,e.top),e.right=x(r.right,e.right),e.bottom=x(r.bottom,e.bottom),e.left=b(r.left,e.left),e},ye(t,s,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:Ee,getElementRects:async function(e){const t=this.getOffsetParent||Ee,n=this.getDimensions,r=await n(e.floating);return{reference:ve(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=ce(e);return{width:t,height:n}},getScale:fe,isElement:X,isRTL:function(e){return"rtl"===re(e).direction}};function Ce(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const Re=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),s=L(n),a=D(n),l="y"===_(n),c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,f=A(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof m&&(p="end"===a?-1*m:m),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}(t,e);return s===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},Pe=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=A(e,t),c={x:n,y:r},u=await W(t,l),f=_(L(o)),d=S(f);let p=c[d],m=c[f];if(i){const e="y"===d?"bottom":"right";p=O(p+u["y"===d?"top":"left"],p,p-u[e])}if(s){const e="y"===f?"bottom":"right";m=O(m+u["y"===f?"top":"left"],m,m-u[e])}const h=a.fn({...t,[d]:p,[f]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[d]:i,[f]:s}}}}}},Oe=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...g}=A(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=L(o),w=_(a),v=L(a)===a,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),b=d||(v||!h?[j(a)]:function(e){const t=j(e);return[M(e),t,M(t)]}(a)),E="none"!==m;!d&&E&&b.push(...function(e,t,n,r){const o=D(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}(L(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(M)))),i}(a,h,m,x));const T=[a,...b],C=await W(t,g),R=[];let P=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&R.push(C[y]),f){const e=function(e,t,n){void 0===n&&(n=!1);const r=D(e),o=k(e),i=N(o);let s="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=j(s)),[s,j(s)]}(o,s,x);R.push(C[e[0]],C[e[1]])}if(P=[...P,{placement:o,overflows:R}],!R.every(e=>e<=0)){var O,S;const e=((null==(O=i.flip)?void 0:O.index)||0)+1,t=T[e];if(t&&("alignment"!==f||w===_(t)||P.every(e=>e.overflows[0]>0&&_(e.placement)===w)))return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(S=P.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:S.placement;if(!n)switch(p){case"bestFit":{var F;const e=null==(F=P.filter(e=>{if(E){const t=_(e.placement);return t===w||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:F[0];e&&(n=e);break}case"initialPlacement":n=a}if(o!==n)return{reset:{placement:n}}}return{}}}},Ae=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=A(e,t),u=await W(t,c),f=L(o),d=D(o),p="y"===_(o),{width:m,height:h}=i.floating;let g,y;"top"===f||"bottom"===f?(g=f,y=d===(await(null==s.isRTL?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,g="end"===d?"top":"bottom");const w=h-u.top-u.bottom,v=m-u.left-u.right,E=x(h-u[g],w),T=x(m-u[y],v),C=!t.middlewareData.shift;let R=E,P=T;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(P=v),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(R=w),C&&!d){const e=b(u.left,0),t=b(u.right,0),n=b(u.top,0),r=b(u.bottom,0);p?P=m-2*(0!==e||0!==t?e+t:b(u.left,u.right)):R=h-2*(0!==n||0!==r?n+r:b(u.top,u.bottom))}await l({...t,availableWidth:P,availableHeight:R});const O=await s.getDimensions(a.floating);return m!==O.width||h!==O.height?{reset:{rects:!0}}:{}}}},Le=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=A(e,t);switch(r){case"referenceHidden":{const e=B(await W(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:$(e)}}}case"escaped":{const e=B(await W(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:$(e)}}}default:return{}}}}},De=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=A(e,t)||{};if(null==c)return{};const f=F(u),d={x:n,y:r},p=k(o),m=N(p),h=await s.getDimensions(c),g="y"===p,y=g?"top":"left",w=g?"bottom":"right",v=g?"clientHeight":"clientWidth",b=i.reference[m]+i.reference[p]-d[p]-i.floating[m],E=d[p]-i.reference[p],T=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let C=T?T[v]:0;C&&await(null==s.isElement?void 0:s.isElement(T))||(C=a.floating[v]||i.floating[m]);const R=b/2-E/2,P=C/2-h[m]/2-1,L=x(f[y],P),S=x(f[w],P),_=L,M=C-h[m]-S,j=C/2-h[m]/2+R,H=O(_,j,M),I=!l.arrow&&null!=D(o)&&j!==H&&i.reference[m]/2-(j<_?L:S)-h[m]/2<0,W=I?j<_?j-_:j-M:0;return{[p]:d[p]+W,data:{[p]:H,centerOffset:j-H-W,...I&&{alignmentOffset:W}},reset:I}}}),Se=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=A(e,t),u={x:n,y:r},f=_(o),d=S(f);let p=u[d],m=u[f];const h=A(a,t),g="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+g.mainAxis,n=i.reference[d]+i.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(c){var y,w;const e="y"===d?"width":"height",t=["top","left"].includes(L(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(y=s.offset)?void 0:y[f])||0)+(t?0:g.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[f])||0)-(t?g.crossAxis:0);m<n?m=n:m>r&&(m=r)}return{[d]:p,[f]:m}}}},Ne=(e,t,n)=>{const r=new Map,o={platform:Te,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=I(c,r,l),d=r,p={},m=0;for(let n=0;n<a.length;n++){const{name:i,fn:h}=a[n],{x:g,y,data:w,reset:v}=await h({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=null!=g?g:u,f=null!=y?y:f,p={...p,[i]:{...p[i],...w}},v&&m<=50&&(m++,"object"==typeof v&&(v.placement&&(d=v.placement),v.rects&&(c=!0===v.rects?await s.getElementRects({reference:e,floating:t,strategy:o}):v.rects),({x:u,y:f}=I(c,d,l))),n=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}})(e,t,{...o,platform:i})};var _e=n(7628),ke=n.n(_e),Me="undefined"!=typeof document?o.useLayoutEffect:function(){};function je(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!==r--;)if(!je(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!==r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!==r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||je(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function Fe(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function He(e,t){const n=Fe(e);return Math.round(t*n)/n}function Ie(e){const t=o.useRef(e);return Me(()=>{t.current=e}),t}const We=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&(o=n,{}.hasOwnProperty.call(o,"current"))?null!=n.current?De({element:n.current,padding:r}).fn(t):{}:n?De({element:n,padding:r}).fn(t):{};var o}}),Be=(e,t)=>({...Pe(e),options:[e,t]}),$e=(e,t)=>({...Se(e),options:[e,t]}),ze=(e,t)=>({...Oe(e),options:[e,t]}),Ue=(e,t)=>({...Ae(e),options:[e,t]}),Ve=(e,t)=>({...Le(e),options:[e,t]}),Ye=(e,t)=>({...We(e),options:[e,t]});var Ge=o.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return(0,u.jsx)(l.sG.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,u.jsx)("polygon",{points:"0,0 30,0 15,10"})})});Ge.displayName="Arrow";var Xe=Ge,Ke="Popper",[qe,Je]=(0,a.A)(Ke),[Qe,Ze]=qe(Ke),et=e=>{const{__scopePopper:t,children:n}=e,[r,i]=o.useState(null);return(0,u.jsx)(Qe,{scope:t,anchor:r,onAnchorChange:i,children:n})};et.displayName=Ke;var tt="PopperAnchor",nt=o.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,a=Ze(tt,n),c=o.useRef(null),f=(0,s.s)(t,c);return o.useEffect(()=>{a.onAnchorChange(r?.current||c.current)}),r?null:(0,u.jsx)(l.sG.div,{...i,ref:f})});nt.displayName=tt;var rt="PopperContent",[ot,it]=qe(rt),st=o.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:a="center",alignOffset:f=0,arrowPadding:d=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:h=0,sticky:y="partial",hideWhenDetached:w=!1,updatePositionStrategy:v="optimized",onPlaced:E,...C}=e,R=Ze(rt,n),[P,O]=o.useState(null),A=(0,s.s)(t,e=>O(e)),[L,D]=o.useState(null),S=function(e){const[t,n]=o.useState(void 0);return(0,g.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,i;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(L),N=S?.width??0,_=S?.height??0,k=r+("center"!==a?"-"+a:""),M="number"==typeof h?h:{top:0,right:0,bottom:0,left:0,...h},j=Array.isArray(m)?m:[m],F=j.length>0,H={padding:M,boundary:j.filter(ut),altBoundary:F},{refs:I,floatingStyles:W,placement:B,isPositioned:$,middlewareData:z}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:a}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[f,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=o.useState(r);je(p,r)||m(r);const[h,g]=o.useState(null),[y,w]=o.useState(null),v=o.useCallback(e=>{e!==T.current&&(T.current=e,g(e))},[]),x=o.useCallback(e=>{e!==C.current&&(C.current=e,w(e))},[]),b=s||h,E=a||y,T=o.useRef(null),C=o.useRef(null),R=o.useRef(f),P=null!=c,O=Ie(c),A=Ie(i),L=Ie(u),D=o.useCallback(()=>{if(!T.current||!C.current)return;const e={placement:t,strategy:n,middleware:p};A.current&&(e.platform=A.current),Ne(T.current,C.current,e).then(e=>{const t={...e,isPositioned:!1!==L.current};S.current&&!je(R.current,t)&&(R.current=t,_e.flushSync(()=>{d(t)}))})},[p,t,n,A,L]);Me(()=>{!1===u&&R.current.isPositioned&&(R.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);const S=o.useRef(!1);Me(()=>(S.current=!0,()=>{S.current=!1}),[]),Me(()=>{if(b&&(T.current=b),E&&(C.current=E),b&&E){if(O.current)return O.current(b,E,D);D()}},[b,E,D,O,P]);const N=o.useMemo(()=>({reference:T,floating:C,setReference:v,setFloating:x}),[v,x]),_=o.useMemo(()=>({reference:b,floating:E}),[b,E]),k=o.useMemo(()=>{const e={position:n,left:0,top:0};if(!_.floating)return e;const t=He(_.floating,f.x),r=He(_.floating,f.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...Fe(_.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,_.floating,f.x,f.y]);return o.useMemo(()=>({...f,update:D,refs:N,elements:_,floatingStyles:k}),[f,D,N,_,k])}({strategy:"fixed",placement:k,whileElementsMounted:(...e)=>function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:a="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=ue(e),u=o||i?[...c?ae(c):[],...ae(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)});const f=c&&a?function(e,t){let n,r=null;const o=Y(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function s(a,l){void 0===a&&(a=!1),void 0===l&&(l=1),i();const c=e.getBoundingClientRect(),{left:u,top:f,width:d,height:p}=c;if(a||t(),!d||!p)return;const m={rootMargin:-T(f)+"px "+-T(o.clientWidth-(u+d))+"px "+-T(o.clientHeight-(f+p))+"px "+-T(u)+"px",threshold:b(0,x(1,l))||1};let h=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!h)return s();r?s(!1,r):n=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==r||Ce(c,e.getBoundingClientRect())||s(),h=!1}try{r=new IntersectionObserver(g,{...m,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(g,m)}r.observe(e)}(!0),i}(c,n):null;let d,p=-1,m=null;s&&(m=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),c&&!l&&m.observe(c),m.observe(t));let h=l?me(e):null;return l&&function t(){const r=me(e);h&&!Ce(h,r)&&n(),h=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=m)||e.disconnect(),m=null,l&&cancelAnimationFrame(d)}}(...e,{animationFrame:"always"===v}),elements:{reference:R.anchor},middleware:[(U={mainAxis:i+_,alignmentAxis:f},{...Re(U),options:[U,undefined]}),p&&Be({mainAxis:!0,crossAxis:!1,limiter:"partial"===y?$e():void 0,...H}),p&&ze({...H}),Ue({...H,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:i}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${r}px`),s.setProperty("--radix-popper-anchor-width",`${o}px`),s.setProperty("--radix-popper-anchor-height",`${i}px`)}}),L&&Ye({element:L,padding:d}),ft({arrowWidth:N,arrowHeight:_}),w&&Ve({strategy:"referenceHidden",...H})]});var U;const[V,G]=dt(B),X=(0,c.c)(E);(0,g.N)(()=>{$&&X?.()},[$,X]);const K=z.arrow?.x,q=z.arrow?.y,J=0!==z.arrow?.centerOffset,[Q,Z]=o.useState();return(0,g.N)(()=>{P&&Z(window.getComputedStyle(P).zIndex)},[P]),(0,u.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:$?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[z.transformOrigin?.x,z.transformOrigin?.y].join(" "),...z.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,u.jsx)(ot,{scope:n,placedSide:V,onArrowChange:D,arrowX:K,arrowY:q,shouldHideArrow:J,children:(0,u.jsx)(l.sG.div,{"data-side":V,"data-align":G,...C,ref:A,style:{...C.style,animation:$?void 0:"none"}})})})});st.displayName=rt;var at="PopperArrow",lt={top:"bottom",right:"left",bottom:"top",left:"right"},ct=o.forwardRef(function(e,t){const{__scopePopper:n,...r}=e,o=it(at,n),i=lt[o.placedSide];return(0,u.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,u.jsx)(Xe,{...r,ref:t,style:{...r.style,display:"block"}})})});function ut(e){return null!==e}ct.displayName=at;var ft=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,i=0!==o.arrow?.centerOffset,s=i?0:e.arrowWidth,a=i?0:e.arrowHeight,[l,c]=dt(n),u={start:"0%",center:"50%",end:"100%"}[c],f=(o.arrow?.x??0)+s/2,d=(o.arrow?.y??0)+a/2;let p="",m="";return"bottom"===l?(p=i?u:`${f}px`,m=-a+"px"):"top"===l?(p=i?u:`${f}px`,m=`${r.floating.height+a}px`):"right"===l?(p=-a+"px",m=i?u:`${d}px`):"left"===l&&(p=`${r.floating.width+a}px`,m=i?u:`${d}px`),{data:{x:p,y:m}}}});function dt(e){const[t,n="center"]=e.split("-");return[t,n]}var pt=et,mt=nt,ht=st,gt=ct,yt=o.forwardRef((e,t)=>{const{container:n,...r}=e,[i,s]=o.useState(!1);(0,g.N)(()=>s(!0),[]);const a=n||i&&globalThis?.document?.body;return a?ke().createPortal((0,u.jsx)(l.sG.div,{...r,ref:t}),a):null});yt.displayName="Portal";var wt=n(80813),vt=n(48193),xt=n(88049),bt=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),Et=o.forwardRef((e,t)=>(0,u.jsx)(l.sG.span,{...e,ref:t,style:{...bt,...e.style}}));Et.displayName="VisuallyHidden";var Tt=Et,[Ct,Rt]=(0,a.A)("Tooltip",[Je]),Pt=Je(),Ot="TooltipProvider",At=700,Lt="tooltip.open",[Dt,St]=Ct(Ot),Nt=e=>{const{__scopeTooltip:t,delayDuration:n=At,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,a=o.useRef(!0),l=o.useRef(!1),c=o.useRef(0);return o.useEffect(()=>{const e=c.current;return()=>window.clearTimeout(e)},[]),(0,u.jsx)(Dt,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:o.useCallback(()=>{window.clearTimeout(c.current),a.current=!1},[]),onClose:o.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:o.useCallback(e=>{l.current=e},[]),disableHoverableContent:i,children:s})};Nt.displayName=Ot;var _t="Tooltip",[kt,Mt]=Ct(_t),jt=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:s,disableHoverableContent:a,delayDuration:l}=e,c=St(_t,e.__scopeTooltip),f=Pt(t),[d,p]=o.useState(null),m=function(e){const[t,n]=o.useState(y());return(0,g.N)(()=>{n(e=>e??String(w++))},[e]),t?`radix-${t}`:""}(),h=o.useRef(0),v=a??c.disableHoverableContent,x=l??c.delayDuration,b=o.useRef(!1),[E,T]=(0,xt.i)({prop:r,defaultProp:i??!1,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(Lt))):c.onClose(),s?.(e)},caller:_t}),C=o.useMemo(()=>E?b.current?"delayed-open":"instant-open":"closed",[E]),R=o.useCallback(()=>{window.clearTimeout(h.current),h.current=0,b.current=!1,T(!0)},[T]),P=o.useCallback(()=>{window.clearTimeout(h.current),h.current=0,T(!1)},[T]),O=o.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{b.current=!0,T(!0),h.current=0},x)},[x,T]);return o.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),(0,u.jsx)(pt,{...f,children:(0,u.jsx)(kt,{scope:t,contentId:m,open:E,stateAttribute:C,trigger:d,onTriggerChange:p,onTriggerEnter:o.useCallback(()=>{c.isOpenDelayedRef.current?O():R()},[c.isOpenDelayedRef,O,R]),onTriggerLeave:o.useCallback(()=>{v?P():(window.clearTimeout(h.current),h.current=0)},[P,v]),onOpen:R,onClose:P,disableHoverableContent:v,children:n})})};jt.displayName=_t;var Ft="TooltipTrigger",Ht=o.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=Mt(Ft,n),c=St(Ft,n),f=Pt(n),d=o.useRef(null),p=(0,s.s)(t,d,a.onTriggerChange),m=o.useRef(!1),h=o.useRef(!1),g=o.useCallback(()=>m.current=!1,[]);return o.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,u.jsx)(mt,{asChild:!0,...f,children:(0,u.jsx)(l.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:p,onPointerMove:(0,i.m)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(h.current||c.isPointerInTransitRef.current||(a.onTriggerEnter(),h.current=!0))}),onPointerLeave:(0,i.m)(e.onPointerLeave,()=>{a.onTriggerLeave(),h.current=!1}),onPointerDown:(0,i.m)(e.onPointerDown,()=>{a.open&&a.onClose(),m.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,i.m)(e.onFocus,()=>{m.current||a.onOpen()}),onBlur:(0,i.m)(e.onBlur,a.onClose),onClick:(0,i.m)(e.onClick,a.onClose)})})});Ht.displayName=Ft;var It="TooltipPortal",[Wt,Bt]=Ct(It,{forceMount:void 0}),$t=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=Mt(It,t);return(0,u.jsx)(Wt,{scope:t,forceMount:n,children:(0,u.jsx)(wt.C,{present:n||i.open,children:(0,u.jsx)(yt,{asChild:!0,container:o,children:r})})})};$t.displayName=It;var zt="TooltipContent",Ut=o.forwardRef((e,t)=>{const n=Bt(zt,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Mt(zt,e.__scopeTooltip);return(0,u.jsx)(wt.C,{present:r||s.open,children:s.disableHoverableContent?(0,u.jsx)(Kt,{side:o,...i,ref:t}):(0,u.jsx)(Vt,{side:o,...i,ref:t})})}),Vt=o.forwardRef((e,t)=>{const n=Mt(zt,e.__scopeTooltip),r=St(zt,e.__scopeTooltip),i=o.useRef(null),a=(0,s.s)(t,i),[l,c]=o.useState(null),{trigger:f,onClose:d}=n,p=i.current,{onPointerInTransitChange:m}=r,h=o.useCallback(()=>{c(null),m(!1)},[m]),g=o.useCallback((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),i=function(e){const t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...o,...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);c(i),m(!0)},[m]);return o.useEffect(()=>()=>h(),[h]),o.useEffect(()=>{if(f&&p){const e=e=>g(e,p),t=e=>g(e,f);return f.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{f.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[f,p,g,h]),o.useEffect(()=>{if(l){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=f?.contains(t)||p?.contains(t),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){const s=t[e],a=t[i],l=s.x,c=s.y,u=a.x,f=a.y;c>r!=f>r&&n<(u-l)*(r-c)/(f-c)+l&&(o=!o)}return o}(n,l);r?h():o&&(h(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[f,p,l,d,h]),(0,u.jsx)(Kt,{...e,ref:a})}),[Yt,Gt]=Ct(_t,{isInside:!1}),Xt=(0,vt.createSlottable)("TooltipContent"),Kt=o.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:a,...l}=e,c=Mt(zt,n),f=Pt(n),{onClose:d}=c;return o.useEffect(()=>(document.addEventListener(Lt,d),()=>document.removeEventListener(Lt,d)),[d]),o.useEffect(()=>{if(c.trigger){const e=e=>{const t=e.target;t?.contains(c.trigger)&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,d]),(0,u.jsx)(p,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,u.jsxs)(ht,{"data-state":c.stateAttribute,...f,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,u.jsx)(Xt,{children:r}),(0,u.jsx)(Yt,{scope:n,isInside:!0,children:(0,u.jsx)(Tt,{id:c.contentId,role:"tooltip",children:i||r})})]})})});Ut.displayName=zt;var qt="TooltipArrow",Jt=o.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Pt(n);return Gt(qt,n).isInside?null:(0,u.jsx)(gt,{...o,...r,ref:t})});Jt.displayName=qt;var Qt=Nt,Zt=jt,en=Ht,tn=$t,nn=Ut,rn=Jt},23315:(e,t,n)=>{function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{m:()=>r})},23349:(e,t,n)=>{n.d(t,{s:()=>s,t:()=>i});var r=n(93345);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1;const r=e.map(e=>{const r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){const n=r[t];"function"==typeof n?n():o(e[t],null)}}}}function s(...e){return r.useCallback(i(...e),e)}},31085:(e,t,n)=>{e.exports=n(73335)},47210:(e,t,n)=>{n.d(t,{N:()=>o});var r=n(93345),o=globalThis?.document?r.useLayoutEffect:()=>{}},61601:(e,t,n)=>{n.d(t,{hO:()=>l,sG:()=>a});var r=n(93345),o=n(7628),i=n(48193),s=n(31085),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const n=(0,i.createSlot)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{const{asChild:o,...i}=e,a=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a,{...i,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function l(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},65087:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(93345),o=n(31085);function i(e,t=[]){let n=[];const i=()=>{const t=n.map(e=>r.createContext(e));return function(n){const o=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return i.scopeName=e,[function(t,i){const s=r.createContext(i),a=n.length;n=[...n,i];const l=t=>{const{scope:n,children:i,...l}=t,c=n?.[e]?.[a]||s,u=r.useMemo(()=>l,Object.values(l));return(0,o.jsx)(c.Provider,{value:u,children:i})};return l.displayName=t+"Provider",[l,function(n,o){const l=o?.[e]?.[a]||s,c=r.useContext(l);if(c)return c;if(void 0!==i)return i;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},s(i,...t)]}function s(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const o=n.reduce((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]}),{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}},73335:(e,t,n)=>{var r=n(93345),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},73645:(e,t,n)=>{n.d(t,{c:()=>o});var r=n(93345);function o(e){const t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},80813:(e,t,n)=>{n.d(t,{C:()=>s});var r=n(93345),o=n(23349),i=n(47210),s=e=>{const{present:t,children:n}=e,s=function(e){const[t,n]=r.useState(),o=r.useRef(null),s=r.useRef(e),l=r.useRef("none"),c=e?"mounted":"unmounted",[u,f]=function(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return r.useEffect(()=>{const e=a(o.current);l.current="mounted"===u?e:"none"},[u]),(0,i.N)(()=>{const t=o.current,n=s.current;if(n!==e){const r=l.current,o=a(t);f(e?"MOUNT":"none"===o||"none"===t?.display?"UNMOUNT":n&&r!==o?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,f]),(0,i.N)(()=>{if(t){let e;const n=t.ownerDocument.defaultView??window,r=r=>{const i=a(o.current).includes(r.animationName);if(r.target===t&&i&&(f("ANIMATION_END"),!s.current)){const r=t.style.animationFillMode;t.style.animationFillMode="forwards",e=n.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=r)})}},i=e=>{e.target===t&&(l.current=a(o.current))};return t.addEventListener("animationstart",i),t.addEventListener("animationcancel",r),t.addEventListener("animationend",r),()=>{n.clearTimeout(e),t.removeEventListener("animationstart",i),t.removeEventListener("animationcancel",r),t.removeEventListener("animationend",r)}}f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,n(e)},[])}}(t),l="function"==typeof n?n({present:s.isPresent}):r.Children.only(n),c=(0,o.s)(s.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}(l));return"function"==typeof n||s.isPresent?r.cloneElement(l,{ref:c}):null};function a(e){return e?.animationName||"none"}s.displayName="Presence"},88049:(e,t,n)=>{n.d(t,{i:()=>s});var r=n(93345),o=n(47210),i=r[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){const[s,a,l]=function({defaultProp:e,onChange:t}){const[n,o]=r.useState(e),s=r.useRef(n),a=r.useRef(t);return i(()=>{a.current=t},[t]),r.useEffect(()=>{s.current!==n&&(a.current?.(n),s.current=n)},[n,s]),[n,o,a]}({defaultProp:t,onChange:n}),c=void 0!==e,u=c?e:s;{const t=r.useRef(void 0!==e);r.useEffect(()=>{const e=t.current;if(e!==c){const t=e?"controlled":"uncontrolled",n=c?"controlled":"uncontrolled";console.warn(`${o} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,o])}const f=r.useCallback(t=>{if(c){const n=function(e){return"function"==typeof e}(t)?t(e):t;n!==e&&l.current?.(n)}else a(t)},[c,e,a,l]);return[u,f]}Symbol("RADIX:SYNC_STATE")}}]);
@@ -0,0 +1 @@
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")}}]);