jupyterlab 4.4.0a2__py3-none-any.whl → 4.4.0b0__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 (561) hide show
  1. jupyterlab/_version.py +1 -1
  2. jupyterlab/commands.py +3 -4
  3. jupyterlab/extensions/manager.py +1 -1
  4. jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +103 -99
  5. jupyterlab/galata/@jupyterlab/galata-extension/package.json +12 -12
  6. jupyterlab/galata/@jupyterlab/galata-extension/static/{lib_extension_index_js.cc9baf28438ab1b21a09.js → lib_extension_index_js.59743b9da90d1b8bb0d5.js} +1 -1
  7. jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.dbf7fe7c0cf99c497993.js → remoteEntry.5ba994114aebd508f8b4.js} +4 -4
  8. jupyterlab/labapp.py +0 -13
  9. jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +12 -12
  10. jupyterlab/schemas/@jupyterlab/apputils-extension/notification.json +8 -3
  11. jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +16 -16
  12. jupyterlab/schemas/@jupyterlab/apputils-extension/running-sessions-status.json +14 -0
  13. jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +7 -7
  14. jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +6 -6
  15. jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +10 -10
  16. jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +8 -8
  17. jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +15 -15
  18. jupyterlab/schemas/@jupyterlab/console-extension/tracker.json +115 -1
  19. jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +13 -13
  20. jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +18 -18
  21. jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +14 -14
  22. jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
  23. jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +8 -8
  24. jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +15 -15
  25. jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
  26. jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +10 -10
  27. jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +10 -10
  28. jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +7 -7
  29. jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +7 -7
  30. jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +11 -11
  31. jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +9 -9
  32. jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +12 -12
  33. jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +9 -9
  34. jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +13 -13
  35. jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +10 -10
  36. jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +4 -4
  37. jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +8 -8
  38. jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +32 -32
  39. jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +14 -14
  40. jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +12 -12
  41. jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +7 -7
  42. jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +7 -7
  43. jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +13 -13
  44. jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +7 -7
  45. jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +13 -13
  46. jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +7 -7
  47. jupyterlab/schemas/@jupyterlab/workspaces-extension/indicator.json +37 -0
  48. jupyterlab/schemas/@jupyterlab/workspaces-extension/package.json.orig +14 -12
  49. jupyterlab/staging/index.js +28 -8
  50. jupyterlab/staging/package.json +155 -152
  51. jupyterlab/staging/yarn.lock +1428 -1404
  52. jupyterlab/static/{1026.687e328742d8f0fc56f5.js → 1026.45db0bbd7531b109234b.js} +1 -1
  53. jupyterlab/static/{1096.50c40874a38d5f44e6aa.js → 1096.dd4c563e0483cbbeb9c9.js} +1 -1
  54. jupyterlab/static/{1194.b932de7b769858317aaa.js → 1194.9c8cbdcf3165d6a2adfc.js} +1 -1
  55. jupyterlab/static/1491.010c623dd546db976e95.js +1 -0
  56. jupyterlab/static/{1527.d7c25ecccb06c9ce14c3.js → 1527.4b16fbd7a7ee840c4261.js} +1 -1
  57. jupyterlab/static/{2173.e34caf5805fee8fd9f41.js → 2173.b0405ab2204314f22450.js} +1 -1
  58. jupyterlab/static/227.202b3bcb509bbfb4e52d.js +2 -0
  59. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/227.84c6d275bcf089155eab.js.LICENSE.txt → jupyterlab/static/227.202b3bcb509bbfb4e52d.js.LICENSE.txt +1 -1
  60. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/2325.7dc54c8d35c1b1a1f298.js → jupyterlab/static/2325.07d5917569a10d687a08.js +1 -1
  61. jupyterlab/static/{2641.42924ccce04d13495c0e.js → 2641.e77441e7a3e0d12834c5.js} +1 -1
  62. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/284.f81aba8f9a9bd2afa25e.js → jupyterlab/static/284.011fb4ad952aa9ae7556.js +1 -1
  63. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/294.21bb3fb4510153376b0f.js → jupyterlab/static/294.06274dddaaf7a6791144.js +1 -1
  64. jupyterlab/static/3991.678edf189fe92a216c70.js +1 -0
  65. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/4325.b163a3314ad9dbb5b972.js → jupyterlab/static/4325.9320a2934ee3f39284c9.js +1 -1
  66. jupyterlab/static/4350.8c8a0e7a3ffe036494e1.js +1 -0
  67. jupyterlab/static/{4449.c874dbe1be852894b8e8.js → 4449.3dd4ab90979d0a9046e2.js} +1 -1
  68. jupyterlab/static/{4750.ce125fc06bd3d35f8972.js → 4750.ca16de8a377d78fa4894.js} +1 -1
  69. jupyterlab/static/{4950.02a466e6ea21036ef8bf.js → 4950.e9b784b07c6a6835db7b.js} +1 -1
  70. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/8376.85183063484b82f68858.js → jupyterlab/static/4982.c864dc2dcc58e81c090a.js +1 -1
  71. jupyterlab/static/499.66250ea1f8b762c490de.js +1 -0
  72. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/5232.6783348b0c19b0481edd.js → jupyterlab/static/5232.c7cdbc40a194e6b36521.js +1 -1
  73. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/5289.b76ad2978128e35df282.js → jupyterlab/static/5289.30ae4288ff93aff43a23.js +1 -1
  74. jupyterlab/static/5489.7fab44eac7538297b164.js +1 -0
  75. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/5551.32ab94c5245658c997fb.js → jupyterlab/static/5551.6e2afa1292957f232cf7.js +1 -1
  76. jupyterlab/static/594.797ce11a3351663683d8.js +1 -0
  77. jupyterlab/static/6180.5cb938dfb09ba4774e62.js +1 -0
  78. jupyterlab/static/6372.edc0712a4be855493530.js +1 -0
  79. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6439.4e2f014a76715485ef1b.js → jupyterlab/static/6439.60703ff72dd50ebeb850.js +1 -1
  80. jupyterlab/static/{6733.2d8d3e01d56d79a52e7e.js → 6733.3bc823f3988e9395b4bc.js} +2 -2
  81. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6885.5c0f8da91202dd67b87d.js → jupyterlab/static/6885.5fc0d5e8bf322cb22354.js +1 -1
  82. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6896.af1d649e0efae70b7b1a.js → jupyterlab/static/6896.9a90c3217d8d3da90788.js +1 -1
  83. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6986.6de125d6d04534df5a82.js → jupyterlab/static/6986.440497af0277a8043b7a.js +1 -1
  84. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/7086.389fd0bfeb3c72f6ab3c.js → jupyterlab/static/7086.2b1722a86661364a4ec4.js +1 -1
  85. jupyterlab/static/7879.2e9f3ab51e7632081b1e.js +1 -0
  86. jupyterlab/static/{7990.fc875753fcfcc9b4eebc.js → 7990.01eaa552261b6e12a74a.js} +2 -2
  87. jupyterlab/static/{8159.d6b32960b23f2e5ec110.js → 8159.d6f283e98f46a953f575.js} +1 -1
  88. jupyterlab/static/8606.bc1b0136e61d173913cd.js +1 -0
  89. jupyterlab/static/{8820.500ffba59235afde2a21.js → 8820.6b625052509edd223505.js} +1 -1
  90. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/9329.c878986b50c10afaca34.js → jupyterlab/static/9329.2c313c649fae987158c7.js +1 -1
  91. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/9331.83f0d0e5536900edca68.js → jupyterlab/static/9331.4aebc7e0a8a13429e89e.js +1 -1
  92. jupyterlab/static/9892.6d289e7baed8c64d88e2.js +2 -0
  93. jupyterlab/static/build_log.json +101 -98
  94. jupyterlab/static/index.html +1 -1
  95. jupyterlab/static/index.out.js +39 -8
  96. jupyterlab/static/jlab_core.d9ff7dfa5fe4ca4acea6.js +1 -0
  97. jupyterlab/static/main.f4a4e580e8ab3d4a0db2.js +1 -0
  98. jupyterlab/static/package.json +155 -152
  99. jupyterlab/static/third-party-licenses.json +138 -132
  100. jupyterlab/tests/mock_packages/extension/package.json +3 -3
  101. jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
  102. jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
  103. jupyterlab/tests/mock_packages/interop/token/package.json +1 -1
  104. jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
  105. jupyterlab/tests/mock_packages/service-manager-extension/index.js +25 -0
  106. jupyterlab/tests/mock_packages/service-manager-extension/mock_service_manager_package.py +14 -0
  107. jupyterlab/tests/mock_packages/service-manager-extension/package.json +17 -0
  108. jupyterlab/tests/mock_packages/service-manager-extension/setup.py +26 -0
  109. jupyterlab/tests/mock_packages/test-hyphens/pyproject.toml +58 -10
  110. jupyterlab/tests/mock_packages/test-hyphens/setup.py +2 -34
  111. jupyterlab/tests/mock_packages/test-hyphens-underscore/pyproject.toml +58 -10
  112. jupyterlab/tests/mock_packages/test-hyphens-underscore/setup.py +2 -34
  113. jupyterlab/tests/mock_packages/test_no_hyphens/pyproject.toml +58 -10
  114. jupyterlab/tests/mock_packages/test_no_hyphens/setup.py +2 -28
  115. jupyterlab/tests/test_extensions.py +0 -2
  116. jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +10 -1
  117. jupyterlab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.css +9 -0
  118. jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +9 -1
  119. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +12 -12
  120. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +8 -3
  121. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +16 -16
  122. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/running-sessions-status.json +14 -0
  123. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +7 -7
  124. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +6 -6
  125. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +10 -10
  126. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +8 -8
  127. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +15 -15
  128. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +115 -1
  129. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +13 -13
  130. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +18 -18
  131. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +14 -14
  132. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
  133. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +8 -8
  134. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +15 -15
  135. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
  136. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +10 -10
  137. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +10 -10
  138. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +7 -7
  139. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +7 -7
  140. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +11 -11
  141. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +9 -9
  142. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +12 -12
  143. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +9 -9
  144. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +13 -13
  145. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +10 -10
  146. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +4 -4
  147. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +8 -8
  148. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +91 -0
  149. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +14 -14
  150. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +12 -12
  151. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +7 -7
  152. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +7 -7
  153. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +13 -13
  154. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +7 -7
  155. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +13 -13
  156. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +7 -7
  157. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/indicator.json +37 -0
  158. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +14 -12
  159. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/1026.687e328742d8f0fc56f5.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/1026.45db0bbd7531b109234b.js +1 -1
  160. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/1096.50c40874a38d5f44e6aa.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/1096.dd4c563e0483cbbeb9c9.js +1 -1
  161. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/1194.b932de7b769858317aaa.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/1194.9c8cbdcf3165d6a2adfc.js +1 -1
  162. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/1491.010c623dd546db976e95.js +1 -0
  163. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/1527.d7c25ecccb06c9ce14c3.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/1527.4b16fbd7a7ee840c4261.js +1 -1
  164. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/2173.e34caf5805fee8fd9f41.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/2173.b0405ab2204314f22450.js +1 -1
  165. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/227.202b3bcb509bbfb4e52d.js +2 -0
  166. jupyterlab/static/227.84c6d275bcf089155eab.js.LICENSE.txt → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/227.202b3bcb509bbfb4e52d.js.LICENSE.txt +1 -1
  167. jupyterlab/static/2325.7dc54c8d35c1b1a1f298.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/2325.07d5917569a10d687a08.js +1 -1
  168. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/2641.42924ccce04d13495c0e.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/2641.e77441e7a3e0d12834c5.js +1 -1
  169. jupyterlab/static/284.f81aba8f9a9bd2afa25e.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/284.011fb4ad952aa9ae7556.js +1 -1
  170. jupyterlab/static/294.21bb3fb4510153376b0f.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/294.06274dddaaf7a6791144.js +1 -1
  171. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/3991.678edf189fe92a216c70.js +1 -0
  172. jupyterlab/static/4325.b163a3314ad9dbb5b972.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/4325.9320a2934ee3f39284c9.js +1 -1
  173. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/4350.8c8a0e7a3ffe036494e1.js +1 -0
  174. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/4449.c874dbe1be852894b8e8.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/4449.3dd4ab90979d0a9046e2.js +1 -1
  175. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/4750.ce125fc06bd3d35f8972.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/4750.ca16de8a377d78fa4894.js +1 -1
  176. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/4950.02a466e6ea21036ef8bf.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/4950.e9b784b07c6a6835db7b.js +1 -1
  177. jupyterlab/static/8376.85183063484b82f68858.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/4982.c864dc2dcc58e81c090a.js +1 -1
  178. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/499.66250ea1f8b762c490de.js +1 -0
  179. jupyterlab/static/5232.6783348b0c19b0481edd.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/5232.c7cdbc40a194e6b36521.js +1 -1
  180. jupyterlab/static/5289.b76ad2978128e35df282.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/5289.30ae4288ff93aff43a23.js +1 -1
  181. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/5489.7fab44eac7538297b164.js +1 -0
  182. jupyterlab/static/5551.32ab94c5245658c997fb.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/5551.6e2afa1292957f232cf7.js +1 -1
  183. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/594.797ce11a3351663683d8.js +1 -0
  184. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6180.5cb938dfb09ba4774e62.js +1 -0
  185. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6372.edc0712a4be855493530.js +1 -0
  186. jupyterlab/static/6439.4e2f014a76715485ef1b.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6439.60703ff72dd50ebeb850.js +1 -1
  187. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6733.2d8d3e01d56d79a52e7e.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6733.3bc823f3988e9395b4bc.js +2 -2
  188. jupyterlab/static/6885.5c0f8da91202dd67b87d.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6885.5fc0d5e8bf322cb22354.js +1 -1
  189. jupyterlab/static/6896.af1d649e0efae70b7b1a.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6896.9a90c3217d8d3da90788.js +1 -1
  190. jupyterlab/static/6986.6de125d6d04534df5a82.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6986.440497af0277a8043b7a.js +1 -1
  191. jupyterlab/static/7086.389fd0bfeb3c72f6ab3c.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/7086.2b1722a86661364a4ec4.js +1 -1
  192. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/7879.2e9f3ab51e7632081b1e.js +1 -0
  193. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/7990.fc875753fcfcc9b4eebc.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/7990.01eaa552261b6e12a74a.js +2 -2
  194. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/8159.d6b32960b23f2e5ec110.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/8159.d6f283e98f46a953f575.js +1 -1
  195. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/8606.bc1b0136e61d173913cd.js +1 -0
  196. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/8820.500ffba59235afde2a21.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/8820.6b625052509edd223505.js +1 -1
  197. jupyterlab/static/9329.c878986b50c10afaca34.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/9329.2c313c649fae987158c7.js +1 -1
  198. jupyterlab/static/9331.83f0d0e5536900edca68.js → jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/9331.4aebc7e0a8a13429e89e.js +1 -1
  199. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/9892.6d289e7baed8c64d88e2.js +2 -0
  200. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/build_log.json +101 -98
  201. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/index.html +1 -1
  202. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/index.out.js +39 -8
  203. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/jlab_core.d9ff7dfa5fe4ca4acea6.js +1 -0
  204. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/main.f4a4e580e8ab3d4a0db2.js +1 -0
  205. jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/package.json +360 -0
  206. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/third-party-licenses.json +138 -132
  207. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +10 -1
  208. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.css +9 -0
  209. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +9 -1
  210. {jupyterlab-4.4.0a2.dist-info → jupyterlab-4.4.0b0.dist-info}/METADATA +4 -4
  211. {jupyterlab-4.4.0a2.dist-info → jupyterlab-4.4.0b0.dist-info}/RECORD +529 -523
  212. jupyterlab/static/1491.62ed4ab1f893d55a7df5.js +0 -1
  213. jupyterlab/static/227.84c6d275bcf089155eab.js +0 -2
  214. jupyterlab/static/2880.8483d51b11998bfe8e4b.js +0 -1
  215. jupyterlab/static/3450.499466688807e6e40372.js +0 -1
  216. jupyterlab/static/3991.ee9a327e63c1f7c8c890.js +0 -1
  217. jupyterlab/static/4606.cba21bae1bd61d5466b4.js +0 -1
  218. jupyterlab/static/5489.62bb81d5e0fed90fd179.js +0 -1
  219. jupyterlab/static/5895.cda43bb9605deeb0d817.js +0 -1
  220. jupyterlab/static/6180.aa805e2573c1741b2c6e.js +0 -1
  221. jupyterlab/static/6372.25d926454a35e061a88b.js +0 -1
  222. jupyterlab/static/7630.abff6a9f3f278541b534.js +0 -1
  223. jupyterlab/static/9582.c10e0d8d04b7da1a22da.js +0 -1
  224. jupyterlab/static/9892.792da74caed6d36194fa.js +0 -2
  225. jupyterlab/static/jlab_core.20a9c303fadbec9b01f5.js +0 -1
  226. jupyterlab/static/main.01d1b4e72ff44076ec63.js +0 -1
  227. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +0 -91
  228. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/1491.62ed4ab1f893d55a7df5.js +0 -1
  229. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/227.84c6d275bcf089155eab.js +0 -2
  230. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/2880.8483d51b11998bfe8e4b.js +0 -1
  231. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/3450.499466688807e6e40372.js +0 -1
  232. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/3991.ee9a327e63c1f7c8c890.js +0 -1
  233. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/4606.cba21bae1bd61d5466b4.js +0 -1
  234. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/5489.62bb81d5e0fed90fd179.js +0 -1
  235. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/5895.cda43bb9605deeb0d817.js +0 -1
  236. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6180.aa805e2573c1741b2c6e.js +0 -1
  237. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6372.25d926454a35e061a88b.js +0 -1
  238. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/7630.abff6a9f3f278541b534.js +0 -1
  239. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/9582.c10e0d8d04b7da1a22da.js +0 -1
  240. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/9892.792da74caed6d36194fa.js +0 -2
  241. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/jlab_core.20a9c303fadbec9b01f5.js +0 -1
  242. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/main.01d1b4e72ff44076ec63.js +0 -1
  243. jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/package.json +0 -357
  244. /jupyterlab/static/{6733.2d8d3e01d56d79a52e7e.js.LICENSE.txt → 6733.3bc823f3988e9395b4bc.js.LICENSE.txt} +0 -0
  245. /jupyterlab/static/{7990.fc875753fcfcc9b4eebc.js.LICENSE.txt → 7990.01eaa552261b6e12a74a.js.LICENSE.txt} +0 -0
  246. /jupyterlab/static/{9892.792da74caed6d36194fa.js.LICENSE.txt → 9892.6d289e7baed8c64d88e2.js.LICENSE.txt} +0 -0
  247. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
  248. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
  249. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/applications/jupyterlab.desktop +0 -0
  250. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
  251. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
  252. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
  253. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
  254. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
  255. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
  256. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
  257. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
  258. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
  259. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sessionDialogs.json +0 -0
  260. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
  261. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
  262. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
  263. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
  264. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
  265. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +0 -0
  266. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
  267. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
  268. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
  269. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
  270. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
  271. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
  272. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
  273. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +0 -0
  274. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
  275. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
  276. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +0 -0
  277. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
  278. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
  279. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
  280. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
  281. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
  282. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
  283. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
  284. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
  285. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
  286. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
  287. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
  288. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
  289. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
  290. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
  291. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
  292. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
  293. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
  294. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
  295. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +0 -0
  296. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
  297. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
  298. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
  299. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
  300. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
  301. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
  302. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
  303. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +0 -0
  304. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +0 -0
  305. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
  306. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
  307. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
  308. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
  309. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
  310. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
  311. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
  312. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
  313. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
  314. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
  315. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +0 -0
  316. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +0 -0
  317. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/100.1d14ca44a3cc8849349f.js +0 -0
  318. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1039.3fe94e87219c0ed159d3.js +0 -0
  319. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1134.e84383a5d0dcf36a701f.js +0 -0
  320. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1189.c1482e88f0e949753db6.js +0 -0
  321. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1208.4b9ab7b231d39ebdbc3f.js +0 -0
  322. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1219.b5630aa3a46050fddc27.js +0 -0
  323. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1268.e75d8a6dd557ac8957ca.js +0 -0
  324. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1423.89480794cff0f407b564.js +0 -0
  325. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1436.2c11d9dee0ad6f49e968.js +0 -0
  326. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1445.a0e099c27d073217031a.js +0 -0
  327. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1449.7026e8748d2a77e15d5b.js +0 -0
  328. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1495.13603dd823bbf5eb08b3.js +0 -0
  329. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1673.b0ee25168543434bdbca.js +0 -0
  330. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1737.a5fc97075f693ec36fe6.js +0 -0
  331. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1832.b1ede2fe899bdec88938.js +0 -0
  332. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1834.7445ad0c82371ac40737.js +0 -0
  333. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1838.839690ff17ec3c532f0a.js +0 -0
  334. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1887.56f83f163a18c61efb16.js +0 -0
  335. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1909.7487a09fefbe7f9eabb6.js +0 -0
  336. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1909.7487a09fefbe7f9eabb6.js.LICENSE.txt +0 -0
  337. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1954.f1c519cb1415c7da3e8c.js +0 -0
  338. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1960.f8d8ef8a91360e60f0b9.js +0 -0
  339. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1962.6a7da74e809b70d5200d.js +0 -0
  340. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1969.86e3168e52802569d650.js +0 -0
  341. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1986.26029e99ef54a5652df8.js +0 -0
  342. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1991.84fc123d7cfe8ae2948e.js +0 -0
  343. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
  344. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2211.3123543dcc217549bbb0.js +0 -0
  345. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2280.6614699f54522fffbc00.js +0 -0
  346. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/232.5419cbec68e3fd0cf431.js +0 -0
  347. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/232.5419cbec68e3fd0cf431.js.LICENSE.txt +0 -0
  348. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2353.ab70488f07a7c0a7a3fd.js +0 -0
  349. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2410.2fd90b94558fa4da549b.js +0 -0
  350. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/246.326a6482593e8a7bcd58.js +0 -0
  351. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2462.90740e3b1fddd10acc1a.js +0 -0
  352. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2467.4227742ac4b60289f222.js +0 -0
  353. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/247.84259ab142dd8c151fc2.js +0 -0
  354. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2574.7d463f2a193d49883bdc.js +0 -0
  355. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2576.b98b7b23adeec4cb6932.js +0 -0
  356. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2590.99e505d19b964439aa31.js +0 -0
  357. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2633.ea053b40991eb5adbc69.js +0 -0
  358. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/265.6f9e37c0b72db64203b1.js +0 -0
  359. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2658.d1cae1b08b068d864368.js +0 -0
  360. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
  361. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2681.a47f40e38ecd31ccd687.js +0 -0
  362. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2707.61050e600b0aa9624127.js +0 -0
  363. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2729.cafaf0caf2c0c83ac9fe.js +0 -0
  364. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2794.05495c139ed000b57598.js +0 -0
  365. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2823.0b6015b5e03c08281f41.js +0 -0
  366. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2957.bc5eb9549a0b15c44916.js +0 -0
  367. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/2959.b24c9f67d639376f5ead.js +0 -0
  368. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3091.efc4a32ce0ae059e1cc1.js +0 -0
  369. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
  370. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3111.33574d9124842f355bce.js +0 -0
  371. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3112.0757b31e24c5334fda73.js +0 -0
  372. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/321.0fb994fd384a54491584.js +0 -0
  373. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3257.30af681f0c294efb65f7.js +0 -0
  374. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3257.30af681f0c294efb65f7.js.LICENSE.txt +0 -0
  375. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
  376. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3282.81fc10ff22608a9b5e5f.js +0 -0
  377. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3282.81fc10ff22608a9b5e5f.js.LICENSE.txt +0 -0
  378. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3293.45e37a0c8e23d360f5c6.js +0 -0
  379. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3303.b5596c0715d2d58332fb.js +0 -0
  380. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3372.8eeafd96de9a7a205f40.js +0 -0
  381. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/339.62fb1e5a084681d24bfa.js +0 -0
  382. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
  383. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3616.a4271ffcf2ac3b4c2338.js +0 -0
  384. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
  385. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3709.e33bc30c83272aa85628.js +0 -0
  386. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
  387. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3763.36efc2b6c194745863e4.js +0 -0
  388. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3780.c9294dc98ae926717741.js +0 -0
  389. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3799.eaa0438bc5c41bad0516.js +0 -0
  390. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3824.5e23be1e37fce5b7c6b3.js +0 -0
  391. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3832.c6026c483bb46cc8e599.js +0 -0
  392. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3903.cc595f73c608b08a3a1f.js +0 -0
  393. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3927.89a6851a5a931d2b0270.js +0 -0
  394. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3974.79f68bca9a02c92dab5e.js +0 -0
  395. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
  396. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
  397. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
  398. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4001.80ab3ef5300d7ce2d1fe.js +0 -0
  399. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4010.ceaba4c0034c0f4daf34.js +0 -0
  400. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4053.4945facc348478fd59f4.js +0 -0
  401. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4068.9cc41f46f729f2c4369b.js +0 -0
  402. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4076.b4d803d8bf1bd6c97854.js +0 -0
  403. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4090.bd2ff9e2e0260755b494.js +0 -0
  404. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4266.155b468271987c81d948.js +0 -0
  405. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4296.721da424585874d0789e.js +0 -0
  406. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4323.b2bd8a329a81d30ed039.js +0 -0
  407. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4353.595ce0e0b174011528d6.js +0 -0
  408. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4364.f8bdb644f56208f6ebbd.js +0 -0
  409. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4372.645626a2452c190dbb22.js +0 -0
  410. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4372.645626a2452c190dbb22.js.LICENSE.txt +0 -0
  411. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4408.f24dd0edf35e08548967.js +0 -0
  412. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4462.5b7c89923560703ffc61.js +0 -0
  413. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4484.0c7c43754e97c96f0f89.js +0 -0
  414. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4486.8d2f41ae787607b7bf31.js +0 -0
  415. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4528.43328125d98d6cfdfa99.js +0 -0
  416. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4611.bd2b768223b0cd570834.js +0 -0
  417. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4616.04cfbd55593c51921cc7.js +0 -0
  418. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4617.09dfe9ef229a3503ed92.js +0 -0
  419. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4728.f59e4bd4b29409da82bc.js +0 -0
  420. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4728.f59e4bd4b29409da82bc.js.LICENSE.txt +0 -0
  421. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4735.7731d551ca68bcb58e9f.js +0 -0
  422. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4797.3740ef47b224a11a7fab.js +0 -0
  423. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
  424. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4838.8db4c61349bfba200547.js +0 -0
  425. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4855.29e8dc6982ba4873487d.js +0 -0
  426. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4878.f7557c5c99a54b40c49b.js +0 -0
  427. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/492.5f186062d2dcdf79c86c.js +0 -0
  428. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4928.6cb408e4def87534970d.js +0 -0
  429. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4958.97b2f8fcf192239b1b26.js +0 -0
  430. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/4981.eed4ddb90566e90e3df4.js +0 -0
  431. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5085.a38923f36b551620798a.js +0 -0
  432. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5090.404be96d8a6eae1e719a.js +0 -0
  433. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5090.404be96d8a6eae1e719a.js.LICENSE.txt +0 -0
  434. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5211.5b71830476810a6188e4.js +0 -0
  435. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5224.8a6bbc774d20be66fdfb.js +0 -0
  436. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5244.eefac84704ad30f00af3.js +0 -0
  437. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5317.f4bba2e3d0f4fdd088f7.js +0 -0
  438. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5318.d5df5c275e925c22d780.js +0 -0
  439. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5338.38c32bdfb0695f9b501f.js +0 -0
  440. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5492.44728a640c37a4b4aa0c.js +0 -0
  441. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5521.cc7da8760b98f2dd2c18.js +0 -0
  442. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5566.c76ea61eb723ee84e2cf.js +0 -0
  443. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5606.e03dfa10c124a03f36ba.js +0 -0
  444. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5829.0e46d479b4ade4783661.js +0 -0
  445. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5847.930208c25e45ecf30657.js +0 -0
  446. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5862.be1ec453e8db6844c62d.js +0 -0
  447. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5863.1d294c694c9368b6346d.js +0 -0
  448. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5877.72ab5a29e95ce21981e4.js +0 -0
  449. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5929.d561797f8259994ecdd8.js +0 -0
  450. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5942.05cbcd55c5f45ff7db43.js +0 -0
  451. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5987.7e967df5417044d337a4.js +0 -0
  452. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
  453. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6003.0e631d8bc60aebfa5484.js +0 -0
  454. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6060.52dca011e9f2f279fc5e.js +0 -0
  455. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6095.6e79e3bad86e054aa8c8.js +0 -0
  456. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6145.c422868290460078c013.js +0 -0
  457. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6166.2bc9ac8e2156c0701a52.js +0 -0
  458. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6170.65d899f43342f1e34bf1.js +0 -0
  459. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6275.e99f9312900c481b467d.js +0 -0
  460. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6294.b3cb5e16527b9d09b4a2.js +0 -0
  461. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6412.ebdf8da40f1ba8272df9.js +0 -0
  462. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6451.055355bbfa228d4a2231.js +0 -0
  463. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6460.d9aaa1e48da295c6035d.js +0 -0
  464. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6492.804d51a693edf6978ef4.js +0 -0
  465. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6540.51c00e890179a4832552.js +0 -0
  466. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6540.51c00e890179a4832552.js.LICENSE.txt +0 -0
  467. /jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/6733.2d8d3e01d56d79a52e7e.js.LICENSE.txt → /jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/6733.3bc823f3988e9395b4bc.js.LICENSE.txt +0 -0
  468. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6767.4b82d96c237ca7e31bc6.js +0 -0
  469. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6831.1df8fa4cabb5b1c19803.js +0 -0
  470. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6843.dabcc3c9658bc6ded6d1.js +0 -0
  471. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6874.bb2f7fbc6ce56eecc800.js +0 -0
  472. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6941.465bebbd3d8a024f5f15.js +0 -0
  473. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/6993.c93f5a810fcf441cbb6f.js +0 -0
  474. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7136.b312751fbb25b73f5e71.js +0 -0
  475. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
  476. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7250.b88d0a5e237ff5ff1aad.js +0 -0
  477. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7260.b47dcaccbe7991104e8a.js +0 -0
  478. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7269.962f078e97afc4f68e79.js +0 -0
  479. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
  480. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/731.82a7b980b5b7f4b7a14f.js +0 -0
  481. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7318.7cc6b4b0b3151b205ecb.js +0 -0
  482. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7425.f1c25f6c8aaec77e8635.js +0 -0
  483. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7445.7c793c8e1720f8ec4f85.js +0 -0
  484. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7575.2e3e32236d5667bba43f.js +0 -0
  485. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7587.3112240b6b82407b0f16.js +0 -0
  486. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7694.1cbff84dccb512476b7c.js +0 -0
  487. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7756.93d0ab41829355a147ab.js +0 -0
  488. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7769.d39df7673ee2660a9ac4.js +0 -0
  489. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7803.0c8929610218552319bf.js +0 -0
  490. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7856.dd9523e57bed80f1f694.js +0 -0
  491. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/7881.c5a234ce171f347c94e2.js +0 -0
  492. /jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/7990.fc875753fcfcc9b4eebc.js.LICENSE.txt → /jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/7990.01eaa552261b6e12a74a.js.LICENSE.txt +0 -0
  493. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
  494. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8103.00fa0c157eb92e5cf3ba.js +0 -0
  495. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8120.52119377c0a8f6a400b3.js +0 -0
  496. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8217.801fbb0b549a74238760.js +0 -0
  497. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8232.76805a0a87d0f6bb62ad.js +0 -0
  498. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8313.6e63b9811aee7e4b2568.js +0 -0
  499. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8326.9dda93079a9e4f1b9be6.js +0 -0
  500. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8368.c75a4b32ae45ec88465d.js +0 -0
  501. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/84.fe0a55d7756c37585fb4.js +0 -0
  502. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8418.42e29778d4b49fb54e8e.js +0 -0
  503. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8493.380c0da7565838ef069a.js +0 -0
  504. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/867.e814bf26fbfc77fc4f16.js +0 -0
  505. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
  506. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/874.be636e15937f9ef70121.js +0 -0
  507. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8753.56da17175b663d61f9d3.js +0 -0
  508. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8778.3f97d9d872573f0ccd2f.js +0 -0
  509. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8779.6eebdb56785e3d38a457.js +0 -0
  510. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8786.1df994b93bdc32f7c6b0.js +0 -0
  511. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8786.1df994b93bdc32f7c6b0.js.LICENSE.txt +0 -0
  512. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8804.c99896b2790928fd028e.js +0 -0
  513. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8816.d7ec52fb31e9c6749593.js +0 -0
  514. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8830.d5bb102ed8737ffe38cb.js +0 -0
  515. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
  516. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/89.933673451ca4a51053cb.js +0 -0
  517. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
  518. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
  519. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9023.2ff687d7ff50df3719fc.js +0 -0
  520. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9046.99c477ea375dcbb8c7ca.js +0 -0
  521. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9085.5a959b5878e7afd8a878.js +0 -0
  522. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9085.5a959b5878e7afd8a878.js.LICENSE.txt +0 -0
  523. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9123.501219cd782693d6539f.js +0 -0
  524. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9137.179a3c47465e7fb8f067.js +0 -0
  525. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9296.53192f1301a3b8a06238.js +0 -0
  526. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9311.8665d8c6e7a33b23b427.js +0 -0
  527. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9400.90fd1d2212781c80b587.js +0 -0
  528. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9474.01b4e1d1e3376f4a5919.js +0 -0
  529. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9517.7056cafdf1da3a136d45.js +0 -0
  530. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9604.327a06fcbad2d570bf4e.js +0 -0
  531. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/961.29c067b15a524e556eed.js +0 -0
  532. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/961.29c067b15a524e556eed.js.LICENSE.txt +0 -0
  533. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9652.a8d2e5854bcae4d40041.js +0 -0
  534. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
  535. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9746.c7e86b432363dfd28caa.js +0 -0
  536. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
  537. /jupyterlab-4.4.0a2.data/data/share/jupyter/lab/static/9892.792da74caed6d36194fa.js.LICENSE.txt → /jupyterlab-4.4.0b0.data/data/share/jupyter/lab/static/9892.6d289e7baed8c64d88e2.js.LICENSE.txt +0 -0
  538. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
  539. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
  540. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
  541. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
  542. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
  543. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
  544. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
  545. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
  546. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
  547. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
  548. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
  549. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
  550. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
  551. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
  552. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
  553. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
  554. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
  555. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/static/style.js +0 -0
  556. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
  557. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.js +0 -0
  558. {jupyterlab-4.4.0a2.data → jupyterlab-4.4.0b0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
  559. {jupyterlab-4.4.0a2.dist-info → jupyterlab-4.4.0b0.dist-info}/WHEEL +0 -0
  560. {jupyterlab-4.4.0a2.dist-info → jupyterlab-4.4.0b0.dist-info}/entry_points.txt +0 -0
  561. {jupyterlab-4.4.0a2.dist-info → jupyterlab-4.4.0b0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 227.202b3bcb509bbfb4e52d.js.LICENSE.txt */
2
+ (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[227],{69119:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:true});e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0;e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;e.htmlCtrlEntityRegex=/&(newline|tab);/gi;e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;e.urlSchemeRegex=/^.+(:|&colon;)/gim;e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;e.relativeFirstCharacters=[".","/"];e.BLANK_URL="about:blank"},16750:(t,e,r)=>{"use strict";var i;i={value:true};e.J=void 0;var n=r(69119);function a(t){return n.relativeFirstCharacters.indexOf(t[0])>-1}function o(t){var e=t.replace(n.ctrlCharactersRegex,"");return e.replace(n.htmlEntitiesRegex,(function(t,e){return String.fromCharCode(e)}))}function s(t){return URL.canParse(t)}function l(t){try{return decodeURIComponent(t)}catch(e){return t}}function c(t){if(!t){return n.BLANK_URL}var e;var r=l(t.trim());do{r=o(r).replace(n.htmlCtrlEntityRegex,"").replace(n.ctrlCharactersRegex,"").replace(n.whitespaceEscapeCharsRegex,"").trim();r=l(r);e=r.match(n.ctrlCharactersRegex)||r.match(n.htmlEntitiesRegex)||r.match(n.htmlCtrlEntityRegex)||r.match(n.whitespaceEscapeCharsRegex)}while(e&&e.length>0);var i=r;if(!i){return n.BLANK_URL}if(a(i)){return i}var c=i.trimStart();var h=c.match(n.urlSchemeRegex);if(!h){return i}var d=h[0].toLowerCase().trim();if(n.invalidProtocolRegex.test(d)){return n.BLANK_URL}var u=c.replace(/\\/g,"/");if(d==="mailto:"||d.includes("://")){return u}if(d==="http:"||d==="https:"){if(!s(u)){return n.BLANK_URL}var f=new URL(u);f.protocol=f.protocol.toLowerCase();f.hostname=f.hostname.toLowerCase();return f.toString()}return u}e.J=c},84997:(t,e,r)=>{"use strict";r.d(e,{A:()=>ot});const{entries:i,setPrototypeOf:n,isFrozen:a,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object;let{freeze:l,seal:c,create:h}=Object;let{apply:d,construct:u}=typeof Reflect!=="undefined"&&Reflect;if(!l){l=function t(e){return e}}if(!c){c=function t(e){return e}}if(!d){d=function t(e,r,i){return e.apply(r,i)}}if(!u){u=function t(e,r){return new e(...r)}}const f=B(Array.prototype.forEach);const p=B(Array.prototype.lastIndexOf);const g=B(Array.prototype.pop);const m=B(Array.prototype.push);const y=B(Array.prototype.splice);const b=B(String.prototype.toLowerCase);const x=B(String.prototype.toString);const C=B(String.prototype.match);const v=B(String.prototype.replace);const k=B(String.prototype.indexOf);const w=B(String.prototype.trim);const S=B(Object.prototype.hasOwnProperty);const A=B(RegExp.prototype.test);const T=L(TypeError);function B(t){return function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++){i[n-1]=arguments[n]}return d(t,e,i)}}function L(t){return function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++){r[i]=arguments[i]}return u(t,r)}}function M(t,e){let r=arguments.length>2&&arguments[2]!==undefined?arguments[2]:b;if(n){n(t,null)}let i=e.length;while(i--){let n=e[i];if(typeof n==="string"){const t=r(n);if(t!==n){if(!a(e)){e[i]=t}n=t}}t[n]=true}return t}function F(t){for(let e=0;e<t.length;e++){const r=S(t,e);if(!r){t[e]=null}}return t}function _(t){const e=h(null);for(const[r,n]of i(t)){const i=S(t,r);if(i){if(Array.isArray(n)){e[r]=F(n)}else if(n&&typeof n==="object"&&n.constructor===Object){e[r]=_(n)}else{e[r]=n}}}return e}function $(t,e){while(t!==null){const r=s(t,e);if(r){if(r.get){return B(r.get)}if(typeof r.value==="function"){return B(r.value)}}t=o(t)}function r(){return null}return r}const E=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]);const D=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]);const O=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]);const I=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]);const K=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]);const R=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]);const P=l(["#text"]);const N=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]);const q=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]);const z=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]);const j=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]);const W=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm);const H=c(/<%[\w\W]*|[\w\W]*%>/gm);const U=c(/\$\{[\w\W]*/gm);const Y=c(/^data-[\-\w.\u00B7-\uFFFF]+$/);const G=c(/^aria-[\-\w]+$/);const V=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i);const X=c(/^(?:\w+script|data):/i);const Z=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g);const J=c(/^html$/i);const Q=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var tt=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:Q,DATA_ATTR:Y,DOCTYPE_NAME:J,ERB_EXPR:H,IS_ALLOWED_URI:V,IS_SCRIPT_OR_DATA:X,MUSTACHE_EXPR:W,TMPLIT_EXPR:U});const et={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12};const rt=function t(){return typeof window==="undefined"?null:window};const it=function t(e,r){if(typeof e!=="object"||typeof e.createPolicy!=="function"){return null}let i=null;const n="data-tt-policy-suffix";if(r&&r.hasAttribute(n)){i=r.getAttribute(n)}const a="dompurify"+(i?"#"+i:"");try{return e.createPolicy(a,{createHTML(t){return t},createScriptURL(t){return t}})}catch(o){console.warn("TrustedTypes policy "+a+" could not be created.");return null}};const nt=function t(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function at(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:rt();const e=t=>at(t);e.version="3.2.4";e.removed=[];if(!t||!t.document||t.document.nodeType!==et.document||!t.Element){e.isSupported=false;return e}let{document:r}=t;const n=r;const a=n.currentScript;const{DocumentFragment:o,HTMLTemplateElement:s,Node:c,Element:d,NodeFilter:u,NamedNodeMap:B=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:L,DOMParser:F,trustedTypes:W}=t;const H=d.prototype;const U=$(H,"cloneNode");const Y=$(H,"remove");const G=$(H,"nextSibling");const X=$(H,"childNodes");const Z=$(H,"parentNode");if(typeof s==="function"){const t=r.createElement("template");if(t.content&&t.content.ownerDocument){r=t.content.ownerDocument}}let Q;let ot="";const{implementation:st,createNodeIterator:lt,createDocumentFragment:ct,getElementsByTagName:ht}=r;const{importNode:dt}=n;let ut=nt();e.isSupported=typeof i==="function"&&typeof Z==="function"&&st&&st.createHTMLDocument!==undefined;const{MUSTACHE_EXPR:ft,ERB_EXPR:pt,TMPLIT_EXPR:gt,DATA_ATTR:mt,ARIA_ATTR:yt,IS_SCRIPT_OR_DATA:bt,ATTR_WHITESPACE:xt,CUSTOM_ELEMENT:Ct}=tt;let{IS_ALLOWED_URI:vt}=tt;let kt=null;const wt=M({},[...E,...D,...O,...K,...P]);let St=null;const At=M({},[...N,...q,...z,...j]);let Tt=Object.seal(h(null,{tagNameCheck:{writable:true,configurable:false,enumerable:true,value:null},attributeNameCheck:{writable:true,configurable:false,enumerable:true,value:null},allowCustomizedBuiltInElements:{writable:true,configurable:false,enumerable:true,value:false}}));let Bt=null;let Lt=null;let Mt=true;let Ft=true;let _t=false;let $t=true;let Et=false;let Dt=true;let Ot=false;let It=false;let Kt=false;let Rt=false;let Pt=false;let Nt=false;let qt=true;let zt=false;const jt="user-content-";let Wt=true;let Ht=false;let Ut={};let Yt=null;const Gt=M({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Vt=null;const Xt=M({},["audio","video","img","source","image","track"]);let Zt=null;const Jt=M({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]);const Qt="http://www.w3.org/1998/Math/MathML";const te="http://www.w3.org/2000/svg";const ee="http://www.w3.org/1999/xhtml";let re=ee;let ie=false;let ne=null;const ae=M({},[Qt,te,ee],x);let oe=M({},["mi","mo","mn","ms","mtext"]);let se=M({},["annotation-xml"]);const le=M({},["title","style","font","a","script"]);let ce=null;const he=["application/xhtml+xml","text/html"];const de="text/html";let ue=null;let fe=null;const pe=r.createElement("form");const ge=function t(e){return e instanceof RegExp||e instanceof Function};const me=function t(){let e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(fe&&fe===e){return}if(!e||typeof e!=="object"){e={}}e=_(e);ce=he.indexOf(e.PARSER_MEDIA_TYPE)===-1?de:e.PARSER_MEDIA_TYPE;ue=ce==="application/xhtml+xml"?x:b;kt=S(e,"ALLOWED_TAGS")?M({},e.ALLOWED_TAGS,ue):wt;St=S(e,"ALLOWED_ATTR")?M({},e.ALLOWED_ATTR,ue):At;ne=S(e,"ALLOWED_NAMESPACES")?M({},e.ALLOWED_NAMESPACES,x):ae;Zt=S(e,"ADD_URI_SAFE_ATTR")?M(_(Jt),e.ADD_URI_SAFE_ATTR,ue):Jt;Vt=S(e,"ADD_DATA_URI_TAGS")?M(_(Xt),e.ADD_DATA_URI_TAGS,ue):Xt;Yt=S(e,"FORBID_CONTENTS")?M({},e.FORBID_CONTENTS,ue):Gt;Bt=S(e,"FORBID_TAGS")?M({},e.FORBID_TAGS,ue):{};Lt=S(e,"FORBID_ATTR")?M({},e.FORBID_ATTR,ue):{};Ut=S(e,"USE_PROFILES")?e.USE_PROFILES:false;Mt=e.ALLOW_ARIA_ATTR!==false;Ft=e.ALLOW_DATA_ATTR!==false;_t=e.ALLOW_UNKNOWN_PROTOCOLS||false;$t=e.ALLOW_SELF_CLOSE_IN_ATTR!==false;Et=e.SAFE_FOR_TEMPLATES||false;Dt=e.SAFE_FOR_XML!==false;Ot=e.WHOLE_DOCUMENT||false;Rt=e.RETURN_DOM||false;Pt=e.RETURN_DOM_FRAGMENT||false;Nt=e.RETURN_TRUSTED_TYPE||false;Kt=e.FORCE_BODY||false;qt=e.SANITIZE_DOM!==false;zt=e.SANITIZE_NAMED_PROPS||false;Wt=e.KEEP_CONTENT!==false;Ht=e.IN_PLACE||false;vt=e.ALLOWED_URI_REGEXP||V;re=e.NAMESPACE||ee;oe=e.MATHML_TEXT_INTEGRATION_POINTS||oe;se=e.HTML_INTEGRATION_POINTS||se;Tt=e.CUSTOM_ELEMENT_HANDLING||{};if(e.CUSTOM_ELEMENT_HANDLING&&ge(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)){Tt.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&ge(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)){Tt.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck}if(e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements==="boolean"){Tt.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements}if(Et){Ft=false}if(Pt){Rt=true}if(Ut){kt=M({},P);St=[];if(Ut.html===true){M(kt,E);M(St,N)}if(Ut.svg===true){M(kt,D);M(St,q);M(St,j)}if(Ut.svgFilters===true){M(kt,O);M(St,q);M(St,j)}if(Ut.mathMl===true){M(kt,K);M(St,z);M(St,j)}}if(e.ADD_TAGS){if(kt===wt){kt=_(kt)}M(kt,e.ADD_TAGS,ue)}if(e.ADD_ATTR){if(St===At){St=_(St)}M(St,e.ADD_ATTR,ue)}if(e.ADD_URI_SAFE_ATTR){M(Zt,e.ADD_URI_SAFE_ATTR,ue)}if(e.FORBID_CONTENTS){if(Yt===Gt){Yt=_(Yt)}M(Yt,e.FORBID_CONTENTS,ue)}if(Wt){kt["#text"]=true}if(Ot){M(kt,["html","head","body"])}if(kt.table){M(kt,["tbody"]);delete Bt.tbody}if(e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!=="function"){throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.')}if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!=="function"){throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.')}Q=e.TRUSTED_TYPES_POLICY;ot=Q.createHTML("")}else{if(Q===undefined){Q=it(W,a)}if(Q!==null&&typeof ot==="string"){ot=Q.createHTML("")}}if(l){l(e)}fe=e};const ye=M({},[...D,...O,...I]);const be=M({},[...K,...R]);const xe=function t(e){let r=Z(e);if(!r||!r.tagName){r={namespaceURI:re,tagName:"template"}}const i=b(e.tagName);const n=b(r.tagName);if(!ne[e.namespaceURI]){return false}if(e.namespaceURI===te){if(r.namespaceURI===ee){return i==="svg"}if(r.namespaceURI===Qt){return i==="svg"&&(n==="annotation-xml"||oe[n])}return Boolean(ye[i])}if(e.namespaceURI===Qt){if(r.namespaceURI===ee){return i==="math"}if(r.namespaceURI===te){return i==="math"&&se[n]}return Boolean(be[i])}if(e.namespaceURI===ee){if(r.namespaceURI===te&&!se[n]){return false}if(r.namespaceURI===Qt&&!oe[n]){return false}return!be[i]&&(le[i]||!ye[i])}if(ce==="application/xhtml+xml"&&ne[e.namespaceURI]){return true}return false};const Ce=function t(r){m(e.removed,{element:r});try{Z(r).removeChild(r)}catch(i){Y(r)}};const ve=function t(r,i){try{m(e.removed,{attribute:i.getAttributeNode(r),from:i})}catch(n){m(e.removed,{attribute:null,from:i})}i.removeAttribute(r);if(r==="is"){if(Rt||Pt){try{Ce(i)}catch(n){}}else{try{i.setAttribute(r,"")}catch(n){}}}};const ke=function t(e){let i=null;let n=null;if(Kt){e="<remove></remove>"+e}else{const t=C(e,/^[\r\n\t ]+/);n=t&&t[0]}if(ce==="application/xhtml+xml"&&re===ee){e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>"}const a=Q?Q.createHTML(e):e;if(re===ee){try{i=(new F).parseFromString(a,ce)}catch(s){}}if(!i||!i.documentElement){i=st.createDocument(re,"template",null);try{i.documentElement.innerHTML=ie?ot:a}catch(s){}}const o=i.body||i.documentElement;if(e&&n){o.insertBefore(r.createTextNode(n),o.childNodes[0]||null)}if(re===ee){return ht.call(i,Ot?"html":"body")[0]}return Ot?i.documentElement:o};const we=function t(e){return lt.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)};const Se=function t(e){return e instanceof L&&(typeof e.nodeName!=="string"||typeof e.textContent!=="string"||typeof e.removeChild!=="function"||!(e.attributes instanceof B)||typeof e.removeAttribute!=="function"||typeof e.setAttribute!=="function"||typeof e.namespaceURI!=="string"||typeof e.insertBefore!=="function"||typeof e.hasChildNodes!=="function")};const Ae=function t(e){return typeof c==="function"&&e instanceof c};function Te(t,r,i){f(t,(t=>{t.call(e,r,i,fe)}))}const Be=function t(r){let i=null;Te(ut.beforeSanitizeElements,r,null);if(Se(r)){Ce(r);return true}const n=ue(r.nodeName);Te(ut.uponSanitizeElement,r,{tagName:n,allowedTags:kt});if(r.hasChildNodes()&&!Ae(r.firstElementChild)&&A(/<[/\w]/g,r.innerHTML)&&A(/<[/\w]/g,r.textContent)){Ce(r);return true}if(r.nodeType===et.progressingInstruction){Ce(r);return true}if(Dt&&r.nodeType===et.comment&&A(/<[/\w]/g,r.data)){Ce(r);return true}if(!kt[n]||Bt[n]){if(!Bt[n]&&Me(n)){if(Tt.tagNameCheck instanceof RegExp&&A(Tt.tagNameCheck,n)){return false}if(Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(n)){return false}}if(Wt&&!Yt[n]){const t=Z(r)||r.parentNode;const e=X(r)||r.childNodes;if(e&&t){const i=e.length;for(let n=i-1;n>=0;--n){const i=U(e[n],true);i.__removalCount=(r.__removalCount||0)+1;t.insertBefore(i,G(r))}}}Ce(r);return true}if(r instanceof d&&!xe(r)){Ce(r);return true}if((n==="noscript"||n==="noembed"||n==="noframes")&&A(/<\/no(script|embed|frames)/i,r.innerHTML)){Ce(r);return true}if(Et&&r.nodeType===et.text){i=r.textContent;f([ft,pt,gt],(t=>{i=v(i,t," ")}));if(r.textContent!==i){m(e.removed,{element:r.cloneNode()});r.textContent=i}}Te(ut.afterSanitizeElements,r,null);return false};const Le=function t(e,i,n){if(qt&&(i==="id"||i==="name")&&(n in r||n in pe)){return false}if(Ft&&!Lt[i]&&A(mt,i));else if(Mt&&A(yt,i));else if(!St[i]||Lt[i]){if(Me(e)&&(Tt.tagNameCheck instanceof RegExp&&A(Tt.tagNameCheck,e)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(e))&&(Tt.attributeNameCheck instanceof RegExp&&A(Tt.attributeNameCheck,i)||Tt.attributeNameCheck instanceof Function&&Tt.attributeNameCheck(i))||i==="is"&&Tt.allowCustomizedBuiltInElements&&(Tt.tagNameCheck instanceof RegExp&&A(Tt.tagNameCheck,n)||Tt.tagNameCheck instanceof Function&&Tt.tagNameCheck(n)));else{return false}}else if(Zt[i]);else if(A(vt,v(n,xt,"")));else if((i==="src"||i==="xlink:href"||i==="href")&&e!=="script"&&k(n,"data:")===0&&Vt[e]);else if(_t&&!A(bt,v(n,xt,"")));else if(n){return false}else;return true};const Me=function t(e){return e!=="annotation-xml"&&C(e,Ct)};const Fe=function t(r){Te(ut.beforeSanitizeAttributes,r,null);const{attributes:i}=r;if(!i||Se(r)){return}const n={attrName:"",attrValue:"",keepAttr:true,allowedAttributes:St,forceKeepAttr:undefined};let a=i.length;while(a--){const t=i[a];const{name:s,namespaceURI:l,value:c}=t;const h=ue(s);let d=s==="value"?c:w(c);n.attrName=h;n.attrValue=d;n.keepAttr=true;n.forceKeepAttr=undefined;Te(ut.uponSanitizeAttribute,r,n);d=n.attrValue;if(zt&&(h==="id"||h==="name")){ve(s,r);d=jt+d}if(Dt&&A(/((--!?|])>)|<\/(style|title)/i,d)){ve(s,r);continue}if(n.forceKeepAttr){continue}ve(s,r);if(!n.keepAttr){continue}if(!$t&&A(/\/>/i,d)){ve(s,r);continue}if(Et){f([ft,pt,gt],(t=>{d=v(d,t," ")}))}const u=ue(r.nodeName);if(!Le(u,h,d)){continue}if(Q&&typeof W==="object"&&typeof W.getAttributeType==="function"){if(l);else{switch(W.getAttributeType(u,h)){case"TrustedHTML":{d=Q.createHTML(d);break}case"TrustedScriptURL":{d=Q.createScriptURL(d);break}}}}try{if(l){r.setAttributeNS(l,s,d)}else{r.setAttribute(s,d)}if(Se(r)){Ce(r)}else{g(e.removed)}}catch(o){}}Te(ut.afterSanitizeAttributes,r,null)};const _e=function t(e){let r=null;const i=we(e);Te(ut.beforeSanitizeShadowDOM,e,null);while(r=i.nextNode()){Te(ut.uponSanitizeShadowNode,r,null);Be(r);Fe(r);if(r.content instanceof o){t(r.content)}}Te(ut.afterSanitizeShadowDOM,e,null)};e.sanitize=function(t){let r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};let i=null;let a=null;let s=null;let l=null;ie=!t;if(ie){t="\x3c!--\x3e"}if(typeof t!=="string"&&!Ae(t)){if(typeof t.toString==="function"){t=t.toString();if(typeof t!=="string"){throw T("dirty is not a string, aborting")}}else{throw T("toString is not a function")}}if(!e.isSupported){return t}if(!It){me(r)}e.removed=[];if(typeof t==="string"){Ht=false}if(Ht){if(t.nodeName){const e=ue(t.nodeName);if(!kt[e]||Bt[e]){throw T("root node is forbidden and cannot be sanitized in-place")}}}else if(t instanceof c){i=ke("\x3c!----\x3e");a=i.ownerDocument.importNode(t,true);if(a.nodeType===et.element&&a.nodeName==="BODY"){i=a}else if(a.nodeName==="HTML"){i=a}else{i.appendChild(a)}}else{if(!Rt&&!Et&&!Ot&&t.indexOf("<")===-1){return Q&&Nt?Q.createHTML(t):t}i=ke(t);if(!i){return Rt?null:Nt?ot:""}}if(i&&Kt){Ce(i.firstChild)}const h=we(Ht?t:i);while(s=h.nextNode()){Be(s);Fe(s);if(s.content instanceof o){_e(s.content)}}if(Ht){return t}if(Rt){if(Pt){l=ct.call(i.ownerDocument);while(i.firstChild){l.appendChild(i.firstChild)}}else{l=i}if(St.shadowroot||St.shadowrootmode){l=dt.call(n,l,true)}return l}let d=Ot?i.outerHTML:i.innerHTML;if(Ot&&kt["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&A(J,i.ownerDocument.doctype.name)){d="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+d}if(Et){f([ft,pt,gt],(t=>{d=v(d,t," ")}))}return Q&&Nt?Q.createHTML(d):d};e.setConfig=function(){let t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};me(t);It=true};e.clearConfig=function(){fe=null;It=false};e.isValidAttribute=function(t,e,r){if(!fe){me({})}const i=ue(t);const n=ue(e);return Le(i,n,r)};e.addHook=function(t,e){if(typeof e!=="function"){return}m(ut[t],e)};e.removeHook=function(t,e){if(e!==undefined){const r=p(ut[t],e);return r===-1?undefined:y(ut[t],r,1)[0]}return g(ut[t])};e.removeHooks=function(t){ut[t]=[]};e.removeAllHooks=function(){ut=nt()};return e}var ot=at()},25e3:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(57991);var n=r(59773);class a{constructor(){this.type=n.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.Z.ALL}is(t){return this.type===t}}const o=a;class s{constructor(t,e){this.color=e;this.changed=false;this.data=t;this.type=new o}set(t,e){this.color=e;this.changed=false;this.data=t;this.type.type=n.Z.ALL;return this}_ensureHSL(){const t=this.data;const{h:e,s:r,l:n}=t;if(e===undefined)t.h=i.A.channel.rgb2hsl(t,"h");if(r===undefined)t.s=i.A.channel.rgb2hsl(t,"s");if(n===undefined)t.l=i.A.channel.rgb2hsl(t,"l")}_ensureRGB(){const t=this.data;const{r:e,g:r,b:n}=t;if(e===undefined)t.r=i.A.channel.hsl2rgb(t,"r");if(r===undefined)t.g=i.A.channel.hsl2rgb(t,"g");if(n===undefined)t.b=i.A.channel.hsl2rgb(t,"b")}get r(){const t=this.data;const e=t.r;if(!this.type.is(n.Z.HSL)&&e!==undefined)return e;this._ensureHSL();return i.A.channel.hsl2rgb(t,"r")}get g(){const t=this.data;const e=t.g;if(!this.type.is(n.Z.HSL)&&e!==undefined)return e;this._ensureHSL();return i.A.channel.hsl2rgb(t,"g")}get b(){const t=this.data;const e=t.b;if(!this.type.is(n.Z.HSL)&&e!==undefined)return e;this._ensureHSL();return i.A.channel.hsl2rgb(t,"b")}get h(){const t=this.data;const e=t.h;if(!this.type.is(n.Z.RGB)&&e!==undefined)return e;this._ensureRGB();return i.A.channel.rgb2hsl(t,"h")}get s(){const t=this.data;const e=t.s;if(!this.type.is(n.Z.RGB)&&e!==undefined)return e;this._ensureRGB();return i.A.channel.rgb2hsl(t,"s")}get l(){const t=this.data;const e=t.l;if(!this.type.is(n.Z.RGB)&&e!==undefined)return e;this._ensureRGB();return i.A.channel.rgb2hsl(t,"l")}get a(){return this.data.a}set r(t){this.type.set(n.Z.RGB);this.changed=true;this.data.r=t}set g(t){this.type.set(n.Z.RGB);this.changed=true;this.data.g=t}set b(t){this.type.set(n.Z.RGB);this.changed=true;this.data.b=t}set h(t){this.type.set(n.Z.HSL);this.changed=true;this.data.h=t}set s(t){this.type.set(n.Z.HSL);this.changed=true;this.data.s=t}set l(t){this.type.set(n.Z.HSL);this.changed=true;this.data.l=t}set a(t){this.changed=true;this.data.a=t}}const l=s;const c=new l({r:0,g:0,b:0,a:0},"transparent");const h=c},63221:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var i=r(25e3);var n=r(59773);const a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(t.charCodeAt(0)!==35)return;const e=t.match(a.re);if(!e)return;const r=e[1];const n=parseInt(r,16);const o=r.length;const s=o%4===0;const l=o>4;const c=l?1:17;const h=l?8:4;const d=s?0:-1;const u=l?255:15;return i.A.set({r:(n>>h*(d+3)&u)*c,g:(n>>h*(d+2)&u)*c,b:(n>>h*(d+1)&u)*c,a:s?(n&u)*c/255:1},t)},stringify:t=>{const{r:e,g:r,b:i,a}=t;if(a<1){return`#${n.Y[Math.round(e)]}${n.Y[Math.round(r)]}${n.Y[Math.round(i)]}${n.Y[Math.round(a*255)]}`}else{return`#${n.Y[Math.round(e)]}${n.Y[Math.round(r)]}${n.Y[Math.round(i)]}`}}};const o=a;var s=r(57991);const l={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(l.hueRe);if(e){const[,t,r]=e;switch(r){case"grad":return s.A.channel.clamp.h(parseFloat(t)*.9);case"rad":return s.A.channel.clamp.h(parseFloat(t)*180/Math.PI);case"turn":return s.A.channel.clamp.h(parseFloat(t)*360)}}return s.A.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(e!==104&&e!==72)return;const r=t.match(l.re);if(!r)return;const[,n,a,o,c,h]=r;return i.A.set({h:l._hue2deg(n),s:s.A.channel.clamp.s(parseFloat(a)),l:s.A.channel.clamp.l(parseFloat(o)),a:c?s.A.channel.clamp.a(h?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{const{h:e,s:r,l:i,a:n}=t;if(n<1){return`hsla(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.A.lang.round(i)}%, ${n})`}else{return`hsl(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.A.lang.round(i)}%)`}}};const c=l;const h={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=h.colors[t];if(!e)return;return o.parse(e)},stringify:t=>{const e=o.stringify(t);for(const r in h.colors){if(h.colors[r]===e)return r}return}};const d=h;const u={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(e!==114&&e!==82)return;const r=t.match(u.re);if(!r)return;const[,n,a,o,l,c,h,d,f]=r;return i.A.set({r:s.A.channel.clamp.r(a?parseFloat(n)*2.55:parseFloat(n)),g:s.A.channel.clamp.g(l?parseFloat(o)*2.55:parseFloat(o)),b:s.A.channel.clamp.b(h?parseFloat(c)*2.55:parseFloat(c)),a:d?s.A.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{const{r:e,g:r,b:i,a:n}=t;if(n<1){return`rgba(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(i)}, ${s.A.lang.round(n)})`}else{return`rgb(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(i)})`}}};const f=u;const p={format:{keyword:d,hex:o,rgb:f,rgba:f,hsl:c,hsla:c},parse:t=>{if(typeof t!=="string")return t;const e=o.parse(t)||f.parse(t)||c.parse(t)||d.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>{if(!t.changed&&t.color)return t.color;if(t.type.is(n.Z.HSL)||t.data.r===undefined){return c.stringify(t)}else if(t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)){return f.stringify(t)}else{return o.stringify(t)}}};const g=p},59773:(t,e,r)=>{"use strict";r.d(e,{Y:()=>n,Z:()=>a});var i=r(57991);const n={};for(let o=0;o<=255;o++)n[o]=i.A.unit.dec2hex(o);const a={ALL:0,RGB:1,HSL:2}},42198:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(57991);var n=r(63221);const a=(t,e,r)=>{const a=n.A.parse(t);const o=a[e];const s=i.A.channel.clamp[e](o+r);if(o!==s)a[e]=s;return n.A.stringify(a)};const o=a},69745:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(57991);var n=r(63221);const a=(t,e)=>{const r=n.A.parse(t);for(const n in e){r[n]=i.A.channel.clamp[n](e[n])}return n.A.stringify(r)};const o=a},48750:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(42198);const n=(t,e)=>(0,i.A)(t,"l",-e);const a=n},63170:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(57991);var n=r(63221);const a=t=>{const{r:e,g:r,b:a}=n.A.parse(t);const o=.2126*i.A.channel.toLinear(e)+.7152*i.A.channel.toLinear(r)+.0722*i.A.channel.toLinear(a);return i.A.lang.round(o)};const o=a;const s=t=>o(t)>=.5;const l=s;const c=t=>!l(t);const h=c},77470:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(42198);const n=(t,e)=>(0,i.A)(t,"l",e);const a=n},3635:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(57991);var n=r(25e3);var a=r(63221);var o=r(69745);const s=(t,e,r=0,s=1)=>{if(typeof t!=="number")return(0,o.A)(t,{a:e});const l=n.A.set({r:i.A.channel.clamp.r(t),g:i.A.channel.clamp.g(e),b:i.A.channel.clamp.b(r),a:i.A.channel.clamp.a(s)});return a.A.stringify(l)};const l=s},57991:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});const i={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>{if(r<0)r+=1;if(r>1)r-=1;if(r<1/6)return t+(e-t)*6*r;if(r<1/2)return e;if(r<2/3)return t+(e-t)*(2/3-r)*6;return t},hsl2rgb:({h:t,s:e,l:r},n)=>{if(!e)return r*2.55;t/=360;e/=100;r/=100;const a=r<.5?r*(1+e):r+e-r*e;const o=2*r-a;switch(n){case"r":return i.hue2rgb(o,a,t+1/3)*255;case"g":return i.hue2rgb(o,a,t)*255;case"b":return i.hue2rgb(o,a,t-1/3)*255}},rgb2hsl:({r:t,g:e,b:r},i)=>{t/=255;e/=255;r/=255;const n=Math.max(t,e,r);const a=Math.min(t,e,r);const o=(n+a)/2;if(i==="l")return o*100;if(n===a)return 0;const s=n-a;const l=o>.5?s/(2-n-a):s/(n+a);if(i==="s")return l*100;switch(n){case t:return((e-r)/s+(e<r?6:0))*60;case e:return((r-t)/s+2)*60;case r:return((t-e)/s+4)*60;default:return-1}}};const n=i;const a={clamp:(t,e,r)=>{if(e>r)return Math.min(e,Math.max(r,t));return Math.min(r,Math.max(e,t))},round:t=>Math.round(t*1e10)/1e10};const o=a;const s={dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}};const l=s;const c={channel:n,lang:o,unit:l};const h=c},54951:(t,e,r)=>{"use strict";r.d(e,{A:()=>x});function i(){this.__data__=[];this.size=0}const n=i;var a=r(24461);function o(t,e){var r=t.length;while(r--){if((0,a.A)(t[r][0],e)){return r}}return-1}const s=o;var l=Array.prototype;var c=l.splice;function h(t){var e=this.__data__,r=s(e,t);if(r<0){return false}var i=e.length-1;if(r==i){e.pop()}else{c.call(e,r,1)}--this.size;return true}const d=h;function u(t){var e=this.__data__,r=s(e,t);return r<0?undefined:e[r][1]}const f=u;function p(t){return s(this.__data__,t)>-1}const g=p;function m(t,e){var r=this.__data__,i=s(r,t);if(i<0){++this.size;r.push([t,e])}else{r[i][1]=e}return this}const y=m;function b(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var i=t[e];this.set(i[0],i[1])}}b.prototype.clear=n;b.prototype["delete"]=d;b.prototype.get=f;b.prototype.has=g;b.prototype.set=y;const x=b},51482:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(39023);var n=r(24606);var a=(0,i.A)(n.A,"Map");const o=a},9883:(t,e,r)=>{"use strict";r.d(e,{A:()=>q});var i=r(39023);var n=(0,i.A)(Object,"create");const a=n;function o(){this.__data__=a?a(null):{};this.size=0}const s=o;function l(t){var e=this.has(t)&&delete this.__data__[t];this.size-=e?1:0;return e}const c=l;var h="__lodash_hash_undefined__";var d=Object.prototype;var u=d.hasOwnProperty;function f(t){var e=this.__data__;if(a){var r=e[t];return r===h?undefined:r}return u.call(e,t)?e[t]:undefined}const p=f;var g=Object.prototype;var m=g.hasOwnProperty;function y(t){var e=this.__data__;return a?e[t]!==undefined:m.call(e,t)}const b=y;var x="__lodash_hash_undefined__";function C(t,e){var r=this.__data__;this.size+=this.has(t)?0:1;r[t]=a&&e===undefined?x:e;return this}const v=C;function k(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var i=t[e];this.set(i[0],i[1])}}k.prototype.clear=s;k.prototype["delete"]=c;k.prototype.get=p;k.prototype.has=b;k.prototype.set=v;const w=k;var S=r(54951);var A=r(51482);function T(){this.size=0;this.__data__={hash:new w,map:new(A.A||S.A),string:new w}}const B=T;function L(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}const M=L;function F(t,e){var r=t.__data__;return M(e)?r[typeof e=="string"?"string":"hash"]:r.map}const _=F;function $(t){var e=_(this,t)["delete"](t);this.size-=e?1:0;return e}const E=$;function D(t){return _(this,t).get(t)}const O=D;function I(t){return _(this,t).has(t)}const K=I;function R(t,e){var r=_(this,t),i=r.size;r.set(t,e);this.size+=r.size==i?0:1;return this}const P=R;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var i=t[e];this.set(i[0],i[1])}}N.prototype.clear=B;N.prototype["delete"]=E;N.prototype.get=O;N.prototype.has=K;N.prototype.set=P;const q=N},88224:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(39023);var n=r(24606);var a=(0,i.A)(n.A,"Set");const o=a},28478:(t,e,r)=>{"use strict";r.d(e,{A:()=>b});var i=r(54951);function n(){this.__data__=new i.A;this.size=0}const a=n;function o(t){var e=this.__data__,r=e["delete"](t);this.size=e.size;return r}const s=o;function l(t){return this.__data__.get(t)}const c=l;function h(t){return this.__data__.has(t)}const d=h;var u=r(51482);var f=r(9883);var p=200;function g(t,e){var r=this.__data__;if(r instanceof i.A){var n=r.__data__;if(!u.A||n.length<p-1){n.push([t,e]);this.size=++r.size;return this}r=this.__data__=new f.A(n)}r.set(t,e);this.size=r.size;return this}const m=g;function y(t){var e=this.__data__=new i.A(t);this.size=e.size}y.prototype.clear=a;y.prototype["delete"]=s;y.prototype.get=c;y.prototype.has=d;y.prototype.set=m;const b=y},38066:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(24606);var n=i.A.Symbol;const a=n},92615:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(24606);var n=i.A.Uint8Array;const a=n},74578:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});function i(t,e){var r=-1,i=Array(t);while(++r<t){i[r]=e(r)}return i}const n=i;var a=r(71528);var o=r(39990);var s=r(50895);var l=r(78912);var c=r(82818);var h=Object.prototype;var d=h.hasOwnProperty;function u(t,e){var r=(0,o.A)(t),i=!r&&(0,a.A)(t),h=!r&&!i&&(0,s.A)(t),u=!r&&!i&&!h&&(0,c.A)(t),f=r||i||h||u,p=f?n(t.length,String):[],g=p.length;for(var m in t){if((e||d.call(t,m))&&!(f&&(m=="length"||h&&(m=="offset"||m=="parent")||u&&(m=="buffer"||m=="byteLength"||m=="byteOffset")||(0,l.A)(m,g)))){p.push(m)}}return p}const f=u},16542:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(48657);var n=r(24461);var a=Object.prototype;var o=a.hasOwnProperty;function s(t,e,r){var a=t[e];if(!(o.call(t,e)&&(0,n.A)(a,r))||r===undefined&&!(e in t)){(0,i.A)(t,e,r)}}const l=s},48657:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(51348);function n(t,e,r){if(e=="__proto__"&&i.A){(0,i.A)(t,e,{configurable:true,enumerable:true,value:r,writable:true})}else{t[e]=r}}const a=n},40283:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});function i(t){return function(e,r,i){var n=-1,a=Object(e),o=i(e),s=o.length;while(s--){var l=o[t?s:++n];if(r(a[l],l,a)===false){break}}return e}}const n=i;var a=n();const o=a},64128:(t,e,r)=>{"use strict";r.d(e,{A:()=>b});var i=r(38066);var n=Object.prototype;var a=n.hasOwnProperty;var o=n.toString;var s=i.A?i.A.toStringTag:undefined;function l(t){var e=a.call(t,s),r=t[s];try{t[s]=undefined;var i=true}catch(l){}var n=o.call(t);if(i){if(e){t[s]=r}else{delete t[s]}}return n}const c=l;var h=Object.prototype;var d=h.toString;function u(t){return d.call(t)}const f=u;var p="[object Null]",g="[object Undefined]";var m=i.A?i.A.toStringTag:undefined;function y(t){if(t==null){return t===undefined?g:p}return m&&m in Object(t)?c(t):f(t)}const b=y},30568:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(690);var n=r(24630);var a=(0,n.A)(Object.keys,Object);const o=a;var s=Object.prototype;var l=s.hasOwnProperty;function c(t){if(!(0,i.A)(t)){return o(t)}var e=[];for(var r in Object(t)){if(l.call(t,r)&&r!="constructor"){e.push(r)}}return e}const h=c},55881:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var i=r(63077);var n=r(27401);var a=r(4596);function o(t,e){return(0,a.A)((0,n.A)(t,e,i.A),t+"")}const s=o},26132:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t){return function(e){return t(e)}}const n=i},53458:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(92615);function n(t){var e=new t.constructor(t.byteLength);new i.A(e).set(new i.A(t));return e}const a=n},65963:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(24606);t=r.hmd(t);var n=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var a=n&&"object"=="object"&&t&&!t.nodeType&&t;var o=a&&a.exports===n;var s=o?i.A.Buffer:undefined,l=s?s.allocUnsafe:undefined;function c(t,e){if(e){return t.slice()}var r=t.length,i=l?l(r):new t.constructor(r);t.copy(i);return i}const h=c},93672:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(53458);function n(t,e){var r=e?(0,i.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}const a=n},91810:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t,e){var r=-1,i=t.length;e||(e=Array(i));while(++r<i){e[r]=t[r]}return e}const n=i},376:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(16542);var n=r(48657);function a(t,e,r,a){var o=!r;r||(r={});var s=-1,l=e.length;while(++s<l){var c=e[s];var h=a?a(r[c],t[c],c,r,t):undefined;if(h===undefined){h=t[c]}if(o){(0,n.A)(r,c,h)}else{(0,i.A)(r,c,h)}}return r}const o=a},56280:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(55881);var n=r(31943);function a(t){return(0,i.A)((function(e,r){var i=-1,a=r.length,o=a>1?r[a-1]:undefined,s=a>2?r[2]:undefined;o=t.length>3&&typeof o=="function"?(a--,o):undefined;if(s&&(0,n.A)(r[0],r[1],s)){o=a<3?undefined:o;a=1}e=Object(e);while(++i<a){var l=r[i];if(l){t(e,l,i,o)}}return e}))}const o=a},51348:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(39023);var n=function(){try{var t=(0,i.A)(Object,"defineProperty");t({},"",{});return t}catch(e){}}();const a=n},7767:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=typeof r.g=="object"&&r.g&&r.g.Object===Object&&r.g;const n=i},39023:(t,e,r)=>{"use strict";r.d(e,{A:()=>S});var i=r(58807);var n=r(24606);var a=n.A["__core-js_shared__"];const o=a;var s=function(){var t=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function l(t){return!!s&&s in t}const c=l;var h=r(85356);var d=r(62210);var u=/[\\^$.*+?()[\]{}|]/g;var f=/^\[object .+?Constructor\]$/;var p=Function.prototype,g=Object.prototype;var m=p.toString;var y=g.hasOwnProperty;var b=RegExp("^"+m.call(y).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function x(t){if(!(0,h.A)(t)||c(t)){return false}var e=(0,i.A)(t)?b:f;return e.test((0,d.A)(t))}const C=x;function v(t,e){return t==null?undefined:t[e]}const k=v;function w(t,e){var r=k(t,e);return C(r)?r:undefined}const S=w},86848:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=r(24630);var n=(0,i.A)(Object.getPrototypeOf,Object);const a=n},88753:(t,e,r)=>{"use strict";r.d(e,{A:()=>B});var i=r(39023);var n=r(24606);var a=(0,i.A)(n.A,"DataView");const o=a;var s=r(51482);var l=(0,i.A)(n.A,"Promise");const c=l;var h=r(88224);var d=(0,i.A)(n.A,"WeakMap");const u=d;var f=r(64128);var p=r(62210);var g="[object Map]",m="[object Object]",y="[object Promise]",b="[object Set]",x="[object WeakMap]";var C="[object DataView]";var v=(0,p.A)(o),k=(0,p.A)(s.A),w=(0,p.A)(c),S=(0,p.A)(h.A),A=(0,p.A)(u);var T=f.A;if(o&&T(new o(new ArrayBuffer(1)))!=C||s.A&&T(new s.A)!=g||c&&T(c.resolve())!=y||h.A&&T(new h.A)!=b||u&&T(new u)!=x){T=function(t){var e=(0,f.A)(t),r=e==m?t.constructor:undefined,i=r?(0,p.A)(r):"";if(i){switch(i){case v:return C;case k:return g;case w:return y;case S:return b;case A:return x}}return e}}const B=T},92768:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(85356);var n=Object.create;var a=function(){function t(){}return function(e){if(!(0,i.A)(e)){return{}}if(n){return n(e)}t.prototype=e;var r=new t;t.prototype=undefined;return r}}();const o=a;var s=r(86848);var l=r(690);function c(t){return typeof t.constructor=="function"&&!(0,l.A)(t)?o((0,s.A)(t)):{}}const h=c},78912:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=9007199254740991;var n=/^(?:0|[1-9]\d*)$/;function a(t,e){var r=typeof t;e=e==null?i:e;return!!e&&(r=="number"||r!="symbol"&&n.test(t))&&(t>-1&&t%1==0&&t<e)}const o=a},31943:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var i=r(24461);var n=r(21585);var a=r(78912);var o=r(85356);function s(t,e,r){if(!(0,o.A)(r)){return false}var s=typeof e;if(s=="number"?(0,n.A)(r)&&(0,a.A)(e,r.length):s=="string"&&e in r){return(0,i.A)(r[e],t)}return false}const l=s},690:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=Object.prototype;function n(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||i;return t===r}const a=n},89986:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var i=r(7767);t=r.hmd(t);var n=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var a=n&&"object"=="object"&&t&&!t.nodeType&&t;var o=a&&a.exports===n;var s=o&&i.A.process;var l=function(){try{var t=a&&a.require&&a.require("util").types;if(t){return t}return s&&s.binding&&s.binding("util")}catch(e){}}();const c=l},24630:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t,e){return function(r){return t(e(r))}}const n=i},27401:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});function i(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}const n=i;var a=Math.max;function o(t,e,r){e=a(e===undefined?t.length-1:e,0);return function(){var i=arguments,o=-1,s=a(i.length-e,0),l=Array(s);while(++o<s){l[o]=i[e+o]}o=-1;var c=Array(e+1);while(++o<e){c[o]=i[o]}c[e]=r(l);return n(t,this,c)}}const s=o},24606:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(7767);var n=typeof self=="object"&&self&&self.Object===Object&&self;var a=i.A||n||Function("return this")();const o=a},4596:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var i=r(33659);var n=r(51348);var a=r(63077);var o=!n.A?a.A:function(t,e){return(0,n.A)(t,"toString",{configurable:true,enumerable:false,value:(0,i.A)(e),writable:true})};const s=o;var l=800,c=16;var h=Date.now;function d(t){var e=0,r=0;return function(){var i=h(),n=c-(i-r);r=i;if(n>0){if(++e>=l){return arguments[0]}}else{e=0}return t.apply(undefined,arguments)}}const u=d;var f=u(s);const p=f},62210:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=Function.prototype;var n=i.toString;function a(t){if(t!=null){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}const o=a},33659:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t){return function(){return t}}const n=i},24461:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t,e){return t===e||t!==t&&e!==e}const n=i},63077:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t){return t}const n=i},71528:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var i=r(64128);var n=r(53315);var a="[object Arguments]";function o(t){return(0,n.A)(t)&&(0,i.A)(t)==a}const s=o;var l=Object.prototype;var c=l.hasOwnProperty;var h=l.propertyIsEnumerable;var d=s(function(){return arguments}())?s:function(t){return(0,n.A)(t)&&c.call(t,"callee")&&!h.call(t,"callee")};const u=d},39990:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});var i=Array.isArray;const n=i},21585:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(58807);var n=r(43627);function a(t){return t!=null&&(0,n.A)(t.length)&&!(0,i.A)(t)}const o=a},10654:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(21585);var n=r(53315);function a(t){return(0,n.A)(t)&&(0,i.A)(t)}const o=a},50895:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var i=r(24606);function n(){return false}const a=n;t=r.hmd(t);var o=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var s=o&&"object"=="object"&&t&&!t.nodeType&&t;var l=s&&s.exports===o;var c=l?i.A.Buffer:undefined;var h=c?c.isBuffer:undefined;var d=h||a;const u=d},74650:(t,e,r)=>{"use strict";r.d(e,{A:()=>m});var i=r(30568);var n=r(88753);var a=r(71528);var o=r(39990);var s=r(21585);var l=r(50895);var c=r(690);var h=r(82818);var d="[object Map]",u="[object Set]";var f=Object.prototype;var p=f.hasOwnProperty;function g(t){if(t==null){return true}if((0,s.A)(t)&&((0,o.A)(t)||typeof t=="string"||typeof t.splice=="function"||(0,l.A)(t)||(0,h.A)(t)||(0,a.A)(t))){return!t.length}var e=(0,n.A)(t);if(e==d||e==u){return!t.size}if((0,c.A)(t)){return!(0,i.A)(t).length}for(var r in t){if(p.call(t,r)){return false}}return true}const m=g},58807:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var i=r(64128);var n=r(85356);var a="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function c(t){if(!(0,n.A)(t)){return false}var e=(0,i.A)(t);return e==o||e==s||e==a||e==l}const h=c},43627:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var i=9007199254740991;function n(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=i}const a=n},85356:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}const n=i},53315:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});function i(t){return t!=null&&typeof t=="object"}const n=i},82818:(t,e,r)=>{"use strict";r.d(e,{A:()=>K});var i=r(64128);var n=r(43627);var a=r(53315);var o="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",h="[object Error]",d="[object Function]",u="[object Map]",f="[object Number]",p="[object Object]",g="[object RegExp]",m="[object Set]",y="[object String]",b="[object WeakMap]";var x="[object ArrayBuffer]",C="[object DataView]",v="[object Float32Array]",k="[object Float64Array]",w="[object Int8Array]",S="[object Int16Array]",A="[object Int32Array]",T="[object Uint8Array]",B="[object Uint8ClampedArray]",L="[object Uint16Array]",M="[object Uint32Array]";var F={};F[v]=F[k]=F[w]=F[S]=F[A]=F[T]=F[B]=F[L]=F[M]=true;F[o]=F[s]=F[x]=F[l]=F[C]=F[c]=F[h]=F[d]=F[u]=F[f]=F[p]=F[g]=F[m]=F[y]=F[b]=false;function _(t){return(0,a.A)(t)&&(0,n.A)(t.length)&&!!F[(0,i.A)(t)]}const $=_;var E=r(26132);var D=r(89986);var O=D.A&&D.A.isTypedArray;var I=O?(0,E.A)(O):$;const K=I},13839:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var i=r(74578);var n=r(85356);var a=r(690);function o(t){var e=[];if(t!=null){for(var r in Object(t)){e.push(r)}}return e}const s=o;var l=Object.prototype;var c=l.hasOwnProperty;function h(t){if(!(0,n.A)(t)){return s(t)}var e=(0,a.A)(t),r=[];for(var i in t){if(!(i=="constructor"&&(e||!c.call(t,i)))){r.push(i)}}return r}const d=h;var u=r(21585);function f(t){return(0,u.A)(t)?(0,i.A)(t,true):d(t)}const p=f},307:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var i=r(9883);var n="Expected a function";function a(t,e){if(typeof t!="function"||e!=null&&typeof e!="function"){throw new TypeError(n)}var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],a=r.cache;if(a.has(n)){return a.get(n)}var o=t.apply(this,i);r.cache=a.set(n,o)||a;return o};r.cache=new(a.Cache||i.A);return r}a.Cache=i.A;const o=a},96901:(t,e,r)=>{"use strict";r.d(e,{A:()=>j});var i=r(28478);var n=r(48657);var a=r(24461);function o(t,e,r){if(r!==undefined&&!(0,a.A)(t[e],r)||r===undefined&&!(e in t)){(0,n.A)(t,e,r)}}const s=o;var l=r(40283);var c=r(65963);var h=r(93672);var d=r(91810);var u=r(92768);var f=r(71528);var p=r(39990);var g=r(10654);var m=r(50895);var y=r(58807);var b=r(85356);var x=r(64128);var C=r(86848);var v=r(53315);var k="[object Object]";var w=Function.prototype,S=Object.prototype;var A=w.toString;var T=S.hasOwnProperty;var B=A.call(Object);function L(t){if(!(0,v.A)(t)||(0,x.A)(t)!=k){return false}var e=(0,C.A)(t);if(e===null){return true}var r=T.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&A.call(r)==B}const M=L;var F=r(82818);function _(t,e){if(e==="constructor"&&typeof t[e]==="function"){return}if(e=="__proto__"){return}return t[e]}const $=_;var E=r(376);var D=r(13839);function O(t){return(0,E.A)(t,(0,D.A)(t))}const I=O;function K(t,e,r,i,n,a,o){var l=$(t,r),x=$(e,r),C=o.get(x);if(C){s(t,r,C);return}var v=a?a(l,x,r+"",t,e,o):undefined;var k=v===undefined;if(k){var w=(0,p.A)(x),S=!w&&(0,m.A)(x),A=!w&&!S&&(0,F.A)(x);v=x;if(w||S||A){if((0,p.A)(l)){v=l}else if((0,g.A)(l)){v=(0,d.A)(l)}else if(S){k=false;v=(0,c.A)(x,true)}else if(A){k=false;v=(0,h.A)(x,true)}else{v=[]}}else if(M(x)||(0,f.A)(x)){v=l;if((0,f.A)(l)){v=I(l)}else if(!(0,b.A)(l)||(0,y.A)(l)){v=(0,u.A)(x)}}else{k=false}}if(k){o.set(x,v);n(v,x,i,a,o);o["delete"](x)}s(t,r,v)}const R=K;function P(t,e,r,n,a){if(t===e){return}(0,l.A)(e,(function(o,l){a||(a=new i.A);if((0,b.A)(o)){R(t,e,l,r,P,n,a)}else{var c=n?n($(t,l),o,l+"",t,e,a):undefined;if(c===undefined){c=o}s(t,l,c)}}),D.A)}const N=P;var q=r(56280);var z=(0,q.A)((function(t,e,r){N(t,e,r)}));const j=z},29013:(t,e,r)=>{"use strict";r.d(e,{R:()=>s});var i=r(28945);var n={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function a(t,e){if(t===void 0||e===void 0){return{angle:0,deltaX:0,deltaY:0}}t=o(t);e=o(e);const[r,i]=[t.x,t.y];const[n,a]=[e.x,e.y];const s=n-r;const l=a-i;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}(0,i.K2)(a,"calculateDeltaAndAngle");var o=(0,i.K2)((t=>{if(Array.isArray(t)){return{x:t[0],y:t[1]}}return t}),"pointTransformer");var s=(0,i.K2)((t=>({x:(0,i.K2)((function(e,r,i){let s=0;const l=o(i[0]).x<o(i[i.length-1]).x?"left":"right";if(r===0&&Object.hasOwn(n,t.arrowTypeStart)){const{angle:e,deltaX:r}=a(i[0],i[1]);s=n[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){const{angle:e,deltaX:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}const c=Math.abs(o(e).x-o(i[i.length-1]).x);const h=Math.abs(o(e).y-o(i[i.length-1]).y);const d=Math.abs(o(e).x-o(i[0]).x);const u=Math.abs(o(e).y-o(i[0]).y);const f=n[t.arrowTypeStart];const p=n[t.arrowTypeEnd];const g=1;if(c<p&&c>0&&h<p){let t=p+g-c;t*=l==="right"?-1:1;s-=t}if(d<f&&d>0&&u<f){let t=f+g-d;t*=l==="right"?-1:1;s+=t}return o(e).x+s}),"x"),y:(0,i.K2)((function(e,r,i){let s=0;const l=o(i[0]).y<o(i[i.length-1]).y?"down":"up";if(r===0&&Object.hasOwn(n,t.arrowTypeStart)){const{angle:e,deltaY:r}=a(i[0],i[1]);s=n[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){const{angle:e,deltaY:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}const c=Math.abs(o(e).y-o(i[i.length-1]).y);const h=Math.abs(o(e).x-o(i[i.length-1]).x);const d=Math.abs(o(e).y-o(i[0]).y);const u=Math.abs(o(e).x-o(i[0]).x);const f=n[t.arrowTypeStart];const p=n[t.arrowTypeEnd];const g=1;if(c<p&&c>0&&h<p){let t=p+g-c;t*=l==="up"?-1:1;s-=t}if(d<f&&d>0&&u<f){let t=f+g-d;t*=l==="up"?-1:1;s+=t}return o(e).y+s}),"y")})),"getLineFunctionsWithOffset");if(void 0){const{it:t,expect:e,describe:r}=void 0;r("calculateDeltaAndAngle",(()=>{t("should calculate the angle and deltas between two points",(()=>{e(a([0,0],[0,1])).toStrictEqual({angle:1.5707963267948966,deltaX:0,deltaY:1});e(a([1,0],[0,-1])).toStrictEqual({angle:.7853981633974483,deltaX:-1,deltaY:-1});e(a({x:1,y:0},[0,-1])).toStrictEqual({angle:.7853981633974483,deltaX:-1,deltaY:-1});e(a({x:1,y:0},{x:1,y:0})).toStrictEqual({angle:NaN,deltaX:0,deltaY:0})}));t("should calculate the angle and deltas if one point in undefined",(()=>{e(a(void 0,[0,1])).toStrictEqual({angle:0,deltaX:0,deltaY:0});e(a([0,1],void 0)).toStrictEqual({angle:0,deltaX:0,deltaY:0})}))}))}},51774:(t,e,r)=>{"use strict";r.d(e,{O:()=>n});var i=r(28945);var n=(0,i.K2)((({flowchart:t})=>{const e=t?.subGraphTitleMargin?.top??0;const r=t?.subGraphTitleMargin?.bottom??0;const i=e+r;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:i}}),"getSubGraphTitleMargins")},61771:(t,e,r)=>{"use strict";r.d(e,{IU:()=>m,Jo:()=>B,T_:()=>C,g0:()=>P,jP:()=>b});var i=r(90495);var n=r(29013);var a=r(51774);var o=r(42940);var s=r(28818);var l=r(28945);var c=r(24982);var h=r(52274);var d=(0,l.K2)(((t,e,r,i,n)=>{if(e.arrowTypeStart){f(t,"start",e.arrowTypeStart,r,i,n)}if(e.arrowTypeEnd){f(t,"end",e.arrowTypeEnd,r,i,n)}}),"addEdgeMarkers");var u={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"};var f=(0,l.K2)(((t,e,r,i,n,a)=>{const o=u[r];if(!o){l.Rm.warn(`Unknown arrow type: ${r}`);return}const s=e==="start"?"Start":"End";t.attr(`marker-${e}`,`url(${i}#${n}_${a}-${o}${s})`)}),"addEdgeMarker");var p=new Map;var g=new Map;var m=(0,l.K2)((()=>{p.clear();g.clear()}),"clear");var y=(0,l.K2)((t=>{let e=t?t.reduce(((t,e)=>t+";"+e),""):"";return e}),"getLabelStyles");var b=(0,l.K2)((async(t,e)=>{let r=(0,l._3)((0,l.D7)().flowchart.htmlLabels);const n=await(0,o.GZ)(t,e.label,{style:y(e.labelStyle),useHtmlLabels:r,addSvgBackground:true,isNode:false});l.Rm.info("abc82",e,e.labelType);const a=t.insert("g").attr("class","edgeLabel");const s=a.insert("g").attr("class","label");s.node().appendChild(n);let h=n.getBBox();if(r){const t=n.children[0];const e=(0,c.Ltv)(n);h=t.getBoundingClientRect();e.attr("width",h.width);e.attr("height",h.height)}s.attr("transform","translate("+-h.width/2+", "+-h.height/2+")");p.set(e.id,a);e.width=h.width;e.height=h.height;let d;if(e.startLabelLeft){const r=await(0,i.DA)(e.startLabelLeft,y(e.labelStyle));const n=t.insert("g").attr("class","edgeTerminals");const a=n.insert("g").attr("class","inner");d=a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")");if(!g.get(e.id)){g.set(e.id,{})}g.get(e.id).startLeft=n;x(d,e.startLabelLeft)}if(e.startLabelRight){const r=await(0,i.DA)(e.startLabelRight,y(e.labelStyle));const n=t.insert("g").attr("class","edgeTerminals");const a=n.insert("g").attr("class","inner");d=n.node().appendChild(r);a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")");if(!g.get(e.id)){g.set(e.id,{})}g.get(e.id).startRight=n;x(d,e.startLabelRight)}if(e.endLabelLeft){const r=await(0,i.DA)(e.endLabelLeft,y(e.labelStyle));const n=t.insert("g").attr("class","edgeTerminals");const a=n.insert("g").attr("class","inner");d=a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")");n.node().appendChild(r);if(!g.get(e.id)){g.set(e.id,{})}g.get(e.id).endLeft=n;x(d,e.endLabelLeft)}if(e.endLabelRight){const r=await(0,i.DA)(e.endLabelRight,y(e.labelStyle));const n=t.insert("g").attr("class","edgeTerminals");const a=n.insert("g").attr("class","inner");d=a.node().appendChild(r);const o=r.getBBox();a.attr("transform","translate("+-o.width/2+", "+-o.height/2+")");n.node().appendChild(r);if(!g.get(e.id)){g.set(e.id,{})}g.get(e.id).endRight=n;x(d,e.endLabelRight)}return n}),"insertEdgeLabel");function x(t,e){if((0,l.D7)().flowchart.htmlLabels&&t){t.style.width=e.length*9+"px";t.style.height="12px"}}(0,l.K2)(x,"setTerminalWidth");var C=(0,l.K2)(((t,e)=>{l.Rm.debug("Moving label abc88 ",t.id,t.label,p.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath;const i=(0,l.D7)();const{subGraphTitleTotalMargin:n}=(0,a.O)(i);if(t.label){const i=p.get(t.id);let a=t.x;let o=t.y;if(r){const i=s._K.calcLabelPosition(r);l.Rm.debug("Moving label "+t.label+" from (",a,",",o,") to (",i.x,",",i.y,") abc88");if(e.updatedPath){a=i.x;o=i.y}}i.attr("transform",`translate(${a}, ${o+n/2})`)}if(t.startLabelLeft){const e=g.get(t.id).startLeft;let i=t.x;let n=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);i=e.x;n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.startLabelRight){const e=g.get(t.id).startRight;let i=t.x;let n=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);i=e.x;n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelLeft){const e=g.get(t.id).endLeft;let i=t.x;let n=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);i=e.x;n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelRight){const e=g.get(t.id).endRight;let i=t.x;let n=t.y;if(r){const e=s._K.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);i=e.x;n=e.y}e.attr("transform",`translate(${i}, ${n})`)}}),"positionEdgeLabel");var v=(0,l.K2)(((t,e)=>{const r=t.x;const i=t.y;const n=Math.abs(e.x-r);const a=Math.abs(e.y-i);const o=t.width/2;const s=t.height/2;return n>=o||a>=s}),"outsideNode");var k=(0,l.K2)(((t,e,r)=>{l.Rm.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(r)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const i=t.x;const n=t.y;const a=Math.abs(i-r.x);const o=t.width/2;let s=r.x<e.x?o-a:o+a;const c=t.height/2;const h=Math.abs(e.y-r.y);const d=Math.abs(e.x-r.x);if(Math.abs(n-e.y)*o>Math.abs(i-e.x)*c){let t=r.y<e.y?e.y-c-n:n-c-e.y;s=d*t/h;const i={x:r.x<e.x?r.x+s:r.x-d+s,y:r.y<e.y?r.y+h-t:r.y-h+t};if(s===0){i.x=e.x;i.y=e.y}if(d===0){i.x=e.x}if(h===0){i.y=e.y}l.Rm.debug(`abc89 top/bottom calc, Q ${h}, q ${t}, R ${d}, r ${s}`,i);return i}else{if(r.x<e.x){s=e.x-o-i}else{s=i-o-e.x}let t=h*s/d;let n=r.x<e.x?r.x+d-s:r.x-d+s;let a=r.y<e.y?r.y+t:r.y-t;l.Rm.debug(`sides calc abc89, Q ${h}, q ${t}, R ${d}, r ${s}`,{_x:n,_y:a});if(s===0){n=e.x;a=e.y}if(d===0){n=e.x}if(h===0){a=e.y}return{x:n,y:a}}}),"intersection");var w=(0,l.K2)(((t,e)=>{l.Rm.warn("abc88 cutPathAtIntersect",t,e);let r=[];let i=t[0];let n=false;t.forEach((t=>{l.Rm.info("abc88 checking point",t,e);if(!v(e,t)&&!n){const a=k(e,i,t);l.Rm.debug("abc88 inside",t,i,a);l.Rm.debug("abc88 intersection",a,e);let o=false;r.forEach((t=>{o=o||t.x===a.x&&t.y===a.y}));if(!r.some((t=>t.x===a.x&&t.y===a.y))){r.push(a)}else{l.Rm.warn("abc88 no intersect",a,r)}n=true}else{l.Rm.warn("abc88 outside",t,i);i=t;if(!n){r.push(t)}}}));l.Rm.debug("returning points",r);return r}),"cutPathAtIntersect");function S(t){const e=[];const r=[];for(let i=1;i<t.length-1;i++){const n=t[i-1];const a=t[i];const o=t[i+1];if(n.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-n.y)>5){e.push(a);r.push(i)}else if(n.y===a.y&&a.x===o.x&&Math.abs(a.x-n.x)>5&&Math.abs(a.y-o.y)>5){e.push(a);r.push(i)}}return{cornerPoints:e,cornerPointPositions:r}}(0,l.K2)(S,"extractCornerPoints");var A=(0,l.K2)((function(t,e,r){const i=e.x-t.x;const n=e.y-t.y;const a=Math.sqrt(i*i+n*n);const o=r/a;return{x:e.x-o*i,y:e.y-o*n}}),"findAdjacentPoint");var T=(0,l.K2)((function(t){const{cornerPointPositions:e}=S(t);const r=[];for(let i=0;i<t.length;i++){if(e.includes(i)){const e=t[i-1];const n=t[i+1];const a=t[i];const o=A(e,a,5);const s=A(n,a,5);const c=s.x-o.x;const h=s.y-o.y;r.push(o);const d=Math.sqrt(2)*2;let u={x:a.x,y:a.y};if(Math.abs(n.x-e.x)>10&&Math.abs(n.y-e.y)>=10){l.Rm.debug("Corner point fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y));const t=5;if(a.x===o.x){u={x:c<0?o.x-t+d:o.x+t-d,y:h<0?o.y-d:o.y+d}}else{u={x:c<0?o.x-d:o.x+d,y:h<0?o.y-t+d:o.y+t-d}}}else{l.Rm.debug("Corner point skipping fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y))}r.push(u,s)}else{r.push(t[i])}}return r}),"fixCorners");var B=(0,l.K2)((function(t,e,r,i,a,o,s){const{handDrawnSeed:u}=(0,l.D7)();let f=e.points;let p=false;const g=a;var m=o;if(m.intersect&&g.intersect){f=f.slice(1,e.points.length-1);f.unshift(g.intersect(f[0]));l.Rm.debug("Last point APA12",e.start,"--\x3e",e.end,f[f.length-1],m,m.intersect(f[f.length-1]));f.push(m.intersect(f[f.length-1]))}if(e.toCluster){l.Rm.info("to cluster abc88",r.get(e.toCluster));f=w(e.points,r.get(e.toCluster).node);p=true}if(e.fromCluster){l.Rm.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(f,null,2));f=w(f.reverse(),r.get(e.fromCluster).node).reverse();p=true}let y=f.filter((t=>!Number.isNaN(t.y)));y=T(y);let b=c.qrM;if(e.curve){b=e.curve}const{x,y:C}=(0,n.R)(e);const v=(0,c.n8j)().x(x).y(C).curve(b);let k;switch(e.thickness){case"normal":k="edge-thickness-normal";break;case"thick":k="edge-thickness-thick";break;case"invisible":k="edge-thickness-invisible";break;default:k="edge-thickness-normal"}switch(e.pattern){case"solid":k+=" edge-pattern-solid";break;case"dotted":k+=" edge-pattern-dotted";break;case"dashed":k+=" edge-pattern-dashed";break;default:k+=" edge-pattern-solid"}let S;let A=v(y);const B=Array.isArray(e.style)?e.style:[e.style];if(e.look==="handDrawn"){const r=h.A.svg(t);Object.assign([],y);const i=r.path(A,{roughness:.3,seed:u});k+=" transition";S=(0,c.Ltv)(i).select("path").attr("id",e.id).attr("class"," "+k+(e.classes?" "+e.classes:"")).attr("style",B?B.reduce(((t,e)=>t+";"+e),""):"");let n=S.attr("d");S.attr("d",n);t.node().appendChild(S.node())}else{S=t.append("path").attr("d",A).attr("id",e.id).attr("class"," "+k+(e.classes?" "+e.classes:"")).attr("style",B?B.reduce(((t,e)=>t+";"+e),""):"")}let L="";if((0,l.D7)().flowchart.arrowMarkerAbsolute||(0,l.D7)().state.arrowMarkerAbsolute){L=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search;L=L.replace(/\(/g,"\\(").replace(/\)/g,"\\)")}l.Rm.info("arrowTypeStart",e.arrowTypeStart);l.Rm.info("arrowTypeEnd",e.arrowTypeEnd);d(S,e,L,s,i);let M={};if(p){M.updatedPath=f}M.originalPath=e.points;return M}),"insertEdge");var L=(0,l.K2)(((t,e,r,i)=>{e.forEach((e=>{R[e](t,r,i)}))}),"insertMarkers");var M=(0,l.K2)(((t,e,r)=>{l.Rm.trace("Making markers for ",r);t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z");t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")}),"extension");var F=(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")}),"composition");var _=(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")}),"aggregation");var $=(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z");t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).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")}),"dependency");var E=(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6);t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)}),"lollipop");var D=(0,l.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0");t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")}),"point");var O=(0,l.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0");t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")}),"circle");var I=(0,l.K2)(((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0");t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")}),"cross");var K=(0,l.K2)(((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}),"barb");var R={extension:M,composition:F,aggregation:_,dependency:$,lollipop:E,point:D,circle:O,cross:I,barb:K};var P=L},28945:(t,e,r)=>{"use strict";r.d(e,{C0:()=>L,VA:()=>C,K2:()=>x,xA:()=>mt,hH:()=>O,Dl:()=>Ht,IU:()=>se,Wt:()=>re,Y2:()=>Yt,a$:()=>Xt,sb:()=>it,ME:()=>be,UI:()=>tt,Ch:()=>F,mW:()=>M,DB:()=>T,_3:()=>Ot,EJ:()=>A,m7:()=>de,iN:()=>ce,zj:()=>pt,D7:()=>me,Gs:()=>Se,J$:()=>E,ab:()=>fe,Q2:()=>ut,P$:()=>W,Wi:()=>Wt,H1:()=>kt,Rm:()=>k,QO:()=>Rt,Js:()=>we,Xd:()=>_,VJ:()=>Ut,cL:()=>yt,$i:()=>et,jZ:()=>Lt,oB:()=>xe,wZ:()=>ht,EI:()=>he,SV:()=>le,Nk:()=>ft,XV:()=>ye,ke:()=>ue,He:()=>w,UU:()=>ct,ot:()=>Zt,mj:()=>Ce,tM:()=>ee,H$:()=>V,B6:()=>dt});var i=r(78474);var n=r.n(i);var a=r(63221);var o=r(69745);const s=(t,e)=>{const r=a.A.parse(t);const i={};for(const n in e){if(!e[n])continue;i[n]=r[n]+e[n]}return(0,o.A)(t,i)};const l=s;var c=r(3635);const h=(t,e,r=50)=>{const{r:i,g:n,b:o,a:s}=a.A.parse(t);const{r:l,g:h,b:d,a:u}=a.A.parse(e);const f=r/100;const p=f*2-1;const g=s-u;const m=p*g===-1?p:(p+g)/(1+p*g);const y=(m+1)/2;const b=1-y;const x=i*y+l*b;const C=n*y+h*b;const v=o*y+d*b;const k=s*f+u*(1-f);return(0,c.A)(x,C,v,k)};const d=h;const u=(t,e=100)=>{const r=a.A.parse(t);r.r=255-r.r;r.g=255-r.g;r.b=255-r.b;return d(r,t,e)};const f=u;var p=r(48750);var g=r(77470);var m=r(63170);var y=r(84997);var b=Object.defineProperty;var x=(t,e)=>b(t,"name",{value:e,configurable:true});var C=(t,e)=>{for(var r in e)b(t,r,{get:e[r],enumerable:true})};var v={trace:0,debug:1,info:2,warn:3,error:4,fatal:5};var k={trace:x(((...t)=>{}),"trace"),debug:x(((...t)=>{}),"debug"),info:x(((...t)=>{}),"info"),warn:x(((...t)=>{}),"warn"),error:x(((...t)=>{}),"error"),fatal:x(((...t)=>{}),"fatal")};var w=x((function(t="fatal"){let e=v.fatal;if(typeof t==="string"){if(t.toLowerCase()in v){e=v[t]}}else if(typeof t==="number"){e=t}k.trace=()=>{};k.debug=()=>{};k.info=()=>{};k.warn=()=>{};k.error=()=>{};k.fatal=()=>{};if(e<=v.fatal){k.fatal=console.error?console.error.bind(console,S("FATAL"),"color: orange"):console.log.bind(console,"",S("FATAL"))}if(e<=v.error){k.error=console.error?console.error.bind(console,S("ERROR"),"color: orange"):console.log.bind(console,"",S("ERROR"))}if(e<=v.warn){k.warn=console.warn?console.warn.bind(console,S("WARN"),"color: orange"):console.log.bind(console,``,S("WARN"))}if(e<=v.info){k.info=console.info?console.info.bind(console,S("INFO"),"color: lightblue"):console.log.bind(console,"",S("INFO"))}if(e<=v.debug){k.debug=console.debug?console.debug.bind(console,S("DEBUG"),"color: lightgreen"):console.log.bind(console,"",S("DEBUG"))}if(e<=v.trace){k.trace=console.debug?console.debug.bind(console,S("TRACE"),"color: lightgreen"):console.log.bind(console,"",S("TRACE"))}}),"setLogLevel");var S=x((t=>{const e=n()().format("ss.SSS");return`%c${e} : ${t} : `}),"format");var A=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;var T=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;var B=/\s*%%.*\n/gm;var L=class extends Error{static{x(this,"UnknownDiagramError")}constructor(t){super(t);this.name="UnknownDiagramError"}};var M={};var F=x((function(t,e){t=t.replace(A,"").replace(T,"").replace(B,"\n");for(const[r,{detector:i}]of Object.entries(M)){const n=i(t,e);if(n){return r}}throw new L(`No diagram type detected matching given configuration for text: ${t}`)}),"detectType");var _=x(((...t)=>{for(const{id:e,detector:r,loader:i}of t){$(e,r,i)}}),"registerLazyLoadedDiagrams");var $=x(((t,e,r)=>{if(M[t]){k.warn(`Detector with key ${t} already exists. Overwriting.`)}M[t]={detector:e,loader:r};k.debug(`Detector with key ${t} added${r?" with loader":""}`)}),"addDetector");var E=x((t=>M[t].loader),"getDiagramLoader");var D=x(((t,e,{depth:r=2,clobber:i=false}={})=>{const n={depth:r,clobber:i};if(Array.isArray(e)&&!Array.isArray(t)){e.forEach((e=>D(t,e,n)));return t}else if(Array.isArray(e)&&Array.isArray(t)){e.forEach((e=>{if(!t.includes(e)){t.push(e)}}));return t}if(t===void 0||r<=0){if(t!==void 0&&t!==null&&typeof t==="object"&&typeof e==="object"){return Object.assign(t,e)}else{return e}}if(e!==void 0&&typeof t==="object"&&typeof e==="object"){Object.keys(e).forEach((n=>{if(typeof e[n]==="object"&&(t[n]===void 0||typeof t[n]==="object")){if(t[n]===void 0){t[n]=Array.isArray(e[n])?[]:{}}t[n]=D(t[n],e[n],{depth:r-1,clobber:i})}else if(i||typeof t[n]!=="object"&&typeof e[n]!=="object"){t[n]=e[n]}}))}return t}),"assignWithDepth");var O=D;var I="#ffffff";var K="#f2f2f2";var R=x(((t,e)=>e?l(t,{s:-40,l:10}):l(t,{s:-40,l:-10})),"mkBorder");var P=class{static{x(this,"Theme")}constructor(){this.background="#f4f4f4";this.primaryColor="#fff4dd";this.noteBkgColor="#fff5ad";this.noteTextColor="#333";this.THEME_COLOR_LIMIT=12;this.fontFamily='"trebuchet ms", verdana, arial, sans-serif';this.fontSize="16px"}updateColors(){this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333");this.secondaryColor=this.secondaryColor||l(this.primaryColor,{h:-120});this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5});this.primaryBorderColor=this.primaryBorderColor||R(this.primaryColor,this.darkMode);this.secondaryBorderColor=this.secondaryBorderColor||R(this.secondaryColor,this.darkMode);this.tertiaryBorderColor=this.tertiaryBorderColor||R(this.tertiaryColor,this.darkMode);this.noteBorderColor=this.noteBorderColor||R(this.noteBkgColor,this.darkMode);this.noteBkgColor=this.noteBkgColor||"#fff5ad";this.noteTextColor=this.noteTextColor||"#333";this.secondaryTextColor=this.secondaryTextColor||f(this.secondaryColor);this.tertiaryTextColor=this.tertiaryTextColor||f(this.tertiaryColor);this.lineColor=this.lineColor||f(this.background);this.arrowheadColor=this.arrowheadColor||f(this.background);this.textColor=this.textColor||this.primaryTextColor;this.border2=this.border2||this.tertiaryBorderColor;this.nodeBkg=this.nodeBkg||this.primaryColor;this.mainBkg=this.mainBkg||this.primaryColor;this.nodeBorder=this.nodeBorder||this.primaryBorderColor;this.clusterBkg=this.clusterBkg||this.tertiaryColor;this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor;this.defaultLinkColor=this.defaultLinkColor||this.lineColor;this.titleColor=this.titleColor||this.tertiaryTextColor;this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,p.A)(this.secondaryColor,30):this.secondaryColor);this.nodeTextColor=this.nodeTextColor||this.primaryTextColor;this.actorBorder=this.actorBorder||this.primaryBorderColor;this.actorBkg=this.actorBkg||this.mainBkg;this.actorTextColor=this.actorTextColor||this.primaryTextColor;this.actorLineColor=this.actorLineColor||this.actorBorder;this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg;this.signalColor=this.signalColor||this.textColor;this.signalTextColor=this.signalTextColor||this.textColor;this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder;this.labelTextColor=this.labelTextColor||this.actorTextColor;this.loopTextColor=this.loopTextColor||this.actorTextColor;this.activationBorderColor=this.activationBorderColor||(0,p.A)(this.secondaryColor,10);this.activationBkgColor=this.activationBkgColor||this.secondaryColor;this.sequenceNumberColor=this.sequenceNumberColor||f(this.lineColor);this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor;this.altSectionBkgColor=this.altSectionBkgColor||"white";this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor;this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor;this.excludeBkgColor=this.excludeBkgColor||"#eeeeee";this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor;this.taskBkgColor=this.taskBkgColor||this.primaryColor;this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor;this.activeTaskBkgColor=this.activeTaskBkgColor||(0,g.A)(this.primaryColor,23);this.gridColor=this.gridColor||"lightgrey";this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey";this.doneTaskBorderColor=this.doneTaskBorderColor||"grey";this.critBorderColor=this.critBorderColor||"#ff8888";this.critBkgColor=this.critBkgColor||"red";this.todayLineColor=this.todayLineColor||"red";this.taskTextColor=this.taskTextColor||this.textColor;this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor;this.taskTextLightColor=this.taskTextLightColor||this.textColor;this.taskTextColor=this.taskTextColor||this.primaryTextColor;this.taskTextDarkColor=this.taskTextDarkColor||this.textColor;this.taskTextClickableColor=this.taskTextClickableColor||"#003163";this.personBorder=this.personBorder||this.primaryBorderColor;this.personBkg=this.personBkg||this.mainBkg;this.transitionColor=this.transitionColor||this.lineColor;this.transitionLabelColor=this.transitionLabelColor||this.textColor;this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor;this.stateBkg=this.stateBkg||this.mainBkg;this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg;this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor;this.altBackground=this.altBackground||this.tertiaryColor;this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg;this.compositeBorder=this.compositeBorder||this.nodeBorder;this.innerEndBackground=this.nodeBorder;this.errorBkgColor=this.errorBkgColor||this.tertiaryColor;this.errorTextColor=this.errorTextColor||this.tertiaryTextColor;this.transitionColor=this.transitionColor||this.lineColor;this.specialStateColor=this.lineColor;this.cScale0=this.cScale0||this.primaryColor;this.cScale1=this.cScale1||this.secondaryColor;this.cScale2=this.cScale2||this.tertiaryColor;this.cScale3=this.cScale3||l(this.primaryColor,{h:30});this.cScale4=this.cScale4||l(this.primaryColor,{h:60});this.cScale5=this.cScale5||l(this.primaryColor,{h:90});this.cScale6=this.cScale6||l(this.primaryColor,{h:120});this.cScale7=this.cScale7||l(this.primaryColor,{h:150});this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150});this.cScale9=this.cScale9||l(this.primaryColor,{h:270});this.cScale10=this.cScale10||l(this.primaryColor,{h:300});this.cScale11=this.cScale11||l(this.primaryColor,{h:330});if(this.darkMode){for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScale"+t]=(0,p.A)(this["cScale"+t],75)}}else{for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScale"+t]=(0,p.A)(this["cScale"+t],25)}}for(let e=0;e<this.THEME_COLOR_LIMIT;e++){this["cScaleInv"+e]=this["cScaleInv"+e]||f(this["cScale"+e])}for(let e=0;e<this.THEME_COLOR_LIMIT;e++){if(this.darkMode){this["cScalePeer"+e]=this["cScalePeer"+e]||(0,g.A)(this["cScale"+e],10)}else{this["cScalePeer"+e]=this["cScalePeer"+e]||(0,p.A)(this["cScale"+e],10)}}this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let e=0;e<this.THEME_COLOR_LIMIT;e++){this["cScaleLabel"+e]=this["cScaleLabel"+e]||this.scaleLabelColor}const t=this.darkMode?-4:-1;for(let e=0;e<5;e++){this["surface"+e]=this["surface"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(5+e*3)});this["surfacePeer"+e]=this["surfacePeer"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(8+e*3)})}this.classText=this.classText||this.textColor;this.fillType0=this.fillType0||this.primaryColor;this.fillType1=this.fillType1||this.secondaryColor;this.fillType2=this.fillType2||l(this.primaryColor,{h:64});this.fillType3=this.fillType3||l(this.secondaryColor,{h:64});this.fillType4=this.fillType4||l(this.primaryColor,{h:-64});this.fillType5=this.fillType5||l(this.secondaryColor,{h:-64});this.fillType6=this.fillType6||l(this.primaryColor,{h:128});this.fillType7=this.fillType7||l(this.secondaryColor,{h:128});this.pie1=this.pie1||this.primaryColor;this.pie2=this.pie2||this.secondaryColor;this.pie3=this.pie3||this.tertiaryColor;this.pie4=this.pie4||l(this.primaryColor,{l:-10});this.pie5=this.pie5||l(this.secondaryColor,{l:-10});this.pie6=this.pie6||l(this.tertiaryColor,{l:-10});this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10});this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10});this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0});this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-20});this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-20});this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-10});this.pieTitleTextSize=this.pieTitleTextSize||"25px";this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor;this.pieSectionTextSize=this.pieSectionTextSize||"17px";this.pieSectionTextColor=this.pieSectionTextColor||this.textColor;this.pieLegendTextSize=this.pieLegendTextSize||"17px";this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor;this.pieStrokeColor=this.pieStrokeColor||"black";this.pieStrokeWidth=this.pieStrokeWidth||"2px";this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px";this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black";this.pieOpacity=this.pieOpacity||"0.7";this.archEdgeColor=this.archEdgeColor||"#777";this.archEdgeArrowColor=this.archEdgeArrowColor||"#777";this.archEdgeWidth=this.archEdgeWidth||"3";this.archGroupBorderColor=this.archGroupBorderColor||"#000";this.archGroupBorderWidth=this.archGroupBorderWidth||"2px";this.quadrant1Fill=this.quadrant1Fill||this.primaryColor;this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5});this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10});this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15});this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor;this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5});this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10});this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15});this.quadrantPointFill=this.quadrantPointFill||(0,m.A)(this.quadrant1Fill)?(0,g.A)(this.quadrant1Fill):(0,p.A)(this.quadrant1Fill);this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor;this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor;this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor;this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor;this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor;this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor;this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"};this.requirementBackground=this.requirementBackground||this.primaryColor;this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor;this.requirementBorderSize=this.requirementBorderSize||"1";this.requirementTextColor=this.requirementTextColor||this.primaryTextColor;this.relationColor=this.relationColor||this.lineColor;this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,p.A)(this.secondaryColor,30):this.secondaryColor);this.relationLabelColor=this.relationLabelColor||this.actorTextColor;this.git0=this.git0||this.primaryColor;this.git1=this.git1||this.secondaryColor;this.git2=this.git2||this.tertiaryColor;this.git3=this.git3||l(this.primaryColor,{h:-30});this.git4=this.git4||l(this.primaryColor,{h:-60});this.git5=this.git5||l(this.primaryColor,{h:-90});this.git6=this.git6||l(this.primaryColor,{h:60});this.git7=this.git7||l(this.primaryColor,{h:120});if(this.darkMode){this.git0=(0,g.A)(this.git0,25);this.git1=(0,g.A)(this.git1,25);this.git2=(0,g.A)(this.git2,25);this.git3=(0,g.A)(this.git3,25);this.git4=(0,g.A)(this.git4,25);this.git5=(0,g.A)(this.git5,25);this.git6=(0,g.A)(this.git6,25);this.git7=(0,g.A)(this.git7,25)}else{this.git0=(0,p.A)(this.git0,25);this.git1=(0,p.A)(this.git1,25);this.git2=(0,p.A)(this.git2,25);this.git3=(0,p.A)(this.git3,25);this.git4=(0,p.A)(this.git4,25);this.git5=(0,p.A)(this.git5,25);this.git6=(0,p.A)(this.git6,25);this.git7=(0,p.A)(this.git7,25)}this.gitInv0=this.gitInv0||f(this.git0);this.gitInv1=this.gitInv1||f(this.git1);this.gitInv2=this.gitInv2||f(this.git2);this.gitInv3=this.gitInv3||f(this.git3);this.gitInv4=this.gitInv4||f(this.git4);this.gitInv5=this.gitInv5||f(this.git5);this.gitInv6=this.gitInv6||f(this.git6);this.gitInv7=this.gitInv7||f(this.git7);this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor);this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor;this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor;this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor;this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor;this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor;this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor;this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor;this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor;this.tagLabelColor=this.tagLabelColor||this.primaryTextColor;this.tagLabelBackground=this.tagLabelBackground||this.primaryColor;this.tagLabelBorder=this.tagBorder||this.primaryBorderColor;this.tagLabelFontSize=this.tagLabelFontSize||"10px";this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor;this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor;this.commitLabelFontSize=this.commitLabelFontSize||"10px";this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||I;this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||K}calculate(t){if(typeof t!=="object"){this.updateColors();return}const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]}));this.updateColors();e.forEach((e=>{this[e]=t[e]}))}};var N=x((t=>{const e=new P;e.calculate(t);return e}),"getThemeVariables");var q=class{static{x(this,"Theme")}constructor(){this.background="#333";this.primaryColor="#1f2020";this.secondaryColor=(0,g.A)(this.primaryColor,16);this.tertiaryColor=l(this.primaryColor,{h:-160});this.primaryBorderColor=f(this.background);this.secondaryBorderColor=R(this.secondaryColor,this.darkMode);this.tertiaryBorderColor=R(this.tertiaryColor,this.darkMode);this.primaryTextColor=f(this.primaryColor);this.secondaryTextColor=f(this.secondaryColor);this.tertiaryTextColor=f(this.tertiaryColor);this.lineColor=f(this.background);this.textColor=f(this.background);this.mainBkg="#1f2020";this.secondBkg="calculated";this.mainContrastColor="lightgrey";this.darkTextColor=(0,g.A)(f("#323D47"),10);this.lineColor="calculated";this.border1="#ccc";this.border2=(0,c.A)(255,255,255,.25);this.arrowheadColor="calculated";this.fontFamily='"trebuchet ms", verdana, arial, sans-serif';this.fontSize="16px";this.labelBackground="#181818";this.textColor="#ccc";this.THEME_COLOR_LIMIT=12;this.nodeBkg="calculated";this.nodeBorder="calculated";this.clusterBkg="calculated";this.clusterBorder="calculated";this.defaultLinkColor="calculated";this.titleColor="#F9FFFE";this.edgeLabelBackground="calculated";this.actorBorder="calculated";this.actorBkg="calculated";this.actorTextColor="calculated";this.actorLineColor="calculated";this.signalColor="calculated";this.signalTextColor="calculated";this.labelBoxBkgColor="calculated";this.labelBoxBorderColor="calculated";this.labelTextColor="calculated";this.loopTextColor="calculated";this.noteBorderColor="calculated";this.noteBkgColor="#fff5ad";this.noteTextColor="calculated";this.activationBorderColor="calculated";this.activationBkgColor="calculated";this.sequenceNumberColor="black";this.sectionBkgColor=(0,p.A)("#EAE8D9",30);this.altSectionBkgColor="calculated";this.sectionBkgColor2="#EAE8D9";this.excludeBkgColor=(0,p.A)(this.sectionBkgColor,10);this.taskBorderColor=(0,c.A)(255,255,255,70);this.taskBkgColor="calculated";this.taskTextColor="calculated";this.taskTextLightColor="calculated";this.taskTextOutsideColor="calculated";this.taskTextClickableColor="#003163";this.activeTaskBorderColor=(0,c.A)(255,255,255,50);this.activeTaskBkgColor="#81B1DB";this.gridColor="calculated";this.doneTaskBkgColor="calculated";this.doneTaskBorderColor="grey";this.critBorderColor="#E83737";this.critBkgColor="#E83737";this.taskTextDarkColor="calculated";this.todayLineColor="#DB5757";this.personBorder=this.primaryBorderColor;this.personBkg=this.mainBkg;this.archEdgeColor="calculated";this.archEdgeArrowColor="calculated";this.archEdgeWidth="3";this.archGroupBorderColor=this.primaryBorderColor;this.archGroupBorderWidth="2px";this.labelColor="calculated";this.errorBkgColor="#a44141";this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,g.A)(this.mainBkg,16);this.lineColor=this.mainContrastColor;this.arrowheadColor=this.mainContrastColor;this.nodeBkg=this.mainBkg;this.nodeBorder=this.border1;this.clusterBkg=this.secondBkg;this.clusterBorder=this.border2;this.defaultLinkColor=this.lineColor;this.edgeLabelBackground=(0,g.A)(this.labelBackground,25);this.actorBorder=this.border1;this.actorBkg=this.mainBkg;this.actorTextColor=this.mainContrastColor;this.actorLineColor=this.actorBorder;this.signalColor=this.mainContrastColor;this.signalTextColor=this.mainContrastColor;this.labelBoxBkgColor=this.actorBkg;this.labelBoxBorderColor=this.actorBorder;this.labelTextColor=this.mainContrastColor;this.loopTextColor=this.mainContrastColor;this.noteBorderColor=this.secondaryBorderColor;this.noteBkgColor=this.secondBkg;this.noteTextColor=this.secondaryTextColor;this.activationBorderColor=this.border1;this.activationBkgColor=this.secondBkg;this.altSectionBkgColor=this.background;this.taskBkgColor=(0,g.A)(this.mainBkg,23);this.taskTextColor=this.darkTextColor;this.taskTextLightColor=this.mainContrastColor;this.taskTextOutsideColor=this.taskTextLightColor;this.gridColor=this.mainContrastColor;this.doneTaskBkgColor=this.mainContrastColor;this.taskTextDarkColor=this.darkTextColor;this.archEdgeColor=this.lineColor;this.archEdgeArrowColor=this.lineColor;this.transitionColor=this.transitionColor||this.lineColor;this.transitionLabelColor=this.transitionLabelColor||this.textColor;this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor;this.stateBkg=this.stateBkg||this.mainBkg;this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg;this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor;this.altBackground=this.altBackground||"#555";this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg;this.compositeBorder=this.compositeBorder||this.nodeBorder;this.innerEndBackground=this.primaryBorderColor;this.specialStateColor="#f4f4f4";this.errorBkgColor=this.errorBkgColor||this.tertiaryColor;this.errorTextColor=this.errorTextColor||this.tertiaryTextColor;this.fillType0=this.primaryColor;this.fillType1=this.secondaryColor;this.fillType2=l(this.primaryColor,{h:64});this.fillType3=l(this.secondaryColor,{h:64});this.fillType4=l(this.primaryColor,{h:-64});this.fillType5=l(this.secondaryColor,{h:-64});this.fillType6=l(this.primaryColor,{h:128});this.fillType7=l(this.secondaryColor,{h:128});this.cScale1=this.cScale1||"#0b0000";this.cScale2=this.cScale2||"#4d1037";this.cScale3=this.cScale3||"#3f5258";this.cScale4=this.cScale4||"#4f2f1b";this.cScale5=this.cScale5||"#6e0a0a";this.cScale6=this.cScale6||"#3b0048";this.cScale7=this.cScale7||"#995a01";this.cScale8=this.cScale8||"#154706";this.cScale9=this.cScale9||"#161722";this.cScale10=this.cScale10||"#00296f";this.cScale11=this.cScale11||"#01629c";this.cScale12=this.cScale12||"#010029";this.cScale0=this.cScale0||this.primaryColor;this.cScale1=this.cScale1||this.secondaryColor;this.cScale2=this.cScale2||this.tertiaryColor;this.cScale3=this.cScale3||l(this.primaryColor,{h:30});this.cScale4=this.cScale4||l(this.primaryColor,{h:60});this.cScale5=this.cScale5||l(this.primaryColor,{h:90});this.cScale6=this.cScale6||l(this.primaryColor,{h:120});this.cScale7=this.cScale7||l(this.primaryColor,{h:150});this.cScale8=this.cScale8||l(this.primaryColor,{h:210});this.cScale9=this.cScale9||l(this.primaryColor,{h:270});this.cScale10=this.cScale10||l(this.primaryColor,{h:300});this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleInv"+t]=this["cScaleInv"+t]||f(this["cScale"+t])}for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.A)(this["cScale"+t],10)}for(let t=0;t<5;t++){this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(-10+t*4)});this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(-7+t*4)})}this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor}for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["pie"+t]=this["cScale"+t]}this.pieTitleTextSize=this.pieTitleTextSize||"25px";this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor;this.pieSectionTextSize=this.pieSectionTextSize||"17px";this.pieSectionTextColor=this.pieSectionTextColor||this.textColor;this.pieLegendTextSize=this.pieLegendTextSize||"17px";this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor;this.pieStrokeColor=this.pieStrokeColor||"black";this.pieStrokeWidth=this.pieStrokeWidth||"2px";this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px";this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black";this.pieOpacity=this.pieOpacity||"0.7";this.quadrant1Fill=this.quadrant1Fill||this.primaryColor;this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5});this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10});this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15});this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor;this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5});this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10});this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15});this.quadrantPointFill=this.quadrantPointFill||(0,m.A)(this.quadrant1Fill)?(0,g.A)(this.quadrant1Fill):(0,p.A)(this.quadrant1Fill);this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor;this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor;this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor;this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor;this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor;this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor;this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"};this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.background};this.classText=this.primaryTextColor;this.requirementBackground=this.requirementBackground||this.primaryColor;this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor;this.requirementBorderSize=this.requirementBorderSize||"1";this.requirementTextColor=this.requirementTextColor||this.primaryTextColor;this.relationColor=this.relationColor||this.lineColor;this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,p.A)(this.secondaryColor,30):this.secondaryColor);this.relationLabelColor=this.relationLabelColor||this.actorTextColor;this.git0=(0,g.A)(this.secondaryColor,20);this.git1=(0,g.A)(this.pie2||this.secondaryColor,20);this.git2=(0,g.A)(this.pie3||this.tertiaryColor,20);this.git3=(0,g.A)(this.pie4||l(this.primaryColor,{h:-30}),20);this.git4=(0,g.A)(this.pie5||l(this.primaryColor,{h:-60}),20);this.git5=(0,g.A)(this.pie6||l(this.primaryColor,{h:-90}),10);this.git6=(0,g.A)(this.pie7||l(this.primaryColor,{h:60}),10);this.git7=(0,g.A)(this.pie8||l(this.primaryColor,{h:120}),20);this.gitInv0=this.gitInv0||f(this.git0);this.gitInv1=this.gitInv1||f(this.git1);this.gitInv2=this.gitInv2||f(this.git2);this.gitInv3=this.gitInv3||f(this.git3);this.gitInv4=this.gitInv4||f(this.git4);this.gitInv5=this.gitInv5||f(this.git5);this.gitInv6=this.gitInv6||f(this.git6);this.gitInv7=this.gitInv7||f(this.git7);this.gitBranchLabel0=this.gitBranchLabel0||f(this.labelTextColor);this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor;this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor;this.gitBranchLabel3=this.gitBranchLabel3||f(this.labelTextColor);this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor;this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor;this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor;this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor;this.tagLabelColor=this.tagLabelColor||this.primaryTextColor;this.tagLabelBackground=this.tagLabelBackground||this.primaryColor;this.tagLabelBorder=this.tagBorder||this.primaryBorderColor;this.tagLabelFontSize=this.tagLabelFontSize||"10px";this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor;this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor;this.commitLabelFontSize=this.commitLabelFontSize||"10px";this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,g.A)(this.background,12);this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,g.A)(this.background,2);this.nodeBorder=this.nodeBorder||"#999"}calculate(t){if(typeof t!=="object"){this.updateColors();return}const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]}));this.updateColors();e.forEach((e=>{this[e]=t[e]}))}};var z=x((t=>{const e=new q;e.calculate(t);return e}),"getThemeVariables");var j=class{static{x(this,"Theme")}constructor(){this.background="#f4f4f4";this.primaryColor="#ECECFF";this.secondaryColor=l(this.primaryColor,{h:120});this.secondaryColor="#ffffde";this.tertiaryColor=l(this.primaryColor,{h:-160});this.primaryBorderColor=R(this.primaryColor,this.darkMode);this.secondaryBorderColor=R(this.secondaryColor,this.darkMode);this.tertiaryBorderColor=R(this.tertiaryColor,this.darkMode);this.primaryTextColor=f(this.primaryColor);this.secondaryTextColor=f(this.secondaryColor);this.tertiaryTextColor=f(this.tertiaryColor);this.lineColor=f(this.background);this.textColor=f(this.background);this.background="white";this.mainBkg="#ECECFF";this.secondBkg="#ffffde";this.lineColor="#333333";this.border1="#9370DB";this.border2="#aaaa33";this.arrowheadColor="#333333";this.fontFamily='"trebuchet ms", verdana, arial, sans-serif';this.fontSize="16px";this.labelBackground="rgba(232,232,232, 0.8)";this.textColor="#333";this.THEME_COLOR_LIMIT=12;this.nodeBkg="calculated";this.nodeBorder="calculated";this.clusterBkg="calculated";this.clusterBorder="calculated";this.defaultLinkColor="calculated";this.titleColor="calculated";this.edgeLabelBackground="calculated";this.actorBorder="calculated";this.actorBkg="calculated";this.actorTextColor="black";this.actorLineColor="calculated";this.signalColor="calculated";this.signalTextColor="calculated";this.labelBoxBkgColor="calculated";this.labelBoxBorderColor="calculated";this.labelTextColor="calculated";this.loopTextColor="calculated";this.noteBorderColor="calculated";this.noteBkgColor="#fff5ad";this.noteTextColor="calculated";this.activationBorderColor="#666";this.activationBkgColor="#f4f4f4";this.sequenceNumberColor="white";this.sectionBkgColor="calculated";this.altSectionBkgColor="calculated";this.sectionBkgColor2="calculated";this.excludeBkgColor="#eeeeee";this.taskBorderColor="calculated";this.taskBkgColor="calculated";this.taskTextLightColor="calculated";this.taskTextColor=this.taskTextLightColor;this.taskTextDarkColor="calculated";this.taskTextOutsideColor=this.taskTextDarkColor;this.taskTextClickableColor="calculated";this.activeTaskBorderColor="calculated";this.activeTaskBkgColor="calculated";this.gridColor="calculated";this.doneTaskBkgColor="calculated";this.doneTaskBorderColor="calculated";this.critBorderColor="calculated";this.critBkgColor="calculated";this.todayLineColor="calculated";this.sectionBkgColor=(0,c.A)(102,102,255,.49);this.altSectionBkgColor="white";this.sectionBkgColor2="#fff400";this.taskBorderColor="#534fbc";this.taskBkgColor="#8a90dd";this.taskTextLightColor="white";this.taskTextColor="calculated";this.taskTextDarkColor="black";this.taskTextOutsideColor="calculated";this.taskTextClickableColor="#003163";this.activeTaskBorderColor="#534fbc";this.activeTaskBkgColor="#bfc7ff";this.gridColor="lightgrey";this.doneTaskBkgColor="lightgrey";this.doneTaskBorderColor="grey";this.critBorderColor="#ff8888";this.critBkgColor="red";this.todayLineColor="red";this.personBorder=this.primaryBorderColor;this.personBkg=this.mainBkg;this.archEdgeColor="calculated";this.archEdgeArrowColor="calculated";this.archEdgeWidth="3";this.archGroupBorderColor=this.primaryBorderColor;this.archGroupBorderWidth="2px";this.labelColor="black";this.errorBkgColor="#552222";this.errorTextColor="#552222";this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor;this.cScale1=this.cScale1||this.secondaryColor;this.cScale2=this.cScale2||this.tertiaryColor;this.cScale3=this.cScale3||l(this.primaryColor,{h:30});this.cScale4=this.cScale4||l(this.primaryColor,{h:60});this.cScale5=this.cScale5||l(this.primaryColor,{h:90});this.cScale6=this.cScale6||l(this.primaryColor,{h:120});this.cScale7=this.cScale7||l(this.primaryColor,{h:150});this.cScale8=this.cScale8||l(this.primaryColor,{h:210});this.cScale9=this.cScale9||l(this.primaryColor,{h:270});this.cScale10=this.cScale10||l(this.primaryColor,{h:300});this.cScale11=this.cScale11||l(this.primaryColor,{h:330});this["cScalePeer1"]=this["cScalePeer1"]||(0,p.A)(this.secondaryColor,45);this["cScalePeer2"]=this["cScalePeer2"]||(0,p.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScale"+t]=(0,p.A)(this["cScale"+t],10);this["cScalePeer"+t]=this["cScalePeer"+t]||(0,p.A)(this["cScale"+t],25)}for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180})}for(let t=0;t<5;t++){this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,l:-(5+t*5)});this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,l:-(7+t*5)})}this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;if(this.labelTextColor!=="calculated"){this.cScaleLabel0=this.cScaleLabel0||f(this.labelTextColor);this.cScaleLabel3=this.cScaleLabel3||f(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}}this.nodeBkg=this.mainBkg;this.nodeBorder=this.border1;this.clusterBkg=this.secondBkg;this.clusterBorder=this.border2;this.defaultLinkColor=this.lineColor;this.titleColor=this.textColor;this.edgeLabelBackground=this.labelBackground;this.actorBorder=(0,g.A)(this.border1,23);this.actorBkg=this.mainBkg;this.labelBoxBkgColor=this.actorBkg;this.signalColor=this.textColor;this.signalTextColor=this.textColor;this.labelBoxBorderColor=this.actorBorder;this.labelTextColor=this.actorTextColor;this.loopTextColor=this.actorTextColor;this.noteBorderColor=this.border2;this.noteTextColor=this.actorTextColor;this.actorLineColor=this.actorBorder;this.taskTextColor=this.taskTextLightColor;this.taskTextOutsideColor=this.taskTextDarkColor;this.archEdgeColor=this.lineColor;this.archEdgeArrowColor=this.lineColor;this.transitionColor=this.transitionColor||this.lineColor;this.transitionLabelColor=this.transitionLabelColor||this.textColor;this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor;this.stateBkg=this.stateBkg||this.mainBkg;this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg;this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor;this.altBackground=this.altBackground||"#f0f0f0";this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg;this.compositeBorder=this.compositeBorder||this.nodeBorder;this.innerEndBackground=this.nodeBorder;this.specialStateColor=this.lineColor;this.errorBkgColor=this.errorBkgColor||this.tertiaryColor;this.errorTextColor=this.errorTextColor||this.tertiaryTextColor;this.transitionColor=this.transitionColor||this.lineColor;this.classText=this.primaryTextColor;this.fillType0=this.primaryColor;this.fillType1=this.secondaryColor;this.fillType2=l(this.primaryColor,{h:64});this.fillType3=l(this.secondaryColor,{h:64});this.fillType4=l(this.primaryColor,{h:-64});this.fillType5=l(this.secondaryColor,{h:-64});this.fillType6=l(this.primaryColor,{h:128});this.fillType7=l(this.secondaryColor,{h:128});this.pie1=this.pie1||this.primaryColor;this.pie2=this.pie2||this.secondaryColor;this.pie3=this.pie3||l(this.tertiaryColor,{l:-40});this.pie4=this.pie4||l(this.primaryColor,{l:-10});this.pie5=this.pie5||l(this.secondaryColor,{l:-30});this.pie6=this.pie6||l(this.tertiaryColor,{l:-20});this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-20});this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-40});this.pie9=this.pie9||l(this.primaryColor,{h:120,l:-40});this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-40});this.pie11=this.pie11||l(this.primaryColor,{h:-90,l:-40});this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-30});this.pieTitleTextSize=this.pieTitleTextSize||"25px";this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor;this.pieSectionTextSize=this.pieSectionTextSize||"17px";this.pieSectionTextColor=this.pieSectionTextColor||this.textColor;this.pieLegendTextSize=this.pieLegendTextSize||"17px";this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor;this.pieStrokeColor=this.pieStrokeColor||"black";this.pieStrokeWidth=this.pieStrokeWidth||"2px";this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px";this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black";this.pieOpacity=this.pieOpacity||"0.7";this.quadrant1Fill=this.quadrant1Fill||this.primaryColor;this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5});this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10});this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15});this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor;this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5});this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10});this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15});this.quadrantPointFill=this.quadrantPointFill||(0,m.A)(this.quadrant1Fill)?(0,g.A)(this.quadrant1Fill):(0,p.A)(this.quadrant1Fill);this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor;this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor;this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor;this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor;this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor;this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor;this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"};this.requirementBackground=this.requirementBackground||this.primaryColor;this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor;this.requirementBorderSize=this.requirementBorderSize||"1";this.requirementTextColor=this.requirementTextColor||this.primaryTextColor;this.relationColor=this.relationColor||this.lineColor;this.relationLabelBackground=this.relationLabelBackground||this.labelBackground;this.relationLabelColor=this.relationLabelColor||this.actorTextColor;this.git0=this.git0||this.primaryColor;this.git1=this.git1||this.secondaryColor;this.git2=this.git2||this.tertiaryColor;this.git3=this.git3||l(this.primaryColor,{h:-30});this.git4=this.git4||l(this.primaryColor,{h:-60});this.git5=this.git5||l(this.primaryColor,{h:-90});this.git6=this.git6||l(this.primaryColor,{h:60});this.git7=this.git7||l(this.primaryColor,{h:120});if(this.darkMode){this.git0=(0,g.A)(this.git0,25);this.git1=(0,g.A)(this.git1,25);this.git2=(0,g.A)(this.git2,25);this.git3=(0,g.A)(this.git3,25);this.git4=(0,g.A)(this.git4,25);this.git5=(0,g.A)(this.git5,25);this.git6=(0,g.A)(this.git6,25);this.git7=(0,g.A)(this.git7,25)}else{this.git0=(0,p.A)(this.git0,25);this.git1=(0,p.A)(this.git1,25);this.git2=(0,p.A)(this.git2,25);this.git3=(0,p.A)(this.git3,25);this.git4=(0,p.A)(this.git4,25);this.git5=(0,p.A)(this.git5,25);this.git6=(0,p.A)(this.git6,25);this.git7=(0,p.A)(this.git7,25)}this.gitInv0=this.gitInv0||(0,p.A)(f(this.git0),25);this.gitInv1=this.gitInv1||f(this.git1);this.gitInv2=this.gitInv2||f(this.git2);this.gitInv3=this.gitInv3||f(this.git3);this.gitInv4=this.gitInv4||f(this.git4);this.gitInv5=this.gitInv5||f(this.git5);this.gitInv6=this.gitInv6||f(this.git6);this.gitInv7=this.gitInv7||f(this.git7);this.gitBranchLabel0=this.gitBranchLabel0||f(this.labelTextColor);this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor;this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor;this.gitBranchLabel3=this.gitBranchLabel3||f(this.labelTextColor);this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor;this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor;this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor;this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor;this.tagLabelColor=this.tagLabelColor||this.primaryTextColor;this.tagLabelBackground=this.tagLabelBackground||this.primaryColor;this.tagLabelBorder=this.tagBorder||this.primaryBorderColor;this.tagLabelFontSize=this.tagLabelFontSize||"10px";this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor;this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor;this.commitLabelFontSize=this.commitLabelFontSize||"10px";this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||I;this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||K}calculate(t){if(typeof t!=="object"){this.updateColors();return}const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]}));this.updateColors();e.forEach((e=>{this[e]=t[e]}))}};var W=x((t=>{const e=new j;e.calculate(t);return e}),"getThemeVariables");var H=class{static{x(this,"Theme")}constructor(){this.background="#f4f4f4";this.primaryColor="#cde498";this.secondaryColor="#cdffb2";this.background="white";this.mainBkg="#cde498";this.secondBkg="#cdffb2";this.lineColor="green";this.border1="#13540c";this.border2="#6eaa49";this.arrowheadColor="green";this.fontFamily='"trebuchet ms", verdana, arial, sans-serif';this.fontSize="16px";this.tertiaryColor=(0,g.A)("#cde498",10);this.primaryBorderColor=R(this.primaryColor,this.darkMode);this.secondaryBorderColor=R(this.secondaryColor,this.darkMode);this.tertiaryBorderColor=R(this.tertiaryColor,this.darkMode);this.primaryTextColor=f(this.primaryColor);this.secondaryTextColor=f(this.secondaryColor);this.tertiaryTextColor=f(this.primaryColor);this.lineColor=f(this.background);this.textColor=f(this.background);this.THEME_COLOR_LIMIT=12;this.nodeBkg="calculated";this.nodeBorder="calculated";this.clusterBkg="calculated";this.clusterBorder="calculated";this.defaultLinkColor="calculated";this.titleColor="#333";this.edgeLabelBackground="#e8e8e8";this.actorBorder="calculated";this.actorBkg="calculated";this.actorTextColor="black";this.actorLineColor="calculated";this.signalColor="#333";this.signalTextColor="#333";this.labelBoxBkgColor="calculated";this.labelBoxBorderColor="#326932";this.labelTextColor="calculated";this.loopTextColor="calculated";this.noteBorderColor="calculated";this.noteBkgColor="#fff5ad";this.noteTextColor="calculated";this.activationBorderColor="#666";this.activationBkgColor="#f4f4f4";this.sequenceNumberColor="white";this.sectionBkgColor="#6eaa49";this.altSectionBkgColor="white";this.sectionBkgColor2="#6eaa49";this.excludeBkgColor="#eeeeee";this.taskBorderColor="calculated";this.taskBkgColor="#487e3a";this.taskTextLightColor="white";this.taskTextColor="calculated";this.taskTextDarkColor="black";this.taskTextOutsideColor="calculated";this.taskTextClickableColor="#003163";this.activeTaskBorderColor="calculated";this.activeTaskBkgColor="calculated";this.gridColor="lightgrey";this.doneTaskBkgColor="lightgrey";this.doneTaskBorderColor="grey";this.critBorderColor="#ff8888";this.critBkgColor="red";this.todayLineColor="red";this.personBorder=this.primaryBorderColor;this.personBkg=this.mainBkg;this.archEdgeColor="calculated";this.archEdgeArrowColor="calculated";this.archEdgeWidth="3";this.archGroupBorderColor=this.primaryBorderColor;this.archGroupBorderWidth="2px";this.labelColor="black";this.errorBkgColor="#552222";this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,p.A)(this.mainBkg,20);this.actorBkg=this.mainBkg;this.labelBoxBkgColor=this.actorBkg;this.labelTextColor=this.actorTextColor;this.loopTextColor=this.actorTextColor;this.noteBorderColor=this.border2;this.noteTextColor=this.actorTextColor;this.actorLineColor=this.actorBorder;this.cScale0=this.cScale0||this.primaryColor;this.cScale1=this.cScale1||this.secondaryColor;this.cScale2=this.cScale2||this.tertiaryColor;this.cScale3=this.cScale3||l(this.primaryColor,{h:30});this.cScale4=this.cScale4||l(this.primaryColor,{h:60});this.cScale5=this.cScale5||l(this.primaryColor,{h:90});this.cScale6=this.cScale6||l(this.primaryColor,{h:120});this.cScale7=this.cScale7||l(this.primaryColor,{h:150});this.cScale8=this.cScale8||l(this.primaryColor,{h:210});this.cScale9=this.cScale9||l(this.primaryColor,{h:270});this.cScale10=this.cScale10||l(this.primaryColor,{h:300});this.cScale11=this.cScale11||l(this.primaryColor,{h:330});this["cScalePeer1"]=this["cScalePeer1"]||(0,p.A)(this.secondaryColor,45);this["cScalePeer2"]=this["cScalePeer2"]||(0,p.A)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScale"+t]=(0,p.A)(this["cScale"+t],10);this["cScalePeer"+t]=this["cScalePeer"+t]||(0,p.A)(this["cScale"+t],25)}for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180})}this.scaleLabelColor=this.scaleLabelColor!=="calculated"&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor}for(let t=0;t<5;t++){this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(5+t*5)});this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(8+t*5)})}this.nodeBkg=this.mainBkg;this.nodeBorder=this.border1;this.clusterBkg=this.secondBkg;this.clusterBorder=this.border2;this.defaultLinkColor=this.lineColor;this.taskBorderColor=this.border1;this.taskTextColor=this.taskTextLightColor;this.taskTextOutsideColor=this.taskTextDarkColor;this.activeTaskBorderColor=this.taskBorderColor;this.activeTaskBkgColor=this.mainBkg;this.archEdgeColor=this.lineColor;this.archEdgeArrowColor=this.lineColor;this.transitionColor=this.transitionColor||this.lineColor;this.transitionLabelColor=this.transitionLabelColor||this.textColor;this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor;this.stateBkg=this.stateBkg||this.mainBkg;this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg;this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor;this.altBackground=this.altBackground||"#f0f0f0";this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg;this.compositeBorder=this.compositeBorder||this.nodeBorder;this.innerEndBackground=this.primaryBorderColor;this.specialStateColor=this.lineColor;this.errorBkgColor=this.errorBkgColor||this.tertiaryColor;this.errorTextColor=this.errorTextColor||this.tertiaryTextColor;this.transitionColor=this.transitionColor||this.lineColor;this.classText=this.primaryTextColor;this.fillType0=this.primaryColor;this.fillType1=this.secondaryColor;this.fillType2=l(this.primaryColor,{h:64});this.fillType3=l(this.secondaryColor,{h:64});this.fillType4=l(this.primaryColor,{h:-64});this.fillType5=l(this.secondaryColor,{h:-64});this.fillType6=l(this.primaryColor,{h:128});this.fillType7=l(this.secondaryColor,{h:128});this.pie1=this.pie1||this.primaryColor;this.pie2=this.pie2||this.secondaryColor;this.pie3=this.pie3||this.tertiaryColor;this.pie4=this.pie4||l(this.primaryColor,{l:-30});this.pie5=this.pie5||l(this.secondaryColor,{l:-30});this.pie6=this.pie6||l(this.tertiaryColor,{h:40,l:-40});this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10});this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10});this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0});this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-50});this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-50});this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-50});this.pieTitleTextSize=this.pieTitleTextSize||"25px";this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor;this.pieSectionTextSize=this.pieSectionTextSize||"17px";this.pieSectionTextColor=this.pieSectionTextColor||this.textColor;this.pieLegendTextSize=this.pieLegendTextSize||"17px";this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor;this.pieStrokeColor=this.pieStrokeColor||"black";this.pieStrokeWidth=this.pieStrokeWidth||"2px";this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px";this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black";this.pieOpacity=this.pieOpacity||"0.7";this.quadrant1Fill=this.quadrant1Fill||this.primaryColor;this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5});this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10});this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15});this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor;this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5});this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10});this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15});this.quadrantPointFill=this.quadrantPointFill||(0,m.A)(this.quadrant1Fill)?(0,g.A)(this.quadrant1Fill):(0,p.A)(this.quadrant1Fill);this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor;this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor;this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor;this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor;this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor;this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor;this.packet={startByteColor:this.primaryTextColor,endByteColor:this.primaryTextColor,labelColor:this.primaryTextColor,titleColor:this.primaryTextColor,blockStrokeColor:this.primaryTextColor,blockFillColor:this.mainBkg};this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"};this.requirementBackground=this.requirementBackground||this.primaryColor;this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor;this.requirementBorderSize=this.requirementBorderSize||"1";this.requirementTextColor=this.requirementTextColor||this.primaryTextColor;this.relationColor=this.relationColor||this.lineColor;this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground;this.relationLabelColor=this.relationLabelColor||this.actorTextColor;this.git0=this.git0||this.primaryColor;this.git1=this.git1||this.secondaryColor;this.git2=this.git2||this.tertiaryColor;this.git3=this.git3||l(this.primaryColor,{h:-30});this.git4=this.git4||l(this.primaryColor,{h:-60});this.git5=this.git5||l(this.primaryColor,{h:-90});this.git6=this.git6||l(this.primaryColor,{h:60});this.git7=this.git7||l(this.primaryColor,{h:120});if(this.darkMode){this.git0=(0,g.A)(this.git0,25);this.git1=(0,g.A)(this.git1,25);this.git2=(0,g.A)(this.git2,25);this.git3=(0,g.A)(this.git3,25);this.git4=(0,g.A)(this.git4,25);this.git5=(0,g.A)(this.git5,25);this.git6=(0,g.A)(this.git6,25);this.git7=(0,g.A)(this.git7,25)}else{this.git0=(0,p.A)(this.git0,25);this.git1=(0,p.A)(this.git1,25);this.git2=(0,p.A)(this.git2,25);this.git3=(0,p.A)(this.git3,25);this.git4=(0,p.A)(this.git4,25);this.git5=(0,p.A)(this.git5,25);this.git6=(0,p.A)(this.git6,25);this.git7=(0,p.A)(this.git7,25)}this.gitInv0=this.gitInv0||f(this.git0);this.gitInv1=this.gitInv1||f(this.git1);this.gitInv2=this.gitInv2||f(this.git2);this.gitInv3=this.gitInv3||f(this.git3);this.gitInv4=this.gitInv4||f(this.git4);this.gitInv5=this.gitInv5||f(this.git5);this.gitInv6=this.gitInv6||f(this.git6);this.gitInv7=this.gitInv7||f(this.git7);this.gitBranchLabel0=this.gitBranchLabel0||f(this.labelTextColor);this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor;this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor;this.gitBranchLabel3=this.gitBranchLabel3||f(this.labelTextColor);this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor;this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor;this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor;this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor;this.tagLabelColor=this.tagLabelColor||this.primaryTextColor;this.tagLabelBackground=this.tagLabelBackground||this.primaryColor;this.tagLabelBorder=this.tagBorder||this.primaryBorderColor;this.tagLabelFontSize=this.tagLabelFontSize||"10px";this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor;this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor;this.commitLabelFontSize=this.commitLabelFontSize||"10px";this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||I;this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||K}calculate(t){if(typeof t!=="object"){this.updateColors();return}const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]}));this.updateColors();e.forEach((e=>{this[e]=t[e]}))}};var U=x((t=>{const e=new H;e.calculate(t);return e}),"getThemeVariables");var Y=class{static{x(this,"Theme")}constructor(){this.primaryColor="#eee";this.contrast="#707070";this.secondaryColor=(0,g.A)(this.contrast,55);this.background="#ffffff";this.tertiaryColor=l(this.primaryColor,{h:-160});this.primaryBorderColor=R(this.primaryColor,this.darkMode);this.secondaryBorderColor=R(this.secondaryColor,this.darkMode);this.tertiaryBorderColor=R(this.tertiaryColor,this.darkMode);this.primaryTextColor=f(this.primaryColor);this.secondaryTextColor=f(this.secondaryColor);this.tertiaryTextColor=f(this.tertiaryColor);this.lineColor=f(this.background);this.textColor=f(this.background);this.mainBkg="#eee";this.secondBkg="calculated";this.lineColor="#666";this.border1="#999";this.border2="calculated";this.note="#ffa";this.text="#333";this.critical="#d42";this.done="#bbb";this.arrowheadColor="#333333";this.fontFamily='"trebuchet ms", verdana, arial, sans-serif';this.fontSize="16px";this.THEME_COLOR_LIMIT=12;this.nodeBkg="calculated";this.nodeBorder="calculated";this.clusterBkg="calculated";this.clusterBorder="calculated";this.defaultLinkColor="calculated";this.titleColor="calculated";this.edgeLabelBackground="white";this.actorBorder="calculated";this.actorBkg="calculated";this.actorTextColor="calculated";this.actorLineColor=this.actorBorder;this.signalColor="calculated";this.signalTextColor="calculated";this.labelBoxBkgColor="calculated";this.labelBoxBorderColor="calculated";this.labelTextColor="calculated";this.loopTextColor="calculated";this.noteBorderColor="calculated";this.noteBkgColor="calculated";this.noteTextColor="calculated";this.activationBorderColor="#666";this.activationBkgColor="#f4f4f4";this.sequenceNumberColor="white";this.sectionBkgColor="calculated";this.altSectionBkgColor="white";this.sectionBkgColor2="calculated";this.excludeBkgColor="#eeeeee";this.taskBorderColor="calculated";this.taskBkgColor="calculated";this.taskTextLightColor="white";this.taskTextColor="calculated";this.taskTextDarkColor="calculated";this.taskTextOutsideColor="calculated";this.taskTextClickableColor="#003163";this.activeTaskBorderColor="calculated";this.activeTaskBkgColor="calculated";this.gridColor="calculated";this.doneTaskBkgColor="calculated";this.doneTaskBorderColor="calculated";this.critBkgColor="calculated";this.critBorderColor="calculated";this.todayLineColor="calculated";this.personBorder=this.primaryBorderColor;this.personBkg=this.mainBkg;this.archEdgeColor="calculated";this.archEdgeArrowColor="calculated";this.archEdgeWidth="3";this.archGroupBorderColor=this.primaryBorderColor;this.archGroupBorderWidth="2px";this.labelColor="black";this.errorBkgColor="#552222";this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,g.A)(this.contrast,55);this.border2=this.contrast;this.actorBorder=(0,g.A)(this.border1,23);this.actorBkg=this.mainBkg;this.actorTextColor=this.text;this.actorLineColor=this.actorBorder;this.signalColor=this.text;this.signalTextColor=this.text;this.labelBoxBkgColor=this.actorBkg;this.labelBoxBorderColor=this.actorBorder;this.labelTextColor=this.text;this.loopTextColor=this.text;this.noteBorderColor="#999";this.noteBkgColor="#666";this.noteTextColor="#fff";this.cScale0=this.cScale0||"#555";this.cScale1=this.cScale1||"#F4F4F4";this.cScale2=this.cScale2||"#555";this.cScale3=this.cScale3||"#BBB";this.cScale4=this.cScale4||"#777";this.cScale5=this.cScale5||"#999";this.cScale6=this.cScale6||"#DDD";this.cScale7=this.cScale7||"#FFF";this.cScale8=this.cScale8||"#DDD";this.cScale9=this.cScale9||"#BBB";this.cScale10=this.cScale10||"#999";this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleInv"+t]=this["cScaleInv"+t]||f(this["cScale"+t])}for(let t=0;t<this.THEME_COLOR_LIMIT;t++){if(this.darkMode){this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.A)(this["cScale"+t],10)}else{this["cScalePeer"+t]=this["cScalePeer"+t]||(0,p.A)(this["cScale"+t],10)}}this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);this.cScaleLabel0=this.cScaleLabel0||this.cScale1;this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor}for(let t=0;t<5;t++){this["surface"+t]=this["surface"+t]||l(this.mainBkg,{l:-(5+t*5)});this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{l:-(8+t*5)})}this.nodeBkg=this.mainBkg;this.nodeBorder=this.border1;this.clusterBkg=this.secondBkg;this.clusterBorder=this.border2;this.defaultLinkColor=this.lineColor;this.titleColor=this.text;this.sectionBkgColor=(0,g.A)(this.contrast,30);this.sectionBkgColor2=(0,g.A)(this.contrast,30);this.taskBorderColor=(0,p.A)(this.contrast,10);this.taskBkgColor=this.contrast;this.taskTextColor=this.taskTextLightColor;this.taskTextDarkColor=this.text;this.taskTextOutsideColor=this.taskTextDarkColor;this.activeTaskBorderColor=this.taskBorderColor;this.activeTaskBkgColor=this.mainBkg;this.gridColor=(0,g.A)(this.border1,30);this.doneTaskBkgColor=this.done;this.doneTaskBorderColor=this.lineColor;this.critBkgColor=this.critical;this.critBorderColor=(0,p.A)(this.critBkgColor,10);this.todayLineColor=this.critBkgColor;this.archEdgeColor=this.lineColor;this.archEdgeArrowColor=this.lineColor;this.transitionColor=this.transitionColor||"#000";this.transitionLabelColor=this.transitionLabelColor||this.textColor;this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor;this.stateBkg=this.stateBkg||this.mainBkg;this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg;this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor;this.altBackground=this.altBackground||"#f4f4f4";this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg;this.stateBorder=this.stateBorder||"#000";this.innerEndBackground=this.primaryBorderColor;this.specialStateColor="#222";this.errorBkgColor=this.errorBkgColor||this.tertiaryColor;this.errorTextColor=this.errorTextColor||this.tertiaryTextColor;this.classText=this.primaryTextColor;this.fillType0=this.primaryColor;this.fillType1=this.secondaryColor;this.fillType2=l(this.primaryColor,{h:64});this.fillType3=l(this.secondaryColor,{h:64});this.fillType4=l(this.primaryColor,{h:-64});this.fillType5=l(this.secondaryColor,{h:-64});this.fillType6=l(this.primaryColor,{h:128});this.fillType7=l(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++){this["pie"+t]=this["cScale"+t]}this.pie12=this.pie0;this.pieTitleTextSize=this.pieTitleTextSize||"25px";this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor;this.pieSectionTextSize=this.pieSectionTextSize||"17px";this.pieSectionTextColor=this.pieSectionTextColor||this.textColor;this.pieLegendTextSize=this.pieLegendTextSize||"17px";this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor;this.pieStrokeColor=this.pieStrokeColor||"black";this.pieStrokeWidth=this.pieStrokeWidth||"2px";this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px";this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black";this.pieOpacity=this.pieOpacity||"0.7";this.quadrant1Fill=this.quadrant1Fill||this.primaryColor;this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5});this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10});this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15});this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor;this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5});this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10});this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15});this.quadrantPointFill=this.quadrantPointFill||(0,m.A)(this.quadrant1Fill)?(0,g.A)(this.quadrant1Fill):(0,p.A)(this.quadrant1Fill);this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor;this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor;this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor;this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor;this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor;this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor;this.xyChart={backgroundColor:this.xyChart?.backgroundColor||this.background,titleColor:this.xyChart?.titleColor||this.primaryTextColor,xAxisTitleColor:this.xyChart?.xAxisTitleColor||this.primaryTextColor,xAxisLabelColor:this.xyChart?.xAxisLabelColor||this.primaryTextColor,xAxisTickColor:this.xyChart?.xAxisTickColor||this.primaryTextColor,xAxisLineColor:this.xyChart?.xAxisLineColor||this.primaryTextColor,yAxisTitleColor:this.xyChart?.yAxisTitleColor||this.primaryTextColor,yAxisLabelColor:this.xyChart?.yAxisLabelColor||this.primaryTextColor,yAxisTickColor:this.xyChart?.yAxisTickColor||this.primaryTextColor,yAxisLineColor:this.xyChart?.yAxisLineColor||this.primaryTextColor,plotColorPalette:this.xyChart?.plotColorPalette||"#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"};this.requirementBackground=this.requirementBackground||this.primaryColor;this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor;this.requirementBorderSize=this.requirementBorderSize||"1";this.requirementTextColor=this.requirementTextColor||this.primaryTextColor;this.relationColor=this.relationColor||this.lineColor;this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground;this.relationLabelColor=this.relationLabelColor||this.actorTextColor;this.git0=(0,p.A)(this.pie1,25)||this.primaryColor;this.git1=this.pie2||this.secondaryColor;this.git2=this.pie3||this.tertiaryColor;this.git3=this.pie4||l(this.primaryColor,{h:-30});this.git4=this.pie5||l(this.primaryColor,{h:-60});this.git5=this.pie6||l(this.primaryColor,{h:-90});this.git6=this.pie7||l(this.primaryColor,{h:60});this.git7=this.pie8||l(this.primaryColor,{h:120});this.gitInv0=this.gitInv0||f(this.git0);this.gitInv1=this.gitInv1||f(this.git1);this.gitInv2=this.gitInv2||f(this.git2);this.gitInv3=this.gitInv3||f(this.git3);this.gitInv4=this.gitInv4||f(this.git4);this.gitInv5=this.gitInv5||f(this.git5);this.gitInv6=this.gitInv6||f(this.git6);this.gitInv7=this.gitInv7||f(this.git7);this.branchLabelColor=this.branchLabelColor||this.labelTextColor;this.gitBranchLabel0=this.branchLabelColor;this.gitBranchLabel1="white";this.gitBranchLabel2=this.branchLabelColor;this.gitBranchLabel3="white";this.gitBranchLabel4=this.branchLabelColor;this.gitBranchLabel5=this.branchLabelColor;this.gitBranchLabel6=this.branchLabelColor;this.gitBranchLabel7=this.branchLabelColor;this.tagLabelColor=this.tagLabelColor||this.primaryTextColor;this.tagLabelBackground=this.tagLabelBackground||this.primaryColor;this.tagLabelBorder=this.tagBorder||this.primaryBorderColor;this.tagLabelFontSize=this.tagLabelFontSize||"10px";this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor;this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor;this.commitLabelFontSize=this.commitLabelFontSize||"10px";this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||I;this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||K}calculate(t){if(typeof t!=="object"){this.updateColors();return}const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]}));this.updateColors();e.forEach((e=>{this[e]=t[e]}))}};var G=x((t=>{const e=new Y;e.calculate(t);return e}),"getThemeVariables");var V={base:{getThemeVariables:N},dark:{getThemeVariables:z},default:{getThemeVariables:W},forest:{getThemeVariables:U},neutral:{getThemeVariables:G}};var X={flowchart:{useMaxWidth:true,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:true,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:true,hideUnusedParticipants:false,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:true,forceMenus:false,bottomMarginAdj:1,rightAngles:false,showSequenceNumbers:false,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:false,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:true,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:false,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:true,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:false,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:true,titleTopMargin:25,arrowMarkerAbsolute:false,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:false,hideEmptyMembersBox:false},state:{useMaxWidth:true,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:true,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:true,textPosition:.75},quadrantChart:{useMaxWidth:true,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:true,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:true,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:true,labelFontSize:14,labelPadding:5,showTitle:true,titleFontSize:16,titlePadding:5,showTick:true,tickLength:5,tickWidth:2,showAxisLine:true,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:true,labelFontSize:14,labelPadding:5,showTitle:true,titleFontSize:16,titlePadding:5,showTick:true,tickLength:5,tickWidth:2,showAxisLine:true,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:true,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:true,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:true,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:true,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:false,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:false},gitGraph:{useMaxWidth:true,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:true,showBranches:true,rotateCommitLabel:true,parallelCommits:false,arrowMarkerAbsolute:false},c4:{useMaxWidth:true,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:true,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:true,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:true,prefix:"",suffix:""},block:{useMaxWidth:true,padding:8},packet:{useMaxWidth:true,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:true,paddingX:5,paddingY:5},architecture:{useMaxWidth:true,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:false,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:true,arrowMarkerAbsolute:false,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:false,forceLegacyMathML:false,deterministicIds:false,fontSize:16,markdownAutoWrap:true,suppressErrorRendering:false};var Z={...X,deterministicIDSeed:void 0,elk:{mergeEdges:false,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:V.default.getThemeVariables(),sequence:{...X.sequence,messageFont:x((function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}),"messageFont"),noteFont:x((function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}}),"noteFont"),actorFont:x((function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}),"actorFont")},class:{hideEmptyMembersBox:false},gantt:{...X.gantt,tickInterval:void 0,useWidth:void 0},c4:{...X.c4,useWidth:void 0,personFont:x((function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}}),"personFont"),external_personFont:x((function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}}),"external_personFont"),systemFont:x((function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}}),"systemFont"),external_systemFont:x((function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}}),"external_systemFont"),system_dbFont:x((function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}}),"system_dbFont"),external_system_dbFont:x((function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}}),"external_system_dbFont"),system_queueFont:x((function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}}),"system_queueFont"),external_system_queueFont:x((function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}}),"external_system_queueFont"),containerFont:x((function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}}),"containerFont"),external_containerFont:x((function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}}),"external_containerFont"),container_dbFont:x((function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}}),"container_dbFont"),external_container_dbFont:x((function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}}),"external_container_dbFont"),container_queueFont:x((function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}}),"container_queueFont"),external_container_queueFont:x((function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}}),"external_container_queueFont"),componentFont:x((function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}}),"componentFont"),external_componentFont:x((function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}}),"external_componentFont"),component_dbFont:x((function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}}),"component_dbFont"),external_component_dbFont:x((function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}}),"external_component_dbFont"),component_queueFont:x((function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}}),"component_queueFont"),external_component_queueFont:x((function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}}),"external_component_queueFont"),boundaryFont:x((function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}}),"boundaryFont"),messageFont:x((function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}),"messageFont")},pie:{...X.pie,useWidth:984},xyChart:{...X.xyChart,useWidth:void 0},requirement:{...X.requirement,useWidth:void 0},packet:{...X.packet}};var J=x(((t,e="")=>Object.keys(t).reduce(((r,i)=>{if(Array.isArray(t[i])){return r}else if(typeof t[i]==="object"&&t[i]!==null){return[...r,e+i,...J(t[i],"")]}return[...r,e+i]}),[])),"keyify");var Q=new Set(J(Z,""));var tt=Z;var et=x((t=>{k.debug("sanitizeDirective called with",t);if(typeof t!=="object"||t==null){return}if(Array.isArray(t)){t.forEach((t=>et(t)));return}for(const e of Object.keys(t)){k.debug("Checking key",e);if(e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Q.has(e)||t[e]==null){k.debug("sanitize deleting key: ",e);delete t[e];continue}if(typeof t[e]==="object"){k.debug("sanitizing object",e);et(t[e]);continue}const r=["themeCSS","fontFamily","altFontFamily"];for(const i of r){if(e.includes(i)){k.debug("sanitizing css option",e);t[e]=rt(t[e])}}}if(t.themeVariables){for(const e of Object.keys(t.themeVariables)){const r=t.themeVariables[e];if(r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)){t.themeVariables[e]=""}}}k.debug("After sanitization",t)}),"sanitizeDirective");var rt=x((t=>{let e=0;let r=0;for(const i of t){if(e<r){return"{ /* ERROR: Unbalanced CSS */ }"}if(i==="{"){e++}else if(i==="}"){r++}}if(e!==r){return"{ /* ERROR: Unbalanced CSS */ }"}return t}),"sanitizeCss");var it=Object.freeze(tt);var nt=O({},it);var at;var ot=[];var st=O({},it);var lt=x(((t,e)=>{let r=O({},t);let i={};for(const n of e){gt(n);i=O(i,n)}r=O(r,i);if(i.theme&&i.theme in V){const t=O({},at);const e=O(t.themeVariables||{},i.themeVariables);if(r.theme&&r.theme in V){r.themeVariables=V[r.theme].getThemeVariables(e)}}st=r;vt(st);return st}),"updateCurrentConfig");var ct=x((t=>{nt=O({},it);nt=O(nt,t);if(t.theme&&V[t.theme]){nt.themeVariables=V[t.theme].getThemeVariables(t.themeVariables)}lt(nt,ot);return nt}),"setSiteConfig");var ht=x((t=>{at=O({},t)}),"saveConfigFromInitialize");var dt=x((t=>{nt=O(nt,t);lt(nt,ot);return nt}),"updateSiteConfig");var ut=x((()=>O({},nt)),"getSiteConfig");var ft=x((t=>{vt(t);O(st,t);return pt()}),"setConfig");var pt=x((()=>O({},st)),"getConfig");var gt=x((t=>{if(!t){return}["secure",...nt.secure??[]].forEach((e=>{if(Object.hasOwn(t,e)){k.debug(`Denied attempt to modify a secure key ${e}`,t[e]);delete t[e]}}));Object.keys(t).forEach((e=>{if(e.startsWith("__")){delete t[e]}}));Object.keys(t).forEach((e=>{if(typeof t[e]==="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))){delete t[e]}if(typeof t[e]==="object"){gt(t[e])}}))}),"sanitize");var mt=x((t=>{et(t);if(t.fontFamily&&!t.themeVariables?.fontFamily){t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}}ot.push(t);lt(nt,ot)}),"addDirective");var yt=x(((t=nt)=>{ot=[];lt(t,ot)}),"reset");var bt={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."};var xt={};var Ct=x((t=>{if(xt[t]){return}k.warn(bt[t]);xt[t]=true}),"issueWarning");var vt=x((t=>{if(!t){return}if(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup){Ct("LAZY_LOAD_DEPRECATED")}}),"checkConfig");var kt=/<br\s*\/?>/gi;var wt=x((t=>{if(!t){return[""]}const e=Et(t).replace(/\\n/g,"#br#");return e.split("#br#")}),"getRows");var St=(()=>{let t=false;return()=>{if(!t){At();t=true}}})();function At(){const t="data-temp-href-target";y.A.addHook("beforeSanitizeAttributes",(e=>{if(e instanceof Element&&e.tagName==="A"&&e.hasAttribute("target")){e.setAttribute(t,e.getAttribute("target")??"")}}));y.A.addHook("afterSanitizeAttributes",(e=>{if(e instanceof Element&&e.tagName==="A"&&e.hasAttribute(t)){e.setAttribute("target",e.getAttribute(t)??"");e.removeAttribute(t);if(e.getAttribute("target")==="_blank"){e.setAttribute("rel","noopener")}}}))}x(At,"setupDompurifyHooks");var Tt=x((t=>{St();const e=y.A.sanitize(t);return e}),"removeScript");var Bt=x(((t,e)=>{if(e.flowchart?.htmlLabels!==false){const r=e.securityLevel;if(r==="antiscript"||r==="strict"){t=Tt(t)}else if(r!=="loose"){t=Et(t);t=t.replace(/</g,"&lt;").replace(/>/g,"&gt;");t=t.replace(/=/g,"&equals;");t=$t(t)}}return t}),"sanitizeMore");var Lt=x(((t,e)=>{if(!t){return t}if(e.dompurifyConfig){t=y.A.sanitize(Bt(t,e),e.dompurifyConfig).toString()}else{t=y.A.sanitize(Bt(t,e),{FORBID_TAGS:["style"]}).toString()}return t}),"sanitizeText");var Mt=x(((t,e)=>{if(typeof t==="string"){return Lt(t,e)}return t.flat().map((t=>Lt(t,e)))}),"sanitizeTextOrArray");var Ft=x((t=>kt.test(t)),"hasBreaks");var _t=x((t=>t.split(kt)),"splitBreaks");var $t=x((t=>t.replace(/#br#/g,"<br/>")),"placeholderToBreak");var Et=x((t=>t.replace(kt,"#br#")),"breakToPlaceholder");var Dt=x((t=>{let e="";if(t){e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search;e=e.replaceAll(/\(/g,"\\(");e=e.replaceAll(/\)/g,"\\)")}return e}),"getUrl");var Ot=x((t=>t===false||["false","null","0"].includes(String(t).trim().toLowerCase())?false:true),"evaluate");var It=x((function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)}),"getMax");var Kt=x((function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}),"getMin");var Rt=x((function(t){const e=t.split(/(,)/);const r=[];for(let i=0;i<e.length;i++){let t=e[i];if(t===","&&i>0&&i+1<e.length){const n=e[i-1];const a=e[i+1];if(Nt(n,a)){t=n+","+a;i++;r.pop()}}r.push(qt(t))}return r.join("")}),"parseGenericTypes");var Pt=x(((t,e)=>Math.max(0,t.split(e).length-1)),"countOccurrence");var Nt=x(((t,e)=>{const r=Pt(t,"~");const i=Pt(e,"~");return r===1&&i===1}),"shouldCombineSets");var qt=x((t=>{const e=Pt(t,"~");let r=false;if(e<=1){return t}if(e%2!==0&&t.startsWith("~")){t=t.substring(1);r=true}const i=[...t];let n=i.indexOf("~");let a=i.lastIndexOf("~");while(n!==-1&&a!==-1&&n!==a){i[n]="<";i[a]=">";n=i.indexOf("~");a=i.lastIndexOf("~")}if(r){i.unshift("~")}return i.join("")}),"processSet");var zt=x((()=>window.MathMLElement!==void 0),"isMathMLSupported");var jt=/\$\$(.*)\$\$/g;var Wt=x((t=>(t.match(jt)?.length??0)>0),"hasKatex");var Ht=x((async(t,e)=>{t=await Ut(t,e);const r=document.createElement("div");r.innerHTML=t;r.id="katex-temp";r.style.visibility="hidden";r.style.position="absolute";r.style.top="0";const i=document.querySelector("body");i?.insertAdjacentElement("beforeend",r);const n={width:r.clientWidth,height:r.clientHeight};r.remove();return n}),"calculateMathMLDimensions");var Ut=x((async(t,e)=>{if(!Wt(t)){return t}if(!(zt()||e.legacyMathML||e.forceLegacyMathML)){return t.replace(jt,"MathML is unsupported in this environment.")}const{default:i}=await r.e(5489).then(r.bind(r,25489));const n=e.forceLegacyMathML||!zt()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(kt).map((t=>Wt(t)?`<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${t}</div>`:`<div>${t}</div>`)).join("").replace(jt,((t,e)=>i.renderToString(e,{throwOnError:true,displayMode:true,output:n}).replace(/\n/g," ").replace(/<annotation.*<\/annotation>/g,"")))}),"renderKatex");var Yt={getRows:wt,sanitizeText:Lt,sanitizeTextOrArray:Mt,hasBreaks:Ft,splitBreaks:_t,lineBreakRegex:kt,removeScript:Tt,getUrl:Dt,evaluate:Ot,getMax:It,getMin:Kt};var Gt=x((function(t,e){for(let r of e){t.attr(r[0],r[1])}}),"d3Attrs");var Vt=x((function(t,e,r){let i=new Map;if(r){i.set("width","100%");i.set("style",`max-width: ${e}px;`)}else{i.set("height",t);i.set("width",e)}return i}),"calculateSvgSizeAttrs");var Xt=x((function(t,e,r,i){const n=Vt(e,r,i);Gt(t,n)}),"configureSvgSize");var Zt=x((function(t,e,r,i){const n=e.node().getBBox();const a=n.width;const o=n.height;k.info(`SVG bounds: ${a}x${o}`,n);let s=0;let l=0;k.info(`Graph bounds: ${s}x${l}`,t);s=a+r*2;l=o+r*2;k.info(`Calculated bounds: ${s}x${l}`);Xt(e,l,s,i);const c=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",c)}),"setupGraphViewbox");var Jt={};var Qt=x(((t,e,r)=>{let i="";if(t in Jt&&Jt[t]){i=Jt[t](r)}else{k.warn(`No theme found for ${t}`)}return` & {\n font-family: ${r.fontFamily};\n font-size: ${r.fontSize};\n fill: ${r.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${r.errorBkgColor};\n }\n & .error-text {\n fill: ${r.errorTextColor};\n stroke: ${r.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 1px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n & .edge-thickness-invisible {\n stroke-width: 0;\n fill: none;\n }\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${r.lineColor};\n stroke: ${r.lineColor};\n }\n & .marker.cross {\n stroke: ${r.lineColor};\n }\n\n & svg {\n font-family: ${r.fontFamily};\n font-size: ${r.fontSize};\n }\n & p {\n margin: 0\n }\n\n ${i}\n\n ${e}\n`}),"getStyles");var te=x(((t,e)=>{if(e!==void 0){Jt[t]=e}}),"addStylesForDiagram");var ee=Qt;var re={};C(re,{clear:()=>se,getAccDescription:()=>de,getAccTitle:()=>ce,getDiagramTitle:()=>fe,setAccDescription:()=>he,setAccTitle:()=>le,setDiagramTitle:()=>ue});var ie="";var ne="";var ae="";var oe=x((t=>Lt(t,pt())),"sanitizeText");var se=x((()=>{ie="";ae="";ne=""}),"clear");var le=x((t=>{ie=oe(t).replace(/^\s+/g,"")}),"setAccTitle");var ce=x((()=>ie),"getAccTitle");var he=x((t=>{ae=oe(t).replace(/\n\s+/g,"\n")}),"setAccDescription");var de=x((()=>ae),"getAccDescription");var ue=x((t=>{ne=oe(t)}),"setDiagramTitle");var fe=x((()=>ne),"getDiagramTitle");var pe=k;var ge=w;var me=pt;var ye=ft;var be=it;var xe=x((t=>Lt(t,me())),"sanitizeText");var Ce=Zt;var ve=x((()=>re),"getCommonDb");var ke={};var we=x(((t,e,r)=>{if(ke[t]){pe.warn(`Diagram with id ${t} already registered. Overwriting.`)}ke[t]=e;if(r){$(t,r)}te(t,e.styles);e.injectUtils?.(pe,ge,me,xe,Ce,ve(),(()=>{}))}),"registerDiagram");var Se=x((t=>{if(t in ke){return ke[t]}throw new Ae(t)}),"getDiagram");var Ae=class extends Error{static{x(this,"DiagramNotFoundError")}constructor(t){super(`Diagram ${t} not found.`)}}},42940:(t,e,r)=>{"use strict";r.d(e,{GZ:()=>A,W6:()=>v,hE:()=>S});var i=r(28818);var n=r(28945);var a=r(24982);var o=r(51082);var s=r.n(o);var l=r(60513);function c(t,{markdownAutoWrap:e}){const r=t.replace(/<br\/>/g,"\n");const i=r.replace(/\n{2,}/g,"\n");const n=(0,l.T)(i);if(e===false){return n.replace(/ /g,"&nbsp;")}return n}(0,n.K2)(c,"preprocessMarkdown");function h(t,e={}){const r=c(t,e);const i=o.marked.lexer(r);const a=[[]];let s=0;function l(t,e="normal"){if(t.type==="text"){const r=t.text.split("\n");r.forEach(((t,r)=>{if(r!==0){s++;a.push([])}t.split(" ").forEach((t=>{t=t.replace(/&#39;/g,`'`);if(t){a[s].push({content:t,type:e})}}))}))}else if(t.type==="strong"||t.type==="em"){t.tokens.forEach((e=>{l(e,t.type)}))}else if(t.type==="html"){a[s].push({content:t.text,type:"normal"})}}(0,n.K2)(l,"processNode");i.forEach((t=>{if(t.type==="paragraph"){t.tokens?.forEach((t=>{l(t)}))}else if(t.type==="html"){a[s].push({content:t.text,type:"normal"})}}));return a}(0,n.K2)(h,"markdownToLines");function d(t,{markdownAutoWrap:e}={}){const r=o.marked.lexer(t);function i(t){if(t.type==="text"){if(e===false){return t.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;")}return t.text.replace(/\n */g,"<br/>")}else if(t.type==="strong"){return`<strong>${t.tokens?.map(i).join("")}</strong>`}else if(t.type==="em"){return`<em>${t.tokens?.map(i).join("")}</em>`}else if(t.type==="paragraph"){return`<p>${t.tokens?.map(i).join("")}</p>`}else if(t.type==="space"){return""}else if(t.type==="html"){return`${t.text}`}else if(t.type==="escape"){return t.text}return`Unsupported markdown: ${t.type}`}(0,n.K2)(i,"output");return r.map(i).join("")}(0,n.K2)(d,"markdownToHTML");function u(t){if(Intl.Segmenter){return[...(new Intl.Segmenter).segment(t)].map((t=>t.segment))}return[...t]}(0,n.K2)(u,"splitTextToChars");function f(t,e){const r=u(e.content);return p(t,[],r,e.type)}(0,n.K2)(f,"splitWordToFitWidth");function p(t,e,r,i){if(r.length===0){return[{content:e.join(""),type:i},{content:"",type:i}]}const[n,...a]=r;const o=[...e,n];if(t([{content:o.join(""),type:i}])){return p(t,o,a,i)}if(e.length===0&&n){e.push(n);r.shift()}return[{content:e.join(""),type:i},{content:r.join(""),type:i}]}(0,n.K2)(p,"splitWordToFitWidthRecursion");function g(t,e){if(t.some((({content:t})=>t.includes("\n")))){throw new Error("splitLineToFitWidth does not support newlines in the line")}return m(t,e)}(0,n.K2)(g,"splitLineToFitWidth");function m(t,e,r=[],i=[]){if(t.length===0){if(i.length>0){r.push(i)}return r.length>0?r:[]}let n="";if(t[0].content===" "){n=" ";t.shift()}const a=t.shift()??{content:" ",type:"normal"};const o=[...i];if(n!==""){o.push({content:n,type:"normal"})}o.push(a);if(e(o)){return m(t,e,r,o)}if(i.length>0){r.push(i);t.unshift(a)}else if(a.content){const[i,n]=f(e,a);r.push([i]);if(n.content){t.unshift(n)}}return m(t,e,r)}(0,n.K2)(m,"splitLineToFitWidthRecursion");function y(t,e){if(e){t.attr("style",e)}}(0,n.K2)(y,"applyStyle");async function b(t,e,r,i,a=false){const o=t.append("foreignObject");o.attr("width",`${10*r}px`);o.attr("height",`${10*r}px`);const s=o.append("xhtml:div");let l=e.label;if(e.label&&(0,n.Wi)(e.label)){l=await(0,n.VJ)(e.label.replace(n.Y2.lineBreakRegex,"\n"),(0,n.D7)())}const c=e.isNode?"nodeLabel":"edgeLabel";const h=s.append("span");h.html(l);y(h,e.labelStyle);h.attr("class",`${c} ${i}`);y(s,e.labelStyle);s.style("display","table-cell");s.style("white-space","nowrap");s.style("line-height","1.5");s.style("max-width",r+"px");s.style("text-align","center");s.attr("xmlns","http://www.w3.org/1999/xhtml");if(a){s.attr("class","labelBkg")}let d=s.node().getBoundingClientRect();if(d.width===r){s.style("display","table");s.style("white-space","break-spaces");s.style("width",r+"px");d=s.node().getBoundingClientRect()}return o.node()}(0,n.K2)(b,"addHtmlSpan");function x(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}(0,n.K2)(x,"createTspan");function C(t,e,r){const i=t.append("text");const n=x(i,1,e);w(n,r);const a=n.node().getComputedTextLength();i.remove();return a}(0,n.K2)(C,"computeWidthOfText");function v(t,e,r){const i=t.append("text");const n=x(i,1,e);w(n,[{content:r,type:"normal"}]);const a=n.node()?.getBoundingClientRect();if(a){i.remove()}return a}(0,n.K2)(v,"computeDimensionOfText");function k(t,e,r,i=false){const a=1.1;const o=e.append("g");const s=o.insert("rect").attr("class","background").attr("style","stroke: none");const l=o.append("text").attr("y","-10.1");let c=0;for(const h of r){const e=(0,n.K2)((e=>C(o,a,e)<=t),"checkWidth");const r=e(h)?[h]:g(h,e);for(const t of r){const e=x(l,c,a);w(e,t);c++}}if(i){const t=l.node().getBBox();const e=2;s.attr("x",t.x-e).attr("y",t.y-e).attr("width",t.width+2*e).attr("height",t.height+2*e);return o.node()}else{return l.node()}}(0,n.K2)(k,"createFormattedText");function w(t,e){t.text("");e.forEach(((e,r)=>{const i=t.append("tspan").attr("font-style",e.type==="em"?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight",e.type==="strong"?"bold":"normal");if(r===0){i.text(e.content)}else{i.text(" "+e.content)}}))}(0,n.K2)(w,"updateTextContentAndStyles");function S(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))}(0,n.K2)(S,"replaceIconSubstring");var A=(0,n.K2)((async(t,e="",{style:r="",isTitle:o=false,classes:s="",useHtmlLabels:l=true,isNode:c=true,width:u=200,addSvgBackground:f=false}={},p)=>{n.Rm.debug("XYZ createText",e,r,o,s,l,c,"addSvgBackground: ",f);if(l){const a=d(e,p);const o=S((0,i.Sm)(a));const l=e.replace(/\\\\/g,"\\");const h={isNode:c,label:(0,n.Wi)(e)?l:o,labelStyle:r.replace("fill:","color:")};const g=await b(t,h,u,s,f);return g}else{const i=e.replace(/<br\s*\/?>/g,"<br/>");const n=h(i.replace("<br>","<br/>"),p);const o=k(u,t,n,e?f:false);if(c){if(/stroke:/.exec(r)){r=r.replace("stroke:","lineColor:")}const t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ltv)(o).attr("style",t)}else{const t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,a.Ltv)(o).select("rect").attr("style",t.replace(/background:/g,"fill:"));const e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,a.Ltv)(o).select("text").attr("style",e)}return o}}),"createText")},28818:(t,e,r)=>{"use strict";r.d(e,{$C:()=>B,$t:()=>j,C4:()=>H,I5:()=>z,Ib:()=>g,KL:()=>G,Sm:()=>U,Un:()=>O,_K:()=>W,bH:()=>$,dq:()=>N,pe:()=>l,rY:()=>Y,ru:()=>D,sM:()=>A,vU:()=>f,yT:()=>M});var i=r(28945);var n=r(16750);var a=r(24982);var o=r(307);var s=r(96901);var l="​";var c={curveBasis:a.qrM,curveBasisClosed:a.Yu4,curveBasisOpen:a.IA3,curveBumpX:a.Wi0,curveBumpY:a.PGM,curveBundle:a.OEq,curveCardinalClosed:a.olC,curveCardinalOpen:a.IrU,curveCardinal:a.y8u,curveCatmullRomClosed:a.Q7f,curveCatmullRomOpen:a.cVp,curveCatmullRom:a.oDi,curveLinear:a.lUB,curveLinearClosed:a.Lx9,curveMonotoneX:a.nVG,curveMonotoneY:a.uxU,curveNatural:a.Xf2,curveStep:a.GZz,curveStepAfter:a.UPb,curveStepBefore:a.dyv};var h=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;var d=(0,i.K2)((function(t,e){const r=u(t,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const t=r.map((t=>t.args));(0,i.$i)(t);n=(0,i.hH)(n,[...t])}else{n=r.args}if(!n){return}let a=(0,i.Ch)(t,e);const o="config";if(n[o]!==void 0){if(a==="flowchart-v2"){a="flowchart"}n[a]=n[o];delete n[o]}return n}),"detectInit");var u=(0,i.K2)((function(t,e=null){try{const r=new RegExp(`[%]{2}(?![{]${h.source})(?=[}][%]{2}).*\n`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"');i.Rm.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let n;const a=[];while((n=i.DB.exec(t))!==null){if(n.index===i.DB.lastIndex){i.DB.lastIndex++}if(n&&!e||e&&n[1]?.match(e)||e&&n[2]?.match(e)){const t=n[1]?n[1]:n[2];const e=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;a.push({type:t,args:e})}}if(a.length===0){return{type:t,args:null}}return a.length===1?a[0]:a}catch(r){i.Rm.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`);return{type:void 0,args:null}}}),"detectDirective");var f=(0,i.K2)((function(t){return t.replace(i.DB,"")}),"removeDirectives");var p=(0,i.K2)((function(t,e){for(const[r,i]of e.entries()){if(i.match(t)){return r}}return-1}),"isSubstringInArray");function g(t,e){if(!t){return e}const r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return c[r]??e}(0,i.K2)(g,"interpolateToCurve");function m(t,e){const r=t.trim();if(!r){return void 0}if(e.securityLevel!=="loose"){return(0,n.J)(r)}return r}(0,i.K2)(m,"formatUrl");var y=(0,i.K2)(((t,...e)=>{const r=t.split(".");const n=r.length-1;const a=r[n];let o=window;for(let s=0;s<n;s++){o=o[r[s]];if(!o){i.Rm.error(`Function name: ${t} not found in window`);return}}o[a](...e)}),"runFunc");function b(t,e){if(!t||!e){return 0}return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}(0,i.K2)(b,"distance");function x(t){let e;let r=0;t.forEach((t=>{r+=b(t,e);e=t}));const i=r/2;return k(t,i)}(0,i.K2)(x,"traverseEdge");function C(t){if(t.length===1){return t[0]}return x(t)}(0,i.K2)(C,"calcLabelPosition");var v=(0,i.K2)(((t,e=2)=>{const r=Math.pow(10,e);return Math.round(t*r)/r}),"roundNumber");var k=(0,i.K2)(((t,e)=>{let r=void 0;let i=e;for(const n of t){if(r){const t=b(n,r);if(t<i){i-=t}else{const e=i/t;if(e<=0){return r}if(e>=1){return{x:n.x,y:n.y}}if(e>0&&e<1){return{x:v((1-e)*r.x+e*n.x,5),y:v((1-e)*r.y+e*n.y,5)}}}}r=n}throw new Error("Could not find a suitable point for the given distance")}),"calculatePoint");var w=(0,i.K2)(((t,e,r)=>{i.Rm.info(`our points ${JSON.stringify(e)}`);if(e[0]!==r){e=e.reverse()}const n=25;const a=k(e,n);const o=t?10:5;const s=Math.atan2(e[0].y-a.y,e[0].x-a.x);const l={x:0,y:0};l.x=Math.sin(s)*o+(e[0].x+a.x)/2;l.y=-Math.cos(s)*o+(e[0].y+a.y)/2;return l}),"calcCardinalityPosition");function S(t,e,r){const n=structuredClone(r);i.Rm.info("our points",n);if(e!=="start_left"&&e!=="start_right"){n.reverse()}const a=25+t;const o=k(n,a);const s=10+t*.5;const l=Math.atan2(n[0].y-o.y,n[0].x-o.x);const c={x:0,y:0};if(e==="start_left"){c.x=Math.sin(l+Math.PI)*s+(n[0].x+o.x)/2;c.y=-Math.cos(l+Math.PI)*s+(n[0].y+o.y)/2}else if(e==="end_right"){c.x=Math.sin(l-Math.PI)*s+(n[0].x+o.x)/2-5;c.y=-Math.cos(l-Math.PI)*s+(n[0].y+o.y)/2-5}else if(e==="end_left"){c.x=Math.sin(l)*s+(n[0].x+o.x)/2-5;c.y=-Math.cos(l)*s+(n[0].y+o.y)/2-5}else{c.x=Math.sin(l)*s+(n[0].x+o.x)/2;c.y=-Math.cos(l)*s+(n[0].y+o.y)/2}return c}(0,i.K2)(S,"calcTerminalLabelPosition");function A(t){let e="";let r="";for(const i of t){if(i!==void 0){if(i.startsWith("color:")||i.startsWith("text-align:")){r=r+i+";"}else{e=e+i+";"}}}return{style:e,labelStyle:r}}(0,i.K2)(A,"getStylesFromArray");var T=0;var B=(0,i.K2)((()=>{T++;return"id-"+Math.random().toString(36).substr(2,12)+"-"+T}),"generateId");function L(t){let e="";const r="0123456789abcdef";const i=r.length;for(let n=0;n<t;n++){e+=r.charAt(Math.floor(Math.random()*i))}return e}(0,i.K2)(L,"makeRandomHex");var M=(0,i.K2)((t=>L(t.length)),"random");var F=(0,i.K2)((function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}}),"getTextObj");var _=(0,i.K2)((function(t,e){const r=e.text.replace(i.Y2.lineBreakRegex," ");const[,n]=z(e.fontSize);const a=t.append("text");a.attr("x",e.x);a.attr("y",e.y);a.style("text-anchor",e.anchor);a.style("font-family",e.fontFamily);a.style("font-size",n);a.style("font-weight",e.fontWeight);a.attr("fill",e.fill);if(e.class!==void 0){a.attr("class",e.class)}const o=a.append("tspan");o.attr("x",e.x+e.textMargin*2);o.attr("fill",e.fill);o.text(r);return a}),"drawSimpleText");var $=(0,o.A)(((t,e,r)=>{if(!t){return t}r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r);if(i.Y2.lineBreakRegex.test(t)){return t}const n=t.split(" ").filter(Boolean);const a=[];let o="";n.forEach(((t,i)=>{const s=O(`${t} `,r);const l=O(o,r);if(s>e){const{hyphenatedStrings:i,remainingWord:n}=E(t,e,"-",r);a.push(o,...i);o=n}else if(l+s>=e){a.push(o);o=t}else{o=[o,t].filter(Boolean).join(" ")}const c=i+1;const h=c===n.length;if(h){a.push(o)}}));return a.filter((t=>t!=="")).join(r.joinWith)}),((t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`));var E=(0,o.A)(((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const n=[...t];const a=[];let o="";n.forEach(((t,s)=>{const l=`${o}${t}`;const c=O(l,i);if(c>=e){const t=s+1;const e=n.length===t;const i=`${l}${r}`;a.push(e?l:i);o=""}else{o=l}}));return{hyphenatedStrings:a,remainingWord:o}}),((t,e,r="-",i)=>`${t}${e}${r}${i.fontSize}${i.fontWeight}${i.fontFamily}`));function D(t,e){return I(t,e).height}(0,i.K2)(D,"calculateTextHeight");function O(t,e){return I(t,e).width}(0,i.K2)(O,"calculateTextWidth");var I=(0,o.A)(((t,e)=>{const{fontSize:r=12,fontFamily:n="Arial",fontWeight:o=400}=e;if(!t){return{width:0,height:0}}const[,s]=z(r);const c=["sans-serif",n];const h=t.split(i.Y2.lineBreakRegex);const d=[];const u=(0,a.Ltv)("body");if(!u.remove){return{width:0,height:0,lineHeight:0}}const f=u.append("svg");for(const i of c){let t=0;const e={width:0,height:0,lineHeight:0};for(const r of h){const n=F();n.text=r||l;const a=_(f,n).style("font-size",s).style("font-weight",o).style("font-family",i);const c=(a._groups||a)[0][0].getBBox();if(c.width===0&&c.height===0){throw new Error("svg element not in render tree")}e.width=Math.round(Math.max(e.width,c.width));t=Math.round(c.height);e.height+=t;e.lineHeight=Math.round(Math.max(e.lineHeight,t))}d.push(e)}f.remove();const p=isNaN(d[1].height)||isNaN(d[1].width)||isNaN(d[1].lineHeight)||d[0].height>d[1].height&&d[0].width>d[1].width&&d[0].lineHeight>d[1].lineHeight?0:1;return d[p]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));var K=class{constructor(t=false,e){this.count=0;this.count=e?e.length:0;this.next=t?()=>this.count++:()=>Date.now()}static{(0,i.K2)(this,"InitIDGenerator")}};var R;var P=(0,i.K2)((function(t){R=R||document.createElement("div");t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";");R.innerHTML=t;return unescape(R.textContent)}),"entityDecode");function N(t){return"str"in t}(0,i.K2)(N,"isDetailedError");var q=(0,i.K2)(((t,e,r,i)=>{if(!i){return}const n=t.node()?.getBBox();if(!n){return}t.append("text").text(i).attr("text-anchor","middle").attr("x",n.x+n.width/2).attr("y",-r).attr("class",e)}),"insertTitle");var z=(0,i.K2)((t=>{if(typeof t==="number"){return[t,t+"px"]}const e=parseInt(t??"",10);if(Number.isNaN(e)){return[void 0,void 0]}else if(t===String(e)){return[e,t+"px"]}else{return[e,t]}}),"parseFontSize");function j(t,e){return(0,s.A)({},t,e)}(0,i.K2)(j,"cleanAndMerge");var W={assignWithDepth:i.hH,wrapLabel:$,calculateTextHeight:D,calculateTextWidth:O,calculateTextDimensions:I,cleanAndMerge:j,detectInit:d,detectDirective:u,isSubstringInArray:p,interpolateToCurve:g,calcLabelPosition:C,calcCardinalityPosition:w,calcTerminalLabelPosition:S,formatUrl:m,getStylesFromArray:A,generateId:B,random:M,runFunc:y,entityDecode:P,insertTitle:q,parseFontSize:z,InitIDGenerator:K};var H=(0,i.K2)((function(t){let e=t;e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)}));e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)}));e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);const r=/^\+?\d+$/.test(e);if(r){return"fl°°"+e+"¶ß"}else{return"fl°"+e+"¶ß"}}));return e}),"encodeEntities");var U=(0,i.K2)((function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")}),"decodeEntities");var Y=(0,i.K2)(((t,e,{counter:r=0,prefix:i,suffix:n})=>`${i?`${i}_`:""}${t}_${e}_${r}${n?`_${n}`:""}`),"getEdgeId");function G(t){return t??null}(0,i.K2)(G,"handleUndefinedAttr")},90495:(t,e,r)=>{"use strict";r.d(e,{DA:()=>k,IU:()=>R,U:()=>K,U7:()=>Le,U_:()=>Fe,Zk:()=>h,aP:()=>Ae,gh:()=>Me,lC:()=>u,on:()=>Be});var i=r(68352);var n=r(51774);var a=r(42940);var o=r(28818);var s=r(28945);var l=r(24982);var c=r(52274);var h=(0,s.K2)((async(t,e,r)=>{let i;const n=e.useHtmlLabels||(0,s._3)((0,s.D7)()?.htmlLabels);if(!r){i="node default"}else{i=r}const c=t.insert("g").attr("class",i).attr("id",e.domId||e.id);const h=c.insert("g").attr("class","label").attr("style",(0,o.KL)(e.labelStyle));let d;if(e.label===void 0){d=""}else{d=typeof e.label==="string"?e.label:e.label[0]}const u=await(0,a.GZ)(h,(0,s.jZ)((0,o.Sm)(d),(0,s.D7)()),{useHtmlLabels:n,width:e.width||(0,s.D7)().flowchart?.wrappingWidth,cssClasses:"markdown-node-label",style:e.labelStyle,addSvgBackground:!!e.icon||!!e.img});let f=u.getBBox();const p=(e?.padding??0)/2;if(n){const t=u.children[0];const e=(0,l.Ltv)(u);const r=t.getElementsByTagName("img");if(r){const t=d.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...r].map((e=>new Promise((r=>{function i(){e.style.display="flex";e.style.flexDirection="column";if(t){const t=(0,s.D7)().fontSize?(0,s.D7)().fontSize:window.getComputedStyle(document.body).fontSize;const r=5;const[i=s.UI.fontSize]=(0,o.I5)(t);const n=i*r+"px";e.style.minWidth=n;e.style.maxWidth=n}else{e.style.width="100%"}r(e)}(0,s.K2)(i,"setupImage");setTimeout((()=>{if(e.complete){i()}}));e.addEventListener("error",i);e.addEventListener("load",i)})))))}f=t.getBoundingClientRect();e.attr("width",f.width);e.attr("height",f.height)}if(n){h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")")}else{h.attr("transform","translate(0, "+-f.height/2+")")}if(e.centerLabel){h.attr("transform","translate("+-f.width/2+", "+-f.height/2+")")}h.insert("rect",":first-child");return{shapeSvg:c,bbox:f,halfPadding:p,label:h}}),"labelHelper");var d=(0,s.K2)((async(t,e,r)=>{const i=r.useHtmlLabels||(0,s._3)((0,s.D7)()?.flowchart?.htmlLabels);const n=t.insert("g").attr("class","label").attr("style",r.labelStyle||"");const c=await(0,a.GZ)(n,(0,s.jZ)((0,o.Sm)(e),(0,s.D7)()),{useHtmlLabels:i,width:r.width||(0,s.D7)()?.flowchart?.wrappingWidth,style:r.labelStyle,addSvgBackground:!!r.icon||!!r.img});let h=c.getBBox();const d=r.padding/2;if((0,s._3)((0,s.D7)()?.flowchart?.htmlLabels)){const t=c.children[0];const e=(0,l.Ltv)(c);h=t.getBoundingClientRect();e.attr("width",h.width);e.attr("height",h.height)}if(i){n.attr("transform","translate("+-h.width/2+", "+-h.height/2+")")}else{n.attr("transform","translate(0, "+-h.height/2+")")}if(r.centerLabel){n.attr("transform","translate("+-h.width/2+", "+-h.height/2+")")}n.insert("rect",":first-child");return{shapeSvg:t,bbox:h,halfPadding:d,label:n}}),"insertLabel");var u=(0,s.K2)(((t,e)=>{const r=e.node().getBBox();t.width=r.width;t.height=r.height}),"updateNodeBounds");var f=(0,s.K2)(((t,e)=>(t.look==="handDrawn"?"rough-node":"node")+" "+t.cssClasses+" "+(e||"")),"getNodeClasses");function p(t){const e=t.map(((t,e)=>`${e===0?"M":"L"}${t.x},${t.y}`));e.push("Z");return e.join(" ")}(0,s.K2)(p,"createPathFromPoints");function g(t,e,r,i,n,a){const o=[];const s=50;const l=r-t;const c=i-e;const h=l/a;const d=2*Math.PI/h;const u=e+c/2;for(let f=0;f<=s;f++){const e=f/s;const r=t+e*l;const i=u+n*Math.sin(d*(r-t));o.push({x:r,y:i})}return o}(0,s.K2)(g,"generateFullSineWavePoints");function m(t,e,r,i,n,a){const o=[];const s=n*Math.PI/180;const l=a*Math.PI/180;const c=l-s;const h=c/(i-1);for(let d=0;d<i;d++){const i=s+d*h;const n=t+r*Math.cos(i);const a=e+r*Math.sin(i);o.push({x:-n,y:-a})}return o}(0,s.K2)(m,"generateCirclePoints");var y=(0,s.K2)(((t,e)=>{var r=t.x;var i=t.y;var n=e.x-r;var a=e.y-i;var o=t.width/2;var s=t.height/2;var l,c;if(Math.abs(a)*o>Math.abs(n)*s){if(a<0){s=-s}l=a===0?0:s*n/a;c=s}else{if(n<0){o=-o}l=o;c=n===0?0:o*a/n}return{x:r+l,y:i+c}}),"intersectRect");var b=y;function x(t,e){if(e){t.attr("style",e)}}(0,s.K2)(x,"applyStyle");async function C(t){const e=(0,l.Ltv)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject"));const r=e.append("xhtml:div");let i=t.label;if(t.label&&(0,s.Wi)(t.label)){i=await(0,s.VJ)(t.label.replace(s.Y2.lineBreakRegex,"\n"),(0,s.D7)())}const n=t.isNode?"nodeLabel":"edgeLabel";r.html('<span class="'+n+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+i+"</span>");x(r,t.labelStyle);r.style("display","inline-block");r.style("padding-right","1px");r.style("white-space","nowrap");r.attr("xmlns","http://www.w3.org/1999/xhtml");return e.node()}(0,s.K2)(C,"addHtmlLabel");var v=(0,s.K2)((async(t,e,r,i)=>{let n=t||"";if(typeof n==="object"){n=n[0]}if((0,s._3)((0,s.D7)().flowchart.htmlLabels)){n=n.replace(/\\n|\n/g,"<br />");s.Rm.info("vertexText"+n);const t={isNode:i,label:(0,o.Sm)(n).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e?e.replace("fill:","color:"):e};let r=await C(t);return r}else{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];if(typeof n==="string"){i=n.split(/\\n|\n|<br\s*\/?>/gi)}else if(Array.isArray(n)){i=n}else{i=[]}for(const e of i){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");i.setAttribute("dy","1em");i.setAttribute("x","0");if(r){i.setAttribute("class","title-row")}else{i.setAttribute("class","row")}i.textContent=e.trim();t.appendChild(i)}return t}}),"createLabel");var k=v;var w=(0,s.K2)(((t,e,r,i,n)=>["M",t+n,e,"H",t+r-n,"A",n,n,0,0,1,t+r,e+n,"V",e+i-n,"A",n,n,0,0,1,t+r-n,e+i,"H",t+n,"A",n,n,0,0,1,t,e+i-n,"V",e+n,"A",n,n,0,0,1,t+n,e,"Z"].join(" ")),"createRoundedRectPathD");var S=(0,s.K2)((t=>{const{handDrawnSeed:e}=(0,s.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}}),"solidStateFill");var A=(0,s.K2)((t=>{const e=T([...t.cssCompiledStyles||[],...t.cssStyles||[]]);return{stylesMap:e,stylesArray:[...e]}}),"compileStyles");var T=(0,s.K2)((t=>{const e=new Map;t.forEach((t=>{const[r,i]=t.split(":");e.set(r.trim(),i?.trim())}));return e}),"styles2Map");var B=(0,s.K2)((t=>{const{stylesArray:e}=A(t);const r=[];const i=[];const n=[];const a=[];e.forEach((t=>{const e=t[0];if(e==="color"||e==="font-size"||e==="font-family"||e==="font-weight"||e==="font-style"||e==="text-decoration"||e==="text-align"||e==="text-transform"||e==="line-height"||e==="letter-spacing"||e==="word-spacing"||e==="text-shadow"||e==="text-overflow"||e==="white-space"||e==="word-wrap"||e==="word-break"||e==="overflow-wrap"||e==="hyphens"){r.push(t.join(":")+" !important")}else{i.push(t.join(":")+" !important");if(e.includes("stroke")){n.push(t.join(":")+" !important")}if(e==="fill"){a.push(t.join(":")+" !important")}}}));return{labelStyles:r.join(";"),nodeStyles:i.join(";"),stylesArray:e,borderStyles:n,backgroundStyles:a}}),"styles2String");var L=(0,s.K2)(((t,e)=>{const{themeVariables:r,handDrawnSeed:i}=(0,s.D7)();const{nodeBorder:n,mainBkg:a}=r;const{stylesMap:o}=A(t);const l=Object.assign({roughness:.7,fill:o.get("fill")||a,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:o.get("stroke")||n,seed:i,strokeWidth:o.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0]},e);return l}),"userNodeOverrides");var M=(0,s.K2)((async(t,e)=>{s.Rm.info("Creating subgraph rect for ",e.id,e);const r=(0,s.D7)();const{themeVariables:i,handDrawnSeed:o}=r;const{clusterBkg:h,clusterBorder:d}=i;const{labelStyles:u,nodeStyles:f,borderStyles:p,backgroundStyles:g}=B(e);const m=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look);const y=(0,s._3)(r.flowchart.htmlLabels);const x=m.insert("g").attr("class","cluster-label ");const C=await(0,a.GZ)(x,e.label,{style:e.labelStyle,useHtmlLabels:y,isNode:true});let v=C.getBBox();if((0,s._3)(r.flowchart.htmlLabels)){const t=C.children[0];const e=(0,l.Ltv)(C);v=t.getBoundingClientRect();e.attr("width",v.width);e.attr("height",v.height)}const k=e.width<=v.width+e.padding?v.width+e.padding:e.width;if(e.width<=v.width+e.padding){e.diff=(k-e.width)/2-e.padding}else{e.diff=-e.padding}const S=e.height;const A=e.x-k/2;const T=e.y-S/2;s.Rm.trace("Data ",e,JSON.stringify(e));let M;if(e.look==="handDrawn"){const t=c.A.svg(m);const r=L(e,{roughness:.7,fill:h,stroke:d,fillWeight:3,seed:o});const i=t.path(w(A,T,k,S,0),r);M=m.insert((()=>{s.Rm.debug("Rough node insert CXC",i);return i}),":first-child");M.select("path:nth-child(2)").attr("style",p.join(";"));M.select("path").attr("style",g.join(";").replace("fill","stroke"))}else{M=m.insert("rect",":first-child");M.attr("style",f).attr("rx",e.rx).attr("ry",e.ry).attr("x",A).attr("y",T).attr("width",k).attr("height",S)}const{subGraphTitleTopMargin:F}=(0,n.O)(r);x.attr("transform",`translate(${e.x-v.width/2}, ${e.y-e.height/2+F})`);if(u){const t=x.select("span");if(t){t.attr("style",u)}}const _=M.node().getBBox();e.offsetX=0;e.width=_.width;e.height=_.height;e.offsetY=v.height-e.padding/2;e.intersect=function(t){return b(e,t)};return{cluster:m,labelBBox:v}}),"rect");var F=(0,s.K2)(((t,e)=>{const r=t.insert("g").attr("class","note-cluster").attr("id",e.id);const i=r.insert("rect",":first-child");const n=0*e.padding;const a=n/2;i.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+n).attr("height",e.height+n).attr("fill","none");const o=i.node().getBBox();e.width=o.width;e.height=o.height;e.intersect=function(t){return b(e,t)};return{cluster:r,labelBBox:{width:0,height:0}}}),"noteGroup");var _=(0,s.K2)((async(t,e)=>{const r=(0,s.D7)();const{themeVariables:i,handDrawnSeed:n}=r;const{altBackground:a,compositeBackground:o,compositeTitleBackground:h,nodeBorder:d}=i;const u=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-id",e.id).attr("data-look",e.look);const f=u.insert("g",":first-child");const p=u.insert("g").attr("class","cluster-label");let g=u.append("rect");const m=p.node().appendChild(await k(e.label,e.labelStyle,void 0,true));let y=m.getBBox();if((0,s._3)(r.flowchart.htmlLabels)){const t=m.children[0];const e=(0,l.Ltv)(m);y=t.getBoundingClientRect();e.attr("width",y.width);e.attr("height",y.height)}const x=0*e.padding;const C=x/2;const v=(e.width<=y.width+e.padding?y.width+e.padding:e.width)+x;if(e.width<=y.width+e.padding){e.diff=(v-e.width)/2-e.padding}else{e.diff=-e.padding}const S=e.height+x;const A=e.height+x-y.height-6;const T=e.x-v/2;const B=e.y-S/2;e.width=v;const L=e.y-e.height/2-C+y.height+2;let M;if(e.look==="handDrawn"){const t=e.cssClasses.includes("statediagram-cluster-alt");const r=c.A.svg(u);const i=e.rx||e.ry?r.path(w(T,B,v,S,10),{roughness:.7,fill:h,fillStyle:"solid",stroke:d,seed:n}):r.rectangle(T,B,v,S,{seed:n});M=u.insert((()=>i),":first-child");const s=r.rectangle(T,L,v,A,{fill:t?a:o,fillStyle:t?"hachure":"solid",stroke:d,seed:n});M=u.insert((()=>i),":first-child");g=u.insert((()=>s))}else{M=f.insert("rect",":first-child");const t="outer";M.attr("class",t).attr("x",T).attr("y",B).attr("width",v).attr("height",S).attr("data-look",e.look);g.attr("class","inner").attr("x",T).attr("y",L).attr("width",v).attr("height",A)}p.attr("transform",`translate(${e.x-y.width/2}, ${B+1-((0,s._3)(r.flowchart.htmlLabels)?0:3)})`);const F=M.node().getBBox();e.height=F.height;e.offsetX=0;e.offsetY=y.height-e.padding/2;e.labelBBox=y;e.intersect=function(t){return b(e,t)};return{cluster:u,labelBBox:y}}),"roundedWithTitle");var $=(0,s.K2)((async(t,e)=>{s.Rm.info("Creating subgraph rect for ",e.id,e);const r=(0,s.D7)();const{themeVariables:i,handDrawnSeed:o}=r;const{clusterBkg:h,clusterBorder:d}=i;const{labelStyles:u,nodeStyles:f,borderStyles:p,backgroundStyles:g}=B(e);const m=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.id).attr("data-look",e.look);const y=(0,s._3)(r.flowchart.htmlLabels);const x=m.insert("g").attr("class","cluster-label ");const C=await(0,a.GZ)(x,e.label,{style:e.labelStyle,useHtmlLabels:y,isNode:true,width:e.width});let v=C.getBBox();if((0,s._3)(r.flowchart.htmlLabels)){const t=C.children[0];const e=(0,l.Ltv)(C);v=t.getBoundingClientRect();e.attr("width",v.width);e.attr("height",v.height)}const k=e.width<=v.width+e.padding?v.width+e.padding:e.width;if(e.width<=v.width+e.padding){e.diff=(k-e.width)/2-e.padding}else{e.diff=-e.padding}const S=e.height;const A=e.x-k/2;const T=e.y-S/2;s.Rm.trace("Data ",e,JSON.stringify(e));let M;if(e.look==="handDrawn"){const t=c.A.svg(m);const r=L(e,{roughness:.7,fill:h,stroke:d,fillWeight:4,seed:o});const i=t.path(w(A,T,k,S,e.rx),r);M=m.insert((()=>{s.Rm.debug("Rough node insert CXC",i);return i}),":first-child");M.select("path:nth-child(2)").attr("style",p.join(";"));M.select("path").attr("style",g.join(";").replace("fill","stroke"))}else{M=m.insert("rect",":first-child");M.attr("style",f).attr("rx",e.rx).attr("ry",e.ry).attr("x",A).attr("y",T).attr("width",k).attr("height",S)}const{subGraphTitleTopMargin:F}=(0,n.O)(r);x.attr("transform",`translate(${e.x-v.width/2}, ${e.y-e.height/2+F})`);if(u){const t=x.select("span");if(t){t.attr("style",u)}}const _=M.node().getBBox();e.offsetX=0;e.width=_.width;e.height=_.height;e.offsetY=v.height-e.padding/2;e.intersect=function(t){return b(e,t)};return{cluster:m,labelBBox:v}}),"kanbanSection");var E=(0,s.K2)(((t,e)=>{const r=(0,s.D7)();const{themeVariables:i,handDrawnSeed:n}=r;const{nodeBorder:a}=i;const o=t.insert("g").attr("class",e.cssClasses).attr("id",e.id).attr("data-look",e.look);const l=o.insert("g",":first-child");const h=0*e.padding;const d=e.width+h;e.diff=-e.padding;const u=e.height+h;const f=e.x-d/2;const p=e.y-u/2;e.width=d;let g;if(e.look==="handDrawn"){const t=c.A.svg(o);const e=t.rectangle(f,p,d,u,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:a,seed:n});g=o.insert((()=>e),":first-child")}else{g=l.insert("rect",":first-child");const t="divider";g.attr("class",t).attr("x",f).attr("y",p).attr("width",d).attr("height",u).attr("data-look",e.look)}const m=g.node().getBBox();e.height=m.height;e.offsetX=0;e.offsetY=0;e.intersect=function(t){return b(e,t)};return{cluster:o,labelBBox:{}}}),"divider");var D=M;var O={rect:M,squareRect:D,roundedWithTitle:_,noteGroup:F,divider:E,kanbanSection:$};var I=new Map;var K=(0,s.K2)((async(t,e)=>{const r=e.shape||"rect";const i=await O[r](t,e);I.set(e.id,i);return i}),"insertCluster");var R=(0,s.K2)((()=>{I=new Map}),"clear");function P(t,e){return t.intersect(e)}(0,s.K2)(P,"intersectNode");var N=P;function q(t,e,r,i){var n=t.x;var a=t.y;var o=n-i.x;var s=a-i.y;var l=Math.sqrt(e*e*s*s+r*r*o*o);var c=Math.abs(e*r*o/l);if(i.x<n){c=-c}var h=Math.abs(e*r*s/l);if(i.y<a){h=-h}return{x:n+c,y:a+h}}(0,s.K2)(q,"intersectEllipse");var z=q;function j(t,e,r){return z(t,e,e,r)}(0,s.K2)(j,"intersectCircle");var W=j;function H(t,e,r,i){var n,a,o,s,l,c;var h,d,u,f;var p,g,m;var y,b;n=e.y-t.y;o=t.x-e.x;l=e.x*t.y-t.x*e.y;u=n*r.x+o*r.y+l;f=n*i.x+o*i.y+l;if(u!==0&&f!==0&&U(u,f)){return}a=i.y-r.y;s=r.x-i.x;c=i.x*r.y-r.x*i.y;h=a*t.x+s*t.y+c;d=a*e.x+s*e.y+c;if(h!==0&&d!==0&&U(h,d)){return}p=n*s-a*o;if(p===0){return}g=Math.abs(p/2);m=o*c-s*l;y=m<0?(m-g)/p:(m+g)/p;m=a*l-n*c;b=m<0?(m-g)/p:(m+g)/p;return{x:y,y:b}}(0,s.K2)(H,"intersectLine");function U(t,e){return t*e>0}(0,s.K2)(U,"sameSign");var Y=H;function G(t,e,r){let i=t.x;let n=t.y;let a=[];let o=Number.POSITIVE_INFINITY;let s=Number.POSITIVE_INFINITY;if(typeof e.forEach==="function"){e.forEach((function(t){o=Math.min(o,t.x);s=Math.min(s,t.y)}))}else{o=Math.min(o,e.x);s=Math.min(s,e.y)}let l=i-t.width/2-o;let c=n-t.height/2-s;for(let h=0;h<e.length;h++){let i=e[h];let n=e[h<e.length-1?h+1:0];let o=Y(t,r,{x:l+i.x,y:c+i.y},{x:l+n.x,y:c+n.y});if(o){a.push(o)}}if(!a.length){return t}if(a.length>1){a.sort((function(t,e){let i=t.x-r.x;let n=t.y-r.y;let a=Math.sqrt(i*i+n*n);let o=e.x-r.x;let s=e.y-r.y;let l=Math.sqrt(o*o+s*s);return a<l?-1:a===l?0:1}))}return a[0]}(0,s.K2)(G,"intersectPolygon");var V=G;var X={node:N,circle:W,ellipse:z,polygon:V,rect:b};function Z(t,e){const{labelStyles:r}=B(e);e.labelStyle=r;const i=f(e);let n=i;if(!i){n="anchor"}const a=t.insert("g").attr("class",n).attr("id",e.domId||e.id);const l=1;const{cssStyles:h}=e;const d=c.A.svg(a);const p=L(e,{fill:"black",stroke:"none",fillStyle:"solid"});if(e.look!=="handDrawn"){p.roughness=0}const g=d.circle(0,0,l*2,p);const m=a.insert((()=>g),":first-child");m.attr("class","anchor").attr("style",(0,o.KL)(h));u(e,m);e.intersect=function(t){s.Rm.info("Circle intersect",e,l,t);return X.circle(e,l,t)};return a}(0,s.K2)(Z,"anchor");function J(t,e,r,i,n,a,o){const s=20;const l=(t+r)/2;const c=(e+i)/2;const h=Math.atan2(i-e,r-t);const d=(r-t)/2;const u=(i-e)/2;const f=d/n;const p=u/a;const g=Math.sqrt(f**2+p**2);if(g>1){throw new Error("The given radii are too small to create an arc between the points.")}const m=Math.sqrt(1-g**2);const y=l+m*a*Math.sin(h)*(o?-1:1);const b=c-m*n*Math.cos(h)*(o?-1:1);const x=Math.atan2((e-b)/a,(t-y)/n);const C=Math.atan2((i-b)/a,(r-y)/n);let v=C-x;if(o&&v<0){v+=2*Math.PI}if(!o&&v>0){v-=2*Math.PI}const k=[];for(let w=0;w<s;w++){const t=w/(s-1);const e=x+t*v;const r=y+n*Math.cos(e);const i=b+a*Math.sin(e);k.push({x:r,y:i})}return k}(0,s.K2)(J,"generateArcPoints");async function Q(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=a.width+e.padding+20;const s=a.height+e.padding;const l=s/2;const d=l/(2.5+s/50);const{cssStyles:g}=e;const m=[{x:o/2,y:-s/2},{x:-o/2,y:-s/2},...J(-o/2,-s/2,-o/2,s/2,d,l,false),{x:o/2,y:s/2},...J(o/2,s/2,o/2,-s/2,d,l,true)];const y=c.A.svg(n);const b=L(e,{});if(e.look!=="handDrawn"){b.roughness=0;b.fillStyle="solid"}const x=p(m);const C=y.path(x,b);const v=n.insert((()=>C),":first-child");v.attr("class","basic label-container");if(g&&e.look!=="handDrawn"){v.selectAll("path").attr("style",g)}if(i&&e.look!=="handDrawn"){v.selectAll("path").attr("style",i)}v.attr("transform",`translate(${d/2}, 0)`);u(e,v);e.intersect=function(t){const r=X.polygon(e,m,t);return r};return n}(0,s.K2)(Q,"bowTieRect");function tt(t,e,r,i){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+r/2+")")}(0,s.K2)(tt,"insertPolygonShape");async function et(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=a.height+e.padding;const s=12;const l=a.width+e.padding+s;const d=0;const g=l;const m=-o;const y=0;const b=[{x:d+s,y:m},{x:g,y:m},{x:g,y},{x:d,y},{x:d,y:m+s},{x:d+s,y:m}];let x;const{cssStyles:C}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=p(b);const a=t.path(i,r);x=n.insert((()=>a),":first-child").attr("transform",`translate(${-l/2}, ${o/2})`);if(C){x.attr("style",C)}}else{x=tt(n,l,o,b)}if(i){x.attr("style",i)}u(e,x);e.intersect=function(t){return X.polygon(e,b,t)};return n}(0,s.K2)(et,"card");function rt(t,e){const{nodeStyles:r}=B(e);e.label="";const i=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id);const{cssStyles:n}=e;const a=Math.max(28,e.width??0);const o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}];const s=c.A.svg(i);const l=L(e,{});if(e.look!=="handDrawn"){l.roughness=0;l.fillStyle="solid"}const h=p(o);const d=s.path(h,l);const u=i.insert((()=>d),":first-child");if(n&&e.look!=="handDrawn"){u.selectAll("path").attr("style",n)}if(r&&e.look!=="handDrawn"){u.selectAll("path").attr("style",r)}e.width=28;e.height=28;e.intersect=function(t){return X.polygon(e,o,t)};return i}(0,s.K2)(rt,"choice");async function it(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,halfPadding:l}=await h(t,e,f(e));const d=a.width/2+l;let p;const{cssStyles:g}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=t.circle(0,0,d*2,r);p=n.insert((()=>i),":first-child");p.attr("class","basic label-container").attr("style",(0,o.KL)(g))}else{p=n.insert("circle",":first-child").attr("class","basic label-container").attr("style",i).attr("r",d).attr("cx",0).attr("cy",0)}u(e,p);e.intersect=function(t){s.Rm.info("Circle intersect",e,d,t);return X.circle(e,d,t)};return n}(0,s.K2)(it,"circle");function nt(t){const e=Math.cos(Math.PI/4);const r=Math.sin(Math.PI/4);const i=t*2;const n={x:i/2*e,y:i/2*r};const a={x:-(i/2)*e,y:i/2*r};const o={x:-(i/2)*e,y:-(i/2)*r};const s={x:i/2*e,y:-(i/2)*r};return`M ${a.x},${a.y} L ${s.x},${s.y}\n M ${n.x},${n.y} L ${o.x},${o.y}`}(0,s.K2)(nt,"createLine");function at(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;e.label="";const n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id);const a=Math.max(30,e?.width??0);const{cssStyles:o}=e;const l=c.A.svg(n);const h=L(e,{});if(e.look!=="handDrawn"){h.roughness=0;h.fillStyle="solid"}const d=l.circle(0,0,a*2,h);const p=nt(a);const g=l.path(p,h);const m=n.insert((()=>d),":first-child");m.insert((()=>g));if(o&&e.look!=="handDrawn"){m.selectAll("path").attr("style",o)}if(i&&e.look!=="handDrawn"){m.selectAll("path").attr("style",i)}u(e,m);e.intersect=function(t){s.Rm.info("crossedCircle intersect",e,{radius:a,point:t});const r=X.circle(e,a,t);return r};return n}(0,s.K2)(at,"crossedCircle");function ot(t,e,r,i=100,n=0,a=180){const o=[];const s=n*Math.PI/180;const l=a*Math.PI/180;const c=l-s;const h=c/(i-1);for(let d=0;d<i;d++){const i=s+d*h;const n=t+r*Math.cos(i);const a=e+r*Math.sin(i);o.push({x:-n,y:-a})}return o}(0,s.K2)(ot,"generateCirclePoints");async function st(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=a.width+(e.padding??0);const l=a.height+(e.padding??0);const d=Math.max(5,l*.1);const{cssStyles:g}=e;const m=[...ot(s/2,-l/2,d,30,-90,0),{x:-s/2-d,y:d},...ot(s/2+d*2,-d,d,20,-180,-270),...ot(s/2+d*2,d,d,20,-90,-180),{x:-s/2-d,y:-l/2},...ot(s/2,l/2,d,20,0,90)];const y=[{x:s/2,y:-l/2-d},{x:-s/2,y:-l/2-d},...ot(s/2,-l/2,d,20,-90,0),{x:-s/2-d,y:-d},...ot(s/2+s*.1,-d,d,20,-180,-270),...ot(s/2+s*.1,d,d,20,-90,-180),{x:-s/2-d,y:l/2},...ot(s/2,l/2,d,20,0,90),{x:-s/2,y:l/2+d},{x:s/2,y:l/2+d}];const b=c.A.svg(n);const x=L(e,{fill:"none"});if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const C=p(m);const v=C.replace("Z","");const k=b.path(v,x);const w=p(y);const S=b.path(w,{...x});const A=n.insert("g",":first-child");A.insert((()=>S),":first-child").attr("stroke-opacity",0);A.insert((()=>k),":first-child");A.attr("class","text");if(g&&e.look!=="handDrawn"){A.selectAll("path").attr("style",g)}if(i&&e.look!=="handDrawn"){A.selectAll("path").attr("style",i)}A.attr("transform",`translate(${d}, 0)`);o.attr("transform",`translate(${-s/2+d-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`);u(e,A);e.intersect=function(t){const r=X.polygon(e,y,t);return r};return n}(0,s.K2)(st,"curlyBraceLeft");function lt(t,e,r,i=100,n=0,a=180){const o=[];const s=n*Math.PI/180;const l=a*Math.PI/180;const c=l-s;const h=c/(i-1);for(let d=0;d<i;d++){const i=s+d*h;const n=t+r*Math.cos(i);const a=e+r*Math.sin(i);o.push({x:n,y:a})}return o}(0,s.K2)(lt,"generateCirclePoints");async function ct(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=a.width+(e.padding??0);const l=a.height+(e.padding??0);const d=Math.max(5,l*.1);const{cssStyles:g}=e;const m=[...lt(s/2,-l/2,d,20,-90,0),{x:s/2+d,y:-d},...lt(s/2+d*2,-d,d,20,-180,-270),...lt(s/2+d*2,d,d,20,-90,-180),{x:s/2+d,y:l/2},...lt(s/2,l/2,d,20,0,90)];const y=[{x:-s/2,y:-l/2-d},{x:s/2,y:-l/2-d},...lt(s/2,-l/2,d,20,-90,0),{x:s/2+d,y:-d},...lt(s/2+d*2,-d,d,20,-180,-270),...lt(s/2+d*2,d,d,20,-90,-180),{x:s/2+d,y:l/2},...lt(s/2,l/2,d,20,0,90),{x:s/2,y:l/2+d},{x:-s/2,y:l/2+d}];const b=c.A.svg(n);const x=L(e,{fill:"none"});if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const C=p(m);const v=C.replace("Z","");const k=b.path(v,x);const w=p(y);const S=b.path(w,{...x});const A=n.insert("g",":first-child");A.insert((()=>S),":first-child").attr("stroke-opacity",0);A.insert((()=>k),":first-child");A.attr("class","text");if(g&&e.look!=="handDrawn"){A.selectAll("path").attr("style",g)}if(i&&e.look!=="handDrawn"){A.selectAll("path").attr("style",i)}A.attr("transform",`translate(${-d}, 0)`);o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`);u(e,A);e.intersect=function(t){const r=X.polygon(e,y,t);return r};return n}(0,s.K2)(ct,"curlyBraceRight");function ht(t,e,r,i=100,n=0,a=180){const o=[];const s=n*Math.PI/180;const l=a*Math.PI/180;const c=l-s;const h=c/(i-1);for(let d=0;d<i;d++){const i=s+d*h;const n=t+r*Math.cos(i);const a=e+r*Math.sin(i);o.push({x:-n,y:-a})}return o}(0,s.K2)(ht,"generateCirclePoints");async function dt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=a.width+(e.padding??0);const l=a.height+(e.padding??0);const d=Math.max(5,l*.1);const{cssStyles:g}=e;const m=[...ht(s/2,-l/2,d,30,-90,0),{x:-s/2-d,y:d},...ht(s/2+d*2,-d,d,20,-180,-270),...ht(s/2+d*2,d,d,20,-90,-180),{x:-s/2-d,y:-l/2},...ht(s/2,l/2,d,20,0,90)];const y=[...ht(-s/2+d+d/2,-l/2,d,20,-90,-180),{x:s/2-d/2,y:d},...ht(-s/2-d/2,-d,d,20,0,90),...ht(-s/2-d/2,d,d,20,-90,0),{x:s/2-d/2,y:-d},...ht(-s/2+d+d/2,l/2,d,30,-180,-270)];const b=[{x:s/2,y:-l/2-d},{x:-s/2,y:-l/2-d},...ht(s/2,-l/2,d,20,-90,0),{x:-s/2-d,y:-d},...ht(s/2+d*2,-d,d,20,-180,-270),...ht(s/2+d*2,d,d,20,-90,-180),{x:-s/2-d,y:l/2},...ht(s/2,l/2,d,20,0,90),{x:-s/2,y:l/2+d},{x:s/2-d-d/2,y:l/2+d},...ht(-s/2+d+d/2,-l/2,d,20,-90,-180),{x:s/2-d/2,y:d},...ht(-s/2-d/2,-d,d,20,0,90),...ht(-s/2-d/2,d,d,20,-90,0),{x:s/2-d/2,y:-d},...ht(-s/2+d+d/2,l/2,d,30,-180,-270)];const x=c.A.svg(n);const C=L(e,{fill:"none"});if(e.look!=="handDrawn"){C.roughness=0;C.fillStyle="solid"}const v=p(m);const k=v.replace("Z","");const w=x.path(k,C);const S=p(y);const A=S.replace("Z","");const T=x.path(A,C);const M=p(b);const F=x.path(M,{...C});const _=n.insert("g",":first-child");_.insert((()=>F),":first-child").attr("stroke-opacity",0);_.insert((()=>w),":first-child");_.insert((()=>T),":first-child");_.attr("class","text");if(g&&e.look!=="handDrawn"){_.selectAll("path").attr("style",g)}if(i&&e.look!=="handDrawn"){_.selectAll("path").attr("style",i)}_.attr("transform",`translate(${d-d/4}, 0)`);o.attr("transform",`translate(${-s/2+(e.padding??0)/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)/2-(a.y-(a.top??0))})`);u(e,_);e.intersect=function(t){const r=X.polygon(e,b,t);return r};return n}(0,s.K2)(dt,"curlyBraces");async function ut(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=80,s=20;const l=Math.max(o,(a.width+(e.padding??0)*2)*1.25,e?.width??0);const d=Math.max(s,a.height+(e.padding??0)*2,e?.height??0);const g=d/2;const{cssStyles:y}=e;const b=c.A.svg(n);const x=L(e,{});if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const C=l,v=d;const k=C-g;const w=v/4;const S=[{x:k,y:0},{x:w,y:0},{x:0,y:v/2},{x:w,y:v},{x:k,y:v},...m(-k,-v/2,g,50,270,90)];const A=p(S);const T=b.path(A,x);const M=n.insert((()=>T),":first-child");M.attr("class","basic label-container");if(y&&e.look!=="handDrawn"){M.selectChildren("path").attr("style",y)}if(i&&e.look!=="handDrawn"){M.selectChildren("path").attr("style",i)}M.attr("transform",`translate(${-l/2}, ${-d/2})`);u(e,M);e.intersect=function(t){const r=X.polygon(e,S,t);return r};return n}(0,s.K2)(ut,"curvedTrapezoid");var ft=(0,s.K2)(((t,e,r,i,n,a)=>[`M${t},${e+a}`,`a${n},${a} 0,0,0 ${r},0`,`a${n},${a} 0,0,0 ${-r},0`,`l0,${i}`,`a${n},${a} 0,0,0 ${r},0`,`l0,${-i}`].join(" ")),"createCylinderPathD");var pt=(0,s.K2)(((t,e,r,i,n,a)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${n},${a} 0,0,0 ${-r},0`,`l0,${i}`,`a${n},${a} 0,0,0 ${r},0`,`l0,${-i}`].join(" ")),"createOuterCylinderPathD");var gt=(0,s.K2)(((t,e,r,i,n,a)=>[`M${t-r/2},${-i/2}`,`a${n},${a} 0,0,0 ${r},0`].join(" ")),"createInnerCylinderPathD");async function mt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:s}=await h(t,e,f(e));const l=Math.max(a.width+e.padding,e.width??0);const d=l/2;const p=d/(2.5+l/50);const g=Math.max(a.height+p+e.padding,e.height??0);let m;const{cssStyles:y}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=pt(0,0,l,g,d,p);const i=gt(0,p,l,g,d,p);const a=t.path(r,L(e,{}));const o=t.path(i,L(e,{fill:"none"}));m=n.insert((()=>o),":first-child");m=n.insert((()=>a),":first-child");m.attr("class","basic label-container");if(y){m.attr("style",y)}}else{const t=ft(0,0,l,g,d,p);m=n.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.KL)(y)).attr("style",i)}m.attr("label-offset-y",p);m.attr("transform",`translate(${-l/2}, ${-(g/2+p)})`);u(e,m);s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+(e.padding??0)/1.5-(a.y-(a.top??0))})`);e.intersect=function(t){const r=X.rect(e,t);const i=r.x-(e.x??0);if(d!=0&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-p)){let n=p*p*(1-i*i/(d*d));if(n>0){n=Math.sqrt(n)}n=p-n;if(t.y-(e.y??0)>0){n=-n}r.y+=n}return r};return n}(0,s.K2)(mt,"cylinder");async function yt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=a.width+e.padding;const l=a.height+e.padding;const d=l*.2;const p=-s/2;const g=-l/2-d/2;const{cssStyles:m}=e;const y=c.A.svg(n);const b=L(e,{});if(e.look!=="handDrawn"){b.roughness=0;b.fillStyle="solid"}const x=[{x:p,y:g+d},{x:-p,y:g+d},{x:-p,y:-g},{x:p,y:-g},{x:p,y:g},{x:-p,y:g},{x:-p,y:g+d}];const C=y.polygon(x.map((t=>[t.x,t.y])),b);const v=n.insert((()=>C),":first-child");v.attr("class","basic label-container");if(m&&e.look!=="handDrawn"){v.selectAll("path").attr("style",m)}if(i&&e.look!=="handDrawn"){v.selectAll("path").attr("style",i)}o.attr("transform",`translate(${p+(e.padding??0)/2-(a.x-(a.left??0))}, ${g+d+(e.padding??0)/2-(a.y-(a.top??0))})`);u(e,v);e.intersect=function(t){const r=X.rect(e,t);return r};return n}(0,s.K2)(yt,"dividedRectangle");async function bt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,halfPadding:l}=await h(t,e,f(e));const d=5;const p=a.width/2+l+d;const g=a.width/2+l;let m;const{cssStyles:y}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{roughness:.2,strokeWidth:2.5});const i=L(e,{roughness:.2,strokeWidth:1.5});const a=t.circle(0,0,p*2,r);const s=t.circle(0,0,g*2,i);m=n.insert("g",":first-child");m.attr("class",(0,o.KL)(e.cssClasses)).attr("style",(0,o.KL)(y));m.node()?.appendChild(a);m.node()?.appendChild(s)}else{m=n.insert("g",":first-child");const t=m.insert("circle",":first-child");const e=m.insert("circle");m.attr("class","basic label-container").attr("style",i);t.attr("class","outer-circle").attr("style",i).attr("r",p).attr("cx",0).attr("cy",0);e.attr("class","inner-circle").attr("style",i).attr("r",g).attr("cx",0).attr("cy",0)}u(e,m);e.intersect=function(t){s.Rm.info("DoubleCircle intersect",e,p,t);return X.circle(e,p,t)};return n}(0,s.K2)(bt,"doublecircle");function xt(t,e,{config:{themeVariables:r}}){const{labelStyles:i,nodeStyles:n}=B(e);e.label="";e.labelStyle=i;const a=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id);const o=7;const{cssStyles:l}=e;const h=c.A.svg(a);const{nodeBorder:d}=r;const p=L(e,{fillStyle:"solid"});if(e.look!=="handDrawn"){p.roughness=0}const g=h.circle(0,0,o*2,p);const m=a.insert((()=>g),":first-child");m.selectAll("path").attr("style",`fill: ${d} !important;`);if(l&&l.length>0&&e.look!=="handDrawn"){m.selectAll("path").attr("style",l)}if(n&&e.look!=="handDrawn"){m.selectAll("path").attr("style",n)}u(e,m);e.intersect=function(t){s.Rm.info("filledCircle intersect",e,{radius:o,point:t});const r=X.circle(e,o,t);return r};return a}(0,s.K2)(xt,"filledCircle");async function Ct(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const l=a.width+(e.padding??0);const d=l+a.height;const g=l+a.height;const m=[{x:0,y:-d},{x:g,y:-d},{x:g/2,y:0}];const{cssStyles:y}=e;const b=c.A.svg(n);const x=L(e,{});if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const C=p(m);const v=b.path(C,x);const k=n.insert((()=>v),":first-child").attr("transform",`translate(${-d/2}, ${d/2})`);if(y&&e.look!=="handDrawn"){k.selectChildren("path").attr("style",y)}if(i&&e.look!=="handDrawn"){k.selectChildren("path").attr("style",i)}e.width=l;e.height=d;u(e,k);o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${-d/2+(e.padding??0)/2+(a.y-(a.top??0))})`);e.intersect=function(t){s.Rm.info("Triangle intersect",e,m,t);return X.polygon(e,m,t)};return n}(0,s.K2)(Ct,"flippedTriangle");function vt(t,e,{dir:r,config:{state:i,themeVariables:n}}){const{nodeStyles:a}=B(e);e.label="";const o=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id);const{cssStyles:s}=e;let l=Math.max(70,e?.width??0);let h=Math.max(10,e?.height??0);if(r==="LR"){l=Math.max(10,e?.width??0);h=Math.max(70,e?.height??0)}const d=-1*l/2;const p=-1*h/2;const g=c.A.svg(o);const m=L(e,{stroke:n.lineColor,fill:n.lineColor});if(e.look!=="handDrawn"){m.roughness=0;m.fillStyle="solid"}const y=g.rectangle(d,p,l,h,m);const b=o.insert((()=>y),":first-child");if(s&&e.look!=="handDrawn"){b.selectAll("path").attr("style",s)}if(a&&e.look!=="handDrawn"){b.selectAll("path").attr("style",a)}u(e,b);const x=i?.padding??0;if(e.width&&e.height){e.width+=x/2||0;e.height+=x/2||0}e.intersect=function(t){return X.rect(e,t)};return o}(0,s.K2)(vt,"forkJoin");async function kt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const n=80,a=50;const{shapeSvg:o,bbox:l}=await h(t,e,f(e));const d=Math.max(n,l.width+(e.padding??0)*2,e?.width??0);const g=Math.max(a,l.height+(e.padding??0)*2,e?.height??0);const y=g/2;const{cssStyles:b}=e;const x=c.A.svg(o);const C=L(e,{});if(e.look!=="handDrawn"){C.roughness=0;C.fillStyle="solid"}const v=[{x:-d/2,y:-g/2},{x:d/2-y,y:-g/2},...m(-d/2+y,0,y,50,90,270),{x:d/2-y,y:g/2},{x:-d/2,y:g/2}];const k=p(v);const w=x.path(k,C);const S=o.insert((()=>w),":first-child");S.attr("class","basic label-container");if(b&&e.look!=="handDrawn"){S.selectChildren("path").attr("style",b)}if(i&&e.look!=="handDrawn"){S.selectChildren("path").attr("style",i)}u(e,S);e.intersect=function(t){s.Rm.info("Pill intersect",e,{radius:y,point:t});const r=X.polygon(e,v,t);return r};return o}(0,s.K2)(kt,"halfRoundedRectangle");var wt=(0,s.K2)(((t,e,r,i,n)=>[`M${t+n},${e}`,`L${t+r-n},${e}`,`L${t+r},${e-i/2}`,`L${t+r-n},${e-i}`,`L${t+n},${e-i}`,`L${t},${e-i/2}`,"Z"].join(" ")),"createHexagonPathD");async function St(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=4;const s=a.height+e.padding;const l=s/o;const d=a.width+2*l+e.padding;const p=[{x:l,y:0},{x:d-l,y:0},{x:d,y:-s/2},{x:d-l,y:-s},{x:l,y:-s},{x:0,y:-s/2}];let g;const{cssStyles:m}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=wt(0,0,d,s,l);const a=t.path(i,r);g=n.insert((()=>a),":first-child").attr("transform",`translate(${-d/2}, ${s/2})`);if(m){g.attr("style",m)}}else{g=tt(n,d,s,p)}if(i){g.attr("style",i)}e.width=d;e.height=s;u(e,g);e.intersect=function(t){return X.polygon(e,p,t)};return n}(0,s.K2)(St,"hexagon");async function At(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.label="";e.labelStyle=r;const{shapeSvg:n}=await h(t,e,f(e));const a=Math.max(30,e?.width??0);const o=Math.max(30,e?.height??0);const{cssStyles:l}=e;const d=c.A.svg(n);const g=L(e,{});if(e.look!=="handDrawn"){g.roughness=0;g.fillStyle="solid"}const m=[{x:0,y:0},{x:a,y:0},{x:0,y:o},{x:a,y:o}];const y=p(m);const b=d.path(y,g);const x=n.insert((()=>b),":first-child");x.attr("class","basic label-container");if(l&&e.look!=="handDrawn"){x.selectChildren("path").attr("style",l)}if(i&&e.look!=="handDrawn"){x.selectChildren("path").attr("style",i)}x.attr("transform",`translate(${-a/2}, ${-o/2})`);u(e,x);e.intersect=function(t){s.Rm.info("Pill intersect",e,{points:m});const r=X.polygon(e,m,t);return r};return n}(0,s.K2)(At,"hourglass");async function Tt(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=B(e);e.labelStyle=a;const o=e.assetHeight??48;const l=e.assetWidth??48;const d=Math.max(o,l);const f=n?.wrappingWidth;e.width=Math.max(d,f??0);const{shapeSvg:p,bbox:g,label:m}=await h(t,e,"icon-shape default");const y=e.pos==="t";const b=d;const x=d;const{nodeBorder:C}=r;const{stylesMap:v}=A(e);const k=-x/2;const w=-b/2;const S=e.label?8:0;const T=c.A.svg(p);const M=L(e,{stroke:"none",fill:"none"});if(e.look!=="handDrawn"){M.roughness=0;M.fillStyle="solid"}const F=T.rectangle(k,w,x,b,M);const _=Math.max(x,g.width);const $=b+g.height+S;const E=T.rectangle(-_/2,-$/2,_,$,{...M,fill:"transparent",stroke:"none"});const D=p.insert((()=>F),":first-child");const O=p.insert((()=>E));if(e.icon){const t=p.append("g");t.html(`<g>${await(0,i.WY)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`);const r=t.node().getBBox();const n=r.width;const a=r.height;const o=r.x;const s=r.y;t.attr("transform",`translate(${-n/2-o},${y?g.height/2+S/2-a/2-s:-g.height/2-S/2-a/2-s})`);t.attr("style",`color: ${v.get("stroke")??C};`)}m.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${y?-$/2:$/2-g.height})`);D.attr("transform",`translate(${0},${y?g.height/2+S/2:-g.height/2-S/2})`);u(e,O);e.intersect=function(t){s.Rm.info("iconSquare intersect",e,t);if(!e.label){return X.rect(e,t)}const r=e.x??0;const i=e.y??0;const n=e.height??0;let a=[];if(y){a=[{x:r-g.width/2,y:i-n/2},{x:r+g.width/2,y:i-n/2},{x:r+g.width/2,y:i-n/2+g.height+S},{x:r+x/2,y:i-n/2+g.height+S},{x:r+x/2,y:i+n/2},{x:r-x/2,y:i+n/2},{x:r-x/2,y:i-n/2+g.height+S},{x:r-g.width/2,y:i-n/2+g.height+S}]}else{a=[{x:r-x/2,y:i-n/2},{x:r+x/2,y:i-n/2},{x:r+x/2,y:i-n/2+b},{x:r+g.width/2,y:i-n/2+b},{x:r+g.width/2/2,y:i+n/2},{x:r-g.width/2,y:i+n/2},{x:r-g.width/2,y:i-n/2+b},{x:r-x/2,y:i-n/2+b}]}const o=X.polygon(e,a,t);return o};return p}(0,s.K2)(Tt,"icon");async function Bt(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=B(e);e.labelStyle=a;const o=e.assetHeight??48;const l=e.assetWidth??48;const d=Math.max(o,l);const f=n?.wrappingWidth;e.width=Math.max(d,f??0);const{shapeSvg:p,bbox:g,label:m}=await h(t,e,"icon-shape default");const y=20;const b=e.label?8:0;const x=e.pos==="t";const{nodeBorder:C,mainBkg:v}=r;const{stylesMap:k}=A(e);const w=c.A.svg(p);const S=L(e,{});if(e.look!=="handDrawn"){S.roughness=0;S.fillStyle="solid"}const T=k.get("fill");S.stroke=T??v;const M=p.append("g");if(e.icon){M.html(`<g>${await(0,i.WY)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`)}const F=M.node().getBBox();const _=F.width;const $=F.height;const E=F.x;const D=F.y;const O=Math.max(_,$)*Math.SQRT2+y*2;const I=w.circle(0,0,O,S);const K=Math.max(O,g.width);const R=O+g.height+b;const P=w.rectangle(-K/2,-R/2,K,R,{...S,fill:"transparent",stroke:"none"});const N=p.insert((()=>I),":first-child");const q=p.insert((()=>P));M.attr("transform",`translate(${-_/2-E},${x?g.height/2+b/2-$/2-D:-g.height/2-b/2-$/2-D})`);M.attr("style",`color: ${k.get("stroke")??C};`);m.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${x?-R/2:R/2-g.height})`);N.attr("transform",`translate(${0},${x?g.height/2+b/2:-g.height/2-b/2})`);u(e,q);e.intersect=function(t){s.Rm.info("iconSquare intersect",e,t);const r=X.rect(e,t);return r};return p}(0,s.K2)(Bt,"iconCircle");async function Lt(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=B(e);e.labelStyle=a;const o=e.assetHeight??48;const l=e.assetWidth??48;const d=Math.max(o,l);const f=n?.wrappingWidth;e.width=Math.max(d,f??0);const{shapeSvg:p,bbox:g,halfPadding:m,label:y}=await h(t,e,"icon-shape default");const b=e.pos==="t";const x=d+m*2;const C=d+m*2;const{nodeBorder:v,mainBkg:k}=r;const{stylesMap:S}=A(e);const T=-C/2;const M=-x/2;const F=e.label?8:0;const _=c.A.svg(p);const $=L(e,{});if(e.look!=="handDrawn"){$.roughness=0;$.fillStyle="solid"}const E=S.get("fill");$.stroke=E??k;const D=_.path(w(T,M,C,x,5),$);const O=Math.max(C,g.width);const I=x+g.height+F;const K=_.rectangle(-O/2,-I/2,O,I,{...$,fill:"transparent",stroke:"none"});const R=p.insert((()=>D),":first-child").attr("class","icon-shape2");const P=p.insert((()=>K));if(e.icon){const t=p.append("g");t.html(`<g>${await(0,i.WY)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`);const r=t.node().getBBox();const n=r.width;const a=r.height;const o=r.x;const s=r.y;t.attr("transform",`translate(${-n/2-o},${b?g.height/2+F/2-a/2-s:-g.height/2-F/2-a/2-s})`);t.attr("style",`color: ${S.get("stroke")??v};`)}y.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${b?-I/2:I/2-g.height})`);R.attr("transform",`translate(${0},${b?g.height/2+F/2:-g.height/2-F/2})`);u(e,P);e.intersect=function(t){s.Rm.info("iconSquare intersect",e,t);if(!e.label){return X.rect(e,t)}const r=e.x??0;const i=e.y??0;const n=e.height??0;let a=[];if(b){a=[{x:r-g.width/2,y:i-n/2},{x:r+g.width/2,y:i-n/2},{x:r+g.width/2,y:i-n/2+g.height+F},{x:r+C/2,y:i-n/2+g.height+F},{x:r+C/2,y:i+n/2},{x:r-C/2,y:i+n/2},{x:r-C/2,y:i-n/2+g.height+F},{x:r-g.width/2,y:i-n/2+g.height+F}]}else{a=[{x:r-C/2,y:i-n/2},{x:r+C/2,y:i-n/2},{x:r+C/2,y:i-n/2+x},{x:r+g.width/2,y:i-n/2+x},{x:r+g.width/2/2,y:i+n/2},{x:r-g.width/2,y:i+n/2},{x:r-g.width/2,y:i-n/2+x},{x:r-C/2,y:i-n/2+x}]}const o=X.polygon(e,a,t);return o};return p}(0,s.K2)(Lt,"iconRounded");async function Mt(t,e,{config:{themeVariables:r,flowchart:n}}){const{labelStyles:a}=B(e);e.labelStyle=a;const o=e.assetHeight??48;const l=e.assetWidth??48;const d=Math.max(o,l);const f=n?.wrappingWidth;e.width=Math.max(d,f??0);const{shapeSvg:p,bbox:g,halfPadding:m,label:y}=await h(t,e,"icon-shape default");const b=e.pos==="t";const x=d+m*2;const C=d+m*2;const{nodeBorder:v,mainBkg:k}=r;const{stylesMap:S}=A(e);const T=-C/2;const M=-x/2;const F=e.label?8:0;const _=c.A.svg(p);const $=L(e,{});if(e.look!=="handDrawn"){$.roughness=0;$.fillStyle="solid"}const E=S.get("fill");$.stroke=E??k;const D=_.path(w(T,M,C,x,.1),$);const O=Math.max(C,g.width);const I=x+g.height+F;const K=_.rectangle(-O/2,-I/2,O,I,{...$,fill:"transparent",stroke:"none"});const R=p.insert((()=>D),":first-child");const P=p.insert((()=>K));if(e.icon){const t=p.append("g");t.html(`<g>${await(0,i.WY)(e.icon,{height:d,width:d,fallbackPrefix:""})}</g>`);const r=t.node().getBBox();const n=r.width;const a=r.height;const o=r.x;const s=r.y;t.attr("transform",`translate(${-n/2-o},${b?g.height/2+F/2-a/2-s:-g.height/2-F/2-a/2-s})`);t.attr("style",`color: ${S.get("stroke")??v};`)}y.attr("transform",`translate(${-g.width/2-(g.x-(g.left??0))},${b?-I/2:I/2-g.height})`);R.attr("transform",`translate(${0},${b?g.height/2+F/2:-g.height/2-F/2})`);u(e,P);e.intersect=function(t){s.Rm.info("iconSquare intersect",e,t);if(!e.label){return X.rect(e,t)}const r=e.x??0;const i=e.y??0;const n=e.height??0;let a=[];if(b){a=[{x:r-g.width/2,y:i-n/2},{x:r+g.width/2,y:i-n/2},{x:r+g.width/2,y:i-n/2+g.height+F},{x:r+C/2,y:i-n/2+g.height+F},{x:r+C/2,y:i+n/2},{x:r-C/2,y:i+n/2},{x:r-C/2,y:i-n/2+g.height+F},{x:r-g.width/2,y:i-n/2+g.height+F}]}else{a=[{x:r-C/2,y:i-n/2},{x:r+C/2,y:i-n/2},{x:r+C/2,y:i-n/2+x},{x:r+g.width/2,y:i-n/2+x},{x:r+g.width/2/2,y:i+n/2},{x:r-g.width/2,y:i+n/2},{x:r-g.width/2,y:i-n/2+x},{x:r-C/2,y:i-n/2+x}]}const o=X.polygon(e,a,t);return o};return p}(0,s.K2)(Mt,"iconSquare");async function Ft(t,e,{config:{flowchart:r}}){const i=new Image;i.src=e?.img??"";await i.decode();const n=Number(i.naturalWidth.toString().replace("px",""));const a=Number(i.naturalHeight.toString().replace("px",""));e.imageAspectRatio=n/a;const{labelStyles:o}=B(e);e.labelStyle=o;const l=r?.wrappingWidth;e.defaultWidth=r?.wrappingWidth;const d=Math.max(e.label?l??0:0,e?.assetWidth??n);const f=e.constraint==="on"?e?.assetHeight?e.assetHeight*e.imageAspectRatio:d:d;const p=e.constraint==="on"?f/e.imageAspectRatio:e?.assetHeight??a;e.width=Math.max(f,l??0);const{shapeSvg:g,bbox:m,label:y}=await h(t,e,"image-shape default");const b=e.pos==="t";const x=-f/2;const C=-p/2;const v=e.label?8:0;const k=c.A.svg(g);const w=L(e,{});if(e.look!=="handDrawn"){w.roughness=0;w.fillStyle="solid"}const S=k.rectangle(x,C,f,p,w);const A=Math.max(f,m.width);const T=p+m.height+v;const M=k.rectangle(-A/2,-T/2,A,T,{...w,fill:"none",stroke:"none"});const F=g.insert((()=>S),":first-child");const _=g.insert((()=>M));if(e.img){const t=g.append("image");t.attr("href",e.img);t.attr("width",f);t.attr("height",p);t.attr("preserveAspectRatio","none");t.attr("transform",`translate(${-f/2},${b?T/2-p:-T/2})`)}y.attr("transform",`translate(${-m.width/2-(m.x-(m.left??0))},${b?-p/2-m.height/2-v/2:p/2-m.height/2+v/2})`);F.attr("transform",`translate(${0},${b?m.height/2+v/2:-m.height/2-v/2})`);u(e,_);e.intersect=function(t){s.Rm.info("iconSquare intersect",e,t);if(!e.label){return X.rect(e,t)}const r=e.x??0;const i=e.y??0;const n=e.height??0;let a=[];if(b){a=[{x:r-m.width/2,y:i-n/2},{x:r+m.width/2,y:i-n/2},{x:r+m.width/2,y:i-n/2+m.height+v},{x:r+f/2,y:i-n/2+m.height+v},{x:r+f/2,y:i+n/2},{x:r-f/2,y:i+n/2},{x:r-f/2,y:i-n/2+m.height+v},{x:r-m.width/2,y:i-n/2+m.height+v}]}else{a=[{x:r-f/2,y:i-n/2},{x:r+f/2,y:i-n/2},{x:r+f/2,y:i-n/2+p},{x:r+m.width/2,y:i-n/2+p},{x:r+m.width/2/2,y:i+n/2},{x:r-m.width/2,y:i+n/2},{x:r-m.width/2,y:i-n/2+p},{x:r-f/2,y:i-n/2+p}]}const o=X.polygon(e,a,t);return o};return g}(0,s.K2)(Ft,"imageSquare");async function _t(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=Math.max(a.width+(e.padding??0)*2,e?.width??0);const s=Math.max(a.height+(e.padding??0)*2,e?.height??0);const l=[{x:0,y:0},{x:o,y:0},{x:o+3*s/6,y:-s},{x:-3*s/6,y:-s}];let d;const{cssStyles:g}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=p(l);const a=t.path(i,r);d=n.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`);if(g){d.attr("style",g)}}else{d=tt(n,o,s,l)}if(i){d.attr("style",i)}e.width=o;e.height=s;u(e,d);e.intersect=function(t){return X.polygon(e,l,t)};return n}(0,s.K2)(_t,"inv_trapezoid");async function $t(t,e,r){const{labelStyles:i,nodeStyles:n}=B(e);e.labelStyle=i;const{shapeSvg:a,bbox:s}=await h(t,e,f(e));const l=Math.max(s.width+r.labelPaddingX*2,e?.width||0);const d=Math.max(s.height+r.labelPaddingY*2,e?.height||0);const p=-l/2;const g=-d/2;let m;let{rx:y,ry:b}=e;const{cssStyles:x}=e;if(r?.rx&&r.ry){y=r.rx;b=r.ry}if(e.look==="handDrawn"){const t=c.A.svg(a);const r=L(e,{});const i=y||b?t.path(w(p,g,l,d,y||0),r):t.rectangle(p,g,l,d,r);m=a.insert((()=>i),":first-child");m.attr("class","basic label-container").attr("style",(0,o.KL)(x))}else{m=a.insert("rect",":first-child");m.attr("class","basic label-container").attr("style",n).attr("rx",(0,o.KL)(y)).attr("ry",(0,o.KL)(b)).attr("x",p).attr("y",g).attr("width",l).attr("height",d)}u(e,m);e.intersect=function(t){return X.rect(e,t)};return a}(0,s.K2)($t,"drawRect");async function Et(t,e){const{shapeSvg:r,bbox:i,label:n}=await h(t,e,"label");const a=r.insert("rect",":first-child");const o=.1;const s=.1;a.attr("width",o).attr("height",s);r.attr("class","label edgeLabel");n.attr("transform",`translate(${-(i.width/2)-(i.x-(i.left??0))}, ${-(i.height/2)-(i.y-(i.top??0))})`);u(e,a);e.intersect=function(t){return X.rect(e,t)};return r}(0,s.K2)(Et,"labelRect");async function Dt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=Math.max(a.width+(e.padding??0),e?.width??0);const s=Math.max(a.height+(e.padding??0),e?.height??0);const l=[{x:0,y:0},{x:o+3*s/6,y:0},{x:o,y:-s},{x:-(3*s)/6,y:-s}];let d;const{cssStyles:g}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=p(l);const a=t.path(i,r);d=n.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`);if(g){d.attr("style",g)}}else{d=tt(n,o,s,l)}if(i){d.attr("style",i)}e.width=o;e.height=s;u(e,d);e.intersect=function(t){return X.polygon(e,l,t)};return n}(0,s.K2)(Dt,"lean_left");async function Ot(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=Math.max(a.width+(e.padding??0),e?.width??0);const s=Math.max(a.height+(e.padding??0),e?.height??0);const l=[{x:-3*s/6,y:0},{x:o,y:0},{x:o+3*s/6,y:-s},{x:0,y:-s}];let d;const{cssStyles:g}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=p(l);const a=t.path(i,r);d=n.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`);if(g){d.attr("style",g)}}else{d=tt(n,o,s,l)}if(i){d.attr("style",i)}e.width=o;e.height=s;u(e,d);e.intersect=function(t){return X.polygon(e,l,t)};return n}(0,s.K2)(Ot,"lean_right");function It(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.label="";e.labelStyle=r;const n=t.insert("g").attr("class",f(e)).attr("id",e.domId??e.id);const{cssStyles:a}=e;const o=Math.max(35,e?.width??0);const l=Math.max(35,e?.height??0);const h=7;const d=[{x:o,y:0},{x:0,y:l+h/2},{x:o-2*h,y:l+h/2},{x:0,y:2*l},{x:o,y:l-h/2},{x:2*h,y:l-h/2}];const g=c.A.svg(n);const m=L(e,{});if(e.look!=="handDrawn"){m.roughness=0;m.fillStyle="solid"}const y=p(d);const b=g.path(y,m);const x=n.insert((()=>b),":first-child");if(a&&e.look!=="handDrawn"){x.selectAll("path").attr("style",a)}if(i&&e.look!=="handDrawn"){x.selectAll("path").attr("style",i)}x.attr("transform",`translate(-${o/2},${-l})`);u(e,x);e.intersect=function(t){s.Rm.info("lightningBolt intersect",e,t);const r=X.polygon(e,d,t);return r};return n}(0,s.K2)(It,"lightningBolt");var Kt=(0,s.K2)(((t,e,r,i,n,a,o)=>[`M${t},${e+a}`,`a${n},${a} 0,0,0 ${r},0`,`a${n},${a} 0,0,0 ${-r},0`,`l0,${i}`,`a${n},${a} 0,0,0 ${r},0`,`l0,${-i}`,`M${t},${e+a+o}`,`a${n},${a} 0,0,0 ${r},0`].join(" ")),"createCylinderPathD");var Rt=(0,s.K2)(((t,e,r,i,n,a,o)=>[`M${t},${e+a}`,`M${t+r},${e+a}`,`a${n},${a} 0,0,0 ${-r},0`,`l0,${i}`,`a${n},${a} 0,0,0 ${r},0`,`l0,${-i}`,`M${t},${e+a+o}`,`a${n},${a} 0,0,0 ${r},0`].join(" ")),"createOuterCylinderPathD");var Pt=(0,s.K2)(((t,e,r,i,n,a)=>[`M${t-r/2},${-i/2}`,`a${n},${a} 0,0,0 ${r},0`].join(" ")),"createInnerCylinderPathD");async function Nt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:s}=await h(t,e,f(e));const l=Math.max(a.width+(e.padding??0),e.width??0);const d=l/2;const p=d/(2.5+l/50);const g=Math.max(a.height+p+(e.padding??0),e.height??0);const m=g*.1;let y;const{cssStyles:b}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=Rt(0,0,l,g,d,p,m);const i=Pt(0,p,l,g,d,p);const a=L(e,{});const o=t.path(r,a);const s=t.path(i,a);const h=n.insert((()=>s),":first-child");h.attr("class","line");y=n.insert((()=>o),":first-child");y.attr("class","basic label-container");if(b){y.attr("style",b)}}else{const t=Kt(0,0,l,g,d,p,m);y=n.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.KL)(b)).attr("style",i)}y.attr("label-offset-y",p);y.attr("transform",`translate(${-l/2}, ${-(g/2+p)})`);u(e,y);s.attr("transform",`translate(${-(a.width/2)-(a.x-(a.left??0))}, ${-(a.height/2)+p-(a.y-(a.top??0))})`);e.intersect=function(t){const r=X.rect(e,t);const i=r.x-(e.x??0);if(d!=0&&(Math.abs(i)<(e.width??0)/2||Math.abs(i)==(e.width??0)/2&&Math.abs(r.y-(e.y??0))>(e.height??0)/2-p)){let n=p*p*(1-i*i/(d*d));if(n>0){n=Math.sqrt(n)}n=p-n;if(t.y-(e.y??0)>0){n=-n}r.y+=n}return r};return n}(0,s.K2)(Nt,"linedCylinder");async function qt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0)*2,e?.width??0);const l=Math.max(a.height+(e.padding??0)*2,e?.height??0);const d=l/4;const p=l+d;const{cssStyles:m}=e;const y=c.A.svg(n);const b=L(e,{});if(e.look!=="handDrawn"){b.roughness=0;b.fillStyle="solid"}const x=[{x:-s/2-s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:p/2},...g(-s/2-s/2*.1,p/2,s/2+s/2*.1,p/2,d,.8),{x:s/2+s/2*.1,y:-p/2},{x:-s/2-s/2*.1,y:-p/2},{x:-s/2,y:-p/2},{x:-s/2,y:p/2*1.1},{x:-s/2,y:-p/2}];const C=y.polygon(x.map((t=>[t.x,t.y])),b);const v=n.insert((()=>C),":first-child");v.attr("class","basic label-container");if(m&&e.look!=="handDrawn"){v.selectAll("path").attr("style",m)}if(i&&e.look!=="handDrawn"){v.selectAll("path").attr("style",i)}v.attr("transform",`translate(0,${-d/2})`);o.attr("transform",`translate(${-s/2+(e.padding??0)+s/2*.1/2-(a.x-(a.left??0))},${-l/2+(e.padding??0)-d/2-(a.y-(a.top??0))})`);u(e,v);e.intersect=function(t){const r=X.polygon(e,x,t);return r};return n}(0,s.K2)(qt,"linedWaveEdgedRect");async function zt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0)*2,e?.width??0);const l=Math.max(a.height+(e.padding??0)*2,e?.height??0);const d=5;const g=-s/2;const m=-l/2;const{cssStyles:y}=e;const b=c.A.svg(n);const x=L(e,{});const C=[{x:g-d,y:m+d},{x:g-d,y:m+l+d},{x:g+s-d,y:m+l+d},{x:g+s-d,y:m+l},{x:g+s,y:m+l},{x:g+s,y:m+l-d},{x:g+s+d,y:m+l-d},{x:g+s+d,y:m-d},{x:g+d,y:m-d},{x:g+d,y:m},{x:g,y:m},{x:g,y:m+d}];const v=[{x:g,y:m+d},{x:g+s-d,y:m+d},{x:g+s-d,y:m+l},{x:g+s,y:m+l},{x:g+s,y:m},{x:g,y:m}];if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const k=p(C);const w=b.path(k,x);const S=p(v);const A=b.path(S,{...x,fill:"none"});const T=n.insert((()=>A),":first-child");T.insert((()=>w),":first-child");T.attr("class","basic label-container");if(y&&e.look!=="handDrawn"){T.selectAll("path").attr("style",y)}if(i&&e.look!=="handDrawn"){T.selectAll("path").attr("style",i)}o.attr("transform",`translate(${-(a.width/2)-d-(a.x-(a.left??0))}, ${-(a.height/2)+d-(a.y-(a.top??0))})`);u(e,T);e.intersect=function(t){const r=X.polygon(e,C,t);return r};return n}(0,s.K2)(zt,"multiRect");async function jt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0)*2,e?.width??0);const l=Math.max(a.height+(e.padding??0)*2,e?.height??0);const d=l/4;const m=l+d;const y=-s/2;const b=-m/2;const x=5;const{cssStyles:C}=e;const v=g(y-x,b+m+x,y+s-x,b+m+x,d,.8);const k=v?.[v.length-1];const w=[{x:y-x,y:b+x},{x:y-x,y:b+m+x},...v,{x:y+s-x,y:k.y-x},{x:y+s,y:k.y-x},{x:y+s,y:k.y-2*x},{x:y+s+x,y:k.y-2*x},{x:y+s+x,y:b-x},{x:y+x,y:b-x},{x:y+x,y:b},{x:y,y:b},{x:y,y:b+x}];const S=[{x:y,y:b+x},{x:y+s-x,y:b+x},{x:y+s-x,y:k.y-x},{x:y+s,y:k.y-x},{x:y+s,y:b},{x:y,y:b}];const A=c.A.svg(n);const T=L(e,{});if(e.look!=="handDrawn"){T.roughness=0;T.fillStyle="solid"}const M=p(w);const F=A.path(M,T);const _=p(S);const $=A.path(_,T);const E=n.insert((()=>F),":first-child");E.insert((()=>$));E.attr("class","basic label-container");if(C&&e.look!=="handDrawn"){E.selectAll("path").attr("style",C)}if(i&&e.look!=="handDrawn"){E.selectAll("path").attr("style",i)}E.attr("transform",`translate(0,${-d/2})`);o.attr("transform",`translate(${-(a.width/2)-x-(a.x-(a.left??0))}, ${-(a.height/2)+x-d/2-(a.y-(a.top??0))})`);u(e,E);e.intersect=function(t){const r=X.polygon(e,w,t);return r};return n}(0,s.K2)(jt,"multiWaveEdgedRectangle");async function Wt(t,e,{config:{themeVariables:r}}){const{labelStyles:i,nodeStyles:n}=B(e);e.labelStyle=i;const a=e.useHtmlLabels||(0,s.zj)().flowchart?.htmlLabels!==false;if(!a){e.centerLabel=true}const{shapeSvg:o,bbox:l}=await h(t,e,f(e));const d=Math.max(l.width+(e.padding??0)*2,e?.width??0);const p=Math.max(l.height+(e.padding??0)*2,e?.height??0);const g=-d/2;const m=-p/2;const{cssStyles:y}=e;const b=c.A.svg(o);const x=L(e,{fill:r.noteBkgColor,stroke:r.noteBorderColor});if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const C=b.rectangle(g,m,d,p,x);const v=o.insert((()=>C),":first-child");v.attr("class","basic label-container");if(y&&e.look!=="handDrawn"){v.selectAll("path").attr("style",y)}if(n&&e.look!=="handDrawn"){v.selectAll("path").attr("style",n)}u(e,v);e.intersect=function(t){return X.rect(e,t)};return o}(0,s.K2)(Wt,"note");var Ht=(0,s.K2)(((t,e,r)=>[`M${t+r/2},${e}`,`L${t+r},${e-r/2}`,`L${t+r/2},${e-r}`,`L${t},${e-r/2}`,"Z"].join(" ")),"createDecisionBoxPathD");async function Ut(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=a.width+e.padding;const l=a.height+e.padding;const d=o+l;const p=[{x:d/2,y:0},{x:d,y:-d/2},{x:d/2,y:-d},{x:0,y:-d/2}];let g;const{cssStyles:m}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=Ht(0,0,d);const a=t.path(i,r);g=n.insert((()=>a),":first-child").attr("transform",`translate(${-d/2}, ${d/2})`);if(m){g.attr("style",m)}}else{g=tt(n,d,d,p)}if(i){g.attr("style",i)}u(e,g);e.intersect=function(t){s.Rm.debug("APA12 Intersect called SPLIT\npoint:",t,"\nnode:\n",e,"\nres:",X.polygon(e,p,t));return X.polygon(e,p,t)};return n}(0,s.K2)(Ut,"question");async function Yt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0),e?.width??0);const l=Math.max(a.height+(e.padding??0),e?.height??0);const d=-s/2;const g=-l/2;const m=g/2;const y=[{x:d+m,y:g},{x:d,y:0},{x:d+m,y:-g},{x:-d,y:-g},{x:-d,y:g}];const{cssStyles:b}=e;const x=c.A.svg(n);const C=L(e,{});if(e.look!=="handDrawn"){C.roughness=0;C.fillStyle="solid"}const v=p(y);const k=x.path(v,C);const w=n.insert((()=>k),":first-child");w.attr("class","basic label-container");if(b&&e.look!=="handDrawn"){w.selectAll("path").attr("style",b)}if(i&&e.look!=="handDrawn"){w.selectAll("path").attr("style",i)}w.attr("transform",`translate(${-m/2},0)`);o.attr("transform",`translate(${-m/2-a.width/2-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`);u(e,w);e.intersect=function(t){return X.polygon(e,y,t)};return n}(0,s.K2)(Yt,"rect_left_inv_arrow");async function Gt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;let n;if(!e.cssClasses){n="node default"}else{n="node "+e.cssClasses}const a=t.insert("g").attr("class",n).attr("id",e.domId||e.id);const o=a.insert("g");const h=a.insert("g").attr("class","label").attr("style",i);const d=e.description;const f=e.label;const p=h.node().appendChild(await k(f,e.labelStyle,true,true));let g={width:0,height:0};if((0,s._3)((0,s.D7)()?.flowchart?.htmlLabels)){const t=p.children[0];const e=(0,l.Ltv)(p);g=t.getBoundingClientRect();e.attr("width",g.width);e.attr("height",g.height)}s.Rm.info("Text 2",d);const m=d||[];const y=p.getBBox();const b=h.node().appendChild(await k(m.join?m.join("<br/>"):m,e.labelStyle,true,true));const x=b.children[0];const C=(0,l.Ltv)(b);g=x.getBoundingClientRect();C.attr("width",g.width);C.attr("height",g.height);const v=(e.padding||0)/2;(0,l.Ltv)(b).attr("transform","translate( "+(g.width>y.width?0:(y.width-g.width)/2)+", "+(y.height+v+5)+")");(0,l.Ltv)(p).attr("transform","translate( "+(g.width<y.width?0:-(y.width-g.width)/2)+", 0)");g=h.node().getBBox();h.attr("transform","translate("+-g.width/2+", "+(-g.height/2-v+3)+")");const S=g.width+(e.padding||0);const A=g.height+(e.padding||0);const T=-g.width/2-v;const M=-g.height/2-v;let F;let _;if(e.look==="handDrawn"){const t=c.A.svg(a);const r=L(e,{});const i=t.path(w(T,M,S,A,e.rx||0),r);const n=t.line(-g.width/2-v,-g.height/2-v+y.height+v,g.width/2+v,-g.height/2-v+y.height+v,r);_=a.insert((()=>{s.Rm.debug("Rough node insert CXC",i);return n}),":first-child");F=a.insert((()=>{s.Rm.debug("Rough node insert CXC",i);return i}),":first-child")}else{F=o.insert("rect",":first-child");_=o.insert("line");F.attr("class","outer title-state").attr("style",i).attr("x",-g.width/2-v).attr("y",-g.height/2-v).attr("width",g.width+(e.padding||0)).attr("height",g.height+(e.padding||0));_.attr("class","divider").attr("x1",-g.width/2-v).attr("x2",g.width/2+v).attr("y1",-g.height/2-v+y.height+v).attr("y2",-g.height/2-v+y.height+v)}u(e,F);e.intersect=function(t){return X.rect(e,t)};return a}(0,s.K2)(Gt,"rectWithTitle");async function Vt(t,e){const r={rx:5,ry:5,classes:"",labelPaddingX:(e?.padding||0)*1,labelPaddingY:(e?.padding||0)*1};return $t(t,e,r)}(0,s.K2)(Vt,"roundedRect");async function Xt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:s}=await h(t,e,f(e));const l=e?.padding??0;const d=Math.max(a.width+(e.padding??0)*2,e?.width??0);const p=Math.max(a.height+(e.padding??0)*2,e?.height??0);const g=-a.width/2-l;const m=-a.height/2-l;const{cssStyles:y}=e;const b=c.A.svg(n);const x=L(e,{});if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const C=[{x:g,y:m},{x:g+d+8,y:m},{x:g+d+8,y:m+p},{x:g-8,y:m+p},{x:g-8,y:m},{x:g,y:m},{x:g,y:m+p}];const v=b.polygon(C.map((t=>[t.x,t.y])),x);const k=n.insert((()=>v),":first-child");k.attr("class","basic label-container").attr("style",(0,o.KL)(y));if(i&&e.look!=="handDrawn"){k.selectAll("path").attr("style",i)}if(y&&e.look!=="handDrawn"){k.selectAll("path").attr("style",i)}s.attr("transform",`translate(${-d/2+4+(e.padding??0)-(a.x-(a.left??0))},${-p/2+(e.padding??0)-(a.y-(a.top??0))})`);u(e,k);e.intersect=function(t){return X.rect(e,t)};return n}(0,s.K2)(Xt,"shadedProcess");async function Zt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0)*2,e?.width??0);const l=Math.max(a.height+(e.padding??0)*2,e?.height??0);const d=-s/2;const g=-l/2;const{cssStyles:m}=e;const y=c.A.svg(n);const b=L(e,{});if(e.look!=="handDrawn"){b.roughness=0;b.fillStyle="solid"}const x=[{x:d,y:g},{x:d,y:g+l},{x:d+s,y:g+l},{x:d+s,y:g-l/2}];const C=p(x);const v=y.path(C,b);const k=n.insert((()=>v),":first-child");k.attr("class","basic label-container");if(m&&e.look!=="handDrawn"){k.selectChildren("path").attr("style",m)}if(i&&e.look!=="handDrawn"){k.selectChildren("path").attr("style",i)}k.attr("transform",`translate(0, ${l/4})`);o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))}, ${-l/4+(e.padding??0)-(a.y-(a.top??0))})`);u(e,k);e.intersect=function(t){const r=X.polygon(e,x,t);return r};return n}(0,s.K2)(Zt,"slopedRect");async function Jt(t,e){const r={rx:0,ry:0,classes:"",labelPaddingX:(e?.padding||0)*2,labelPaddingY:(e?.padding||0)*1};return $t(t,e,r)}(0,s.K2)(Jt,"squareRect");async function Qt(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const s=a.height+e.padding;const l=a.width+s/4+e.padding;let d;const{cssStyles:p}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=w(-l/2,-s/2,l,s,s/2);const a=t.path(i,r);d=n.insert((()=>a),":first-child");d.attr("class","basic label-container").attr("style",(0,o.KL)(p))}else{d=n.insert("rect",":first-child");d.attr("class","basic label-container").attr("style",i).attr("rx",s/2).attr("ry",s/2).attr("x",-l/2).attr("y",-s/2).attr("width",l).attr("height",s)}u(e,d);e.intersect=function(t){return X.rect(e,t)};return n}(0,s.K2)(Qt,"stadium");async function te(t,e){const r={rx:5,ry:5,classes:"flowchart-node"};return $t(t,e,r)}(0,s.K2)(te,"state");function ee(t,e,{config:{themeVariables:r}}){const{labelStyles:i,nodeStyles:n}=B(e);e.labelStyle=i;const{cssStyles:a}=e;const{lineColor:o,stateBorder:s,nodeBorder:l}=r;const h=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);const d=c.A.svg(h);const f=L(e,{});if(e.look!=="handDrawn"){f.roughness=0;f.fillStyle="solid"}const p=d.circle(0,0,14,{...f,stroke:o,strokeWidth:2});const g=s??l;const m=d.circle(0,0,5,{...f,fill:g,stroke:g,strokeWidth:2,fillStyle:"solid"});const y=h.insert((()=>p),":first-child");y.insert((()=>m));if(a){y.selectAll("path").attr("style",a)}if(n){y.selectAll("path").attr("style",n)}u(e,y);e.intersect=function(t){return X.circle(e,7,t)};return h}(0,s.K2)(ee,"stateEnd");function re(t,e,{config:{themeVariables:r}}){const{lineColor:i}=r;const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let a;if(e.look==="handDrawn"){const t=c.A.svg(n);const e=t.circle(0,0,14,S(i));a=n.insert((()=>e));a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}else{a=n.insert("circle",":first-child");a.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14)}u(e,a);e.intersect=function(t){return X.circle(e,7,t)};return n}(0,s.K2)(re,"stateStart");async function ie(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const s=(e?.padding||0)/2;const l=a.width+e.padding;const d=a.height+e.padding;const p=-a.width/2-s;const g=-a.height/2-s;const m=[{x:0,y:0},{x:l,y:0},{x:l,y:-d},{x:0,y:-d},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-d},{x:-8,y:-d},{x:-8,y:0}];if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=t.rectangle(p-8,g,l+16,d,r);const a=t.line(p,g,p,g+d,r);const s=t.line(p+l,g,p+l,g+d,r);n.insert((()=>a),":first-child");n.insert((()=>s),":first-child");const h=n.insert((()=>i),":first-child");const{cssStyles:f}=e;h.attr("class","basic label-container").attr("style",(0,o.KL)(f));u(e,h)}else{const t=tt(n,l,d,m);if(i){t.attr("style",i)}u(e,t)}e.intersect=function(t){return X.polygon(e,m,t)};return n}(0,s.K2)(ie,"subroutine");async function ne(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=Math.max(a.width+(e.padding??0)*2,e?.width??0);const s=Math.max(a.height+(e.padding??0)*2,e?.height??0);const l=-o/2;const d=-s/2;const g=.2*s;const m=.2*s;const{cssStyles:y}=e;const b=c.A.svg(n);const x=L(e,{});const C=[{x:l-g/2,y:d},{x:l+o+g/2,y:d},{x:l+o+g/2,y:d+s},{x:l-g/2,y:d+s}];const v=[{x:l+o-g/2,y:d+s},{x:l+o+g/2,y:d+s},{x:l+o+g/2,y:d+s-m}];if(e.look!=="handDrawn"){x.roughness=0;x.fillStyle="solid"}const k=p(C);const w=b.path(k,x);const S=p(v);const A=b.path(S,{...x,fillStyle:"solid"});const T=n.insert((()=>A),":first-child");T.insert((()=>w),":first-child");T.attr("class","basic label-container");if(y&&e.look!=="handDrawn"){T.selectAll("path").attr("style",y)}if(i&&e.look!=="handDrawn"){T.selectAll("path").attr("style",i)}u(e,T);e.intersect=function(t){const r=X.polygon(e,C,t);return r};return n}(0,s.K2)(ne,"taggedRect");async function ae(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0)*2,e?.width??0);const l=Math.max(a.height+(e.padding??0)*2,e?.height??0);const d=l/4;const m=.2*s;const y=.2*l;const b=l+d;const{cssStyles:x}=e;const C=c.A.svg(n);const v=L(e,{});if(e.look!=="handDrawn"){v.roughness=0;v.fillStyle="solid"}const k=[{x:-s/2-s/2*.1,y:b/2},...g(-s/2-s/2*.1,b/2,s/2+s/2*.1,b/2,d,.8),{x:s/2+s/2*.1,y:-b/2},{x:-s/2-s/2*.1,y:-b/2}];const w=-s/2+s/2*.1;const S=-b/2-y*.4;const A=[{x:w+s-m,y:(S+l)*1.4},{x:w+s,y:S+l-y},{x:w+s,y:(S+l)*.9},...g(w+s,(S+l)*1.3,w+s-m,(S+l)*1.5,-l*.03,.5)];const T=p(k);const M=C.path(T,v);const F=p(A);const _=C.path(F,{...v,fillStyle:"solid"});const $=n.insert((()=>_),":first-child");$.insert((()=>M),":first-child");$.attr("class","basic label-container");if(x&&e.look!=="handDrawn"){$.selectAll("path").attr("style",x)}if(i&&e.look!=="handDrawn"){$.selectAll("path").attr("style",i)}$.attr("transform",`translate(0,${-d/2})`);o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-d/2-(a.y-(a.top??0))})`);u(e,$);e.intersect=function(t){const r=X.polygon(e,k,t);return r};return n}(0,s.K2)(ae,"taggedWaveEdgedRectangle");async function oe(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=Math.max(a.width+e.padding,e?.width||0);const s=Math.max(a.height+e.padding,e?.height||0);const l=-o/2;const c=-s/2;const d=n.insert("rect",":first-child");d.attr("class","text").attr("style",i).attr("rx",0).attr("ry",0).attr("x",l).attr("y",c).attr("width",o).attr("height",s);u(e,d);e.intersect=function(t){return X.rect(e,t)};return n}(0,s.K2)(oe,"text");var se=(0,s.K2)(((t,e,r,i,n,a)=>`M${t},${e}\n a${n},${a} 0,0,1 ${0},${-i}\n l${r},${0}\n a${n},${a} 0,0,1 ${0},${i}\n M${r},${-i}\n a${n},${a} 0,0,0 ${0},${i}\n l${-r},${0}`),"createCylinderPathD");var le=(0,s.K2)(((t,e,r,i,n,a)=>[`M${t},${e}`,`M${t+r},${e}`,`a${n},${a} 0,0,0 ${0},${-i}`,`l${-r},0`,`a${n},${a} 0,0,0 ${0},${i}`,`l${r},0`].join(" ")),"createOuterCylinderPathD");var ce=(0,s.K2)(((t,e,r,i,n,a)=>[`M${t+r/2},${-i/2}`,`a${n},${a} 0,0,0 0,${i}`].join(" ")),"createInnerCylinderPathD");async function he(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:s,halfPadding:l}=await h(t,e,f(e));const d=e.look==="neo"?l*2:l;const p=a.height+d;const g=p/2;const m=g/(2.5+p/50);const y=a.width+m+d;const{cssStyles:b}=e;let x;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=le(0,0,y,p,m,g);const i=ce(0,0,y,p,m,g);const a=t.path(r,L(e,{}));const o=t.path(i,L(e,{fill:"none"}));x=n.insert((()=>o),":first-child");x=n.insert((()=>a),":first-child");x.attr("class","basic label-container");if(b){x.attr("style",b)}}else{const t=se(0,0,y,p,m,g);x=n.insert("path",":first-child").attr("d",t).attr("class","basic label-container").attr("style",(0,o.KL)(b)).attr("style",i);x.attr("class","basic label-container");if(b){x.selectAll("path").attr("style",b)}if(i){x.selectAll("path").attr("style",i)}}x.attr("label-offset-x",m);x.attr("transform",`translate(${-y/2}, ${p/2} )`);s.attr("transform",`translate(${-(a.width/2)-m-(a.x-(a.left??0))}, ${-(a.height/2)-(a.y-(a.top??0))})`);u(e,x);e.intersect=function(t){const r=X.rect(e,t);const i=r.y-(e.y??0);if(g!=0&&(Math.abs(i)<(e.height??0)/2||Math.abs(i)==(e.height??0)/2&&Math.abs(r.x-(e.x??0))>(e.width??0)/2-m)){let n=m*m*(1-i*i/(g*g));if(n!=0){n=Math.sqrt(Math.abs(n))}n=m-n;if(t.x-(e.x??0)>0){n=-n}r.x+=n}return r};return n}(0,s.K2)(he,"tiltedCylinder");async function de(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=a.width+e.padding;const s=a.height+e.padding;const l=[{x:-3*s/6,y:0},{x:o+3*s/6,y:0},{x:o,y:-s},{x:0,y:-s}];let d;const{cssStyles:g}=e;if(e.look==="handDrawn"){const t=c.A.svg(n);const r=L(e,{});const i=p(l);const a=t.path(i,r);d=n.insert((()=>a),":first-child").attr("transform",`translate(${-o/2}, ${s/2})`);if(g){d.attr("style",g)}}else{d=tt(n,o,s,l)}if(i){d.attr("style",i)}e.width=o;e.height=s;u(e,d);e.intersect=function(t){return X.polygon(e,l,t)};return n}(0,s.K2)(de,"trapezoid");async function ue(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=60,s=20;const l=Math.max(o,a.width+(e.padding??0)*2,e?.width??0);const d=Math.max(s,a.height+(e.padding??0)*2,e?.height??0);const{cssStyles:g}=e;const m=c.A.svg(n);const y=L(e,{});if(e.look!=="handDrawn"){y.roughness=0;y.fillStyle="solid"}const b=[{x:-l/2*.8,y:-d/2},{x:l/2*.8,y:-d/2},{x:l/2,y:-d/2*.6},{x:l/2,y:d/2},{x:-l/2,y:d/2},{x:-l/2,y:-d/2*.6}];const x=p(b);const C=m.path(x,y);const v=n.insert((()=>C),":first-child");v.attr("class","basic label-container");if(g&&e.look!=="handDrawn"){v.selectChildren("path").attr("style",g)}if(i&&e.look!=="handDrawn"){v.selectChildren("path").attr("style",i)}u(e,v);e.intersect=function(t){const r=X.polygon(e,b,t);return r};return n}(0,s.K2)(ue,"trapezoidalPentagon");async function fe(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const l=(0,s._3)((0,s.D7)().flowchart?.htmlLabels);const d=a.width+(e.padding??0);const g=d+a.height;const m=d+a.height;const y=[{x:0,y:0},{x:m,y:0},{x:m/2,y:-g}];const{cssStyles:b}=e;const x=c.A.svg(n);const C=L(e,{});if(e.look!=="handDrawn"){C.roughness=0;C.fillStyle="solid"}const v=p(y);const k=x.path(v,C);const w=n.insert((()=>k),":first-child").attr("transform",`translate(${-g/2}, ${g/2})`);if(b&&e.look!=="handDrawn"){w.selectChildren("path").attr("style",b)}if(i&&e.look!=="handDrawn"){w.selectChildren("path").attr("style",i)}e.width=d;e.height=g;u(e,w);o.attr("transform",`translate(${-a.width/2-(a.x-(a.left??0))}, ${g/2-(a.height+(e.padding??0)/(l?2:1)-(a.y-(a.top??0)))})`);e.intersect=function(t){s.Rm.info("Triangle intersect",e,y,t);return X.polygon(e,y,t)};return n}(0,s.K2)(fe,"triangle");async function pe(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0)*2,e?.width??0);const l=Math.max(a.height+(e.padding??0)*2,e?.height??0);const d=l/8;const m=l+d;const{cssStyles:y}=e;const b=70;const x=b-s;const C=x>0?x/2:0;const v=c.A.svg(n);const k=L(e,{});if(e.look!=="handDrawn"){k.roughness=0;k.fillStyle="solid"}const w=[{x:-s/2-C,y:m/2},...g(-s/2-C,m/2,s/2+C,m/2,d,.8),{x:s/2+C,y:-m/2},{x:-s/2-C,y:-m/2}];const S=p(w);const A=v.path(S,k);const T=n.insert((()=>A),":first-child");T.attr("class","basic label-container");if(y&&e.look!=="handDrawn"){T.selectAll("path").attr("style",y)}if(i&&e.look!=="handDrawn"){T.selectAll("path").attr("style",i)}T.attr("transform",`translate(0,${-d/2})`);o.attr("transform",`translate(${-s/2+(e.padding??0)-(a.x-(a.left??0))},${-l/2+(e.padding??0)-d-(a.y-(a.top??0))})`);u(e,T);e.intersect=function(t){const r=X.polygon(e,w,t);return r};return n}(0,s.K2)(pe,"waveEdgedRectangle");async function ge(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a}=await h(t,e,f(e));const o=100;const s=50;const l=Math.max(a.width+(e.padding??0)*2,e?.width??0);const d=Math.max(a.height+(e.padding??0)*2,e?.height??0);const m=l/d;let y=l;let b=d;if(y>b*m){b=y/m}else{y=b*m}y=Math.max(y,o);b=Math.max(b,s);const x=Math.min(b*.2,b/4);const C=b+x*2;const{cssStyles:v}=e;const k=c.A.svg(n);const w=L(e,{});if(e.look!=="handDrawn"){w.roughness=0;w.fillStyle="solid"}const S=[{x:-y/2,y:C/2},...g(-y/2,C/2,y/2,C/2,x,1),{x:y/2,y:-C/2},...g(y/2,-C/2,-y/2,-C/2,x,-1)];const A=p(S);const T=k.path(A,w);const M=n.insert((()=>T),":first-child");M.attr("class","basic label-container");if(v&&e.look!=="handDrawn"){M.selectAll("path").attr("style",v)}if(i&&e.look!=="handDrawn"){M.selectAll("path").attr("style",i)}u(e,M);e.intersect=function(t){const r=X.polygon(e,S,t);return r};return n}(0,s.K2)(ge,"waveRectangle");async function me(t,e){const{labelStyles:r,nodeStyles:i}=B(e);e.labelStyle=r;const{shapeSvg:n,bbox:a,label:o}=await h(t,e,f(e));const s=Math.max(a.width+(e.padding??0)*2,e?.width??0);const l=Math.max(a.height+(e.padding??0)*2,e?.height??0);const d=5;const p=-s/2;const g=-l/2;const{cssStyles:m}=e;const y=c.A.svg(n);const b=L(e,{});const x=[{x:p-d,y:g-d},{x:p-d,y:g+l},{x:p+s,y:g+l},{x:p+s,y:g-d}];const C=`M${p-d},${g-d} L${p+s},${g-d} L${p+s},${g+l} L${p-d},${g+l} L${p-d},${g-d}\n M${p-d},${g} L${p+s},${g}\n M${p},${g-d} L${p},${g+l}`;if(e.look!=="handDrawn"){b.roughness=0;b.fillStyle="solid"}const v=y.path(C,b);const k=n.insert((()=>v),":first-child");k.attr("transform",`translate(${d/2}, ${d/2})`);k.attr("class","basic label-container");if(m&&e.look!=="handDrawn"){k.selectAll("path").attr("style",m)}if(i&&e.look!=="handDrawn"){k.selectAll("path").attr("style",i)}o.attr("transform",`translate(${-(a.width/2)+d/2-(a.x-(a.left??0))}, ${-(a.height/2)+d/2-(a.y-(a.top??0))})`);u(e,k);e.intersect=function(t){const r=X.polygon(e,x,t);return r};return n}(0,s.K2)(me,"windowPane");async function ye(t,e,r,i,n=r.class.padding??12){const a=!i?3:0;const o=t.insert("g").attr("class",f(e)).attr("id",e.domId||e.id);let s=null;let l=null;let c=null;let h=null;let d=0;let u=0;let p=0;s=o.insert("g").attr("class","annotation-group text");if(e.annotations.length>0){const t=e.annotations[0];await be(s,{text:`«${t}»`},0);const r=s.node().getBBox();d=r.height}l=o.insert("g").attr("class","label-group text");await be(l,e,0,["font-weight: bolder"]);const g=l.node().getBBox();u=g.height;c=o.insert("g").attr("class","members-group text");let m=0;for(const f of e.members){const t=await be(c,f,m,[f.parseClassifier()]);m+=t+a}p=c.node().getBBox().height;if(p<=0){p=n/2}h=o.insert("g").attr("class","methods-group text");let y=0;for(const f of e.methods){const t=await be(h,f,y,[f.parseClassifier()]);y+=t+a}let b=o.node().getBBox();if(s!==null){const t=s.node().getBBox();s.attr("transform",`translate(${-t.width/2})`)}l.attr("transform",`translate(${-g.width/2}, ${d})`);b=o.node().getBBox();c.attr("transform",`translate(${0}, ${d+u+n*2})`);b=o.node().getBBox();h.attr("transform",`translate(${0}, ${d+u+(p?p+n*4:n*2)})`);b=o.node().getBBox();return{shapeSvg:o,bbox:b}}(0,s.K2)(ye,"textHelper");async function be(t,e,r,i=[]){const n=t.insert("g").attr("class","label").attr("style",i.join("; "));const c=(0,s.zj)();let h="useHtmlLabels"in e?e.useHtmlLabels:(0,s._3)(c.htmlLabels)??true;let d="";if("text"in e){d=e.text}else{d=e.label}if(!h&&d.startsWith("\\")){d=d.substring(1)}if((0,s.Wi)(d)){h=true}const u=await(0,a.GZ)(n,(0,s.oB)((0,o.Sm)(d)),{width:(0,o.Un)(d,c)+50,classes:"markdown-node-label",useHtmlLabels:h},c);let f;let p=1;if(!h){if(i.includes("font-weight: bolder")){(0,l.Ltv)(u).selectAll("tspan").attr("font-weight","")}p=u.children.length;const t=u.children[0];if(u.textContent===""||u.textContent.includes("&gt")){t.textContent=d[0]+d.substring(1).replaceAll("&gt;",">").replaceAll("&lt;","<").trim();const e=d[1]===" ";if(e){t.textContent=t.textContent[0]+" "+t.textContent.substring(1)}}if(t.textContent==="undefined"){t.textContent=""}f=u.getBBox()}else{const t=u.children[0];const e=(0,l.Ltv)(u);p=t.innerHTML.split("<br>").length;if(t.innerHTML.includes("</math>")){p+=t.innerHTML.split("<mrow>").length-1}const r=t.getElementsByTagName("img");if(r){const t=d.replace(/<img[^>]*>/g,"").trim()==="";await Promise.all([...r].map((e=>new Promise((r=>{function i(){e.style.display="flex";e.style.flexDirection="column";if(t){const t=c.fontSize?.toString()??window.getComputedStyle(document.body).fontSize;const r=5;const i=parseInt(t,10)*r+"px";e.style.minWidth=i;e.style.maxWidth=i}else{e.style.width="100%"}r(e)}(0,s.K2)(i,"setupImage");setTimeout((()=>{if(e.complete){i()}}));e.addEventListener("error",i);e.addEventListener("load",i)})))))}f=t.getBoundingClientRect();e.attr("width",f.width);e.attr("height",f.height)}n.attr("transform","translate(0,"+(-f.height/(2*p)+r)+")");return f.height}(0,s.K2)(be,"addText");async function xe(t,e){const r=(0,s.D7)();const i=r.class.padding??12;const n=i;const a=e.useHtmlLabels??(0,s._3)(r.htmlLabels)??true;const o=e;o.annotations=o.annotations??[];o.members=o.members??[];o.methods=o.methods??[];const{shapeSvg:h,bbox:d}=await ye(t,e,r,a,n);const{labelStyles:f,nodeStyles:p}=B(e);e.labelStyle=f;e.cssStyles=o.styles||"";const g=o.styles?.join(";")||p||"";if(!e.cssStyles){e.cssStyles=g.replaceAll("!important","").split(";")}const m=o.members.length===0&&o.methods.length===0&&!r.class?.hideEmptyMembersBox;const y=c.A.svg(h);const b=L(e,{});if(e.look!=="handDrawn"){b.roughness=0;b.fillStyle="solid"}const x=d.width;let C=d.height;if(o.members.length===0&&o.methods.length===0){C+=n}else if(o.members.length>0&&o.methods.length===0){C+=n*2}const v=-x/2;const k=-C/2;const w=y.rectangle(v-i,k-i-(m?i:o.members.length===0&&o.methods.length===0?-i/2:0),x+2*i,C+2*i+(m?i*2:o.members.length===0&&o.methods.length===0?-i:0),b);const S=h.insert((()=>w),":first-child");S.attr("class","basic label-container");const A=S.node().getBBox();h.selectAll(".text").each(((t,e,r)=>{const n=(0,l.Ltv)(r[e]);const s=n.attr("transform");let c=0;if(s){const t=RegExp(/translate\(([^,]+),([^)]+)\)/);const e=t.exec(s);if(e){c=parseFloat(e[2])}}let d=c+k+i-(m?i:o.members.length===0&&o.methods.length===0?-i/2:0);if(!a){d-=4}let u=v;if(n.attr("class").includes("label-group")||n.attr("class").includes("annotation-group")){u=-n.node()?.getBBox().width/2||0;h.selectAll("text").each((function(t,e,r){if(window.getComputedStyle(r[e]).textAnchor==="middle"){u=0}}))}n.attr("transform",`translate(${u}, ${d})`)}));const T=h.select(".annotation-group").node().getBBox().height-(m?i/2:0)||0;const M=h.select(".label-group").node().getBBox().height-(m?i/2:0)||0;const F=h.select(".members-group").node().getBBox().height-(m?i/2:0)||0;if(o.members.length>0||o.methods.length>0||m){const t=y.line(A.x,T+M+k+i,A.x+A.width,T+M+k+i,b);const e=h.insert((()=>t));e.attr("class","divider").attr("style",g)}if(m||o.members.length>0||o.methods.length>0){const t=y.line(A.x,T+M+F+k+n*2+i,A.x+A.width,T+M+F+k+i+n*2,b);const e=h.insert((()=>t));e.attr("class","divider").attr("style",g)}if(o.look!=="handDrawn"){h.selectAll("path").attr("style",g)}S.select(":nth-child(2)").attr("style",g);h.selectAll(".divider").select("path").attr("style",g);if(e.labelStyle){h.selectAll("span").attr("style",e.labelStyle)}else{h.selectAll("span").attr("style",g)}if(!a){const t=RegExp(/color\s*:\s*([^;]*)/);const e=t.exec(g);if(e){const t=e[0].replace("color","fill");h.selectAll("tspan").attr("style",t)}else if(f){const e=t.exec(f);if(e){const t=e[0].replace("color","fill");h.selectAll("tspan").attr("style",t)}}}u(e,S);e.intersect=function(t){return X.rect(e,t)};return h}(0,s.K2)(xe,"classBox");var Ce=(0,s.K2)((t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}}),"colorFromPriority");async function ve(t,e,{config:r}){const{labelStyles:i,nodeStyles:n}=B(e);e.labelStyle=i||"";const a=10;const o=e.width;e.width=(e.width??200)-10;const{shapeSvg:s,bbox:l,label:p}=await h(t,e,f(e));const g=e.padding||10;let m="";let y;if("ticket"in e&&e.ticket&&r?.kanban?.ticketBaseUrl){m=r?.kanban?.ticketBaseUrl.replace("#TICKET#",e.ticket);y=s.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",m).attr("target","_blank")}const b={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:false};let x,C;if(y){({label:x,bbox:C}=await d(y,"ticket"in e&&e.ticket||"",b))}else{({label:x,bbox:C}=await d(s,"ticket"in e&&e.ticket||"",b))}const{label:v,bbox:k}=await d(s,"assigned"in e&&e.assigned||"",b);e.width=o;const S=10;const A=e?.width||0;const T=Math.max(C.height,k.height)/2;const M=Math.max(l.height+S*2,e?.height||0)+T;const F=-A/2;const _=-M/2;p.attr("transform","translate("+(g-A/2)+", "+(-T-l.height/2)+")");x.attr("transform","translate("+(g-A/2)+", "+(-T+l.height/2)+")");v.attr("transform","translate("+(g+A/2-k.width-2*a)+", "+(-T+l.height/2)+")");let $;const{rx:E,ry:D}=e;const{cssStyles:O}=e;if(e.look==="handDrawn"){const t=c.A.svg(s);const r=L(e,{});const i=E||D?t.path(w(F,_,A,M,E||0),r):t.rectangle(F,_,A,M,r);$=s.insert((()=>i),":first-child");$.attr("class","basic label-container").attr("style",O?O:null)}else{$=s.insert("rect",":first-child");$.attr("class","basic label-container __APA__").attr("style",n).attr("rx",E??5).attr("ry",D??5).attr("x",F).attr("y",_).attr("width",A).attr("height",M);const t="priority"in e&&e.priority;if(t){const e=s.append("line");const r=F+2;const i=_+Math.floor((E??0)/2);const n=_+M-Math.floor((E??0)/2);e.attr("x1",r).attr("y1",i).attr("x2",r).attr("y2",n).attr("stroke-width","4").attr("stroke",Ce(t))}}u(e,$);e.height=M;e.intersect=function(t){return X.rect(e,t)};return s}(0,s.K2)(ve,"kanbanItem");var ke=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:Jt},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:Vt},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:Qt},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:ie},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:mt},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:it},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:Ut},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:St},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:Ot},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:Dt},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:de},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:_t},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:bt},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:oe},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:et},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:Xt},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:re},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:ee},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:vt},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:At},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:st},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:ct},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:dt},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:It},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:pe},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:kt},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:he},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:Nt},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:ut},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:yt},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:fe},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:me},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:xt},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:ue},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:Ct},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:Zt},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:jt},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:zt},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:Q},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:at},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:ae},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:ne},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:ge},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:Yt},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:qt}];var we=(0,s.K2)((()=>{const t={state:te,choice:rt,note:Wt,rectWithTitle:Gt,labelRect:Et,iconSquare:Mt,iconCircle:Bt,icon:Tt,iconRounded:Lt,imageSquare:Ft,anchor:Z,kanbanItem:ve,classBox:xe};const e=[...Object.entries(t),...ke.flatMap((t=>{const e=[t.shortName,..."aliases"in t?t.aliases:[],..."internalAliases"in t?t.internalAliases:[]];return e.map((e=>[e,t.handler]))}))];return Object.fromEntries(e)}),"generateShapeMap");var Se=we();function Ae(t){return t in Se}(0,s.K2)(Ae,"isValidShape");var Te=new Map;async function Be(t,e,r){let i;let n;if(e.shape==="rect"){if(e.rx&&e.ry){e.shape="roundedRect"}else{e.shape="squareRect"}}const a=e.shape?Se[e.shape]:void 0;if(!a){throw new Error(`No such shape: ${e.shape}. Please check your syntax.`)}if(e.link){let o;if(r.config.securityLevel==="sandbox"){o="_top"}else if(e.linkTarget){o=e.linkTarget||"_blank"}i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",o??null);n=await a(i,e,r)}else{n=await a(t,e,r);i=n}if(e.tooltip){n.attr("title",e.tooltip)}Te.set(e.id,i);if(e.haveCallback){i.attr("class",i.attr("class")+" clickable")}return i}(0,s.K2)(Be,"insertNode");var Le=(0,s.K2)(((t,e)=>{Te.set(e.id,t)}),"setNodeElem");var Me=(0,s.K2)((()=>{Te.clear()}),"clear");var Fe=(0,s.K2)((t=>{const e=Te.get(t.id);s.Rm.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const r=8;const i=t.diff||0;if(t.clusterNode){e.attr("transform","translate("+(t.x+i-t.width/2)+", "+(t.y-t.height/2-r)+")")}else{e.attr("transform","translate("+t.x+", "+t.y+")")}return i}),"positionNode")},14177:(t,e,r)=>{"use strict";r.d(e,{XX:()=>d,q7:()=>u,sO:()=>c});var i=r(61771);var n=r(90495);var a=r(28818);var o=r(28945);var s={common:o.Y2,getConfig:o.zj,insertCluster:n.U,insertEdge:i.Jo,insertEdgeLabel:i.jP,insertMarkers:i.g0,insertNode:n.on,interpolateToCurve:a.Ib,labelHelper:n.Zk,log:o.Rm,positionEdgeLabel:i.T_};var l={};var c=(0,o.K2)((t=>{for(const e of t){l[e.name]=e}}),"registerLayoutLoaders");var h=(0,o.K2)((()=>{c([{name:"dagre",loader:(0,o.K2)((async()=>await Promise.all([r.e(1838),r.e(2211),r.e(2462)]).then(r.bind(r,52462))),"loader")}])}),"registerDefaultLayoutLoaders");h();var d=(0,o.K2)((async(t,e)=>{if(!(t.layoutAlgorithm in l)){throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`)}const r=l[t.layoutAlgorithm];const i=await r.loader();return i.render(t,e,s,{algorithm:r.algorithm})}),"render");var u=(0,o.K2)(((t="",{fallback:e="dagre"}={})=>{if(t in l){return t}if(e in l){o.Rm.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`);return e}throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)}),"getRegisteredLayoutAlgorithm")},7395:(t,e,r)=>{"use strict";r.d(e,{D:()=>a});var i=r(28945);var n=r(24982);var a=(0,i.K2)((t=>{const{securityLevel:e}=(0,i.D7)();let r=(0,n.Ltv)("body");if(e==="sandbox"){const e=(0,n.Ltv)(`#i${t}`);const i=e.node()?.contentDocument??document;r=(0,n.Ltv)(i.body)}const a=r.select(`#${t}`);return a}),"selectSvgElement")},61357:(t,e,r)=>{"use strict";r.d(e,{r:()=>i});var i="11.4.1"},68352:(t,e,r)=>{"use strict";r.d(e,{WY:()=>I,pC:()=>D,Gc:()=>_});var i=r(28945);const n=/^[a-z0-9]+(-[a-z0-9]+)*$/;const a=(t,e,r,i="")=>{const n=t.split(":");if(t.slice(0,1)==="@"){if(n.length<2||n.length>3){return null}i=n.shift().slice(1)}if(n.length>3||!n.length){return null}if(n.length>1){const t=n.pop();const r=n.pop();const a={provider:n.length>0?n[0]:i,prefix:r,name:t};return e&&!o(a)?null:a}const a=n[0];const s=a.split("-");if(s.length>1){const t={provider:i,prefix:s.shift(),name:s.join("-")};return e&&!o(t)?null:t}if(r&&i===""){const t={provider:i,prefix:"",name:a};return e&&!o(t,r)?null:t}return null};const o=(t,e)=>{if(!t){return false}return!!((e&&t.prefix===""||!!t.prefix)&&!!t.name)};const s=Object.freeze({left:0,top:0,width:16,height:16});const l=Object.freeze({rotate:0,vFlip:false,hFlip:false});const c=Object.freeze({...s,...l});const h=Object.freeze({...c,body:"",hidden:false});function d(t,e){const r={};if(!t.hFlip!==!e.hFlip){r.hFlip=true}if(!t.vFlip!==!e.vFlip){r.vFlip=true}const i=((t.rotate||0)+(e.rotate||0))%4;if(i){r.rotate=i}return r}function u(t,e){const r=d(t,e);for(const i in h){if(i in l){if(i in t&&!(i in r)){r[i]=l[i]}}else if(i in e){r[i]=e[i]}else if(i in t){r[i]=t[i]}}return r}function f(t,e){const r=t.icons;const i=t.aliases||Object.create(null);const n=Object.create(null);function a(t){if(r[t]){return n[t]=[]}if(!(t in n)){n[t]=null;const e=i[t]&&i[t].parent;const r=e&&a(e);if(r){n[t]=[e].concat(r)}}return n[t]}(e||Object.keys(r).concat(Object.keys(i))).forEach(a);return n}function p(t,e,r){const i=t.icons;const n=t.aliases||Object.create(null);let a={};function o(t){a=u(i[t]||n[t],a)}o(e);r.forEach(o);return u(t,a)}function g(t,e){if(t.icons[e]){return p(t,e,[])}const r=f(t,[e])[e];return r?p(t,e,r):null}const m=Object.freeze({width:null,height:null});const y=Object.freeze({...m,...l});const b=/(-?[0-9.]*[0-9]+[0-9.]*)/g;const x=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function C(t,e,r){if(e===1){return t}r=r||100;if(typeof t==="number"){return Math.ceil(t*e*r)/r}if(typeof t!=="string"){return t}const i=t.split(b);if(i===null||!i.length){return t}const n=[];let a=i.shift();let o=x.test(a);while(true){if(o){const t=parseFloat(a);if(isNaN(t)){n.push(a)}else{n.push(Math.ceil(t*e*r)/r)}}else{n.push(a)}a=i.shift();if(a===void 0){return n.join("")}o=!o}}function v(t,e="defs"){let r="";const i=t.indexOf("<"+e);while(i>=0){const n=t.indexOf(">",i);const a=t.indexOf("</"+e);if(n===-1||a===-1){break}const o=t.indexOf(">",a);if(o===-1){break}r+=t.slice(n+1,a).trim();t=t.slice(0,i).trim()+t.slice(o+1)}return{defs:r,content:t}}function k(t,e){return t?"<defs>"+t+"</defs>"+e:e}function w(t,e,r){const i=v(t);return k(i.defs,e+i.content+r)}const S=t=>t==="unset"||t==="undefined"||t==="none";function A(t,e){const r={...c,...t};const i={...y,...e};const n={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,i].forEach((t=>{const e=[];const r=t.hFlip;const i=t.vFlip;let o=t.rotate;if(r){if(i){o+=2}else{e.push("translate("+(n.width+n.left).toString()+" "+(0-n.top).toString()+")");e.push("scale(-1 1)");n.top=n.left=0}}else if(i){e.push("translate("+(0-n.left).toString()+" "+(n.height+n.top).toString()+")");e.push("scale(1 -1)");n.top=n.left=0}let s;if(o<0){o-=Math.floor(o/4)*4}o=o%4;switch(o){case 1:s=n.height/2+n.top;e.unshift("rotate(90 "+s.toString()+" "+s.toString()+")");break;case 2:e.unshift("rotate(180 "+(n.width/2+n.left).toString()+" "+(n.height/2+n.top).toString()+")");break;case 3:s=n.width/2+n.left;e.unshift("rotate(-90 "+s.toString()+" "+s.toString()+")");break}if(o%2===1){if(n.left!==n.top){s=n.left;n.left=n.top;n.top=s}if(n.width!==n.height){s=n.width;n.width=n.height;n.height=s}}if(e.length){a=w(a,'<g transform="'+e.join(" ")+'">',"</g>")}}));const o=i.width;const s=i.height;const l=n.width;const h=n.height;let d;let u;if(o===null){u=s===null?"1em":s==="auto"?h:s;d=C(u,l/h)}else{d=o==="auto"?l:o;u=s===null?C(d,h/l):s==="auto"?h:s}const f={};const p=(t,e)=>{if(!S(e)){f[t]=e.toString()}};p("width",d);p("height",u);const g=[n.left,n.top,l,h];f.viewBox=g.join(" ");return{attributes:f,viewBox:g,body:a}}function T(t,e){let r=t.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const i in e){r+=" "+i+'="'+e[i]+'"'}return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}const B=/\sid="(\S+)"/g;const L="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let M=0;function F(t,e=L){const r=[];let i;while(i=B.exec(t)){r.push(i[1])}if(!r.length){return t}const n="suffix"+(Math.random()*16777216|Date.now()).toString(16);r.forEach((r=>{const i=typeof e==="function"?e(r):e+(M++).toString();const a=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+i+n+"$3")}));t=t.replace(new RegExp(n,"g"),"");return t}var _={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80};var $=new Map;var E=new Map;var D=(0,i.K2)((t=>{for(const e of t){if(!e.name){throw new Error('Invalid icon loader. Must have a "name" property with non-empty string value.')}i.Rm.debug("Registering icon pack:",e.name);if("loader"in e){E.set(e.name,e.loader)}else if("icons"in e){$.set(e.name,e.icons)}else{i.Rm.error("Invalid icon loader:",e);throw new Error('Invalid icon loader. Must have either "icons" or "loader" property.')}}}),"registerIconPacks");var O=(0,i.K2)((async(t,e)=>{const r=a(t,true,e!==void 0);if(!r){throw new Error(`Invalid icon name: ${t}`)}const n=r.prefix||e;if(!n){throw new Error(`Icon name must contain a prefix: ${t}`)}let o=$.get(n);if(!o){const t=E.get(n);if(!t){throw new Error(`Icon set not found: ${r.prefix}`)}try{const e=await t();o={...e,prefix:n};$.set(n,o)}catch(l){i.Rm.error(l);throw new Error(`Failed to load icon set: ${r.prefix}`)}}const s=g(o,r.name);if(!s){throw new Error(`Icon not found: ${t}`)}return s}),"getRegisteredIconData");var I=(0,i.K2)((async(t,e)=>{let r;try{r=await O(t,e?.fallbackPrefix)}catch(o){i.Rm.error(o);r=_}const n=A(r,e);const a=T(F(n.body),n.attributes);return a}),"getIconSVG")},83419:(t,e,r)=>{"use strict";r.d(e,{H:()=>ti,r:()=>Qr});var i=r(28945);function n(t){return typeof t==="undefined"||t===null}(0,i.K2)(n,"isNothing");function a(t){return typeof t==="object"&&t!==null}(0,i.K2)(a,"isObject");function o(t){if(Array.isArray(t))return t;else if(n(t))return[];return[t]}(0,i.K2)(o,"toArray");function s(t,e){var r,i,n,a;if(e){a=Object.keys(e);for(r=0,i=a.length;r<i;r+=1){n=a[r];t[n]=e[n]}}return t}(0,i.K2)(s,"extend");function l(t,e){var r="",i;for(i=0;i<e;i+=1){r+=t}return r}(0,i.K2)(l,"repeat");function c(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}(0,i.K2)(c,"isNegativeZero");var h=n;var d=a;var u=o;var f=l;var p=c;var g=s;var m={isNothing:h,isObject:d,toArray:u,repeat:f,isNegativeZero:p,extend:g};function y(t,e){var r="",i=t.reason||"(unknown reason)";if(!t.mark)return i;if(t.mark.name){r+='in "'+t.mark.name+'" '}r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")";if(!e&&t.mark.snippet){r+="\n\n"+t.mark.snippet}return i+" "+r}(0,i.K2)(y,"formatError");function b(t,e){Error.call(this);this.name="YAMLException";this.reason=t;this.mark=e;this.message=y(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}(0,i.K2)(b,"YAMLException$1");b.prototype=Object.create(Error.prototype);b.prototype.constructor=b;b.prototype.toString=(0,i.K2)((function t(e){return this.name+": "+y(this,e)}),"toString");var x=b;function C(t,e,r,i,n){var a="";var o="";var s=Math.floor(n/2)-1;if(i-e>s){a=" ... ";e=i-s+a.length}if(r-i>s){o=" ...";r=i+s-o.length}return{str:a+t.slice(e,r).replace(/\t/g,"→")+o,pos:i-e+a.length}}(0,i.K2)(C,"getLine");function v(t,e){return m.repeat(" ",e-t.length)+t}(0,i.K2)(v,"padStart");function k(t,e){e=Object.create(e||null);if(!t.buffer)return null;if(!e.maxLength)e.maxLength=79;if(typeof e.indent!=="number")e.indent=1;if(typeof e.linesBefore!=="number")e.linesBefore=3;if(typeof e.linesAfter!=="number")e.linesAfter=2;var r=/\r?\n|\r|\0/g;var i=[0];var n=[];var a;var o=-1;while(a=r.exec(t.buffer)){n.push(a.index);i.push(a.index+a[0].length);if(t.position<=a.index&&o<0){o=i.length-2}}if(o<0)o=i.length-1;var s="",l,c;var h=Math.min(t.line+e.linesAfter,n.length).toString().length;var d=e.maxLength-(e.indent+h+3);for(l=1;l<=e.linesBefore;l++){if(o-l<0)break;c=C(t.buffer,i[o-l],n[o-l],t.position-(i[o]-i[o-l]),d);s=m.repeat(" ",e.indent)+v((t.line-l+1).toString(),h)+" | "+c.str+"\n"+s}c=C(t.buffer,i[o],n[o],t.position,d);s+=m.repeat(" ",e.indent)+v((t.line+1).toString(),h)+" | "+c.str+"\n";s+=m.repeat("-",e.indent+h+3+c.pos)+"^\n";for(l=1;l<=e.linesAfter;l++){if(o+l>=n.length)break;c=C(t.buffer,i[o+l],n[o+l],t.position-(i[o]-i[o+l]),d);s+=m.repeat(" ",e.indent)+v((t.line+l+1).toString(),h)+" | "+c.str+"\n"}return s.replace(/\n$/,"")}(0,i.K2)(k,"makeSnippet");var w=k;var S=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var A=["scalar","sequence","mapping"];function T(t){var e={};if(t!==null){Object.keys(t).forEach((function(r){t[r].forEach((function(t){e[String(t)]=r}))}))}return e}(0,i.K2)(T,"compileStyleAliases");function B(t,e){e=e||{};Object.keys(e).forEach((function(e){if(S.indexOf(e)===-1){throw new x('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}}));this.options=e;this.tag=t;this.kind=e["kind"]||null;this.resolve=e["resolve"]||function(){return true};this.construct=e["construct"]||function(t){return t};this.instanceOf=e["instanceOf"]||null;this.predicate=e["predicate"]||null;this.represent=e["represent"]||null;this.representName=e["representName"]||null;this.defaultStyle=e["defaultStyle"]||null;this.multi=e["multi"]||false;this.styleAliases=T(e["styleAliases"]||null);if(A.indexOf(this.kind)===-1){throw new x('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}}(0,i.K2)(B,"Type$1");var L=B;function M(t,e){var r=[];t[e].forEach((function(t){var e=r.length;r.forEach((function(r,i){if(r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi){e=i}}));r[e]=t}));return r}(0,i.K2)(M,"compileList");function F(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function n(e){if(e.multi){t.multi[e.kind].push(e);t.multi["fallback"].push(e)}else{t[e.kind][e.tag]=t["fallback"][e.tag]=e}}(0,i.K2)(n,"collectType");for(e=0,r=arguments.length;e<r;e+=1){arguments[e].forEach(n)}return t}(0,i.K2)(F,"compileMap");function _(t){return this.extend(t)}(0,i.K2)(_,"Schema$1");_.prototype.extend=(0,i.K2)((function t(e){var r=[];var i=[];if(e instanceof L){i.push(e)}else if(Array.isArray(e)){i=i.concat(e)}else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit))){if(e.implicit)r=r.concat(e.implicit);if(e.explicit)i=i.concat(e.explicit)}else{throw new x("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })")}r.forEach((function(t){if(!(t instanceof L)){throw new x("Specified list of YAML types (or a single Type object) contains a non-Type object.")}if(t.loadKind&&t.loadKind!=="scalar"){throw new x("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.")}if(t.multi){throw new x("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}}));i.forEach((function(t){if(!(t instanceof L)){throw new x("Specified list of YAML types (or a single Type object) contains a non-Type object.")}}));var n=Object.create(_.prototype);n.implicit=(this.implicit||[]).concat(r);n.explicit=(this.explicit||[]).concat(i);n.compiledImplicit=M(n,"implicit");n.compiledExplicit=M(n,"explicit");n.compiledTypeMap=F(n.compiledImplicit,n.compiledExplicit);return n}),"extend");var $=_;var E=new L("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,i.K2)((function(t){return t!==null?t:""}),"construct")});var D=new L("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,i.K2)((function(t){return t!==null?t:[]}),"construct")});var O=new L("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,i.K2)((function(t){return t!==null?t:{}}),"construct")});var I=new $({explicit:[E,D,O]});function K(t){if(t===null)return true;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}(0,i.K2)(K,"resolveYamlNull");function R(){return null}(0,i.K2)(R,"constructYamlNull");function P(t){return t===null}(0,i.K2)(P,"isNull");var N=new L("tag:yaml.org,2002:null",{kind:"scalar",resolve:K,construct:R,predicate:P,represent:{canonical:(0,i.K2)((function(){return"~"}),"canonical"),lowercase:(0,i.K2)((function(){return"null"}),"lowercase"),uppercase:(0,i.K2)((function(){return"NULL"}),"uppercase"),camelcase:(0,i.K2)((function(){return"Null"}),"camelcase"),empty:(0,i.K2)((function(){return""}),"empty")},defaultStyle:"lowercase"});function q(t){if(t===null)return false;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}(0,i.K2)(q,"resolveYamlBoolean");function z(t){return t==="true"||t==="True"||t==="TRUE"}(0,i.K2)(z,"constructYamlBoolean");function j(t){return Object.prototype.toString.call(t)==="[object Boolean]"}(0,i.K2)(j,"isBoolean");var W=new L("tag:yaml.org,2002:bool",{kind:"scalar",resolve:q,construct:z,predicate:j,represent:{lowercase:(0,i.K2)((function(t){return t?"true":"false"}),"lowercase"),uppercase:(0,i.K2)((function(t){return t?"TRUE":"FALSE"}),"uppercase"),camelcase:(0,i.K2)((function(t){return t?"True":"False"}),"camelcase")},defaultStyle:"lowercase"});function H(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}(0,i.K2)(H,"isHexCode");function U(t){return 48<=t&&t<=55}(0,i.K2)(U,"isOctCode");function Y(t){return 48<=t&&t<=57}(0,i.K2)(Y,"isDecCode");function G(t){if(t===null)return false;var e=t.length,r=0,i=false,n;if(!e)return false;n=t[r];if(n==="-"||n==="+"){n=t[++r]}if(n==="0"){if(r+1===e)return true;n=t[++r];if(n==="b"){r++;for(;r<e;r++){n=t[r];if(n==="_")continue;if(n!=="0"&&n!=="1")return false;i=true}return i&&n!=="_"}if(n==="x"){r++;for(;r<e;r++){n=t[r];if(n==="_")continue;if(!H(t.charCodeAt(r)))return false;i=true}return i&&n!=="_"}if(n==="o"){r++;for(;r<e;r++){n=t[r];if(n==="_")continue;if(!U(t.charCodeAt(r)))return false;i=true}return i&&n!=="_"}}if(n==="_")return false;for(;r<e;r++){n=t[r];if(n==="_")continue;if(!Y(t.charCodeAt(r))){return false}i=true}if(!i||n==="_")return false;return true}(0,i.K2)(G,"resolveYamlInteger");function V(t){var e=t,r=1,i;if(e.indexOf("_")!==-1){e=e.replace(/_/g,"")}i=e[0];if(i==="-"||i==="+"){if(i==="-")r=-1;e=e.slice(1);i=e[0]}if(e==="0")return 0;if(i==="0"){if(e[1]==="b")return r*parseInt(e.slice(2),2);if(e[1]==="x")return r*parseInt(e.slice(2),16);if(e[1]==="o")return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}(0,i.K2)(V,"constructYamlInteger");function X(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1===0&&!m.isNegativeZero(t))}(0,i.K2)(X,"isInteger");var Z=new L("tag:yaml.org,2002:int",{kind:"scalar",resolve:G,construct:V,predicate:X,represent:{binary:(0,i.K2)((function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)}),"binary"),octal:(0,i.K2)((function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)}),"octal"),decimal:(0,i.K2)((function(t){return t.toString(10)}),"decimal"),hexadecimal:(0,i.K2)((function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}),"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}});var J=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Q(t){if(t===null)return false;if(!J.test(t)||t[t.length-1]==="_"){return false}return true}(0,i.K2)(Q,"resolveYamlFloat");function tt(t){var e,r;e=t.replace(/_/g,"").toLowerCase();r=e[0]==="-"?-1:1;if("+-".indexOf(e[0])>=0){e=e.slice(1)}if(e===".inf"){return r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(e===".nan"){return NaN}return r*parseFloat(e,10)}(0,i.K2)(tt,"constructYamlFloat");var et=/^[-+]?[0-9]+e/;function rt(t,e){var r;if(isNaN(t)){switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===t){switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===t){switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(m.isNegativeZero(t)){return"-0.0"}r=t.toString(10);return et.test(r)?r.replace("e",".e"):r}(0,i.K2)(rt,"representYamlFloat");function it(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||m.isNegativeZero(t))}(0,i.K2)(it,"isFloat");var nt=new L("tag:yaml.org,2002:float",{kind:"scalar",resolve:Q,construct:tt,predicate:it,represent:rt,defaultStyle:"lowercase"});var at=I.extend({implicit:[N,W,Z,nt]});var ot=at;var st=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$");var lt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function ct(t){if(t===null)return false;if(st.exec(t)!==null)return true;if(lt.exec(t)!==null)return true;return false}(0,i.K2)(ct,"resolveYamlTimestamp");function ht(t){var e,r,i,n,a,o,s,l=0,c=null,h,d,u;e=st.exec(t);if(e===null)e=lt.exec(t);if(e===null)throw new Error("Date resolve error");r=+e[1];i=+e[2]-1;n=+e[3];if(!e[4]){return new Date(Date.UTC(r,i,n))}a=+e[4];o=+e[5];s=+e[6];if(e[7]){l=e[7].slice(0,3);while(l.length<3){l+="0"}l=+l}if(e[9]){h=+e[10];d=+(e[11]||0);c=(h*60+d)*6e4;if(e[9]==="-")c=-c}u=new Date(Date.UTC(r,i,n,a,o,s,l));if(c)u.setTime(u.getTime()-c);return u}(0,i.K2)(ht,"constructYamlTimestamp");function dt(t){return t.toISOString()}(0,i.K2)(dt,"representYamlTimestamp");var ut=new L("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:ct,construct:ht,instanceOf:Date,represent:dt});function ft(t){return t==="<<"||t===null}(0,i.K2)(ft,"resolveYamlMerge");var pt=new L("tag:yaml.org,2002:merge",{kind:"scalar",resolve:ft});var gt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function mt(t){if(t===null)return false;var e,r,i=0,n=t.length,a=gt;for(r=0;r<n;r++){e=a.indexOf(t.charAt(r));if(e>64)continue;if(e<0)return false;i+=6}return i%8===0}(0,i.K2)(mt,"resolveYamlBinary");function yt(t){var e,r,i=t.replace(/[\r\n=]/g,""),n=i.length,a=gt,o=0,s=[];for(e=0;e<n;e++){if(e%4===0&&e){s.push(o>>16&255);s.push(o>>8&255);s.push(o&255)}o=o<<6|a.indexOf(i.charAt(e))}r=n%4*6;if(r===0){s.push(o>>16&255);s.push(o>>8&255);s.push(o&255)}else if(r===18){s.push(o>>10&255);s.push(o>>2&255)}else if(r===12){s.push(o>>4&255)}return new Uint8Array(s)}(0,i.K2)(yt,"constructYamlBinary");function bt(t){var e="",r=0,i,n,a=t.length,o=gt;for(i=0;i<a;i++){if(i%3===0&&i){e+=o[r>>18&63];e+=o[r>>12&63];e+=o[r>>6&63];e+=o[r&63]}r=(r<<8)+t[i]}n=a%3;if(n===0){e+=o[r>>18&63];e+=o[r>>12&63];e+=o[r>>6&63];e+=o[r&63]}else if(n===2){e+=o[r>>10&63];e+=o[r>>4&63];e+=o[r<<2&63];e+=o[64]}else if(n===1){e+=o[r>>2&63];e+=o[r<<4&63];e+=o[64];e+=o[64]}return e}(0,i.K2)(bt,"representYamlBinary");function xt(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}(0,i.K2)(xt,"isBinary");var Ct=new L("tag:yaml.org,2002:binary",{kind:"scalar",resolve:mt,construct:yt,predicate:xt,represent:bt});var vt=Object.prototype.hasOwnProperty;var kt=Object.prototype.toString;function wt(t){if(t===null)return true;var e=[],r,i,n,a,o,s=t;for(r=0,i=s.length;r<i;r+=1){n=s[r];o=false;if(kt.call(n)!=="[object Object]")return false;for(a in n){if(vt.call(n,a)){if(!o)o=true;else return false}}if(!o)return false;if(e.indexOf(a)===-1)e.push(a);else return false}return true}(0,i.K2)(wt,"resolveYamlOmap");function St(t){return t!==null?t:[]}(0,i.K2)(St,"constructYamlOmap");var At=new L("tag:yaml.org,2002:omap",{kind:"sequence",resolve:wt,construct:St});var Tt=Object.prototype.toString;function Bt(t){if(t===null)return true;var e,r,i,n,a,o=t;a=new Array(o.length);for(e=0,r=o.length;e<r;e+=1){i=o[e];if(Tt.call(i)!=="[object Object]")return false;n=Object.keys(i);if(n.length!==1)return false;a[e]=[n[0],i[n[0]]]}return true}(0,i.K2)(Bt,"resolveYamlPairs");function Lt(t){if(t===null)return[];var e,r,i,n,a,o=t;a=new Array(o.length);for(e=0,r=o.length;e<r;e+=1){i=o[e];n=Object.keys(i);a[e]=[n[0],i[n[0]]]}return a}(0,i.K2)(Lt,"constructYamlPairs");var Mt=new L("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:Bt,construct:Lt});var Ft=Object.prototype.hasOwnProperty;function _t(t){if(t===null)return true;var e,r=t;for(e in r){if(Ft.call(r,e)){if(r[e]!==null)return false}}return true}(0,i.K2)(_t,"resolveYamlSet");function $t(t){return t!==null?t:{}}(0,i.K2)($t,"constructYamlSet");var Et=new L("tag:yaml.org,2002:set",{kind:"mapping",resolve:_t,construct:$t});var Dt=ot.extend({implicit:[ut,pt],explicit:[Ct,At,Mt,Et]});var Ot=Object.prototype.hasOwnProperty;var It=1;var Kt=2;var Rt=3;var Pt=4;var Nt=1;var qt=2;var zt=3;var jt=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var Wt=/[\x85\u2028\u2029]/;var Ht=/[,\[\]\{\}]/;var Ut=/^(?:!|!!|![a-z\-]+!)$/i;var Yt=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Gt(t){return Object.prototype.toString.call(t)}(0,i.K2)(Gt,"_class");function Vt(t){return t===10||t===13}(0,i.K2)(Vt,"is_EOL");function Xt(t){return t===9||t===32}(0,i.K2)(Xt,"is_WHITE_SPACE");function Zt(t){return t===9||t===32||t===10||t===13}(0,i.K2)(Zt,"is_WS_OR_EOL");function Jt(t){return t===44||t===91||t===93||t===123||t===125}(0,i.K2)(Jt,"is_FLOW_INDICATOR");function Qt(t){var e;if(48<=t&&t<=57){return t-48}e=t|32;if(97<=e&&e<=102){return e-97+10}return-1}(0,i.K2)(Qt,"fromHexCode");function te(t){if(t===120){return 2}if(t===117){return 4}if(t===85){return 8}return 0}(0,i.K2)(te,"escapedHexLen");function ee(t){if(48<=t&&t<=57){return t-48}return-1}(0,i.K2)(ee,"fromDecimalCode");function re(t){return t===48?"\0":t===97?"":t===98?"\b":t===116?"\t":t===9?"\t":t===110?"\n":t===118?"\v":t===102?"\f":t===114?"\r":t===101?"":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"…":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}(0,i.K2)(re,"simpleEscapeSequence");function ie(t){if(t<=65535){return String.fromCharCode(t)}return String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}(0,i.K2)(ie,"charFromCodepoint");var ne=new Array(256);var ae=new Array(256);for(oe=0;oe<256;oe++){ne[oe]=re(oe)?1:0;ae[oe]=re(oe)}var oe;function se(t,e){this.input=t;this.filename=e["filename"]||null;this.schema=e["schema"]||Dt;this.onWarning=e["onWarning"]||null;this.legacy=e["legacy"]||false;this.json=e["json"]||false;this.listener=e["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=t.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}(0,i.K2)(se,"State$1");function le(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};r.snippet=w(r);return new x(e,r)}(0,i.K2)(le,"generateError");function ce(t,e){throw le(t,e)}(0,i.K2)(ce,"throwError");function he(t,e){if(t.onWarning){t.onWarning.call(null,le(t,e))}}(0,i.K2)(he,"throwWarning");var de={YAML:(0,i.K2)((function t(e,r,i){var n,a,o;if(e.version!==null){ce(e,"duplication of %YAML directive")}if(i.length!==1){ce(e,"YAML directive accepts exactly one argument")}n=/^([0-9]+)\.([0-9]+)$/.exec(i[0]);if(n===null){ce(e,"ill-formed argument of the YAML directive")}a=parseInt(n[1],10);o=parseInt(n[2],10);if(a!==1){ce(e,"unacceptable YAML version of the document")}e.version=i[0];e.checkLineBreaks=o<2;if(o!==1&&o!==2){he(e,"unsupported YAML version of the document")}}),"handleYamlDirective"),TAG:(0,i.K2)((function t(e,r,i){var n,a;if(i.length!==2){ce(e,"TAG directive accepts exactly two arguments")}n=i[0];a=i[1];if(!Ut.test(n)){ce(e,"ill-formed tag handle (first argument) of the TAG directive")}if(Ot.call(e.tagMap,n)){ce(e,'there is a previously declared suffix for "'+n+'" tag handle')}if(!Yt.test(a)){ce(e,"ill-formed tag prefix (second argument) of the TAG directive")}try{a=decodeURIComponent(a)}catch(o){ce(e,"tag prefix is malformed: "+a)}e.tagMap[n]=a}),"handleTagDirective")};function ue(t,e,r,i){var n,a,o,s;if(e<r){s=t.input.slice(e,r);if(i){for(n=0,a=s.length;n<a;n+=1){o=s.charCodeAt(n);if(!(o===9||32<=o&&o<=1114111)){ce(t,"expected valid JSON character")}}}else if(jt.test(s)){ce(t,"the stream contains non-printable characters")}t.result+=s}}(0,i.K2)(ue,"captureSegment");function fe(t,e,r,i){var n,a,o,s;if(!m.isObject(r)){ce(t,"cannot merge mappings; the provided source object is unacceptable")}n=Object.keys(r);for(o=0,s=n.length;o<s;o+=1){a=n[o];if(!Ot.call(e,a)){e[a]=r[a];i[a]=true}}}(0,i.K2)(fe,"mergeMappings");function pe(t,e,r,i,n,a,o,s,l){var c,h;if(Array.isArray(n)){n=Array.prototype.slice.call(n);for(c=0,h=n.length;c<h;c+=1){if(Array.isArray(n[c])){ce(t,"nested arrays are not supported inside keys")}if(typeof n==="object"&&Gt(n[c])==="[object Object]"){n[c]="[object Object]"}}}if(typeof n==="object"&&Gt(n)==="[object Object]"){n="[object Object]"}n=String(n);if(e===null){e={}}if(i==="tag:yaml.org,2002:merge"){if(Array.isArray(a)){for(c=0,h=a.length;c<h;c+=1){fe(t,e,a[c],r)}}else{fe(t,e,a,r)}}else{if(!t.json&&!Ot.call(r,n)&&Ot.call(e,n)){t.line=o||t.line;t.lineStart=s||t.lineStart;t.position=l||t.position;ce(t,"duplicated mapping key")}if(n==="__proto__"){Object.defineProperty(e,n,{configurable:true,enumerable:true,writable:true,value:a})}else{e[n]=a}delete r[n]}return e}(0,i.K2)(pe,"storeMappingPair");function ge(t){var e;e=t.input.charCodeAt(t.position);if(e===10){t.position++}else if(e===13){t.position++;if(t.input.charCodeAt(t.position)===10){t.position++}}else{ce(t,"a line break is expected")}t.line+=1;t.lineStart=t.position;t.firstTabInLine=-1}(0,i.K2)(ge,"readLineBreak");function me(t,e,r){var i=0,n=t.input.charCodeAt(t.position);while(n!==0){while(Xt(n)){if(n===9&&t.firstTabInLine===-1){t.firstTabInLine=t.position}n=t.input.charCodeAt(++t.position)}if(e&&n===35){do{n=t.input.charCodeAt(++t.position)}while(n!==10&&n!==13&&n!==0)}if(Vt(n)){ge(t);n=t.input.charCodeAt(t.position);i++;t.lineIndent=0;while(n===32){t.lineIndent++;n=t.input.charCodeAt(++t.position)}}else{break}}if(r!==-1&&i!==0&&t.lineIndent<r){he(t,"deficient indentation")}return i}(0,i.K2)(me,"skipSeparationSpace");function ye(t){var e=t.position,r;r=t.input.charCodeAt(e);if((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)){e+=3;r=t.input.charCodeAt(e);if(r===0||Zt(r)){return true}}return false}(0,i.K2)(ye,"testDocumentSeparator");function be(t,e){if(e===1){t.result+=" "}else if(e>1){t.result+=m.repeat("\n",e-1)}}(0,i.K2)(be,"writeFoldedLines");function xe(t,e,r){var i,n,a,o,s,l,c,h,d=t.kind,u=t.result,f;f=t.input.charCodeAt(t.position);if(Zt(f)||Jt(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96){return false}if(f===63||f===45){n=t.input.charCodeAt(t.position+1);if(Zt(n)||r&&Jt(n)){return false}}t.kind="scalar";t.result="";a=o=t.position;s=false;while(f!==0){if(f===58){n=t.input.charCodeAt(t.position+1);if(Zt(n)||r&&Jt(n)){break}}else if(f===35){i=t.input.charCodeAt(t.position-1);if(Zt(i)){break}}else if(t.position===t.lineStart&&ye(t)||r&&Jt(f)){break}else if(Vt(f)){l=t.line;c=t.lineStart;h=t.lineIndent;me(t,false,-1);if(t.lineIndent>=e){s=true;f=t.input.charCodeAt(t.position);continue}else{t.position=o;t.line=l;t.lineStart=c;t.lineIndent=h;break}}if(s){ue(t,a,o,false);be(t,t.line-l);a=o=t.position;s=false}if(!Xt(f)){o=t.position+1}f=t.input.charCodeAt(++t.position)}ue(t,a,o,false);if(t.result){return true}t.kind=d;t.result=u;return false}(0,i.K2)(xe,"readPlainScalar");function Ce(t,e){var r,i,n;r=t.input.charCodeAt(t.position);if(r!==39){return false}t.kind="scalar";t.result="";t.position++;i=n=t.position;while((r=t.input.charCodeAt(t.position))!==0){if(r===39){ue(t,i,t.position,true);r=t.input.charCodeAt(++t.position);if(r===39){i=t.position;t.position++;n=t.position}else{return true}}else if(Vt(r)){ue(t,i,n,true);be(t,me(t,false,e));i=n=t.position}else if(t.position===t.lineStart&&ye(t)){ce(t,"unexpected end of the document within a single quoted scalar")}else{t.position++;n=t.position}}ce(t,"unexpected end of the stream within a single quoted scalar")}(0,i.K2)(Ce,"readSingleQuotedScalar");function ve(t,e){var r,i,n,a,o,s;s=t.input.charCodeAt(t.position);if(s!==34){return false}t.kind="scalar";t.result="";t.position++;r=i=t.position;while((s=t.input.charCodeAt(t.position))!==0){if(s===34){ue(t,r,t.position,true);t.position++;return true}else if(s===92){ue(t,r,t.position,true);s=t.input.charCodeAt(++t.position);if(Vt(s)){me(t,false,e)}else if(s<256&&ne[s]){t.result+=ae[s];t.position++}else if((o=te(s))>0){n=o;a=0;for(;n>0;n--){s=t.input.charCodeAt(++t.position);if((o=Qt(s))>=0){a=(a<<4)+o}else{ce(t,"expected hexadecimal character")}}t.result+=ie(a);t.position++}else{ce(t,"unknown escape sequence")}r=i=t.position}else if(Vt(s)){ue(t,r,i,true);be(t,me(t,false,e));r=i=t.position}else if(t.position===t.lineStart&&ye(t)){ce(t,"unexpected end of the document within a double quoted scalar")}else{t.position++;i=t.position}}ce(t,"unexpected end of the stream within a double quoted scalar")}(0,i.K2)(ve,"readDoubleQuotedScalar");function ke(t,e){var r=true,i,n,a,o=t.tag,s,l=t.anchor,c,h,d,u,f,p=Object.create(null),g,m,y,b;b=t.input.charCodeAt(t.position);if(b===91){h=93;f=false;s=[]}else if(b===123){h=125;f=true;s={}}else{return false}if(t.anchor!==null){t.anchorMap[t.anchor]=s}b=t.input.charCodeAt(++t.position);while(b!==0){me(t,true,e);b=t.input.charCodeAt(t.position);if(b===h){t.position++;t.tag=o;t.anchor=l;t.kind=f?"mapping":"sequence";t.result=s;return true}else if(!r){ce(t,"missed comma between flow collection entries")}else if(b===44){ce(t,"expected the node content, but found ','")}m=g=y=null;d=u=false;if(b===63){c=t.input.charCodeAt(t.position+1);if(Zt(c)){d=u=true;t.position++;me(t,true,e)}}i=t.line;n=t.lineStart;a=t.position;Me(t,e,It,false,true);m=t.tag;g=t.result;me(t,true,e);b=t.input.charCodeAt(t.position);if((u||t.line===i)&&b===58){d=true;b=t.input.charCodeAt(++t.position);me(t,true,e);Me(t,e,It,false,true);y=t.result}if(f){pe(t,s,p,m,g,y,i,n,a)}else if(d){s.push(pe(t,null,p,m,g,y,i,n,a))}else{s.push(g)}me(t,true,e);b=t.input.charCodeAt(t.position);if(b===44){r=true;b=t.input.charCodeAt(++t.position)}else{r=false}}ce(t,"unexpected end of the stream within a flow collection")}(0,i.K2)(ke,"readFlowCollection");function we(t,e){var r,i,n=Nt,a=false,o=false,s=e,l=0,c=false,h,d;d=t.input.charCodeAt(t.position);if(d===124){i=false}else if(d===62){i=true}else{return false}t.kind="scalar";t.result="";while(d!==0){d=t.input.charCodeAt(++t.position);if(d===43||d===45){if(Nt===n){n=d===43?zt:qt}else{ce(t,"repeat of a chomping mode identifier")}}else if((h=ee(d))>=0){if(h===0){ce(t,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!o){s=e+h-1;o=true}else{ce(t,"repeat of an indentation width identifier")}}else{break}}if(Xt(d)){do{d=t.input.charCodeAt(++t.position)}while(Xt(d));if(d===35){do{d=t.input.charCodeAt(++t.position)}while(!Vt(d)&&d!==0)}}while(d!==0){ge(t);t.lineIndent=0;d=t.input.charCodeAt(t.position);while((!o||t.lineIndent<s)&&d===32){t.lineIndent++;d=t.input.charCodeAt(++t.position)}if(!o&&t.lineIndent>s){s=t.lineIndent}if(Vt(d)){l++;continue}if(t.lineIndent<s){if(n===zt){t.result+=m.repeat("\n",a?1+l:l)}else if(n===Nt){if(a){t.result+="\n"}}break}if(i){if(Xt(d)){c=true;t.result+=m.repeat("\n",a?1+l:l)}else if(c){c=false;t.result+=m.repeat("\n",l+1)}else if(l===0){if(a){t.result+=" "}}else{t.result+=m.repeat("\n",l)}}else{t.result+=m.repeat("\n",a?1+l:l)}a=true;o=true;l=0;r=t.position;while(!Vt(d)&&d!==0){d=t.input.charCodeAt(++t.position)}ue(t,r,t.position,false)}return true}(0,i.K2)(we,"readBlockScalar");function Se(t,e){var r,i=t.tag,n=t.anchor,a=[],o,s=false,l;if(t.firstTabInLine!==-1)return false;if(t.anchor!==null){t.anchorMap[t.anchor]=a}l=t.input.charCodeAt(t.position);while(l!==0){if(t.firstTabInLine!==-1){t.position=t.firstTabInLine;ce(t,"tab characters must not be used in indentation")}if(l!==45){break}o=t.input.charCodeAt(t.position+1);if(!Zt(o)){break}s=true;t.position++;if(me(t,true,-1)){if(t.lineIndent<=e){a.push(null);l=t.input.charCodeAt(t.position);continue}}r=t.line;Me(t,e,Rt,false,true);a.push(t.result);me(t,true,-1);l=t.input.charCodeAt(t.position);if((t.line===r||t.lineIndent>e)&&l!==0){ce(t,"bad indentation of a sequence entry")}else if(t.lineIndent<e){break}}if(s){t.tag=i;t.anchor=n;t.kind="sequence";t.result=a;return true}return false}(0,i.K2)(Se,"readBlockSequence");function Ae(t,e,r){var i,n,a,o,s,l,c=t.tag,h=t.anchor,d={},u=Object.create(null),f=null,p=null,g=null,m=false,y=false,b;if(t.firstTabInLine!==-1)return false;if(t.anchor!==null){t.anchorMap[t.anchor]=d}b=t.input.charCodeAt(t.position);while(b!==0){if(!m&&t.firstTabInLine!==-1){t.position=t.firstTabInLine;ce(t,"tab characters must not be used in indentation")}i=t.input.charCodeAt(t.position+1);a=t.line;if((b===63||b===58)&&Zt(i)){if(b===63){if(m){pe(t,d,u,f,p,null,o,s,l);f=p=g=null}y=true;m=true;n=true}else if(m){m=false;n=true}else{ce(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line")}t.position+=1;b=i}else{o=t.line;s=t.lineStart;l=t.position;if(!Me(t,r,Kt,false,true)){break}if(t.line===a){b=t.input.charCodeAt(t.position);while(Xt(b)){b=t.input.charCodeAt(++t.position)}if(b===58){b=t.input.charCodeAt(++t.position);if(!Zt(b)){ce(t,"a whitespace character is expected after the key-value separator within a block mapping")}if(m){pe(t,d,u,f,p,null,o,s,l);f=p=g=null}y=true;m=false;n=false;f=t.tag;p=t.result}else if(y){ce(t,"can not read an implicit mapping pair; a colon is missed")}else{t.tag=c;t.anchor=h;return true}}else if(y){ce(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}else{t.tag=c;t.anchor=h;return true}}if(t.line===a||t.lineIndent>e){if(m){o=t.line;s=t.lineStart;l=t.position}if(Me(t,e,Pt,true,n)){if(m){p=t.result}else{g=t.result}}if(!m){pe(t,d,u,f,p,g,o,s,l);f=p=g=null}me(t,true,-1);b=t.input.charCodeAt(t.position)}if((t.line===a||t.lineIndent>e)&&b!==0){ce(t,"bad indentation of a mapping entry")}else if(t.lineIndent<e){break}}if(m){pe(t,d,u,f,p,null,o,s,l)}if(y){t.tag=c;t.anchor=h;t.kind="mapping";t.result=d}return y}(0,i.K2)(Ae,"readBlockMapping");function Te(t){var e,r=false,i=false,n,a,o;o=t.input.charCodeAt(t.position);if(o!==33)return false;if(t.tag!==null){ce(t,"duplication of a tag property")}o=t.input.charCodeAt(++t.position);if(o===60){r=true;o=t.input.charCodeAt(++t.position)}else if(o===33){i=true;n="!!";o=t.input.charCodeAt(++t.position)}else{n="!"}e=t.position;if(r){do{o=t.input.charCodeAt(++t.position)}while(o!==0&&o!==62);if(t.position<t.length){a=t.input.slice(e,t.position);o=t.input.charCodeAt(++t.position)}else{ce(t,"unexpected end of the stream within a verbatim tag")}}else{while(o!==0&&!Zt(o)){if(o===33){if(!i){n=t.input.slice(e-1,t.position+1);if(!Ut.test(n)){ce(t,"named tag handle cannot contain such characters")}i=true;e=t.position+1}else{ce(t,"tag suffix cannot contain exclamation marks")}}o=t.input.charCodeAt(++t.position)}a=t.input.slice(e,t.position);if(Ht.test(a)){ce(t,"tag suffix cannot contain flow indicator characters")}}if(a&&!Yt.test(a)){ce(t,"tag name cannot contain such characters: "+a)}try{a=decodeURIComponent(a)}catch(s){ce(t,"tag name is malformed: "+a)}if(r){t.tag=a}else if(Ot.call(t.tagMap,n)){t.tag=t.tagMap[n]+a}else if(n==="!"){t.tag="!"+a}else if(n==="!!"){t.tag="tag:yaml.org,2002:"+a}else{ce(t,'undeclared tag handle "'+n+'"')}return true}(0,i.K2)(Te,"readTagProperty");function Be(t){var e,r;r=t.input.charCodeAt(t.position);if(r!==38)return false;if(t.anchor!==null){ce(t,"duplication of an anchor property")}r=t.input.charCodeAt(++t.position);e=t.position;while(r!==0&&!Zt(r)&&!Jt(r)){r=t.input.charCodeAt(++t.position)}if(t.position===e){ce(t,"name of an anchor node must contain at least one character")}t.anchor=t.input.slice(e,t.position);return true}(0,i.K2)(Be,"readAnchorProperty");function Le(t){var e,r,i;i=t.input.charCodeAt(t.position);if(i!==42)return false;i=t.input.charCodeAt(++t.position);e=t.position;while(i!==0&&!Zt(i)&&!Jt(i)){i=t.input.charCodeAt(++t.position)}if(t.position===e){ce(t,"name of an alias node must contain at least one character")}r=t.input.slice(e,t.position);if(!Ot.call(t.anchorMap,r)){ce(t,'unidentified alias "'+r+'"')}t.result=t.anchorMap[r];me(t,true,-1);return true}(0,i.K2)(Le,"readAlias");function Me(t,e,r,i,n){var a,o,s,l=1,c=false,h=false,d,u,f,p,g,m;if(t.listener!==null){t.listener("open",t)}t.tag=null;t.anchor=null;t.kind=null;t.result=null;a=o=s=Pt===r||Rt===r;if(i){if(me(t,true,-1)){c=true;if(t.lineIndent>e){l=1}else if(t.lineIndent===e){l=0}else if(t.lineIndent<e){l=-1}}}if(l===1){while(Te(t)||Be(t)){if(me(t,true,-1)){c=true;s=a;if(t.lineIndent>e){l=1}else if(t.lineIndent===e){l=0}else if(t.lineIndent<e){l=-1}}else{s=false}}}if(s){s=c||n}if(l===1||Pt===r){if(It===r||Kt===r){g=e}else{g=e+1}m=t.position-t.lineStart;if(l===1){if(s&&(Se(t,m)||Ae(t,m,g))||ke(t,g)){h=true}else{if(o&&we(t,g)||Ce(t,g)||ve(t,g)){h=true}else if(Le(t)){h=true;if(t.tag!==null||t.anchor!==null){ce(t,"alias node should not have any properties")}}else if(xe(t,g,It===r)){h=true;if(t.tag===null){t.tag="?"}}if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}}else if(l===0){h=s&&Se(t,m)}}if(t.tag===null){if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}else if(t.tag==="?"){if(t.result!==null&&t.kind!=="scalar"){ce(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"')}for(d=0,u=t.implicitTypes.length;d<u;d+=1){p=t.implicitTypes[d];if(p.resolve(t.result)){t.result=p.construct(t.result);t.tag=p.tag;if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}break}}}else if(t.tag!=="!"){if(Ot.call(t.typeMap[t.kind||"fallback"],t.tag)){p=t.typeMap[t.kind||"fallback"][t.tag]}else{p=null;f=t.typeMap.multi[t.kind||"fallback"];for(d=0,u=f.length;d<u;d+=1){if(t.tag.slice(0,f[d].tag.length)===f[d].tag){p=f[d];break}}}if(!p){ce(t,"unknown tag !<"+t.tag+">")}if(t.result!==null&&p.kind!==t.kind){ce(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+p.kind+'", not "'+t.kind+'"')}if(!p.resolve(t.result,t.tag)){ce(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}else{t.result=p.construct(t.result,t.tag);if(t.anchor!==null){t.anchorMap[t.anchor]=t.result}}}if(t.listener!==null){t.listener("close",t)}return t.tag!==null||t.anchor!==null||h}(0,i.K2)(Me,"composeNode");function Fe(t){var e=t.position,r,i,n,a=false,o;t.version=null;t.checkLineBreaks=t.legacy;t.tagMap=Object.create(null);t.anchorMap=Object.create(null);while((o=t.input.charCodeAt(t.position))!==0){me(t,true,-1);o=t.input.charCodeAt(t.position);if(t.lineIndent>0||o!==37){break}a=true;o=t.input.charCodeAt(++t.position);r=t.position;while(o!==0&&!Zt(o)){o=t.input.charCodeAt(++t.position)}i=t.input.slice(r,t.position);n=[];if(i.length<1){ce(t,"directive name must not be less than one character in length")}while(o!==0){while(Xt(o)){o=t.input.charCodeAt(++t.position)}if(o===35){do{o=t.input.charCodeAt(++t.position)}while(o!==0&&!Vt(o));break}if(Vt(o))break;r=t.position;while(o!==0&&!Zt(o)){o=t.input.charCodeAt(++t.position)}n.push(t.input.slice(r,t.position))}if(o!==0)ge(t);if(Ot.call(de,i)){de[i](t,i,n)}else{he(t,'unknown document directive "'+i+'"')}}me(t,true,-1);if(t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45){t.position+=3;me(t,true,-1)}else if(a){ce(t,"directives end mark is expected")}Me(t,t.lineIndent-1,Pt,false,true);me(t,true,-1);if(t.checkLineBreaks&&Wt.test(t.input.slice(e,t.position))){he(t,"non-ASCII line breaks are interpreted as content")}t.documents.push(t.result);if(t.position===t.lineStart&&ye(t)){if(t.input.charCodeAt(t.position)===46){t.position+=3;me(t,true,-1)}return}if(t.position<t.length-1){ce(t,"end of the stream or a document separator is expected")}else{return}}(0,i.K2)(Fe,"readDocument");function _e(t,e){t=String(t);e=e||{};if(t.length!==0){if(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13){t+="\n"}if(t.charCodeAt(0)===65279){t=t.slice(1)}}var r=new se(t,e);var i=t.indexOf("\0");if(i!==-1){r.position=i;ce(r,"null byte is not allowed in input")}r.input+="\0";while(r.input.charCodeAt(r.position)===32){r.lineIndent+=1;r.position+=1}while(r.position<r.length-1){Fe(r)}return r.documents}(0,i.K2)(_e,"loadDocuments");function $e(t,e,r){if(e!==null&&typeof e==="object"&&typeof r==="undefined"){r=e;e=null}var i=_e(t,r);if(typeof e!=="function"){return i}for(var n=0,a=i.length;n<a;n+=1){e(i[n])}}(0,i.K2)($e,"loadAll$1");function Ee(t,e){var r=_e(t,e);if(r.length===0){return void 0}else if(r.length===1){return r[0]}throw new x("expected a single document in the stream, but found more")}(0,i.K2)(Ee,"load$1");var De=$e;var Oe=Ee;var Ie={loadAll:De,load:Oe};var Ke=Object.prototype.toString;var Re=Object.prototype.hasOwnProperty;var Pe=65279;var Ne=9;var qe=10;var ze=13;var je=32;var We=33;var He=34;var Ue=35;var Ye=37;var Ge=38;var Ve=39;var Xe=42;var Ze=44;var Je=45;var Qe=58;var tr=61;var er=62;var rr=63;var ir=64;var nr=91;var ar=93;var or=96;var sr=123;var lr=124;var cr=125;var hr={};hr[0]="\\0";hr[7]="\\a";hr[8]="\\b";hr[9]="\\t";hr[10]="\\n";hr[11]="\\v";hr[12]="\\f";hr[13]="\\r";hr[27]="\\e";hr[34]='\\"';hr[92]="\\\\";hr[133]="\\N";hr[160]="\\_";hr[8232]="\\L";hr[8233]="\\P";var dr=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var ur=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function fr(t,e){var r,i,n,a,o,s,l;if(e===null)return{};r={};i=Object.keys(e);for(n=0,a=i.length;n<a;n+=1){o=i[n];s=String(e[o]);if(o.slice(0,2)==="!!"){o="tag:yaml.org,2002:"+o.slice(2)}l=t.compiledTypeMap["fallback"][o];if(l&&Re.call(l.styleAliases,s)){s=l.styleAliases[s]}r[o]=s}return r}(0,i.K2)(fr,"compileStyleMap");function pr(t){var e,r,i;e=t.toString(16).toUpperCase();if(t<=255){r="x";i=2}else if(t<=65535){r="u";i=4}else if(t<=4294967295){r="U";i=8}else{throw new x("code point within a string may not be greater than 0xFFFFFFFF")}return"\\"+r+m.repeat("0",i-e.length)+e}(0,i.K2)(pr,"encodeHex");var gr=1;var mr=2;function yr(t){this.schema=t["schema"]||Dt;this.indent=Math.max(1,t["indent"]||2);this.noArrayIndent=t["noArrayIndent"]||false;this.skipInvalid=t["skipInvalid"]||false;this.flowLevel=m.isNothing(t["flowLevel"])?-1:t["flowLevel"];this.styleMap=fr(this.schema,t["styles"]||null);this.sortKeys=t["sortKeys"]||false;this.lineWidth=t["lineWidth"]||80;this.noRefs=t["noRefs"]||false;this.noCompatMode=t["noCompatMode"]||false;this.condenseFlow=t["condenseFlow"]||false;this.quotingType=t["quotingType"]==='"'?mr:gr;this.forceQuotes=t["forceQuotes"]||false;this.replacer=typeof t["replacer"]==="function"?t["replacer"]:null;this.implicitTypes=this.schema.compiledImplicit;this.explicitTypes=this.schema.compiledExplicit;this.tag=null;this.result="";this.duplicates=[];this.usedDuplicates=null}(0,i.K2)(yr,"State");function br(t,e){var r=m.repeat(" ",e),i=0,n=-1,a="",o,s=t.length;while(i<s){n=t.indexOf("\n",i);if(n===-1){o=t.slice(i);i=s}else{o=t.slice(i,n+1);i=n+1}if(o.length&&o!=="\n")a+=r;a+=o}return a}(0,i.K2)(br,"indentString");function xr(t,e){return"\n"+m.repeat(" ",t.indent*e)}(0,i.K2)(xr,"generateNextLine");function Cr(t,e){var r,i,n;for(r=0,i=t.implicitTypes.length;r<i;r+=1){n=t.implicitTypes[r];if(n.resolve(e)){return true}}return false}(0,i.K2)(Cr,"testImplicitResolving");function vr(t){return t===je||t===Ne}(0,i.K2)(vr,"isWhitespace");function kr(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==Pe||65536<=t&&t<=1114111}(0,i.K2)(kr,"isPrintable");function wr(t){return kr(t)&&t!==Pe&&t!==ze&&t!==qe}(0,i.K2)(wr,"isNsCharOrWhitespace");function Sr(t,e,r){var i=wr(t);var n=i&&!vr(t);return(r?i:i&&t!==Ze&&t!==nr&&t!==ar&&t!==sr&&t!==cr)&&t!==Ue&&!(e===Qe&&!n)||wr(e)&&!vr(e)&&t===Ue||e===Qe&&n}(0,i.K2)(Sr,"isPlainSafe");function Ar(t){return kr(t)&&t!==Pe&&!vr(t)&&t!==Je&&t!==rr&&t!==Qe&&t!==Ze&&t!==nr&&t!==ar&&t!==sr&&t!==cr&&t!==Ue&&t!==Ge&&t!==Xe&&t!==We&&t!==lr&&t!==tr&&t!==er&&t!==Ve&&t!==He&&t!==Ye&&t!==ir&&t!==or}(0,i.K2)(Ar,"isPlainSafeFirst");function Tr(t){return!vr(t)&&t!==Qe}(0,i.K2)(Tr,"isPlainSafeLast");function Br(t,e){var r=t.charCodeAt(e),i;if(r>=55296&&r<=56319&&e+1<t.length){i=t.charCodeAt(e+1);if(i>=56320&&i<=57343){return(r-55296)*1024+i-56320+65536}}return r}(0,i.K2)(Br,"codePointAt");function Lr(t){var e=/^\n* /;return e.test(t)}(0,i.K2)(Lr,"needIndentIndicator");var Mr=1;var Fr=2;var _r=3;var $r=4;var Er=5;function Dr(t,e,r,i,n,a,o,s){var l;var c=0;var h=null;var d=false;var u=false;var f=i!==-1;var p=-1;var g=Ar(Br(t,0))&&Tr(Br(t,t.length-1));if(e||o){for(l=0;l<t.length;c>=65536?l+=2:l++){c=Br(t,l);if(!kr(c)){return Er}g=g&&Sr(c,h,s);h=c}}else{for(l=0;l<t.length;c>=65536?l+=2:l++){c=Br(t,l);if(c===qe){d=true;if(f){u=u||l-p-1>i&&t[p+1]!==" ";p=l}}else if(!kr(c)){return Er}g=g&&Sr(c,h,s);h=c}u=u||f&&(l-p-1>i&&t[p+1]!==" ")}if(!d&&!u){if(g&&!o&&!n(t)){return Mr}return a===mr?Er:Fr}if(r>9&&Lr(t)){return Er}if(!o){return u?$r:_r}return a===mr?Er:Fr}(0,i.K2)(Dr,"chooseScalarStyle");function Or(t,e,r,n,a){t.dump=function(){if(e.length===0){return t.quotingType===mr?'""':"''"}if(!t.noCompatMode){if(dr.indexOf(e)!==-1||ur.test(e)){return t.quotingType===mr?'"'+e+'"':"'"+e+"'"}}var o=t.indent*Math.max(1,r);var s=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o);var l=n||t.flowLevel>-1&&r>=t.flowLevel;function c(e){return Cr(t,e)}(0,i.K2)(c,"testAmbiguity");switch(Dr(e,l,t.indent,s,c,t.quotingType,t.forceQuotes&&!n,a)){case Mr:return e;case Fr:return"'"+e.replace(/'/g,"''")+"'";case _r:return"|"+Ir(e,t.indent)+Kr(br(e,o));case $r:return">"+Ir(e,t.indent)+Kr(br(Rr(e,s),o));case Er:return'"'+Nr(e)+'"';default:throw new x("impossible error: invalid scalar style")}}()}(0,i.K2)(Or,"writeScalar");function Ir(t,e){var r=Lr(t)?String(e):"";var i=t[t.length-1]==="\n";var n=i&&(t[t.length-2]==="\n"||t==="\n");var a=n?"+":i?"":"-";return r+a+"\n"}(0,i.K2)(Ir,"blockHeader");function Kr(t){return t[t.length-1]==="\n"?t.slice(0,-1):t}(0,i.K2)(Kr,"dropEndingNewline");function Rr(t,e){var r=/(\n+)([^\n]*)/g;var i=function(){var i=t.indexOf("\n");i=i!==-1?i:t.length;r.lastIndex=i;return Pr(t.slice(0,i),e)}();var n=t[0]==="\n"||t[0]===" ";var a;var o;while(o=r.exec(t)){var s=o[1],l=o[2];a=l[0]===" ";i+=s+(!n&&!a&&l!==""?"\n":"")+Pr(l,e);n=a}return i}(0,i.K2)(Rr,"foldString");function Pr(t,e){if(t===""||t[0]===" ")return t;var r=/ [^ ]/g;var i;var n=0,a,o=0,s=0;var l="";while(i=r.exec(t)){s=i.index;if(s-n>e){a=o>n?o:s;l+="\n"+t.slice(n,a);n=a+1}o=s}l+="\n";if(t.length-n>e&&o>n){l+=t.slice(n,o)+"\n"+t.slice(o+1)}else{l+=t.slice(n)}return l.slice(1)}(0,i.K2)(Pr,"foldLine");function Nr(t){var e="";var r=0;var i;for(var n=0;n<t.length;r>=65536?n+=2:n++){r=Br(t,n);i=hr[r];if(!i&&kr(r)){e+=t[n];if(r>=65536)e+=t[n+1]}else{e+=i||pr(r)}}return e}(0,i.K2)(Nr,"escapeString");function qr(t,e,r){var i="",n=t.tag,a,o,s;for(a=0,o=r.length;a<o;a+=1){s=r[a];if(t.replacer){s=t.replacer.call(r,String(a),s)}if(Ur(t,e,s,false,false)||typeof s==="undefined"&&Ur(t,e,null,false,false)){if(i!=="")i+=","+(!t.condenseFlow?" ":"");i+=t.dump}}t.tag=n;t.dump="["+i+"]"}(0,i.K2)(qr,"writeFlowSequence");function zr(t,e,r,i){var n="",a=t.tag,o,s,l;for(o=0,s=r.length;o<s;o+=1){l=r[o];if(t.replacer){l=t.replacer.call(r,String(o),l)}if(Ur(t,e+1,l,true,true,false,true)||typeof l==="undefined"&&Ur(t,e+1,null,true,true,false,true)){if(!i||n!==""){n+=xr(t,e)}if(t.dump&&qe===t.dump.charCodeAt(0)){n+="-"}else{n+="- "}n+=t.dump}}t.tag=a;t.dump=n||"[]"}(0,i.K2)(zr,"writeBlockSequence");function jr(t,e,r){var i="",n=t.tag,a=Object.keys(r),o,s,l,c,h;for(o=0,s=a.length;o<s;o+=1){h="";if(i!=="")h+=", ";if(t.condenseFlow)h+='"';l=a[o];c=r[l];if(t.replacer){c=t.replacer.call(r,l,c)}if(!Ur(t,e,l,false,false)){continue}if(t.dump.length>1024)h+="? ";h+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" ");if(!Ur(t,e,c,false,false)){continue}h+=t.dump;i+=h}t.tag=n;t.dump="{"+i+"}"}(0,i.K2)(jr,"writeFlowMapping");function Wr(t,e,r,i){var n="",a=t.tag,o=Object.keys(r),s,l,c,h,d,u;if(t.sortKeys===true){o.sort()}else if(typeof t.sortKeys==="function"){o.sort(t.sortKeys)}else if(t.sortKeys){throw new x("sortKeys must be a boolean or a function")}for(s=0,l=o.length;s<l;s+=1){u="";if(!i||n!==""){u+=xr(t,e)}c=o[s];h=r[c];if(t.replacer){h=t.replacer.call(r,c,h)}if(!Ur(t,e+1,c,true,true,true)){continue}d=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024;if(d){if(t.dump&&qe===t.dump.charCodeAt(0)){u+="?"}else{u+="? "}}u+=t.dump;if(d){u+=xr(t,e)}if(!Ur(t,e+1,h,true,d)){continue}if(t.dump&&qe===t.dump.charCodeAt(0)){u+=":"}else{u+=": "}u+=t.dump;n+=u}t.tag=a;t.dump=n||"{}"}(0,i.K2)(Wr,"writeBlockMapping");function Hr(t,e,r){var i,n,a,o,s,l;n=r?t.explicitTypes:t.implicitTypes;for(a=0,o=n.length;a<o;a+=1){s=n[a];if((s.instanceOf||s.predicate)&&(!s.instanceOf||typeof e==="object"&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(r){if(s.multi&&s.representName){t.tag=s.representName(e)}else{t.tag=s.tag}}else{t.tag="?"}if(s.represent){l=t.styleMap[s.tag]||s.defaultStyle;if(Ke.call(s.represent)==="[object Function]"){i=s.represent(e,l)}else if(Re.call(s.represent,l)){i=s.represent[l](e,l)}else{throw new x("!<"+s.tag+'> tag resolver accepts not "'+l+'" style')}t.dump=i}return true}}return false}(0,i.K2)(Hr,"detectType");function Ur(t,e,r,i,n,a,o){t.tag=null;t.dump=r;if(!Hr(t,r,false)){Hr(t,r,true)}var s=Ke.call(t.dump);var l=i;var c;if(i){i=t.flowLevel<0||t.flowLevel>e}var h=s==="[object Object]"||s==="[object Array]",d,u;if(h){d=t.duplicates.indexOf(r);u=d!==-1}if(t.tag!==null&&t.tag!=="?"||u||t.indent!==2&&e>0){n=false}if(u&&t.usedDuplicates[d]){t.dump="*ref_"+d}else{if(h&&u&&!t.usedDuplicates[d]){t.usedDuplicates[d]=true}if(s==="[object Object]"){if(i&&Object.keys(t.dump).length!==0){Wr(t,e,t.dump,n);if(u){t.dump="&ref_"+d+t.dump}}else{jr(t,e,t.dump);if(u){t.dump="&ref_"+d+" "+t.dump}}}else if(s==="[object Array]"){if(i&&t.dump.length!==0){if(t.noArrayIndent&&!o&&e>0){zr(t,e-1,t.dump,n)}else{zr(t,e,t.dump,n)}if(u){t.dump="&ref_"+d+t.dump}}else{qr(t,e,t.dump);if(u){t.dump="&ref_"+d+" "+t.dump}}}else if(s==="[object String]"){if(t.tag!=="?"){Or(t,t.dump,e,a,l)}}else if(s==="[object Undefined]"){return false}else{if(t.skipInvalid)return false;throw new x("unacceptable kind of an object to dump "+s)}if(t.tag!==null&&t.tag!=="?"){c=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21");if(t.tag[0]==="!"){c="!"+c}else if(c.slice(0,18)==="tag:yaml.org,2002:"){c="!!"+c.slice(18)}else{c="!<"+c+">"}t.dump=c+" "+t.dump}}return true}(0,i.K2)(Ur,"writeNode");function Yr(t,e){var r=[],i=[],n,a;Gr(t,r,i);for(n=0,a=i.length;n<a;n+=1){e.duplicates.push(r[i[n]])}e.usedDuplicates=new Array(a)}(0,i.K2)(Yr,"getDuplicateReferences");function Gr(t,e,r){var i,n,a;if(t!==null&&typeof t==="object"){n=e.indexOf(t);if(n!==-1){if(r.indexOf(n)===-1){r.push(n)}}else{e.push(t);if(Array.isArray(t)){for(n=0,a=t.length;n<a;n+=1){Gr(t[n],e,r)}}else{i=Object.keys(t);for(n=0,a=i.length;n<a;n+=1){Gr(t[i[n]],e,r)}}}}}(0,i.K2)(Gr,"inspectNode");function Vr(t,e){e=e||{};var r=new yr(e);if(!r.noRefs)Yr(t,r);var i=t;if(r.replacer){i=r.replacer.call({"":i},"",i)}if(Ur(r,0,i,true,true))return r.dump+"\n";return""}(0,i.K2)(Vr,"dump$1");var Xr=Vr;var Zr={dump:Xr};function Jr(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}(0,i.K2)(Jr,"renamed");var Qr=at;var ti=Ie.load;var ei=Ie.loadAll;var ri=Zr.dump;var ii=Jr("safeLoad","load");var ni=Jr("safeLoadAll","loadAll");var ai=Jr("safeDump","dump")},90227:(t,e,r)=>{"use strict";r.r(e);r.d(e,{default:()=>an});var i=r(83419);var n=r(14177);var a=r(61771);var o=r(90495);var s=r(68352);var l=r(29013);var c=r(51774);var h=r(42940);var d=r(28818);var u=r(61357);var f=r(7395);var p=r(28945);var g=r(60513);var m=r(24982);var y="-ms-";var b="-moz-";var x="-webkit-";var C="comm";var v="rule";var k="decl";var w="@page";var S="@media";var A="@import";var T="@charset";var B="@viewport";var L="@supports";var M="@document";var F="@namespace";var _="@keyframes";var $="@font-face";var E="@counter-style";var D="@font-feature-values";var O="@layer";var I="@scope";var K=Math.abs;var R=String.fromCharCode;var P=Object.assign;function N(t,e){return H(t,0)^45?(((e<<2^H(t,0))<<2^H(t,1))<<2^H(t,2))<<2^H(t,3):0}function q(t){return t.trim()}function z(t,e){return(t=e.exec(t))?t[0]:t}function j(t,e,r){return t.replace(e,r)}function W(t,e,r){return t.indexOf(e,r)}function H(t,e){return t.charCodeAt(e)|0}function U(t,e,r){return t.slice(e,r)}function Y(t){return t.length}function G(t){return t.length}function V(t,e){return e.push(t),t}function X(t,e){return t.map(e).join("")}function Z(t,e){return t.filter((function(t){return!z(t,e)}))}function J(t,e){var r="";for(var i=0;i<t.length;i++)r+=e(t[i],i,t,e)||"";return r}function Q(t,e,r,i){switch(t.type){case O:if(t.children.length)break;case A:case k:return t.return=t.return||t.value;case C:return"";case _:return t.return=t.value+"{"+J(t.children,i)+"}";case v:if(!Y(t.value=t.props.join(",")))return""}return Y(r=J(t.children,i))?t.return=t.value+"{"+r+"}":""}var tt=1;var et=1;var rt=0;var it=0;var nt=0;var at="";function ot(t,e,r,i,n,a,o,s){return{value:t,root:e,parent:r,type:i,props:n,children:a,line:tt,column:et,length:o,return:"",siblings:s}}function st(t,e){return assign(ot("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function lt(t){while(t.root)t=st(t.root,{children:[t]});append(t,t.siblings)}function ct(){return nt}function ht(){nt=it>0?H(at,--it):0;if(et--,nt===10)et=1,tt--;return nt}function dt(){nt=it<rt?H(at,it++):0;if(et++,nt===10)et=1,tt++;return nt}function ut(){return H(at,it)}function ft(){return it}function pt(t,e){return U(at,t,e)}function gt(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function mt(t){return tt=et=1,rt=Y(at=t),it=0,[]}function yt(t){return at="",t}function bt(t){return q(pt(it-1,wt(t===91?t+2:t===40?t+1:t)))}function xt(t){return yt(vt(mt(t)))}function Ct(t){while(nt=ut())if(nt<33)dt();else break;return gt(t)>2||gt(nt)>3?"":" "}function vt(t){while(dt())switch(gt(nt)){case 0:append(At(it-1),t);break;case 2:append(bt(nt),t);break;default:append(from(nt),t)}return t}function kt(t,e){while(--e&&dt())if(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97)break;return pt(t,ft()+(e<6&&ut()==32&&dt()==32))}function wt(t){while(dt())switch(nt){case t:return it;case 34:case 39:if(t!==34&&t!==39)wt(nt);break;case 40:if(t===41)wt(t);break;case 92:dt();break}return it}function St(t,e){while(dt())if(t+nt===47+10)break;else if(t+nt===42+42&&ut()===47)break;return"/*"+pt(e,it-1)+"*"+R(t===47?t:dt())}function At(t){while(!gt(ut()))dt();return pt(t,it)}function Tt(t){return yt(Bt("",null,null,null,[""],t=mt(t),0,[0],t))}function Bt(t,e,r,i,n,a,o,s,l){var c=0;var h=0;var d=o;var u=0;var f=0;var p=0;var g=1;var m=1;var y=1;var b=0;var x="";var C=n;var v=a;var k=i;var w=x;while(m)switch(p=b,b=dt()){case 40:if(p!=108&&H(w,d-1)==58){if(W(w+=j(bt(b),"&","&\f"),"&\f",K(c?s[c-1]:0))!=-1)y=-1;break}case 34:case 39:case 91:w+=bt(b);break;case 9:case 10:case 13:case 32:w+=Ct(p);break;case 92:w+=kt(ft()-1,7);continue;case 47:switch(ut()){case 42:case 47:V(Mt(St(dt(),ft()),e,r,l),l);if((gt(p||1)==5||gt(ut()||1)==5)&&Y(w)&&U(w,-1,void 0)!==" ")w+=" ";break;default:w+="/"}break;case 123*g:s[c++]=Y(w)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:m=0;case 59+h:if(y==-1)w=j(w,/\f/g,"");if(f>0&&(Y(w)-d||g===0&&p===47))V(f>32?Ft(w+";",i,r,d-1,l):Ft(j(w," ","")+";",i,r,d-2,l),l);break;case 59:w+=";";default:V(k=Lt(w,e,r,c,h,n,s,x,C=[],v=[],d,a),a);if(b===123)if(h===0)Bt(w,e,k,k,C,a,d,s,v);else switch(u===99&&H(w,3)===110?100:u){case 100:case 108:case 109:case 115:Bt(t,k,k,i&&V(Lt(t,k,k,0,0,n,s,x,n,C=[],d,v),v),n,v,d,s,i?C:v);break;default:Bt(w,k,k,k,[""],v,0,s,v)}}c=h=f=0,g=y=1,x=w="",d=o;break;case 58:d=1+Y(w),f=p;default:if(g<1)if(b==123)--g;else if(b==125&&g++==0&&ht()==125)continue;switch(w+=R(b),b*g){case 38:y=h>0?1:(w+="\f",-1);break;case 44:s[c++]=(Y(w)-1)*y,y=1;break;case 64:if(ut()===45)w+=bt(dt());u=ut(),h=d=Y(x=w+=At(ft())),b++;break;case 45:if(p===45&&Y(w)==2)g=0}}return a}function Lt(t,e,r,i,n,a,o,s,l,c,h,d){var u=n-1;var f=n===0?a:[""];var p=G(f);for(var g=0,m=0,y=0;g<i;++g)for(var b=0,x=U(t,u+1,u=K(m=o[g])),C=t;b<p;++b)if(C=q(m>0?f[b]+" "+x:j(x,/&\f/g,f[b])))l[y++]=C;return ot(t,e,r,n===0?v:s,l,c,h,d)}function Mt(t,e,r,i){return ot(t,e,r,C,R(ct()),U(t,2,-2),0,i)}function Ft(t,e,r,i,n){return ot(t,e,r,k,U(t,0,i),U(t,i+1,-1),i,n)}var _t=r(84997);var $t=r(74650);var Et="c4";var Dt=(0,p.K2)((t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t)),"detector");var Ot=(0,p.K2)((async()=>{const{diagram:t}=await r.e(2173).then(r.bind(r,2173));return{id:Et,diagram:t}}),"loader");var It={id:Et,detector:Dt,loader:Ot};var Kt=It;var Rt="flowchart";var Pt=(0,p.K2)(((t,e)=>{if(e?.flowchart?.defaultRenderer==="dagre-wrapper"||e?.flowchart?.defaultRenderer==="elk"){return false}return/^\s*graph/.test(t)}),"detector");var Nt=(0,p.K2)((async()=>{const{diagram:t}=await r.e(5232).then(r.bind(r,15232));return{id:Rt,diagram:t}}),"loader");var qt={id:Rt,detector:Pt,loader:Nt};var zt=qt;var jt="flowchart-v2";var Wt=(0,p.K2)(((t,e)=>{if(e?.flowchart?.defaultRenderer==="dagre-d3"){return false}if(e?.flowchart?.defaultRenderer==="elk"){e.layout="elk"}if(/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"){return true}return/^\s*flowchart/.test(t)}),"detector");var Ht=(0,p.K2)((async()=>{const{diagram:t}=await r.e(5232).then(r.bind(r,15232));return{id:jt,diagram:t}}),"loader");var Ut={id:jt,detector:Wt,loader:Ht};var Yt=Ut;var Gt="er";var Vt=(0,p.K2)((t=>/^\s*erDiagram/.test(t)),"detector");var Xt=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(2211),r.e(6885)]).then(r.bind(r,16885));return{id:Gt,diagram:t}}),"loader");var Zt={id:Gt,detector:Vt,loader:Xt};var Jt=Zt;var Qt="gitGraph";var te=(0,p.K2)((t=>/^\s*gitGraph/.test(t)),"detector");var ee=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(4010),r.e(5551)]).then(r.bind(r,95551));return{id:Qt,diagram:t}}),"loader");var re={id:Qt,detector:te,loader:ee};var ie=re;var ne="gantt";var ae=(0,p.K2)((t=>/^\s*gantt/.test(t)),"detector");var oe=(0,p.K2)((async()=>{const{diagram:t}=await r.e(6439).then(r.bind(r,96439));return{id:ne,diagram:t}}),"loader");var se={id:ne,detector:ae,loader:oe};var le=se;var ce="info";var he=(0,p.K2)((t=>/^\s*info/.test(t)),"detector");var de=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(4010),r.e(3927)]).then(r.bind(r,63927));return{id:ce,diagram:t}}),"loader");var ue={id:ce,detector:he,loader:de};var fe="pie";var pe=(0,p.K2)((t=>/^\s*pie/.test(t)),"detector");var ge=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(4010),r.e(4950)]).then(r.bind(r,74950));return{id:fe,diagram:t}}),"loader");var me={id:fe,detector:pe,loader:ge};var ye="quadrantChart";var be=(0,p.K2)((t=>/^\s*quadrantChart/.test(t)),"detector");var xe=(0,p.K2)((async()=>{const{diagram:t}=await r.e(2325).then(r.bind(r,92325));return{id:ye,diagram:t}}),"loader");var Ce={id:ye,detector:be,loader:xe};var ve=Ce;var ke="xychart";var we=(0,p.K2)((t=>/^\s*xychart-beta/.test(t)),"detector");var Se=(0,p.K2)((async()=>{const{diagram:t}=await r.e(1026).then(r.bind(r,71026));return{id:ke,diagram:t}}),"loader");var Ae={id:ke,detector:we,loader:Se};var Te=Ae;var Be="requirement";var Le=(0,p.K2)((t=>/^\s*requirement(Diagram)?/.test(t)),"detector");var Me=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(2211),r.e(4750)]).then(r.bind(r,4750));return{id:Be,diagram:t}}),"loader");var Fe={id:Be,detector:Le,loader:Me};var _e=Fe;var $e="sequence";var Ee=(0,p.K2)((t=>/^\s*sequenceDiagram/.test(t)),"detector");var De=(0,p.K2)((async()=>{const{diagram:t}=await r.e(4449).then(r.bind(r,44449));return{id:$e,diagram:t}}),"loader");var Oe={id:$e,detector:Ee,loader:De};var Ie=Oe;var Ke="class";var Re=(0,p.K2)(((t,e)=>{if(e?.class?.defaultRenderer==="dagre-wrapper"){return false}return/^\s*classDiagram/.test(t)}),"detector");var Pe=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(4325),r.e(8804)]).then(r.bind(r,58804));return{id:Ke,diagram:t}}),"loader");var Ne={id:Ke,detector:Re,loader:Pe};var qe=Ne;var ze="classDiagram";var je=(0,p.K2)(((t,e)=>{if(/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"){return true}return/^\s*classDiagram-v2/.test(t)}),"detector");var We=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(4325),r.e(8493)]).then(r.bind(r,78493));return{id:ze,diagram:t}}),"loader");var He={id:ze,detector:je,loader:We};var Ue=He;var Ye="state";var Ge=(0,p.K2)(((t,e)=>{if(e?.state?.defaultRenderer==="dagre-wrapper"){return false}return/^\s*stateDiagram/.test(t)}),"detector");var Ve=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(2211),r.e(8159),r.e(1527)]).then(r.bind(r,91527));return{id:Ye,diagram:t}}),"loader");var Xe={id:Ye,detector:Ge,loader:Ve};var Ze=Xe;var Je="stateDiagram";var Qe=(0,p.K2)(((t,e)=>{if(/^\s*stateDiagram-v2/.test(t)){return true}if(/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"){return true}return false}),"detector");var tr=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(8159),r.e(3903)]).then(r.bind(r,3903));return{id:Je,diagram:t}}),"loader");var er={id:Je,detector:Qe,loader:tr};var rr=er;var ir="journey";var nr=(0,p.K2)((t=>/^\s*journey/.test(t)),"detector");var ar=(0,p.K2)((async()=>{const{diagram:t}=await r.e(294).then(r.bind(r,90294));return{id:ir,diagram:t}}),"loader");var or={id:ir,detector:nr,loader:ar};var sr=or;var lr=(0,p.K2)(((t,e,r)=>{p.Rm.debug("rendering svg for syntax error\n");const i=(0,f.D)(e);const n=i.append("g");i.attr("viewBox","0 0 2412 512");(0,p.a$)(i,100,512,true);n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z");n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z");n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z");n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z");n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z");n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z");n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text");n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)}),"draw");var cr={draw:lr};var hr=cr;var dr={db:{},renderer:cr,parser:{parse:(0,p.K2)((()=>{}),"parse")}};var ur=dr;var fr="flowchart-elk";var pr=(0,p.K2)(((t,e={})=>{if(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&e?.flowchart?.defaultRenderer==="elk"){e.layout="elk";return true}return false}),"detector");var gr=(0,p.K2)((async()=>{const{diagram:t}=await r.e(5232).then(r.bind(r,15232));return{id:fr,diagram:t}}),"loader");var mr={id:fr,detector:pr,loader:gr};var yr=mr;var br="timeline";var xr=(0,p.K2)((t=>/^\s*timeline/.test(t)),"detector");var Cr=(0,p.K2)((async()=>{const{diagram:t}=await r.e(7086).then(r.bind(r,47086));return{id:br,diagram:t}}),"loader");var vr={id:br,detector:xr,loader:Cr};var kr=vr;var wr="mindmap";var Sr=(0,p.K2)((t=>/^\s*mindmap/.test(t)),"detector");var Ar=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(8786),r.e(284)]).then(r.bind(r,80284));return{id:wr,diagram:t}}),"loader");var Tr={id:wr,detector:Sr,loader:Ar};var Br=Tr;var Lr="kanban";var Mr=(0,p.K2)((t=>/^\s*kanban/.test(t)),"detector");var Fr=(0,p.K2)((async()=>{const{diagram:t}=await r.e(2410).then(r.bind(r,82410));return{id:Lr,diagram:t}}),"loader");var _r={id:Lr,detector:Mr,loader:Fr};var $r=_r;var Er="sankey";var Dr=(0,p.K2)((t=>/^\s*sankey-beta/.test(t)),"detector");var Or=(0,p.K2)((async()=>{const{diagram:t}=await r.e(9331).then(r.bind(r,99331));return{id:Er,diagram:t}}),"loader");var Ir={id:Er,detector:Dr,loader:Or};var Kr=Ir;var Rr="packet";var Pr=(0,p.K2)((t=>/^\s*packet-beta/.test(t)),"detector");var Nr=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(4010),r.e(9604)]).then(r.bind(r,89604));return{id:Rr,diagram:t}}),"loader");var qr={id:Rr,detector:Pr,loader:Nr};var zr="block";var jr=(0,p.K2)((t=>/^\s*block-beta/.test(t)),"detector");var Wr=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(5289)]).then(r.bind(r,75289));return{id:zr,diagram:t}}),"loader");var Hr={id:zr,detector:jr,loader:Wr};var Ur=Hr;var Yr="architecture";var Gr=(0,p.K2)((t=>/^\s*architecture/.test(t)),"detector");var Vr=(0,p.K2)((async()=>{const{diagram:t}=await Promise.all([r.e(1838),r.e(4010),r.e(8786),r.e(1194)]).then(r.bind(r,31194));return{id:Yr,diagram:t}}),"loader");var Xr={id:Yr,detector:Gr,loader:Vr};var Zr=Xr;var Jr=false;var Qr=(0,p.K2)((()=>{if(Jr){return}Jr=true;(0,p.Js)("error",ur,(t=>t.toLowerCase().trim()==="error"));(0,p.Js)("---",{db:{clear:(0,p.K2)((()=>{}),"clear")},styles:{},renderer:{draw:(0,p.K2)((()=>{}),"draw")},parser:{parse:(0,p.K2)((()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}),"parse")},init:(0,p.K2)((()=>null),"init")},(t=>t.toLowerCase().trimStart().startsWith("---")));(0,p.Xd)(Kt,$r,Ue,qe,Jt,le,ue,me,_e,Ie,yr,Yt,zt,Br,kr,ie,rr,Ze,sr,ve,Kr,qr,Te,Ur,Zr)}),"addDiagrams");var ti=(0,p.K2)((async()=>{p.Rm.debug(`Loading registered diagrams`);const t=await Promise.allSettled(Object.entries(p.mW).map((async([t,{detector:e,loader:r}])=>{if(r){try{(0,p.Gs)(t)}catch{try{const{diagram:t,id:i}=await r();(0,p.Js)(i,t,e)}catch(i){p.Rm.error(`Failed to load external diagram with key ${t}. Removing from detectors.`);delete p.mW[t];throw i}}}})));const e=t.filter((t=>t.status==="rejected"));if(e.length>0){p.Rm.error(`Failed to load ${e.length} external diagrams`);for(const t of e){p.Rm.error(t)}throw new Error(`Failed to load ${e.length} external diagrams`)}}),"loadRegisteredDiagrams");var ei="graphics-document document";function ri(t,e){t.attr("role",ei);if(e!==""){t.attr("aria-roledescription",e)}}(0,p.K2)(ri,"setA11yDiagramInfo");function ii(t,e,r,i){if(t.insert===void 0){return}if(r){const e=`chart-desc-${i}`;t.attr("aria-describedby",e);t.insert("desc",":first-child").attr("id",e).text(r)}if(e){const r=`chart-title-${i}`;t.attr("aria-labelledby",r);t.insert("title",":first-child").attr("id",r).text(e)}}(0,p.K2)(ii,"addSVGa11yTitleDescription");var ni=class t{constructor(t,e,r,i,n){this.type=t;this.text=e;this.db=r;this.parser=i;this.renderer=n}static{(0,p.K2)(this,"Diagram")}static async fromText(e,r={}){const i=(0,p.zj)();const n=(0,p.Ch)(e,i);e=(0,d.C4)(e)+"\n";try{(0,p.Gs)(n)}catch{const t=(0,p.J$)(n);if(!t){throw new p.C0(`Diagram ${n} not found.`)}const{id:e,diagram:r}=await t();(0,p.Js)(e,r)}const{db:a,parser:o,renderer:s,init:l}=(0,p.Gs)(n);if(o.parser){o.parser.yy=a}a.clear?.();l?.(i);if(r.title){a.setDiagramTitle?.(r.title)}await o.parse(e);return new t(n,e,a,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}};var ai=[];var oi=(0,p.K2)((()=>{ai.forEach((t=>{t()}));ai=[]}),"attachFunctions");var si=(0,p.K2)((t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart()),"cleanupComments");function li(t){const e=t.match(p.EJ);if(!e){return{text:t,metadata:{}}}let r=(0,i.H)(e[1],{schema:i.r})??{};r=typeof r==="object"&&!Array.isArray(r)?r:{};const n={};if(r.displayMode){n.displayMode=r.displayMode.toString()}if(r.title){n.title=r.title.toString()}if(r.config){n.config=r.config}return{text:t.slice(e[0].length),metadata:n}}(0,p.K2)(li,"extractFrontMatter");var ci=(0,p.K2)((t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"))),"cleanupText");var hi=(0,p.K2)((t=>{const{text:e,metadata:r}=li(t);const{displayMode:i,title:n,config:a={}}=r;if(i){if(!a.gantt){a.gantt={}}a.gantt.displayMode=i}return{title:n,config:a,text:e}}),"processFrontmatter");var di=(0,p.K2)((t=>{const e=d._K.detectInit(t)??{};const r=d._K.detectDirective(t,"wrap");if(Array.isArray(r)){e.wrap=r.some((({type:t})=>t==="wrap"))}else if(r?.type==="wrap"){e.wrap=true}return{text:(0,d.vU)(t),directive:e}}),"processDirectives");function ui(t){const e=ci(t);const r=hi(e);const i=di(r.text);const n=(0,d.$t)(r.config,i.directive);t=si(i.text);return{code:t,title:r.title,config:n}}(0,p.K2)(ui,"preprocessDiagram");function fi(t){const e=(new TextEncoder).encode(t);const r=Array.from(e,(t=>String.fromCodePoint(t))).join("");return btoa(r)}(0,p.K2)(fi,"toBase64");var pi=5e4;var gi="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa";var mi="sandbox";var yi="loose";var bi="http://www.w3.org/2000/svg";var xi="http://www.w3.org/1999/xlink";var Ci="http://www.w3.org/1999/xhtml";var vi="100%";var ki="100%";var wi="border:0;margin:0;";var Si="margin:0";var Ai="allow-top-navigation-by-user-activation allow-popups";var Ti='The "iframe" tag is not supported by your browser.';var Bi=["foreignobject"];var Li=["dominant-baseline"];function Mi(t){const e=ui(t);(0,p.cL)();(0,p.xA)(e.config??{});return e}(0,p.K2)(Mi,"processAndSetConfigs");async function Fi(t,e){Qr();try{const{code:e,config:r}=Mi(t);const i=await qi(e);return{diagramType:i.type,config:r}}catch(r){if(e?.suppressErrors){return false}throw r}}(0,p.K2)(Fi,"parse");var _i=(0,p.K2)(((t,e,r=[])=>`\n.${t} ${e} { ${r.join(" !important; ")} !important; }`),"cssImportantStyles");var $i=(0,p.K2)(((t,e=new Map)=>{let r="";if(t.themeCSS!==void 0){r+=`\n${t.themeCSS}`}if(t.fontFamily!==void 0){r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`}if(t.altFontFamily!==void 0){r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`}if(e instanceof Map){const i=t.htmlLabels??t.flowchart?.htmlLabels;const n=["> *","span"];const a=["rect","polygon","ellipse","circle","path"];const o=i?n:a;e.forEach((t=>{if(!(0,$t.A)(t.styles)){o.forEach((e=>{r+=_i(t.id,e,t.styles)}))}if(!(0,$t.A)(t.textStyles)){r+=_i(t.id,"tspan",(t?.textStyles||[]).map((t=>t.replace("color","fill"))))}}))}return r}),"createCssStyles");var Ei=(0,p.K2)(((t,e,r,i)=>{const n=$i(t,r);const a=(0,p.tM)(e,n,t.themeVariables);return J(Tt(`${i}{${a}}`),Q)}),"createUserStyles");var Di=(0,p.K2)(((t="",e,r)=>{let i=t;if(!r&&!e){i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')}i=(0,d.Sm)(i);i=i.replace(/<br>/g,"<br/>");return i}),"cleanUpSvgCode");var Oi=(0,p.K2)(((t="",e)=>{const r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":ki;const i=fi(`<body style="${Si}">${t}</body>`);return`<iframe style="width:${vi};height:${r};${wi}" src="data:text/html;charset=UTF-8;base64,${i}" sandbox="${Ai}">\n ${Ti}\n</iframe>`}),"putIntoIFrame");var Ii=(0,p.K2)(((t,e,r,i,n)=>{const a=t.append("div");a.attr("id",r);if(i){a.attr("style",i)}const o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns",bi);if(n){o.attr("xmlns:xlink",n)}o.append("g");return t}),"appendDivSvgG");function Ki(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,p.K2)(Ki,"sandboxedIframe");var Ri=(0,p.K2)(((t,e,r,i)=>{t.getElementById(e)?.remove();t.getElementById(r)?.remove();t.getElementById(i)?.remove()}),"removeExistingElements");var Pi=(0,p.K2)((async function(t,e,r){Qr();const i=Mi(e);e=i.code;const n=(0,p.zj)();p.Rm.debug(n);if(e.length>(n?.maxTextSize??pi)){e=gi}const a="#"+t;const o="i"+t;const s="#"+o;const l="d"+t;const c="#"+l;const h=(0,p.K2)((()=>{const t=f?s:c;const e=(0,m.Ltv)(t).node();if(e&&"remove"in e){e.remove()}}),"removeTempElements");let d=(0,m.Ltv)("body");const f=n.securityLevel===mi;const g=n.securityLevel===yi;const y=n.fontFamily;if(r!==void 0){if(r){r.innerHTML=""}if(f){const t=Ki((0,m.Ltv)(r),o);d=(0,m.Ltv)(t.nodes()[0].contentDocument.body);d.node().style.margin=0}else{d=(0,m.Ltv)(r)}Ii(d,t,l,`font-family: ${y}`,xi)}else{Ri(document,t,l,o);if(f){const t=Ki((0,m.Ltv)("body"),o);d=(0,m.Ltv)(t.nodes()[0].contentDocument.body);d.node().style.margin=0}else{d=(0,m.Ltv)("body")}Ii(d,t,l)}let b;let x;try{b=await ni.fromText(e,{title:i.title})}catch(_){if(n.suppressErrorRendering){h();throw _}b=await ni.fromText("error");x=_}const C=d.select(c).node();const v=b.type;const k=C.firstChild;const w=k.firstChild;const S=b.renderer.getClasses?.(e,b);const A=Ei(n,v,S,a);const T=document.createElement("style");T.innerHTML=A;k.insertBefore(T,w);try{await b.renderer.draw(e,t,u.r,b)}catch($){if(n.suppressErrorRendering){h()}else{hr.draw(e,t,u.r)}throw $}const B=d.select(`${c} svg`);const L=b.db.getAccTitle?.();const M=b.db.getAccDescription?.();zi(v,B,L,M);d.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",Ci);let F=d.select(c).node().innerHTML;p.Rm.debug("config.arrowMarkerAbsolute",n.arrowMarkerAbsolute);F=Di(F,f,(0,p._3)(n.arrowMarkerAbsolute));if(f){const t=d.select(c+" svg").node();F=Oi(F,t)}else if(!g){F=_t.A.sanitize(F,{ADD_TAGS:Bi,ADD_ATTR:Li,HTML_INTEGRATION_POINTS:{foreignobject:true}})}oi();if(x){throw x}h();return{diagramType:v,svg:F,bindFunctions:b.db.bindFunctions}}),"render");function Ni(t={}){const e=(0,p.hH)({},t);if(e?.fontFamily&&!e.themeVariables?.fontFamily){if(!e.themeVariables){e.themeVariables={}}e.themeVariables.fontFamily=e.fontFamily}(0,p.wZ)(e);if(e?.theme&&e.theme in p.H$){e.themeVariables=p.H$[e.theme].getThemeVariables(e.themeVariables)}else if(e){e.themeVariables=p.H$.default.getThemeVariables(e.themeVariables)}const r=typeof e==="object"?(0,p.UU)(e):(0,p.Q2)();(0,p.He)(r.logLevel);Qr()}(0,p.K2)(Ni,"initialize");var qi=(0,p.K2)(((t,e={})=>{const{code:r}=ui(t);return ni.fromText(r,e)}),"getDiagramFromText");function zi(t,e,r,i){ri(e,t);ii(e,r,i,e.attr("id"))}(0,p.K2)(zi,"addA11yInfo");var ji=Object.freeze({render:Pi,parse:Fi,getDiagramFromText:qi,initialize:Ni,getConfig:p.zj,setConfig:p.Nk,getSiteConfig:p.Q2,updateSiteConfig:p.B6,reset:(0,p.K2)((()=>{(0,p.cL)()}),"reset"),globalReset:(0,p.K2)((()=>{(0,p.cL)(p.sb)}),"globalReset"),defaultConfig:p.sb});(0,p.He)((0,p.zj)().logLevel);(0,p.cL)((0,p.zj)());var Wi=(0,p.K2)(((t,e,r)=>{p.Rm.warn(t);if((0,d.dq)(t)){if(r){r(t.str,t.hash)}e.push({...t,message:t.str,error:t})}else{if(r){r(t)}if(t instanceof Error){e.push({str:t.message,message:t.message,hash:t.name,error:t})}}}),"handleError");var Hi=(0,p.K2)((async function(t={querySelector:".mermaid"}){try{await Ui(t)}catch(e){if((0,d.dq)(e)){p.Rm.error(e.str)}if(nn.parseError){nn.parseError(e)}if(!t.suppressErrors){p.Rm.error("Use the suppressErrors option to suppress these errors");throw e}}}),"run");var Ui=(0,p.K2)((async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){const i=ji.getConfig();p.Rm.debug(`${!t?"No ":""}Callback function found`);let n;if(r){n=r}else if(e){n=document.querySelectorAll(e)}else{throw new Error("Nodes and querySelector are both undefined")}p.Rm.debug(`Found ${n.length} diagrams`);if(i?.startOnLoad!==void 0){p.Rm.debug("Start On Load: "+i?.startOnLoad);ji.updateSiteConfig({startOnLoad:i?.startOnLoad})}const a=new d._K.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed);let o;const s=[];for(const c of Array.from(n)){p.Rm.info("Rendering diagram: "+c.id);if(c.getAttribute("data-processed")){continue}c.setAttribute("data-processed","true");const e=`mermaid-${a.next()}`;o=c.innerHTML;o=(0,g.T)(d._K.entityDecode(o)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=d._K.detectInit(o);if(r){p.Rm.debug("Detected early reinit: ",r)}try{const{svg:r,bindFunctions:i}=await rn(e,o,c);c.innerHTML=r;if(t){await t(e)}if(i){i(c)}}catch(l){Wi(l,s,nn.parseError)}}if(s.length>0){throw s[0]}}),"runThrowsErrors");var Yi=(0,p.K2)((function(t){ji.initialize(t)}),"initialize");var Gi=(0,p.K2)((async function(t,e,r){p.Rm.warn("mermaid.init is deprecated. Please use run instead.");if(t){Yi(t)}const i={postRenderCallback:r,querySelector:".mermaid"};if(typeof e==="string"){i.querySelector=e}else if(e){if(e instanceof HTMLElement){i.nodes=[e]}else{i.nodes=e}}await Hi(i)}),"init");var Vi=(0,p.K2)((async(t,{lazyLoad:e=true}={})=>{Qr();(0,p.Xd)(...t);if(e===false){await ti()}}),"registerExternalDiagrams");var Xi=(0,p.K2)((function(){if(nn.startOnLoad){const{startOnLoad:t}=ji.getConfig();if(t){nn.run().catch((t=>p.Rm.error("Mermaid failed to initialize",t)))}}}),"contentLoaded");if(typeof document!=="undefined"){window.addEventListener("load",Xi,false)}var Zi=(0,p.K2)((function(t){nn.parseError=t}),"setParseErrorHandler");var Ji=[];var Qi=false;var tn=(0,p.K2)((async()=>{if(Qi){return}Qi=true;while(Ji.length>0){const e=Ji.shift();if(e){try{await e()}catch(t){p.Rm.error("Error executing queue",t)}}}Qi=false}),"executeQueue");var en=(0,p.K2)((async(t,e)=>new Promise(((r,i)=>{const n=(0,p.K2)((()=>new Promise(((n,a)=>{ji.parse(t,e).then((t=>{n(t);r(t)}),(t=>{p.Rm.error("Error parsing",t);nn.parseError?.(t);a(t);i(t)}))}))),"performCall");Ji.push(n);tn().catch(i)}))),"parse");var rn=(0,p.K2)(((t,e,r)=>new Promise(((i,n)=>{const a=(0,p.K2)((()=>new Promise(((a,o)=>{ji.render(t,e,r).then((t=>{a(t);i(t)}),(t=>{p.Rm.error("Error parsing",t);nn.parseError?.(t);o(t);n(t)}))}))),"performCall");Ji.push(a);tn().catch(n)}))),"render");var nn={startOnLoad:true,mermaidAPI:ji,parse:en,render:rn,init:Gi,run:Hi,registerExternalDiagrams:Vi,registerLayoutLoaders:n.sO,initialize:Yi,parseError:void 0,contentLoaded:Xi,setParseErrorHandler:Zi,detectType:p.Ch,registerIconPacks:s.pC};var an=nn},78474:function(t){!function(e,r){true?t.exports=r():0}(this,(function(){"use strict";var t=1e3,e=6e4,r=36e5,i="millisecond",n="second",a="minute",o="hour",s="day",l="week",c="month",h="quarter",d="year",u="date",f="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,m={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}},y=function(t,e,r){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(r)+t},b={s:y,z:function(t){var e=-t.utcOffset(),r=Math.abs(e),i=Math.floor(r/60),n=r%60;return(e<=0?"+":"-")+y(i,2,"0")+":"+y(n,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var i=12*(r.year()-e.year())+(r.month()-e.month()),n=e.clone().add(i,c),a=r-n<0,o=e.clone().add(i+(a?-1:1),c);return+(-(i+(r-n)/(a?n-o:o-n))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:d,w:l,d:s,D:u,h:o,m:a,s:n,ms:i,Q:h}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},x="en",C={};C[x]=m;var v="$isDayjsObject",k=function(t){return t instanceof T||!(!t||!t[v])},w=function t(e,r,i){var n;if(!e)return x;if("string"==typeof e){var a=e.toLowerCase();C[a]&&(n=a),r&&(C[a]=r,n=a);var o=e.split("-");if(!n&&o.length>1)return t(o[0])}else{var s=e.name;C[s]=e,n=s}return!i&&n&&(x=n),n||!i&&x},S=function(t,e){if(k(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new T(r)},A=b;A.l=w,A.i=k,A.w=function(t,e){return S(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function m(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[v]=!0}var y=m.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(p);if(i){var n=i[2]-1||0,a=(i[7]||"0").substring(0,3);return r?new Date(Date.UTC(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],n,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(e)}(t),this.init()},y.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},y.$utils=function(){return A},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(t,e){var r=S(t);return this.startOf(e)<=r&&r<=this.endOf(e)},y.isAfter=function(t,e){return S(t)<this.startOf(e)},y.isBefore=function(t,e){return this.endOf(e)<S(t)},y.$g=function(t,e,r){return A.u(t)?this[e]:this.set(r,t)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(t,e){var r=this,i=!!A.u(e)||e,h=A.p(t),f=function(t,e){var n=A.w(r.$u?Date.UTC(r.$y,e,t):new Date(r.$y,e,t),r);return i?n:n.endOf(s)},p=function(t,e){return A.w(r.toDate()[t].apply(r.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),r)},g=this.$W,m=this.$M,y=this.$D,b="set"+(this.$u?"UTC":"");switch(h){case d:return i?f(1,0):f(31,11);case c:return i?f(1,m):f(0,m+1);case l:var x=this.$locale().weekStart||0,C=(g<x?g+7:g)-x;return f(i?y-C:y+(6-C),m);case s:case u:return p(b+"Hours",0);case o:return p(b+"Minutes",1);case a:return p(b+"Seconds",2);case n:return p(b+"Milliseconds",3);default:return this.clone()}},y.endOf=function(t){return this.startOf(t,!1)},y.$set=function(t,e){var r,l=A.p(t),h="set"+(this.$u?"UTC":""),f=(r={},r[s]=h+"Date",r[u]=h+"Date",r[c]=h+"Month",r[d]=h+"FullYear",r[o]=h+"Hours",r[a]=h+"Minutes",r[n]=h+"Seconds",r[i]=h+"Milliseconds",r)[l],p=l===s?this.$D+(e-this.$W):e;if(l===c||l===d){var g=this.clone().set(u,1);g.$d[f](p),g.init(),this.$d=g.set(u,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](p);return this.init(),this},y.set=function(t,e){return this.clone().$set(t,e)},y.get=function(t){return this[A.p(t)]()},y.add=function(i,h){var u,f=this;i=Number(i);var p=A.p(h),g=function(t){var e=S(f);return A.w(e.date(e.date()+Math.round(t*i)),f)};if(p===c)return this.set(c,this.$M+i);if(p===d)return this.set(d,this.$y+i);if(p===s)return g(1);if(p===l)return g(7);var m=(u={},u[a]=e,u[o]=r,u[n]=t,u)[p]||1,y=this.$d.getTime()+i*m;return A.w(y,this)},y.subtract=function(t,e){return this.add(-1*t,e)},y.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||f;var i=t||"YYYY-MM-DDTHH:mm:ssZ",n=A.z(this),a=this.$H,o=this.$m,s=this.$M,l=r.weekdays,c=r.months,h=r.meridiem,d=function(t,r,n,a){return t&&(t[r]||t(e,i))||n[r].slice(0,a)},u=function(t){return A.s(a%12||12,t,"0")},p=h||function(t,e,r){var i=t<12?"AM":"PM";return r?i.toLowerCase():i};return i.replace(g,(function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return A.s(e.$y,4,"0");case"M":return s+1;case"MM":return A.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,c,3);case"MMMM":return d(c,s);case"D":return e.$D;case"DD":return A.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(r.weekdaysMin,e.$W,l,2);case"ddd":return d(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(a);case"HH":return A.s(a,2,"0");case"h":return u(1);case"hh":return u(2);case"a":return p(a,o,!0);case"A":return p(a,o,!1);case"m":return String(o);case"mm":return A.s(o,2,"0");case"s":return String(e.$s);case"ss":return A.s(e.$s,2,"0");case"SSS":return A.s(e.$ms,3,"0");case"Z":return n}return null}(t)||n.replace(":","")}))},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(i,u,f){var p,g=this,m=A.p(u),y=S(i),b=(y.utcOffset()-this.utcOffset())*e,x=this-y,C=function(){return A.m(g,y)};switch(m){case d:p=C()/12;break;case c:p=C();break;case h:p=C()/3;break;case l:p=(x-b)/6048e5;break;case s:p=(x-b)/864e5;break;case o:p=x/r;break;case a:p=x/e;break;case n:p=x/t;break;default:p=x}return f?p:A.a(p)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return C[this.$L]},y.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),i=w(t,e,!0);return i&&(r.$L=i),r},y.clone=function(){return A.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},m}(),B=T.prototype;return S.prototype=B,[["$ms",i],["$s",n],["$m",a],["$H",o],["$W",s],["$M",c],["$y",d],["$D",u]].forEach((function(t){B[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),S.extend=function(t,e){return t.$i||(t(e,T,S),t.$i=!0),S},S.locale=w,S.isDayjs=k,S.unix=function(t){return S(1e3*t)},S.en=C[x],S.Ls=C,S.p={},S}))},52274:(t,e,r)=>{"use strict";r.d(e,{A:()=>lt});function i(t,e,r){if(t&&t.length){const[i,n]=e,a=Math.PI/180*r,o=Math.cos(a),s=Math.sin(a);for(const e of t){const[t,r]=e;e[0]=(t-i)*o-(r-n)*s+i,e[1]=(t-i)*s+(r-n)*o+n}}}function n(t,e){return t[0]===e[0]&&t[1]===e[1]}function a(t,e,r,a=1){const o=r,s=Math.max(e,.1),l=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,c=[0,0];if(o)for(const n of l)i(n,c,o);const h=function(t,e,r){const i=[];for(const h of t){const t=[...h];n(t[0],t[t.length-1])||t.push([t[0][0],t[0][1]]),t.length>2&&i.push(t)}const a=[];e=Math.max(e,.1);const o=[];for(const n of i)for(let t=0;t<n.length-1;t++){const e=n[t],r=n[t+1];if(e[1]!==r[1]){const t=Math.min(e[1],r[1]);o.push({ymin:t,ymax:Math.max(e[1],r[1]),x:t===e[1]?e[0]:r[0],islope:(r[0]-e[0])/(r[1]-e[1])})}}if(o.sort(((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax))),!o.length)return a;let s=[],l=o[0].ymin,c=0;for(;s.length||o.length;){if(o.length){let t=-1;for(let e=0;e<o.length&&!(o[e].ymin>l);e++)t=e;o.splice(0,t+1).forEach((t=>{s.push({s:l,edge:t})}))}if(s=s.filter((t=>!(t.edge.ymax<=l))),s.sort(((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x))),(1!==r||c%e==0)&&s.length>1)for(let t=0;t<s.length;t+=2){const e=t+1;if(e>=s.length)break;const r=s[t].edge,i=s[e].edge;a.push([[Math.round(r.x),l],[Math.round(i.x),l]])}l+=r,s.forEach((t=>{t.edge.x=t.edge.x+r*t.edge.islope})),c++}return a}(l,s,a);if(o){for(const t of l)i(t,c,-o);!function(t,e,r){const n=[];t.forEach((t=>n.push(...t))),i(n,e,r)}(h,c,-o)}return h}function o(t,e){var r;const i=e.hachureAngle+90;let n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.round(Math.max(n,.1));let o=1;return e.roughness>=1&&((null===(r=e.randomizer)||void 0===r?void 0:r.next())||Math.random())>.7&&(o=n),a(t,n,i,o||1)}class s{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){const r=o(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){const r=[];for(const i of t)r.push(...this.helper.doubleLineOps(i[0][0],i[0][1],i[1][0],i[1][1],e));return r}}function l(t){const e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class c extends s{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth),r=Math.max(r,.1);const i=o(t,Object.assign({},e,{hachureGap:r})),n=Math.PI/180*e.hachureAngle,a=[],s=.5*r*Math.cos(n),c=.5*r*Math.sin(n);for(const[o,h]of i)l([o,h])&&a.push([[o[0]-s,o[1]+c],[...h]],[[o[0]+s,o[1]-c],[...h]]);return{type:"fillSketch",ops:this.renderLines(a,e)}}}class h extends s{fillPolygons(t,e){const r=this._fillPolygons(t,e),i=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),n=this._fillPolygons(t,i);return r.ops=r.ops.concat(n.ops),r}}class d{constructor(t){this.helper=t}fillPolygons(t,e){const r=o(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){const r=[];let i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.max(i,.1);let n=e.fillWeight;n<0&&(n=e.strokeWidth/2);const a=i/4;for(const o of t){const t=l(o),s=t/i,c=Math.ceil(s)-1,h=t-c*i,d=(o[0][0]+o[1][0])/2-i/4,u=Math.min(o[0][1],o[1][1]);for(let o=0;o<c;o++){const t=u+h+o*i,s=d-a+2*Math.random()*a,l=t-a+2*Math.random()*a,c=this.helper.ellipse(s,l,n,n,e);r.push(...c.ops)}}return{type:"fillSketch",ops:r}}}class u{constructor(t){this.helper=t}fillPolygons(t,e){const r=o(t,e);return{type:"fillSketch",ops:this.dashedLine(r,e)}}dashedLine(t,e){const r=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,i=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,n=[];return t.forEach((t=>{const a=l(t),o=Math.floor(a/(r+i)),s=(a+i-o*(r+i))/2;let c=t[0],h=t[1];c[0]>h[0]&&(c=t[1],h=t[0]);const d=Math.atan((h[1]-c[1])/(h[0]-c[0]));for(let l=0;l<o;l++){const t=l*(r+i),a=t+r,o=[c[0]+t*Math.cos(d)+s*Math.cos(d),c[1]+t*Math.sin(d)+s*Math.sin(d)],h=[c[0]+a*Math.cos(d)+s*Math.cos(d),c[1]+a*Math.sin(d)+s*Math.sin(d)];n.push(...this.helper.doubleLineOps(o[0],o[1],h[0],h[1],e))}})),n}}class f{constructor(t){this.helper=t}fillPolygons(t,e){const r=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,i=e.zigzagOffset<0?r:e.zigzagOffset,n=o(t,e=Object.assign({},e,{hachureGap:r+i}));return{type:"fillSketch",ops:this.zigzagLines(n,i,e)}}zigzagLines(t,e,r){const i=[];return t.forEach((t=>{const n=l(t),a=Math.round(n/(2*e));let o=t[0],s=t[1];o[0]>s[0]&&(o=t[1],s=t[0]);const c=Math.atan((s[1]-o[1])/(s[0]-o[0]));for(let l=0;l<a;l++){const t=2*l*e,n=2*(l+1)*e,a=Math.sqrt(2*Math.pow(e,2)),s=[o[0]+t*Math.cos(c),o[1]+t*Math.sin(c)],h=[o[0]+n*Math.cos(c),o[1]+n*Math.sin(c)],d=[s[0]+a*Math.cos(c+Math.PI/4),s[1]+a*Math.sin(c+Math.PI/4)];i.push(...this.helper.doubleLineOps(s[0],s[1],d[0],d[1],r),...this.helper.doubleLineOps(d[0],d[1],h[0],h[1],r))}})),i}}const p={};class g{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}const m=0,y=1,b=2,x={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function C(t,e){return t.type===e}function v(t){const e=[],r=function(t){const e=new Array;for(;""!==t;)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:m,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:y,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:b,text:""},e}(t);let i="BOD",n=0,a=r[n];for(;!C(a,b);){let o=0;const s=[];if("BOD"===i){if("M"!==a.text&&"m"!==a.text)return v("M0,0"+t);n++,o=x[a.text],i=a.text}else C(a,y)?o=x[i]:(n++,o=x[a.text],i=a.text);if(!(n+o<r.length))throw new Error("Path data ended short");for(let t=n;t<n+o;t++){const e=r[t];if(!C(e,y))throw new Error("Param not a number: "+i+","+e.text);s[s.length]=+e.text}if("number"!=typeof x[i])throw new Error("Bad segment: "+i);{const t={key:i,data:s};e.push(t),n+=o,a=r[n],"M"===i&&(i="L"),"m"===i&&(i="l")}}return e}function k(t){let e=0,r=0,i=0,n=0;const a=[];for(const{key:o,data:s}of t)switch(o){case"M":a.push({key:"M",data:[...s]}),[e,r]=s,[i,n]=s;break;case"m":e+=s[0],r+=s[1],a.push({key:"M",data:[e,r]}),i=e,n=r;break;case"L":a.push({key:"L",data:[...s]}),[e,r]=s;break;case"l":e+=s[0],r+=s[1],a.push({key:"L",data:[e,r]});break;case"C":a.push({key:"C",data:[...s]}),e=s[4],r=s[5];break;case"c":{const t=s.map(((t,i)=>i%2?t+r:t+e));a.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":a.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{const t=s.map(((t,i)=>i%2?t+r:t+e));a.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":a.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],a.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":a.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{const t=s.map(((t,i)=>i%2?t+r:t+e));a.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":a.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=i,r=n}return a}function w(t){const e=[];let r="",i=0,n=0,a=0,o=0,s=0,l=0;for(const{key:c,data:h}of t){switch(c){case"M":e.push({key:"M",data:[...h]}),[i,n]=h,[a,o]=h;break;case"C":e.push({key:"C",data:[...h]}),i=h[4],n=h[5],s=h[2],l=h[3];break;case"L":e.push({key:"L",data:[...h]}),[i,n]=h;break;case"H":i=h[0],e.push({key:"L",data:[i,n]});break;case"V":n=h[0],e.push({key:"L",data:[i,n]});break;case"S":{let t=0,a=0;"C"===r||"S"===r?(t=i+(i-s),a=n+(n-l)):(t=i,a=n),e.push({key:"C",data:[t,a,...h]}),s=h[0],l=h[1],i=h[2],n=h[3];break}case"T":{const[t,a]=h;let o=0,c=0;"Q"===r||"T"===r?(o=i+(i-s),c=n+(n-l)):(o=i,c=n);const d=i+2*(o-i)/3,u=n+2*(c-n)/3,f=t+2*(o-t)/3,p=a+2*(c-a)/3;e.push({key:"C",data:[d,u,f,p,t,a]}),s=o,l=c,i=t,n=a;break}case"Q":{const[t,r,a,o]=h,c=i+2*(t-i)/3,d=n+2*(r-n)/3,u=a+2*(t-a)/3,f=o+2*(r-o)/3;e.push({key:"C",data:[c,d,u,f,a,o]}),s=t,l=r,i=a,n=o;break}case"A":{const t=Math.abs(h[0]),r=Math.abs(h[1]),a=h[2],o=h[3],s=h[4],l=h[5],c=h[6];if(0===t||0===r)e.push({key:"C",data:[i,n,l,c,l,c]}),i=l,n=c;else if(i!==l||n!==c){A(i,n,l,c,t,r,a,o,s).forEach((function(t){e.push({key:"C",data:t})})),i=l,n=c}break}case"Z":e.push({key:"Z",data:[]}),i=a,n=o}r=c}return e}function S(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}function A(t,e,r,i,n,a,o,s,l,c){const h=(d=o,Math.PI*d/180);var d;let u=[],f=0,p=0,g=0,m=0;if(c)[f,p,g,m]=c;else{[t,e]=S(t,e,-h),[r,i]=S(r,i,-h);const o=(t-r)/2,c=(e-i)/2;let d=o*o/(n*n)+c*c/(a*a);d>1&&(d=Math.sqrt(d),n*=d,a*=d);const u=n*n,y=a*a,b=u*y-u*c*c-y*o*o,x=u*c*c+y*o*o,C=(s===l?-1:1)*Math.sqrt(Math.abs(b/x));g=C*n*c/a+(t+r)/2,m=C*-a*o/n+(e+i)/2,f=Math.asin(parseFloat(((e-m)/a).toFixed(9))),p=Math.asin(parseFloat(((i-m)/a).toFixed(9))),t<g&&(f=Math.PI-f),r<g&&(p=Math.PI-p),f<0&&(f=2*Math.PI+f),p<0&&(p=2*Math.PI+p),l&&f>p&&(f-=2*Math.PI),!l&&p>f&&(p-=2*Math.PI)}let y=p-f;if(Math.abs(y)>120*Math.PI/180){const t=p,e=r,s=i;p=l&&p>f?f+120*Math.PI/180*1:f+120*Math.PI/180*-1,u=A(r=g+n*Math.cos(p),i=m+a*Math.sin(p),e,s,n,a,o,0,l,[p,t,g,m])}y=p-f;const b=Math.cos(f),x=Math.sin(f),C=Math.cos(p),v=Math.sin(p),k=Math.tan(y/4),w=4/3*n*k,T=4/3*a*k,B=[t,e],L=[t+w*x,e-T*b],M=[r+w*v,i-T*C],F=[r,i];if(L[0]=2*B[0]-L[0],L[1]=2*B[1]-L[1],c)return[L,M,F].concat(u);{u=[L,M,F].concat(u);const t=[];for(let e=0;e<u.length;e+=3){const r=S(u[e][0],u[e][1],h),i=S(u[e+1][0],u[e+1][1],h),n=S(u[e+2][0],u[e+2][1],h);t.push([r[0],r[1],i[0],i[1],n[0],n[1]])}return t}}const T={randOffset:function(t,e){return N(t,e)},randOffsetWithRange:function(t,e,r){return P(t,e,r)},ellipse:function(t,e,r,i,n){const a=_(r,i,n);return $(t,e,n,a).opset},doubleLineOps:function(t,e,r,i,n){return q(t,e,r,i,n,!0)}};function B(t,e,r,i,n){return{type:"path",ops:q(t,e,r,i,n)}}function L(t,e,r){const i=(t||[]).length;if(i>2){const n=[];for(let e=0;e<i-1;e++)n.push(...q(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&n.push(...q(t[i-1][0],t[i-1][1],t[0][0],t[0][1],r)),{type:"path",ops:n}}return 2===i?B(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function M(t,e,r,i,n){return function(t,e){return L(t,!0,e)}([[t,e],[t+r,e],[t+r,e+i],[t,e+i]],n)}function F(t,e){if(t.length){const r="number"==typeof t[0][0]?[t]:t,i=j(r[0],1*(1+.2*e.roughness),e),n=e.disableMultiStroke?[]:j(r[0],1.5*(1+.22*e.roughness),K(e));for(let t=1;t<r.length;t++){const a=r[t];if(a.length){const t=j(a,1*(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:j(a,1.5*(1+.22*e.roughness),K(e));for(const e of t)"move"!==e.op&&i.push(e);for(const e of r)"move"!==e.op&&n.push(e)}}return{type:"path",ops:i.concat(n)}}return{type:"path",ops:[]}}function _(t,e,r){const i=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),n=Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*i)),a=2*Math.PI/n;let o=Math.abs(t/2),s=Math.abs(e/2);const l=1-r.curveFitting;return o+=N(o*l,r),s+=N(s*l,r),{increment:a,rx:o,ry:s}}function $(t,e,r,i){const[n,a]=H(i.increment,t,e,i.rx,i.ry,1,i.increment*P(.1,P(.4,1,r),r),r);let o=W(n,null,r);if(!r.disableMultiStroke&&0!==r.roughness){const[n]=H(i.increment,t,e,i.rx,i.ry,1.5,0,r),a=W(n,null,r);o=o.concat(a)}return{estimatedPoints:a,opset:{type:"path",ops:o}}}function E(t,e,r,i,n,a,o,s,l){const c=t,h=e;let d=Math.abs(r/2),u=Math.abs(i/2);d+=N(.01*d,l),u+=N(.01*u,l);let f=n,p=a;for(;f<0;)f+=2*Math.PI,p+=2*Math.PI;p-f>2*Math.PI&&(f=0,p=2*Math.PI);const g=2*Math.PI/l.curveStepCount,m=Math.min(g/2,(p-f)/2),y=U(m,c,h,d,u,f,p,1,l);if(!l.disableMultiStroke){const t=U(m,c,h,d,u,f,p,1.5,l);y.push(...t)}return o&&(s?y.push(...q(c,h,c+d*Math.cos(f),h+u*Math.sin(f),l),...q(c,h,c+d*Math.cos(p),h+u*Math.sin(p),l)):y.push({op:"lineTo",data:[c,h]},{op:"lineTo",data:[c+d*Math.cos(f),h+u*Math.sin(f)]})),{type:"path",ops:y}}function D(t,e){const r=w(k(v(t))),i=[];let n=[0,0],a=[0,0];for(const{key:o,data:s}of r)switch(o){case"M":a=[s[0],s[1]],n=[s[0],s[1]];break;case"L":i.push(...q(a[0],a[1],s[0],s[1],e)),a=[s[0],s[1]];break;case"C":{const[t,r,n,o,l,c]=s;i.push(...Y(t,r,n,o,l,c,a,e)),a=[l,c];break}case"Z":i.push(...q(a[0],a[1],n[0],n[1],e)),a=[n[0],n[1]]}return{type:"path",ops:i}}function O(t,e){const r=[];for(const i of t)if(i.length){const t=e.maxRandomnessOffset||0,n=i.length;if(n>2){r.push({op:"move",data:[i[0][0]+N(t,e),i[0][1]+N(t,e)]});for(let a=1;a<n;a++)r.push({op:"lineTo",data:[i[a][0]+N(t,e),i[a][1]+N(t,e)]})}}return{type:"fillPath",ops:r}}function I(t,e){return function(t,e){let r=t.fillStyle||"hachure";if(!p[r])switch(r){case"zigzag":p[r]||(p[r]=new c(e));break;case"cross-hatch":p[r]||(p[r]=new h(e));break;case"dots":p[r]||(p[r]=new d(e));break;case"dashed":p[r]||(p[r]=new u(e));break;case"zigzag-line":p[r]||(p[r]=new f(e));break;default:r="hachure",p[r]||(p[r]=new s(e))}return p[r]}(e,T).fillPolygons(t,e)}function K(t){const e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function R(t){return t.randomizer||(t.randomizer=new g(t.seed||0)),t.randomizer.next()}function P(t,e,r,i=1){return r.roughness*i*(R(r)*(e-t)+t)}function N(t,e,r=1){return P(-t,t,e,r)}function q(t,e,r,i,n,a=!1){const o=a?n.disableMultiStrokeFill:n.disableMultiStroke,s=z(t,e,r,i,n,!0,!1);if(o)return s;const l=z(t,e,r,i,n,!0,!0);return s.concat(l)}function z(t,e,r,i,n,a,o){const s=Math.pow(t-r,2)+Math.pow(e-i,2),l=Math.sqrt(s);let c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let h=n.maxRandomnessOffset||0;h*h*100>s&&(h=l/10);const d=h/2,u=.2+.2*R(n);let f=n.bowing*n.maxRandomnessOffset*(i-e)/200,p=n.bowing*n.maxRandomnessOffset*(t-r)/200;f=N(f,n,c),p=N(p,n,c);const g=[],m=()=>N(d,n,c),y=()=>N(h,n,c),b=n.preserveVertices;return a&&(o?g.push({op:"move",data:[t+(b?0:m()),e+(b?0:m())]}):g.push({op:"move",data:[t+(b?0:N(h,n,c)),e+(b?0:N(h,n,c))]})),o?g.push({op:"bcurveTo",data:[f+t+(r-t)*u+m(),p+e+(i-e)*u+m(),f+t+2*(r-t)*u+m(),p+e+2*(i-e)*u+m(),r+(b?0:m()),i+(b?0:m())]}):g.push({op:"bcurveTo",data:[f+t+(r-t)*u+y(),p+e+(i-e)*u+y(),f+t+2*(r-t)*u+y(),p+e+2*(i-e)*u+y(),r+(b?0:y()),i+(b?0:y())]}),g}function j(t,e,r){if(!t.length)return[];const i=[];i.push([t[0][0]+N(e,r),t[0][1]+N(e,r)]),i.push([t[0][0]+N(e,r),t[0][1]+N(e,r)]);for(let n=1;n<t.length;n++)i.push([t[n][0]+N(e,r),t[n][1]+N(e,r)]),n===t.length-1&&i.push([t[n][0]+N(e,r),t[n][1]+N(e,r)]);return W(i,null,r)}function W(t,e,r){const i=t.length,n=[];if(i>3){const a=[],o=1-r.curveTightness;n.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<i;e++){const r=t[e];a[0]=[r[0],r[1]],a[1]=[r[0]+(o*t[e+1][0]-o*t[e-1][0])/6,r[1]+(o*t[e+1][1]-o*t[e-1][1])/6],a[2]=[t[e+1][0]+(o*t[e][0]-o*t[e+2][0])/6,t[e+1][1]+(o*t[e][1]-o*t[e+2][1])/6],a[3]=[t[e+1][0],t[e+1][1]],n.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(e&&2===e.length){const t=r.maxRandomnessOffset;n.push({op:"lineTo",data:[e[0]+N(t,r),e[1]+N(t,r)]})}}else 3===i?(n.push({op:"move",data:[t[1][0],t[1][1]]}),n.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===i&&n.push(...z(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return n}function H(t,e,r,i,n,a,o,s){const l=[],c=[];if(0===s.roughness){t/=4,c.push([e+i*Math.cos(-t),r+n*Math.sin(-t)]);for(let a=0;a<=2*Math.PI;a+=t){const t=[e+i*Math.cos(a),r+n*Math.sin(a)];l.push(t),c.push(t)}c.push([e+i*Math.cos(0),r+n*Math.sin(0)]),c.push([e+i*Math.cos(t),r+n*Math.sin(t)])}else{const h=N(.5,s)-Math.PI/2;c.push([N(a,s)+e+.9*i*Math.cos(h-t),N(a,s)+r+.9*n*Math.sin(h-t)]);const d=2*Math.PI+h-.01;for(let o=h;o<d;o+=t){const t=[N(a,s)+e+i*Math.cos(o),N(a,s)+r+n*Math.sin(o)];l.push(t),c.push(t)}c.push([N(a,s)+e+i*Math.cos(h+2*Math.PI+.5*o),N(a,s)+r+n*Math.sin(h+2*Math.PI+.5*o)]),c.push([N(a,s)+e+.98*i*Math.cos(h+o),N(a,s)+r+.98*n*Math.sin(h+o)]),c.push([N(a,s)+e+.9*i*Math.cos(h+.5*o),N(a,s)+r+.9*n*Math.sin(h+.5*o)])}return[c,l]}function U(t,e,r,i,n,a,o,s,l){const c=a+N(.1,l),h=[];h.push([N(s,l)+e+.9*i*Math.cos(c-t),N(s,l)+r+.9*n*Math.sin(c-t)]);for(let d=c;d<=o;d+=t)h.push([N(s,l)+e+i*Math.cos(d),N(s,l)+r+n*Math.sin(d)]);return h.push([e+i*Math.cos(o),r+n*Math.sin(o)]),h.push([e+i*Math.cos(o),r+n*Math.sin(o)]),W(h,null,l)}function Y(t,e,r,i,n,a,o,s){const l=[],c=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3];let h=[0,0];const d=s.disableMultiStroke?1:2,u=s.preserveVertices;for(let f=0;f<d;f++)0===f?l.push({op:"move",data:[o[0],o[1]]}):l.push({op:"move",data:[o[0]+(u?0:N(c[0],s)),o[1]+(u?0:N(c[0],s))]}),h=u?[n,a]:[n+N(c[f],s),a+N(c[f],s)],l.push({op:"bcurveTo",data:[t+N(c[f],s),e+N(c[f],s),r+N(c[f],s),i+N(c[f],s),h[0],h[1]]});return l}function G(t){return[...t]}function V(t,e=0){const r=t.length;if(r<3)throw new Error("A curve must have at least three points.");const i=[];if(3===r)i.push(G(t[0]),G(t[1]),G(t[2]),G(t[2]));else{const r=[];r.push(t[0],t[0]);for(let e=1;e<t.length;e++)r.push(t[e]),e===t.length-1&&r.push(t[e]);const n=[],a=1-e;i.push(G(r[0]));for(let t=1;t+2<r.length;t++){const e=r[t];n[0]=[e[0],e[1]],n[1]=[e[0]+(a*r[t+1][0]-a*r[t-1][0])/6,e[1]+(a*r[t+1][1]-a*r[t-1][1])/6],n[2]=[r[t+1][0]+(a*r[t][0]-a*r[t+2][0])/6,r[t+1][1]+(a*r[t][1]-a*r[t+2][1])/6],n[3]=[r[t+1][0],r[t+1][1]],i.push(n[1],n[2],n[3])}}return i}function X(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function Z(t,e,r){const i=X(e,r);if(0===i)return X(t,e);let n=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/i;return n=Math.max(0,Math.min(1,n)),X(t,J(e,r,n))}function J(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function Q(t,e,r,i){const n=i||[];if(function(t,e){const r=t[e+0],i=t[e+1],n=t[e+2],a=t[e+3];let o=3*i[0]-2*r[0]-a[0];o*=o;let s=3*i[1]-2*r[1]-a[1];s*=s;let l=3*n[0]-2*a[0]-r[0];l*=l;let c=3*n[1]-2*a[1]-r[1];return c*=c,o<l&&(o=l),s<c&&(s=c),o+s}(t,e)<r){const r=t[e+0];if(n.length){(a=n[n.length-1],o=r,Math.sqrt(X(a,o)))>1&&n.push(r)}else n.push(r);n.push(t[e+3])}else{const i=.5,a=t[e+0],o=t[e+1],s=t[e+2],l=t[e+3],c=J(a,o,i),h=J(o,s,i),d=J(s,l,i),u=J(c,h,i),f=J(h,d,i),p=J(u,f,i);Q([a,c,u,p],0,r,n),Q([p,f,d,l],0,r,n)}var a,o;return n}function tt(t,e){return et(t,0,t.length,e)}function et(t,e,r,i,n){const a=n||[],o=t[e],s=t[r-1];let l=0,c=1;for(let h=e+1;h<r-1;++h){const e=Z(t[h],o,s);e>l&&(l=e,c=h)}return Math.sqrt(l)>i?(et(t,e,c+1,i,a),et(t,c,r,i,a)):(a.length||a.push(o),a.push(s)),a}function rt(t,e=.15,r){const i=[],n=(t.length-1)/3;for(let a=0;a<n;a++){Q(t,3*a,e,i)}return r&&r>0?et(i,0,i.length,r):i}const it="none";class nt{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,i,n){const a=this._o(n);return this._d("line",[B(t,e,r,i,a)],a)}rectangle(t,e,r,i,n){const a=this._o(n),o=[],s=M(t,e,r,i,a);if(a.fill){const n=[[t,e],[t+r,e],[t+r,e+i],[t,e+i]];"solid"===a.fillStyle?o.push(O([n],a)):o.push(I([n],a))}return a.stroke!==it&&o.push(s),this._d("rectangle",o,a)}ellipse(t,e,r,i,n){const a=this._o(n),o=[],s=_(r,i,a),l=$(t,e,a,s);if(a.fill)if("solid"===a.fillStyle){const r=$(t,e,a,s).opset;r.type="fillPath",o.push(r)}else o.push(I([l.estimatedPoints],a));return a.stroke!==it&&o.push(l.opset),this._d("ellipse",o,a)}circle(t,e,r,i){const n=this.ellipse(t,e,r,r,i);return n.shape="circle",n}linearPath(t,e){const r=this._o(e);return this._d("linearPath",[L(t,!1,r)],r)}arc(t,e,r,i,n,a,o=!1,s){const l=this._o(s),c=[],h=E(t,e,r,i,n,a,o,!0,l);if(o&&l.fill)if("solid"===l.fillStyle){const o=Object.assign({},l);o.disableMultiStroke=!0;const s=E(t,e,r,i,n,a,!0,!1,o);s.type="fillPath",c.push(s)}else c.push(function(t,e,r,i,n,a,o){const s=t,l=e;let c=Math.abs(r/2),h=Math.abs(i/2);c+=N(.01*c,o),h+=N(.01*h,o);let d=n,u=a;for(;d<0;)d+=2*Math.PI,u+=2*Math.PI;u-d>2*Math.PI&&(d=0,u=2*Math.PI);const f=(u-d)/o.curveStepCount,p=[];for(let g=d;g<=u;g+=f)p.push([s+c*Math.cos(g),l+h*Math.sin(g)]);return p.push([s+c*Math.cos(u),l+h*Math.sin(u)]),p.push([s,l]),I([p],o)}(t,e,r,i,n,a,l));return l.stroke!==it&&c.push(h),this._d("arc",c,l)}curve(t,e){const r=this._o(e),i=[],n=F(t,r);if(r.fill&&r.fill!==it)if("solid"===r.fillStyle){const e=F(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{const e=[],n=t;if(n.length){const t="number"==typeof n[0][0]?[n]:n;for(const i of t)i.length<3?e.push(...i):3===i.length?e.push(...rt(V([i[0],i[0],i[1],i[2]]),10,(1+r.roughness)/2)):e.push(...rt(V(i),10,(1+r.roughness)/2))}e.length&&i.push(I([e],r))}return r.stroke!==it&&i.push(n),this._d("curve",i,r)}polygon(t,e){const r=this._o(e),i=[],n=L(t,!0,r);return r.fill&&("solid"===r.fillStyle?i.push(O([t],r)):i.push(I([t],r))),r.stroke!==it&&i.push(n),this._d("polygon",i,r)}path(t,e){const r=this._o(e),i=[];if(!t)return this._d("path",i,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");const n=r.fill&&"transparent"!==r.fill&&r.fill!==it,a=r.stroke!==it,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){const i=w(k(v(t))),n=[];let a=[],o=[0,0],s=[];const l=()=>{s.length>=4&&a.push(...rt(s,e)),s=[]},c=()=>{l(),a.length&&(n.push(a),a=[])};for(const{key:d,data:u}of i)switch(d){case"M":c(),o=[u[0],u[1]],a.push(o);break;case"L":l(),a.push([u[0],u[1]]);break;case"C":if(!s.length){const t=a.length?a[a.length-1]:o;s.push([t[0],t[1]])}s.push([u[0],u[1]]),s.push([u[2],u[3]]),s.push([u[4],u[5]]);break;case"Z":l(),a.push([o[0],o[1]])}if(c(),!r)return n;const h=[];for(const d of n){const t=tt(d,r);t.length&&h.push(t)}return h}(t,1,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=D(t,r);if(n)if("solid"===r.fillStyle)if(1===s.length){const e=D(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else i.push(O(s,r));else i.push(I(s,r));return a&&(o?s.forEach((t=>{i.push(L(t,!1,r))})):i.push(l)),this._d("path",i,r)}opsToPath(t,e){let r="";for(const i of t.ops){const t="number"==typeof e&&e>=0?i.data.map((t=>+t.toFixed(e))):i.data;switch(i.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){const e=t.sets||[],r=t.options||this.defaultOptions,i=[];for(const n of e){let t=null;switch(n.type){case"path":t={d:this.opsToPath(n),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:it};break;case"fillPath":t={d:this.opsToPath(n),stroke:it,strokeWidth:0,fill:r.fill||it};break;case"fillSketch":t=this.fillSketch(n,r)}t&&i.push(t)}return i}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||it,strokeWidth:r,fill:it}}_mergedShape(t){return t.filter(((t,e)=>0===e||"move"!==t.op))}}class at{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new nt(e)}draw(t){const e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.ctx,n=t.options.fixedDecimalPlaceDigits;for(const a of e)switch(a.type){case"path":i.save(),i.strokeStyle="none"===r.stroke?"transparent":r.stroke,i.lineWidth=r.strokeWidth,r.strokeLineDash&&i.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(i.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(i,a,n),i.restore();break;case"fillPath":{i.save(),i.fillStyle=r.fill||"";const e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(i,a,n,e),i.restore();break}case"fillSketch":this.fillSketch(i,a,r)}}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=i,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,i="nonzero"){t.beginPath();for(const n of e.ops){const e="number"==typeof r&&r>=0?n.data.map((t=>+t.toFixed(r))):n.data;switch(n.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(i):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,i,n){const a=this.gen.line(t,e,r,i,n);return this.draw(a),a}rectangle(t,e,r,i,n){const a=this.gen.rectangle(t,e,r,i,n);return this.draw(a),a}ellipse(t,e,r,i,n){const a=this.gen.ellipse(t,e,r,i,n);return this.draw(a),a}circle(t,e,r,i){const n=this.gen.circle(t,e,r,i);return this.draw(n),n}linearPath(t,e){const r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){const r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,i,n,a,o=!1,s){const l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l),l}curve(t,e){const r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){const r=this.gen.path(t,e);return this.draw(r),r}}const ot="http://www.w3.org/2000/svg";class st{constructor(t,e){this.svg=t,this.gen=new nt(e)}draw(t){const e=t.sets||[],r=t.options||this.getDefaultOptions(),i=this.svg.ownerDocument||window.document,n=i.createElementNS(ot,"g"),a=t.options.fixedDecimalPlaceDigits;for(const o of e){let e=null;switch(o.type){case"path":e=i.createElementNS(ot,"path"),e.setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":e=i.createElementNS(ot,"path"),e.setAttribute("d",this.opsToPath(o,a)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(i,o,r)}e&&n.appendChild(e)}return n}fillSketch(t,e,r){let i=r.fillWeight;i<0&&(i=r.strokeWidth/2);const n=t.createElementNS(ot,"path");return n.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),n.setAttribute("stroke",r.fill||""),n.setAttribute("stroke-width",i+""),n.setAttribute("fill","none"),r.fillLineDash&&n.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&n.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),n}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,i,n){const a=this.gen.line(t,e,r,i,n);return this.draw(a)}rectangle(t,e,r,i,n){const a=this.gen.rectangle(t,e,r,i,n);return this.draw(a)}ellipse(t,e,r,i,n){const a=this.gen.ellipse(t,e,r,i,n);return this.draw(a)}circle(t,e,r,i){const n=this.gen.circle(t,e,r,i);return this.draw(n)}linearPath(t,e){const r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){const r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,i,n,a,o=!1,s){const l=this.gen.arc(t,e,r,i,n,a,o,s);return this.draw(l)}curve(t,e){const r=this.gen.curve(t,e);return this.draw(r)}path(t,e){const r=this.gen.path(t,e);return this.draw(r)}}var lt={canvas:(t,e)=>new at(t,e),svg:(t,e)=>new st(t,e),generator:t=>new nt(t),newSeed:()=>nt.newSeed()}},60513:(t,e,r)=>{"use strict";r.d(e,{T:()=>i});function i(t){var e=[];for(var r=1;r<arguments.length;r++){e[r-1]=arguments[r]}var i=Array.from(typeof t==="string"?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var n=i.reduce((function(t,e){var r=e.match(/\n([\t ]+|(?!\s).)/g);if(r){return t.concat(r.map((function(t){var e,r;return(r=(e=t.match(/[\t ]/g))===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0})))}return t}),[]);if(n.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,n)+"}","g");i=i.map((function(t){return t.replace(a,"\n")}))}i[0]=i[0].replace(/^\r?\n/,"");var o=i[0];e.forEach((function(t,e){var r=o.match(/(?:^|\n)( *)$/);var n=r?r[1]:"";var a=t;if(typeof t==="string"&&t.includes("\n")){a=String(t).split("\n").map((function(t,e){return e===0?t:""+n+t})).join("\n")}o+=a+i[e+1]}));return o}var n=null&&i}}]);