jupyterlab 4.1.8__py3-none-any.whl → 4.2.0__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 (611) hide show
  1. jupyterlab/_version.py +1 -1
  2. jupyterlab/browser_check.py +1 -0
  3. jupyterlab/commands.py +18 -10
  4. jupyterlab/debuglog.py +1 -3
  5. jupyterlab/federated_labextensions.py +0 -1
  6. jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +112 -99
  7. jupyterlab/galata/@jupyterlab/galata-extension/package.json +11 -11
  8. jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.5bacc8fe82898b9371ce.js → remoteEntry.0e04e856e91be0073cdd.js} +3 -3
  9. jupyterlab/galata/__init__.py +3 -1
  10. jupyterlab/labapp.py +1 -1
  11. jupyterlab/labextensions.py +9 -0
  12. jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +12 -14
  13. jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +16 -18
  14. jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  15. jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  16. jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +16 -15
  17. jupyterlab/schemas/@jupyterlab/codemirror-extension/plugin.json +27 -0
  18. jupyterlab/schemas/@jupyterlab/completer-extension/inline-completer.json +6 -3
  19. jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -9
  20. jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +14 -16
  21. jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +12 -14
  22. jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -19
  23. jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +14 -15
  24. jupyterlab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
  25. jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
  26. jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -9
  27. jupyterlab/schemas/@jupyterlab/filebrowser-extension/browser.json +4 -4
  28. jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +15 -17
  29. jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +27 -29
  30. jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +9 -11
  31. jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  32. jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  33. jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -8
  34. jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -12
  35. jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +8 -10
  36. jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +11 -11
  37. jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  38. jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +13 -12
  39. jupyterlab/schemas/@jupyterlab/mainmenu-extension/plugin.json +10 -0
  40. jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -11
  41. jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -4
  42. jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  43. jupyterlab/schemas/@jupyterlab/notebook-extension/export.json +1 -1
  44. jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +33 -35
  45. jupyterlab/schemas/@jupyterlab/notebook-extension/tracker.json +1 -1
  46. jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +15 -13
  47. jupyterlab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
  48. jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -13
  49. jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +8 -10
  50. jupyterlab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +31 -1
  51. jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -8
  52. jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +12 -14
  53. jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -8
  54. jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +12 -14
  55. jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  56. jupyterlab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
  57. jupyterlab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
  58. jupyterlab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
  59. jupyterlab/semver.py +3 -3
  60. jupyterlab/staging/package.json +160 -153
  61. jupyterlab/staging/webpack.config.js +1 -1
  62. jupyterlab/staging/yarn.lock +1600 -1746
  63. jupyterlab/static/1036.4adf7509135ea39ecb91.js +2 -0
  64. jupyterlab/static/1166.08f9e1fd722f61c9b69c.js +1 -0
  65. jupyterlab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
  66. jupyterlab/static/1610.5f9622f4a515447f78fe.js +2 -0
  67. jupyterlab/static/1610.5f9622f4a515447f78fe.js.LICENSE.txt +4 -0
  68. jupyterlab/static/2091.0ad2070604beb93b34c5.js +1 -0
  69. jupyterlab/static/2102.ff1893c4bd1104a1f57d.js +1 -0
  70. jupyterlab/static/2104.96885e414ee656615c2b.js +1 -0
  71. jupyterlab/static/{7517.f3e5d420f4af90d442dd.js → 2584.e4b860ab848de94978cf.js} +1 -1
  72. jupyterlab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
  73. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/8625.a7308ba1283f47df16a1.js → jupyterlab/static/2929.b88233153dbf33f40b29.js +1 -1
  74. jupyterlab/static/2995.334184c36a45c82ad564.js +1 -0
  75. jupyterlab/static/{3056.8a73f6aacd8ca45f84f9.js → 3056.2c8f5c81b8ad8062906a.js} +1 -1
  76. jupyterlab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
  77. jupyterlab/static/3783.36bf783a511cc87997c0.js +1 -0
  78. jupyterlab/static/4043.c57e85faf640ba37b87c.js +1 -0
  79. jupyterlab/static/4136.aba58697fed7e4cded7c.js +2 -0
  80. jupyterlab/static/4244.3d69bbe0937f69ca1f80.js +1 -0
  81. jupyterlab/static/4405.196dd63db3761b4bb7fe.js +1 -0
  82. jupyterlab/static/4457.0add5dec58939a80e2c3.js +1 -0
  83. jupyterlab/static/4503.5f41fcfefb7e83b6190e.js +4782 -0
  84. jupyterlab/static/{49.7233f68f95d10b85a83e.js → 49.43ad810fe0adbd6be564.js} +1 -1
  85. jupyterlab/static/4912.4371d46fb589b52e231b.js +1465 -0
  86. jupyterlab/static/4986.c819184e09e1e15ef06b.js +1 -0
  87. jupyterlab/static/5083.4926253681abafa806f9.js +1 -0
  88. jupyterlab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
  89. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6001.963601fcecb8b4c1d1f1.js → jupyterlab/static/6001.fd42cb874026fb9730e8.js +1 -1
  90. jupyterlab/static/6177.a4ddefac453fccec8424.js +1 -0
  91. jupyterlab/static/6436.8d9ba427de4ab1053871.js +1 -0
  92. jupyterlab/static/6515.1abddf12ebb7ad96c791.js +1 -0
  93. jupyterlab/static/{1464.4b120a718f613189bd64.js → 6527.34b14b195521fc6cb65c.js} +1 -1
  94. jupyterlab/static/6532.598324868e83c4cbe4e4.js +1 -0
  95. jupyterlab/static/6888.f71353e198bce9c2f409.js +1 -0
  96. jupyterlab/static/{7178.5f3dd740449b44efad2d.js → 7178.373c24769ba5912c2eea.js} +2 -2
  97. jupyterlab/static/{7318.397bf8e913e825b2be27.js → 7318.f5a0db6dd94488328be5.js} +1 -1
  98. jupyterlab/static/7823.f3c8154418bc214dc89a.js +1 -0
  99. jupyterlab/static/795.c780bf11bb08527e3c84.js +1 -0
  100. jupyterlab/static/812.6dd8f4cea8383e031515.js +1 -0
  101. jupyterlab/static/8267.01bec3949b651535e6f5.js +1 -0
  102. jupyterlab/static/8771.ac4c870ed77005ec8e34.js +1 -0
  103. jupyterlab/static/9.82c3bf54739d037b7bd1.js +1 -0
  104. jupyterlab/static/9030.61b135ed4411056792ab.js +1 -0
  105. jupyterlab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
  106. jupyterlab/static/942.68bd92fc10c9f9d7004f.js +1 -0
  107. jupyterlab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
  108. jupyterlab/static/{9826.38c59b84e02def79216e.js → 9826.406d2a71dc45995bc549.js} +2 -2
  109. jupyterlab/static/build_log.json +161 -107
  110. jupyterlab/static/index.html +1 -1
  111. jupyterlab/static/index.out.js +22 -0
  112. jupyterlab/static/jlab_core.b207cc5f30e679038452.js +1 -0
  113. jupyterlab/static/main.42d188fdc03ddbb28b9a.js +1 -0
  114. jupyterlab/static/package.json +160 -153
  115. jupyterlab/static/style.js +1 -0
  116. jupyterlab/static/third-party-licenses.json +183 -177
  117. jupyterlab/style.js +1 -0
  118. jupyterlab/tests/mock_packages/extension/package.json +3 -3
  119. jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
  120. jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
  121. jupyterlab/tests/mock_packages/interop/token/package.json +1 -1
  122. jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
  123. jupyterlab/tests/mock_packages/test-hyphens-underscore/package.json +2 -2
  124. jupyterlab/tests/mock_packages/test-hyphens-underscore/pyproject.toml +1 -1
  125. jupyterlab/tests/mock_packages/test-hyphens-underscore/yarn.lock +2803 -0
  126. jupyterlab/tests/mock_packages/test_no_hyphens/package.json +2 -2
  127. jupyterlab/tests/mock_packages/test_no_hyphens/pyproject.toml +1 -1
  128. jupyterlab/tests/mock_packages/test_no_hyphens/yarn.lock +2803 -0
  129. jupyterlab/tests/test_build_api.py +1 -0
  130. jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
  131. jupyterlab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.css +466 -0
  132. jupyterlab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.js +0 -0
  133. jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
  134. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +12 -14
  135. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +16 -18
  136. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  137. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  138. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +16 -15
  139. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +42 -0
  140. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +6 -3
  141. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -9
  142. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +14 -16
  143. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +12 -14
  144. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -19
  145. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +14 -15
  146. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
  147. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +8 -8
  148. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -9
  149. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +4 -4
  150. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +15 -17
  151. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +27 -29
  152. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +9 -11
  153. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  154. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  155. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -8
  156. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -12
  157. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +8 -10
  158. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +11 -11
  159. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  160. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +13 -12
  161. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +10 -0
  162. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -11
  163. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -4
  164. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  165. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +1 -1
  166. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +33 -35
  167. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +1 -1
  168. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +15 -13
  169. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
  170. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -13
  171. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +8 -10
  172. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +31 -1
  173. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -8
  174. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +12 -14
  175. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -8
  176. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +12 -14
  177. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  178. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
  179. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
  180. jupyterlab-4.2.0.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
  181. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1036.4adf7509135ea39ecb91.js +2 -0
  182. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1166.08f9e1fd722f61c9b69c.js +1 -0
  183. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
  184. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1610.5f9622f4a515447f78fe.js +2 -0
  185. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1610.5f9622f4a515447f78fe.js.LICENSE.txt +4 -0
  186. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2091.0ad2070604beb93b34c5.js +1 -0
  187. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2102.ff1893c4bd1104a1f57d.js +1 -0
  188. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2104.96885e414ee656615c2b.js +1 -0
  189. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7517.f3e5d420f4af90d442dd.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2584.e4b860ab848de94978cf.js +1 -1
  190. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
  191. jupyterlab/static/8625.a7308ba1283f47df16a1.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2929.b88233153dbf33f40b29.js +1 -1
  192. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/2995.334184c36a45c82ad564.js +1 -0
  193. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/3056.8a73f6aacd8ca45f84f9.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/3056.2c8f5c81b8ad8062906a.js +1 -1
  194. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
  195. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/3783.36bf783a511cc87997c0.js +1 -0
  196. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4043.c57e85faf640ba37b87c.js +1 -0
  197. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4136.aba58697fed7e4cded7c.js +2 -0
  198. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4244.3d69bbe0937f69ca1f80.js +1 -0
  199. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4405.196dd63db3761b4bb7fe.js +1 -0
  200. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4457.0add5dec58939a80e2c3.js +1 -0
  201. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4503.5f41fcfefb7e83b6190e.js +4782 -0
  202. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/49.7233f68f95d10b85a83e.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/49.43ad810fe0adbd6be564.js +1 -1
  203. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4912.4371d46fb589b52e231b.js +1465 -0
  204. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4986.c819184e09e1e15ef06b.js +1 -0
  205. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/5083.4926253681abafa806f9.js +1 -0
  206. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
  207. jupyterlab/static/6001.963601fcecb8b4c1d1f1.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6001.fd42cb874026fb9730e8.js +1 -1
  208. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6177.a4ddefac453fccec8424.js +1 -0
  209. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6436.8d9ba427de4ab1053871.js +1 -0
  210. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6515.1abddf12ebb7ad96c791.js +1 -0
  211. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1464.4b120a718f613189bd64.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6527.34b14b195521fc6cb65c.js +1 -1
  212. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6532.598324868e83c4cbe4e4.js +1 -0
  213. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/6888.f71353e198bce9c2f409.js +1 -0
  214. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7178.373c24769ba5912c2eea.js +2 -2
  215. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7318.397bf8e913e825b2be27.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7318.f5a0db6dd94488328be5.js +1 -1
  216. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7823.f3c8154418bc214dc89a.js +1 -0
  217. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/795.c780bf11bb08527e3c84.js +1 -0
  218. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/812.6dd8f4cea8383e031515.js +1 -0
  219. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/8267.01bec3949b651535e6f5.js +1 -0
  220. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/8771.ac4c870ed77005ec8e34.js +1 -0
  221. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9.82c3bf54739d037b7bd1.js +1 -0
  222. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9030.61b135ed4411056792ab.js +1 -0
  223. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
  224. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/942.68bd92fc10c9f9d7004f.js +1 -0
  225. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
  226. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9826.38c59b84e02def79216e.js → jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js +2 -2
  227. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/build_log.json +161 -107
  228. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/index.html +1 -1
  229. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/index.out.js +22 -0
  230. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/jlab_core.b207cc5f30e679038452.js +1 -0
  231. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/main.42d188fdc03ddbb28b9a.js +1 -0
  232. jupyterlab-4.2.0.data/data/share/jupyter/lab/static/package.json +357 -0
  233. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/style.js +1 -0
  234. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/third-party-licenses.json +183 -177
  235. jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +466 -0
  236. {jupyterlab-4.1.8.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension → jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension}/index.css +29 -29
  237. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
  238. jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
  239. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/METADATA +21 -17
  240. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/RECORD +531 -521
  241. jupyterlab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
  242. jupyterlab/static/1036.0d1f109c3d842497fd51.js +0 -2
  243. jupyterlab/static/1166.8ac24b1cdbba2a335fac.js +0 -1
  244. jupyterlab/static/1410.e2302ff5f564d6e596bb.js +0 -1
  245. jupyterlab/static/2091.600b1c32af186f6405f9.js +0 -1
  246. jupyterlab/static/2104.296346db0067b4883fbf.js +0 -1
  247. jupyterlab/static/2320.04abae549b19363c2fdd.js +0 -1
  248. jupyterlab/static/2617.9c299e26785f7646cb39.js +0 -1
  249. jupyterlab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
  250. jupyterlab/static/292.3f7844a129f16ec1ffbc.js +0 -1
  251. jupyterlab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
  252. jupyterlab/static/3547.bd90e90bfe79911486e8.js +0 -1
  253. jupyterlab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
  254. jupyterlab/static/4043.aa012978c41d1d1b2f14.js +0 -1
  255. jupyterlab/static/4136.4b9f72f85f49f979ebb8.js +0 -2
  256. jupyterlab/static/4405.43dab120fea32f30bbb9.js +0 -1
  257. jupyterlab/static/4986.a497cdda4b7152902568.js +0 -1
  258. jupyterlab/static/5201.8866042bae350659528a.js +0 -1
  259. jupyterlab/static/627.7e292370f4d61d9e8648.js +0 -5148
  260. jupyterlab/static/6436.af125ed24ec50754c661.js +0 -1
  261. jupyterlab/static/6515.56c63929fb079a820cbc.js +0 -1
  262. jupyterlab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
  263. jupyterlab/static/6888.9d3914817f3290827a64.js +0 -1
  264. jupyterlab/static/7511.b381a696cf806983c654.js +0 -1
  265. jupyterlab/static/7823.817687f13e9a6781fdd3.js +0 -1
  266. jupyterlab/static/795.47ab66037ef33f808f09.js +0 -1
  267. jupyterlab/static/812.c8640af87f151ae89752.js +0 -1
  268. jupyterlab/static/8771.327a202178f82f3b15b8.js +0 -1
  269. jupyterlab/static/9.0e0cba0ccc2a4b670600.js +0 -1
  270. jupyterlab/static/9030.260bc05e28eccff70ae8.js +0 -1
  271. jupyterlab/static/9041.df39043656c7233552e4.js +0 -1
  272. jupyterlab/static/942.93c8de61ea9ea08ec097.js +0 -1
  273. jupyterlab/static/9421.022dc7b4e9a2c80c32c2.js +0 -1
  274. jupyterlab/static/9579.4b1b079b6b7cd2924338.js +0 -1465
  275. jupyterlab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +0 -19
  276. jupyterlab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
  277. jupyterlab/static/9870.70b2b59cc96c3a97c489.js +0 -1
  278. jupyterlab/static/jlab_core.b91074b1e57242ddcd31.js +0 -1
  279. jupyterlab/static/main.c8fa35da61e4a90aae4e.js +0 -1
  280. jupyterlab-4.1.8.data/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
  281. jupyterlab-4.1.8.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -15
  282. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1036.0d1f109c3d842497fd51.js +0 -2
  283. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1166.8ac24b1cdbba2a335fac.js +0 -1
  284. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1410.e2302ff5f564d6e596bb.js +0 -1
  285. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2091.600b1c32af186f6405f9.js +0 -1
  286. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2104.296346db0067b4883fbf.js +0 -1
  287. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2320.04abae549b19363c2fdd.js +0 -1
  288. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2617.9c299e26785f7646cb39.js +0 -1
  289. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
  290. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/292.3f7844a129f16ec1ffbc.js +0 -1
  291. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
  292. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/3547.bd90e90bfe79911486e8.js +0 -1
  293. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
  294. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4043.aa012978c41d1d1b2f14.js +0 -1
  295. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js +0 -2
  296. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4405.43dab120fea32f30bbb9.js +0 -1
  297. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4986.a497cdda4b7152902568.js +0 -1
  298. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/5201.8866042bae350659528a.js +0 -1
  299. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js +0 -5148
  300. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6436.af125ed24ec50754c661.js +0 -1
  301. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6515.56c63929fb079a820cbc.js +0 -1
  302. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
  303. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/6888.9d3914817f3290827a64.js +0 -1
  304. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7511.b381a696cf806983c654.js +0 -1
  305. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7823.817687f13e9a6781fdd3.js +0 -1
  306. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/795.47ab66037ef33f808f09.js +0 -1
  307. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/812.c8640af87f151ae89752.js +0 -1
  308. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/8771.327a202178f82f3b15b8.js +0 -1
  309. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9.0e0cba0ccc2a4b670600.js +0 -1
  310. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9030.260bc05e28eccff70ae8.js +0 -1
  311. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9041.df39043656c7233552e4.js +0 -1
  312. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/942.93c8de61ea9ea08ec097.js +0 -1
  313. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9421.022dc7b4e9a2c80c32c2.js +0 -1
  314. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js +0 -1465
  315. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +0 -19
  316. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
  317. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9870.70b2b59cc96c3a97c489.js +0 -1
  318. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/jlab_core.b91074b1e57242ddcd31.js +0 -1
  319. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/main.c8fa35da61e4a90aae4e.js +0 -1
  320. jupyterlab-4.1.8.data/data/share/jupyter/lab/static/package.json +0 -350
  321. /jupyterlab/static/{1036.0d1f109c3d842497fd51.js.LICENSE.txt → 1036.4adf7509135ea39ecb91.js.LICENSE.txt} +0 -0
  322. /jupyterlab/static/{4136.4b9f72f85f49f979ebb8.js.LICENSE.txt → 4136.aba58697fed7e4cded7c.js.LICENSE.txt} +0 -0
  323. /jupyterlab/static/{627.7e292370f4d61d9e8648.js.LICENSE.txt → 4912.4371d46fb589b52e231b.js.LICENSE.txt} +0 -0
  324. /jupyterlab/static/{7178.5f3dd740449b44efad2d.js.LICENSE.txt → 7178.373c24769ba5912c2eea.js.LICENSE.txt} +0 -0
  325. /jupyterlab/static/{9826.38c59b84e02def79216e.js.LICENSE.txt → 9826.406d2a71dc45995bc549.js.LICENSE.txt} +0 -0
  326. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
  327. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
  328. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/applications/jupyterlab.desktop +0 -0
  329. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
  330. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
  331. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
  332. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
  333. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
  334. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
  335. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
  336. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
  337. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
  338. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
  339. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
  340. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
  341. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
  342. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
  343. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
  344. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
  345. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
  346. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
  347. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
  348. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
  349. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
  350. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
  351. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
  352. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
  353. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
  354. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
  355. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
  356. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
  357. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
  358. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
  359. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
  360. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
  361. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
  362. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
  363. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
  364. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
  365. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
  366. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
  367. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
  368. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
  369. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
  370. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
  371. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
  372. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
  373. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
  374. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
  375. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
  376. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
  377. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
  378. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
  379. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
  380. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
  381. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
  382. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
  383. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
  384. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
  385. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
  386. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/1036.0d1f109c3d842497fd51.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/1036.4adf7509135ea39ecb91.js.LICENSE.txt +0 -0
  387. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1085.0b67f0736d85ec41fdd4.js +0 -0
  388. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1142.d5442a459b18907c1f91.js +0 -0
  389. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1168.0a95b9c93afe61ceb527.js +0 -0
  390. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1294.9d27be1098bc8abebe3f.js +0 -0
  391. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1420.e8486ed074346bc629ca.js +0 -0
  392. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1448.c391061d8a8344f9d177.js +0 -0
  393. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1452.4cc17f31511d1f9c6052.js +0 -0
  394. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1467.dcd89539f6477c1367af.js +0 -0
  395. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1550.09375e869bc25429b07a.js +0 -0
  396. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js +0 -0
  397. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js.LICENSE.txt +0 -0
  398. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1608.61240f3db67d3d952790.js +0 -0
  399. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1716.a6bbe1ae8a1986a73623.js +0 -0
  400. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1760.9a71f4501e9bbaa4c4d8.js +0 -0
  401. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1776.4f9305d35480467b23c9.js +0 -0
  402. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1861.4fc7b4afe2b09eb6b5c0.js +0 -0
  403. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1903.3b452e8ec30e57dbaba5.js +0 -0
  404. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1917.05d73322caab1f77e3bf.js +0 -0
  405. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1929.96e62233aa6f2a8363d4.js +0 -0
  406. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1945.0fbbfe93a4aedd91875c.js +0 -0
  407. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1954.07d96e4020ed6e543d25.js +0 -0
  408. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1993.f8c5682f95ffa75cbaf6.js +0 -0
  409. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
  410. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2039.aa079dac5c520f93b234.js +0 -0
  411. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2090.abc86741318f76c3d726.js +0 -0
  412. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2145.be9ec610f29703694fcf.js +0 -0
  413. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2254.55c69210925ec9b28dd9.js +0 -0
  414. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/226.5dc3528c008170b37b21.js +0 -0
  415. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2295.cda0f7182bf2a1a03c5a.js +0 -0
  416. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2363.6eef078cb37c32d7fbc3.js +0 -0
  417. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2459.9f9cb02561de1bec73ff.js +0 -0
  418. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2485.dab750ed66209df61fe1.js +0 -0
  419. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2551.b07d561a12360c38c589.js +0 -0
  420. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2579.b19edefeb9ee4daed4bd.js +0 -0
  421. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2646.0864fb63d7ab1ed16893.js +0 -0
  422. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2655.71a94960aa4ab2040d8f.js +0 -0
  423. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
  424. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2727.6925b8cf1c5363f40138.js +0 -0
  425. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2755.696bab6bdca0d9a78131.js +0 -0
  426. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2857.27a6e85f5c4c092ab8a2.js +0 -0
  427. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2909.e190307f7f84c7691068.js +0 -0
  428. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2953.92ff8f12bad6ee06859c.js +0 -0
  429. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/2990.ea15322a41d3f133989b.js +0 -0
  430. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
  431. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3123.85cea4be2e2ed3f9654f.js +0 -0
  432. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
  433. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3306.8bdc49ad1a7ca593a838.js +0 -0
  434. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3308.764d71af7e591cdb1345.js +0 -0
  435. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3520.3495b98946de6960ace8.js +0 -0
  436. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3528.3b5ef5f31d460b5fcd01.js +0 -0
  437. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3549.24f2fe646d8128bc9db0.js +0 -0
  438. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
  439. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3601.5c17c015d71b69ddcab3.js +0 -0
  440. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
  441. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3711.150292a21fd47be1c05f.js +0 -0
  442. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3724.a4657dc16be2ffc49282.js +0 -0
  443. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
  444. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/378.6d0f0fc4c8a2eb80ac43.js +0 -0
  445. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3807.08a8fd824036c30b3746.js +0 -0
  446. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/383.db345dbeef5ef774e50c.js +0 -0
  447. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3871.ba96e5b53bb16df56618.js +0 -0
  448. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3923.f29c06abdcb560130471.js +0 -0
  449. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js +0 -0
  450. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js.LICENSE.txt +0 -0
  451. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3962.50786e3ed9a01329a4a0.js +0 -0
  452. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
  453. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
  454. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
  455. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js +0 -0
  456. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js.LICENSE.txt +0 -0
  457. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4017.096a74a538e031b6d346.js +0 -0
  458. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/406.81906f96059e31e907a2.js +0 -0
  459. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4086.3087c0abed5ca45b823b.js +0 -0
  460. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4136.aba58697fed7e4cded7c.js.LICENSE.txt +0 -0
  461. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4139.303ee7374c742287be85.js +0 -0
  462. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4155.5a8d6736017097028d78.js +0 -0
  463. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4283.f6092d8b7f2e53118d1b.js +0 -0
  464. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4291.e5d8997127541f75fdaf.js +0 -0
  465. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4419.93938494f456cd76a7e3.js +0 -0
  466. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4452.2f8819684b96ecff5231.js +0 -0
  467. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4519.6b784d052db42e93eff2.js +0 -0
  468. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4562.72444a09f5f092646490.js +0 -0
  469. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4591.428531724f49fe824ffa.js +0 -0
  470. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/46.fb119c5e5b1e0c72a00f.js +0 -0
  471. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4743.d4e9658ea25301e15a94.js +0 -0
  472. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4765.093b4f8b3cee1251db8d.js +0 -0
  473. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
  474. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/4878.73004381601237a3ef9c.js +0 -0
  475. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/4912.4371d46fb589b52e231b.js.LICENSE.txt +0 -0
  476. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5041.cdc120bda0a0dec4cfc2.js +0 -0
  477. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5157.9c77dc27a251d4135876.js +0 -0
  478. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5203.c002d40ac647dc6e1d61.js +0 -0
  479. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/526.601d8ddd8347cd7790b9.js +0 -0
  480. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5331.0cd3f010bb08983ec3fd.js +0 -0
  481. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5440.2541fcda12b661665148.js +0 -0
  482. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5521.ce4a0274596e0325374c.js +0 -0
  483. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5746.e4434ef2027bcc5ed0c9.js +0 -0
  484. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5794.3cb2bcd1a3e23d0c084e.js +0 -0
  485. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/581.2b878ed37172aced15b5.js +0 -0
  486. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5881.3946238aa4afdcf4f964.js +0 -0
  487. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5959.a6b1fd3b03d3649ea8b1.js +0 -0
  488. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
  489. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6059.d83e7323b2ee1aa16009.js +0 -0
  490. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6163.f5b51a9f0df4846ba40f.js +0 -0
  491. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6207.a8079c8d8a61039dd530.js +0 -0
  492. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6243.2efd673d1304c43b7b78.js +0 -0
  493. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6267.1def2916929e185ab9fc.js +0 -0
  494. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6359.4b994bfd6b1dea2d6fe3.js +0 -0
  495. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6443.e6b52d3732b3e8513a71.js +0 -0
  496. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6560.f42276a0b1b92aea515b.js +0 -0
  497. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6595.6a1d7e1abbf186dd119b.js +0 -0
  498. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6686.3c518aa6e5f9785fb486.js +0 -0
  499. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6770.fd7084bb2f4b7622401d.js +0 -0
  500. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6778.345e6ac9818e30317310.js +0 -0
  501. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6815.0b699f0c162a24b0dbe3.js +0 -0
  502. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/6898.742a7062fa979fb68a80.js +0 -0
  503. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7080.1330328bb6f46b4da81e.js +0 -0
  504. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7112.d5120c85ebd17620dda0.js +0 -0
  505. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7161.353c3ab960df72e6f1ea.js +0 -0
  506. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7173.e28f63dbd553818e07d3.js +0 -0
  507. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/7178.373c24769ba5912c2eea.js.LICENSE.txt +0 -0
  508. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
  509. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7245.c0cae8787dcd00b991b7.js +0 -0
  510. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7272.72081c10e0f645b0631a.js +0 -0
  511. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js +0 -0
  512. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js.LICENSE.txt +0 -0
  513. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
  514. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js +0 -0
  515. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt +0 -0
  516. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7317.af8a7da0f881a22752c1.js +0 -0
  517. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7363.abe8e31a91e113753bae.js +0 -0
  518. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7384.60351e008d8f687e8fcc.js +0 -0
  519. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7390.8253478b90f756692702.js +0 -0
  520. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js +0 -0
  521. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js.LICENSE.txt +0 -0
  522. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/745.85516a9bb83bcd94d00d.js +0 -0
  523. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js +0 -0
  524. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js.LICENSE.txt +0 -0
  525. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7472.58ba8647a489d019c2ef.js +0 -0
  526. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7473.5012397d10d3b945ecaa.js +0 -0
  527. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7508.b902347f820c70cd386a.js +0 -0
  528. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7629.1f295461ebf56a48c197.js +0 -0
  529. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7669.343e259c4c8269479f5b.js +0 -0
  530. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7702.c479c69f7a532f7b3fd5.js +0 -0
  531. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
  532. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7731.26db150e967313b7a7e2.js +0 -0
  533. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7734.b08c15e9f538f44d0f52.js +0 -0
  534. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js +0 -0
  535. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js.LICENSE.txt +0 -0
  536. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7775.3e0dee729369fe3d5008.js +0 -0
  537. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7827.e36d073d947bf02a05e3.js +0 -0
  538. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7848.e83aa4b90ae87209abb8.js +0 -0
  539. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/786.8a99ee7dbd7bd0eb9dce.js +0 -0
  540. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7877.a4c46a784149533b91d4.js +0 -0
  541. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7887.128a155df5d25e88c0ce.js +0 -0
  542. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/7946.7fe46d47492e459b7cb5.js +0 -0
  543. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
  544. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8002.25f64485372af5158c83.js +0 -0
  545. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8010.1cf8237e9def8404f355.js +0 -0
  546. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8012.40cb006f0c180ebafa91.js +0 -0
  547. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8152.5baac73844a065f34284.js +0 -0
  548. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8285.1eac7b7582569be1c3a8.js +0 -0
  549. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8302.5c5e5a2da7fe74b12a1d.js +0 -0
  550. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8319.80fcbc832e1eb20b71e7.js +0 -0
  551. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8322.288af285dac9cb9a8800.js +0 -0
  552. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8347.573b699e3590729bfa8a.js +0 -0
  553. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8405.154ba4b17a2dec22a355.js +0 -0
  554. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8462.74d5f5afd4f9d7825eed.js +0 -0
  555. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8493.fc635229db38e6fc6aa2.js +0 -0
  556. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8498.27a245b23921914bf5c2.js +0 -0
  557. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8512.1af96655287fd124877b.js +0 -0
  558. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8678.dcd3dab9025b13eb9be8.js +0 -0
  559. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
  560. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8710.5fc5ecb762fb4494db02.js +0 -0
  561. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8738.782816e9072ac38762b4.js +0 -0
  562. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8787.4d36d28dcf94bf59cbfe.js +0 -0
  563. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8805.0f14a91b024b59c039a7.js +0 -0
  564. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/881.972f79365eed0f77378e.js +0 -0
  565. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8823.2ff947bcd96cc0723058.js +0 -0
  566. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8875.88988caaba1e33edad5b.js +0 -0
  567. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
  568. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
  569. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
  570. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9055.bd710a8db8883a836b59.js +0 -0
  571. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9109.fa3ee74a5c0f378f4d51.js +0 -0
  572. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9192.db4337a516b7f38d1f89.js +0 -0
  573. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9222.1c2a8e69a2de57dd1984.js +0 -0
  574. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9230.58b8c42b730e1a56e69b.js +0 -0
  575. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9265.bc2b66a4502cdfcfc14f.js +0 -0
  576. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9362.823dcfac216f8057452d.js +0 -0
  577. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9395.b59dceae72715c9f885c.js +0 -0
  578. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9409.34c33ed11e2d6f318480.js +0 -0
  579. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9440.04751e25c9cde059ff37.js +0 -0
  580. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9445.fe5e9e5b728de8d15873.js +0 -0
  581. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9545.f0f7a2959bdd17ee3448.js +0 -0
  582. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9621.9cbfa52c42927bb398b4.js +0 -0
  583. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
  584. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9738.c0234a1f7f6ac262f560.js +0 -0
  585. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js +0 -0
  586. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js.LICENSE.txt +0 -0
  587. /jupyterlab-4.1.8.data/data/share/jupyter/lab/static/9826.38c59b84e02def79216e.js.LICENSE.txt → /jupyterlab-4.2.0.data/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js.LICENSE.txt +0 -0
  588. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
  589. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/9984.6ba5355e0d5487d5ac63.js +0 -0
  590. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
  591. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
  592. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
  593. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
  594. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
  595. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
  596. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
  597. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
  598. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
  599. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
  600. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
  601. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
  602. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
  603. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
  604. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
  605. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
  606. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
  607. {jupyterlab-4.1.8.data → jupyterlab-4.2.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
  608. {jupyterlab-4.1.8.data/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension → jupyterlab-4.2.0.data/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension}/index.js +0 -0
  609. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/WHEEL +0 -0
  610. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/entry_points.txt +0 -0
  611. {jupyterlab-4.1.8.dist-info → jupyterlab-4.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4405],{74405:(t,e,n)=>{n.r(e);n.d(e,{Annotation:()=>ct,AnnotationType:()=>ut,ChangeDesc:()=>A,ChangeSet:()=>C,CharCategory:()=>bt,Compartment:()=>Y,EditorSelection:()=>J,EditorState:()=>Ct,Facet:()=>q,Line:()=>u,MapMode:()=>M,Prec:()=>Q,Range:()=>Tt,RangeSet:()=>Nt,RangeSetBuilder:()=>Jt,RangeValue:()=>Ot,SelectionRange:()=>D,StateEffect:()=>dt,StateEffectType:()=>gt,StateField:()=>G,Text:()=>i,Transaction:()=>pt,codePointAt:()=>I,codePointSize:()=>P,combineConfig:()=>Rt,countColumn:()=>Ht,findClusterBreak:()=>x,findColumn:()=>Kt,fromCodePoint:()=>b});class i{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,false,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,true,1,0)}replace(t,e,n){[t,e]=g(this,t,e);let i=[];this.decompose(0,t,i,2);if(n.length)n.decompose(0,n.length,i,1|2);this.decompose(e,this.length,i,1);return r.from(i,this.length-(e-t)+n.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,e=this.length){[t,e]=g(this,t,e);let n=[];this.decompose(t,e,n,0);return r.from(n,e-t)}eq(t){if(t==this)return true;if(t.length!=this.length||t.lines!=this.lines)return false;let e=this.scanIdentical(t,1),n=this.length-this.scanIdentical(t,-1);let i=new a(this),s=new a(t);for(let r=e,l=e;;){i.next(r);s.next(r);r=0;if(i.lineBreak!=s.lineBreak||i.done!=s.done||i.value!=s.value)return false;l+=i.value.length;if(i.done||l>=n)return true}}iter(t=1){return new a(this,t)}iterRange(t,e=this.length){return new f(this,t,e)}iterLines(t,e){let n;if(t==null){n=this.iter()}else{if(e==null)e=this.lines+1;let i=this.line(t).from;n=this.iterRange(i,Math.max(i,e==this.lines+1?this.length:e<=1?0:this.line(e-1).to))}return new c(n)}toString(){return this.sliceString(0)}toJSON(){let t=[];this.flatten(t);return t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");if(t.length==1&&!t[0])return i.empty;return t.length<=32?new s(t):r.from(s.split(t,[]))}}class s extends i{constructor(t,e=l(t)){super();this.text=t;this.length=e}get lines(){return this.text.length}get children(){return null}lineInner(t,e,n,i){for(let s=0;;s++){let r=this.text[s],l=i+r.length;if((e?n:l)>=t)return new u(i,l,n,r);i=l+1;n++}}decompose(t,e,n,i){let r=t<=0&&e>=this.length?this:new s(o(this.text,t,e),Math.min(e,this.length)-Math.max(0,t));if(i&1){let t=n.pop();let e=h(r.text,t.text.slice(),0,r.length);if(e.length<=32){n.push(new s(e,t.length+r.length))}else{let t=e.length>>1;n.push(new s(e.slice(0,t)),new s(e.slice(t)))}}else{n.push(r)}}replace(t,e,n){if(!(n instanceof s))return super.replace(t,e,n);[t,e]=g(this,t,e);let i=h(this.text,h(n.text,o(this.text,0,t)),e);let l=this.length+n.length-(e-t);if(i.length<=32)return new s(i,l);return r.from(s.split(i,[]),l)}sliceString(t,e=this.length,n="\n"){[t,e]=g(this,t,e);let i="";for(let s=0,r=0;s<=e&&r<this.text.length;r++){let l=this.text[r],h=s+l.length;if(s>t&&r)i+=n;if(t<h&&e>s)i+=l.slice(Math.max(0,t-s),e-s);s=h+1}return i}flatten(t){for(let e of this.text)t.push(e)}scanIdentical(){return 0}static split(t,e){let n=[],i=-1;for(let r of t){n.push(r);i+=r.length+1;if(n.length==32){e.push(new s(n,i));n=[];i=-1}}if(i>-1)e.push(new s(n,i));return e}}class r extends i{constructor(t,e){super();this.children=t;this.length=e;this.lines=0;for(let n of t)this.lines+=n.lines}lineInner(t,e,n,i){for(let s=0;;s++){let r=this.children[s],l=i+r.length,h=n+r.lines-1;if((e?h:l)>=t)return r.lineInner(t,e,n,i);i=l+1;n=h+1}}decompose(t,e,n,i){for(let s=0,r=0;r<=e&&s<this.children.length;s++){let l=this.children[s],h=r+l.length;if(t<=h&&e>=r){let s=i&((r<=t?1:0)|(h>=e?2:0));if(r>=t&&h<=e&&!s)n.push(l);else l.decompose(t-r,e-r,n,s)}r=h+1}}replace(t,e,n){[t,e]=g(this,t,e);if(n.lines<this.lines)for(let i=0,s=0;i<this.children.length;i++){let l=this.children[i],h=s+l.length;if(t>=s&&e<=h){let o=l.replace(t-s,e-s,n);let a=this.lines-l.lines+o.lines;if(o.lines<a>>5-1&&o.lines>a>>5+1){let s=this.children.slice();s[i]=o;return new r(s,this.length-(e-t)+n.length)}return super.replace(s,h,o)}s=h+1}return super.replace(t,e,n)}sliceString(t,e=this.length,n="\n"){[t,e]=g(this,t,e);let i="";for(let s=0,r=0;s<this.children.length&&r<=e;s++){let l=this.children[s],h=r+l.length;if(r>t&&s)i+=n;if(t<h&&e>r)i+=l.sliceString(t-r,e-r,n);r=h+1}return i}flatten(t){for(let e of this.children)e.flatten(t)}scanIdentical(t,e){if(!(t instanceof r))return 0;let n=0;let[i,s,l,h]=e>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;i+=e,s+=e){if(i==l||s==h)return n;let r=this.children[i],o=t.children[s];if(r!=o)return n+r.scanIdentical(o,e);n+=r.length+1}}static from(t,e=t.reduce(((t,e)=>t+e.length+1),-1)){let n=0;for(let s of t)n+=s.lines;if(n<32){let n=[];for(let e of t)e.flatten(n);return new s(n,e)}let i=Math.max(32,n>>5),l=i<<1,h=i>>1;let o=[],a=0,f=-1,c=[];function u(t){let e;if(t.lines>l&&t instanceof r){for(let e of t.children)u(e)}else if(t.lines>h&&(a>h||!a)){g();o.push(t)}else if(t instanceof s&&a&&(e=c[c.length-1])instanceof s&&t.lines+e.lines<=32){a+=t.lines;f+=t.length+1;c[c.length-1]=new s(e.text.concat(t.text),e.length+1+t.length)}else{if(a+t.lines>i)g();a+=t.lines;f+=t.length+1;c.push(t)}}function g(){if(a==0)return;o.push(c.length==1?c[0]:r.from(c,f));f=-1;a=c.length=0}for(let s of t)u(s);g();return o.length==1?o[0]:new r(o,e)}}i.empty=new s([""],0);function l(t){let e=-1;for(let n of t)e+=n.length+1;return e}function h(t,e,n=0,i=1e9){for(let s=0,r=0,l=true;r<t.length&&s<=i;r++){let h=t[r],o=s+h.length;if(o>=n){if(o>i)h=h.slice(0,i-s);if(s<n)h=h.slice(n-s);if(l){e[e.length-1]+=h;l=false}else e.push(h)}s=o+1}return e}function o(t,e,n){return h(t,[""],e,n)}class a{constructor(t,e=1){this.dir=e;this.done=false;this.lineBreak=false;this.value="";this.nodes=[t];this.offsets=[e>0?1:(t instanceof s?t.text.length:t.children.length)<<1]}nextInner(t,e){this.done=this.lineBreak=false;for(;;){let n=this.nodes.length-1;let i=this.nodes[n],r=this.offsets[n],l=r>>1;let h=i instanceof s?i.text.length:i.children.length;if(l==(e>0?h:0)){if(n==0){this.done=true;this.value="";return this}if(e>0)this.offsets[n-1]++;this.nodes.pop();this.offsets.pop()}else if((r&1)==(e>0?0:1)){this.offsets[n]+=e;if(t==0){this.lineBreak=true;this.value="\n";return this}t--}else if(i instanceof s){let s=i.text[l+(e<0?-1:0)];this.offsets[n]+=e;if(s.length>Math.max(0,t)){this.value=t==0?s:e>0?s.slice(t):s.slice(0,s.length-t);return this}t-=s.length}else{let r=i.children[l+(e<0?-1:0)];if(t>r.length){t-=r.length;this.offsets[n]+=e}else{if(e<0)this.offsets[n]--;this.nodes.push(r);this.offsets.push(e>0?1:(r instanceof s?r.text.length:r.children.length)<<1)}}}}next(t=0){if(t<0){this.nextInner(-t,-this.dir);t=this.value.length}return this.nextInner(t,this.dir)}}class f{constructor(t,e,n){this.value="";this.done=false;this.cursor=new a(t,e>n?-1:1);this.pos=e>n?t.length:0;this.from=Math.min(e,n);this.to=Math.max(e,n)}nextInner(t,e){if(e<0?this.pos<=this.from:this.pos>=this.to){this.value="";this.done=true;return this}t+=Math.max(0,e<0?this.pos-this.to:this.from-this.pos);let n=e<0?this.pos-this.from:this.to-this.pos;if(t>n)t=n;n-=t;let{value:i}=this.cursor.next(t);this.pos+=(i.length+t)*e;this.value=i.length<=n?i:e<0?i.slice(i.length-n):i.slice(0,n);this.done=!this.value;return this}next(t=0){if(t<0)t=Math.max(t,this.from-this.pos);else if(t>0)t=Math.min(t,this.to-this.pos);return this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class c{constructor(t){this.inner=t;this.afterBreak=true;this.value="";this.done=false}next(t=0){let{done:e,lineBreak:n,value:i}=this.inner.next(t);if(e&&this.afterBreak){this.value="";this.afterBreak=false}else if(e){this.done=true;this.value=""}else if(n){if(this.afterBreak){this.value=""}else{this.afterBreak=true;this.next()}}else{this.value=i;this.afterBreak=false}return this}get lineBreak(){return false}}if(typeof Symbol!="undefined"){i.prototype[Symbol.iterator]=function(){return this.iter()};a.prototype[Symbol.iterator]=f.prototype[Symbol.iterator]=c.prototype[Symbol.iterator]=function(){return this}}class u{constructor(t,e,n,i){this.from=t;this.to=e;this.number=n;this.text=i}get length(){return this.to-this.from}}function g(t,e,n){e=Math.max(0,Math.min(t.length,e));return[e,Math.max(e,Math.min(t.length,n))]}let d="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map((t=>t?parseInt(t,36):1));for(let Xt=1;Xt<d.length;Xt++)d[Xt]+=d[Xt-1];function p(t){for(let e=1;e<d.length;e+=2)if(d[e]>t)return d[e-1]<=t;return false}function m(t){return t>=127462&&t<=127487}const w=8205;function x(t,e,n=true,i=true){return(n?v:k)(t,e,i)}function v(t,e,n){if(e==t.length)return e;if(e&&y(t.charCodeAt(e))&&S(t.charCodeAt(e-1)))e--;let i=I(t,e);e+=P(i);while(e<t.length){let s=I(t,e);if(i==w||s==w||n&&p(s)){e+=P(s);i=s}else if(m(s)){let n=0,i=e-2;while(i>=0&&m(I(t,i))){n++;i-=2}if(n%2==0)break;else e+=2}else{break}}return e}function k(t,e,n){while(e>0){let i=v(t,e-2,n);if(i<e)return i;e--}return 0}function y(t){return t>=56320&&t<57344}function S(t){return t>=55296&&t<56320}function I(t,e){let n=t.charCodeAt(e);if(!S(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);if(!y(i))return n;return(n-55296<<10)+(i-56320)+65536}function b(t){if(t<=65535)return String.fromCharCode(t);t-=65536;return String.fromCharCode((t>>10)+55296,(t&1023)+56320)}function P(t){return t<65536?1:2}const E=/\r\n?|\n/;var M=function(t){t[t["Simple"]=0]="Simple";t[t["TrackDel"]=1]="TrackDel";t[t["TrackBefore"]=2]="TrackBefore";t[t["TrackAfter"]=3]="TrackAfter";return t}(M||(M={}));class A{constructor(t){this.sections=t}get length(){let t=0;for(let e=0;e<this.sections.length;e+=2)t+=this.sections[e];return t}get newLength(){let t=0;for(let e=0;e<this.sections.length;e+=2){let n=this.sections[e+1];t+=n<0?this.sections[e]:n}return t}get empty(){return this.sections.length==0||this.sections.length==2&&this.sections[1]<0}iterGaps(t){for(let e=0,n=0,i=0;e<this.sections.length;){let s=this.sections[e++],r=this.sections[e++];if(r<0){t(n,i,s);i+=s}else{i+=r}n+=s}}iterChangedRanges(t,e=false){T(this,t,e)}get invertedDesc(){let t=[];for(let e=0;e<this.sections.length;){let n=this.sections[e++],i=this.sections[e++];if(i<0)t.push(n,i);else t.push(i,n)}return new A(t)}composeDesc(t){return this.empty?t:t.empty?this:B(this,t)}mapDesc(t,e=false){return t.empty?this:F(this,t,e)}mapPos(t,e=-1,n=M.Simple){let i=0,s=0;for(let r=0;r<this.sections.length;){let l=this.sections[r++],h=this.sections[r++],o=i+l;if(h<0){if(o>t)return s+(t-i);s+=l}else{if(n!=M.Simple&&o>=t&&(n==M.TrackDel&&i<t&&o>t||n==M.TrackBefore&&i<t||n==M.TrackAfter&&o>t))return null;if(o>t||o==t&&e<0&&!l)return t==i||e<0?s:s+h;s+=h}i=o}if(t>i)throw new RangeError(`Position ${t} is out of range for changeset of length ${i}`);return s}touchesRange(t,e=t){for(let n=0,i=0;n<this.sections.length&&i<=e;){let s=this.sections[n++],r=this.sections[n++],l=i+s;if(r>=0&&i<=e&&l>=t)return i<t&&l>e?"cover":true;i=l}return false}toString(){let t="";for(let e=0;e<this.sections.length;){let n=this.sections[e++],i=this.sections[e++];t+=(t?" ":"")+n+(i>=0?":"+i:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some((t=>typeof t!="number")))throw new RangeError("Invalid JSON representation of ChangeDesc");return new A(t)}static create(t){return new A(t)}}class C extends A{constructor(t,e){super(t);this.inserted=e}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");T(this,((e,n,i,s,r)=>t=t.replace(i,i+(n-e),r)),false);return t}mapDesc(t,e=false){return F(this,t,e,true)}invert(t){let e=this.sections.slice(),n=[];for(let s=0,r=0;s<e.length;s+=2){let l=e[s],h=e[s+1];if(h>=0){e[s]=h;e[s+1]=l;let o=s>>1;while(n.length<o)n.push(i.empty);n.push(l?t.slice(r,r+l):i.empty)}r+=l}return new C(e,n)}compose(t){return this.empty?t:t.empty?this:B(this,t,true)}map(t,e=false){return t.empty?this:F(this,t,e,true)}iterChanges(t,e=false){T(this,t,e)}get desc(){return A.create(this.sections)}filter(t){let e=[],n=[],i=[];let s=new N(this);t:for(let r=0,l=0;;){let h=r==t.length?1e9:t[r++];while(l<h||l==h&&s.len==0){if(s.done)break t;let t=Math.min(s.len,h-l);R(i,t,-1);let r=s.ins==-1?-1:s.off==0?s.ins:0;R(e,t,r);if(r>0)O(n,e,s.text);s.forward(t);l+=t}let o=t[r++];while(l<o){if(s.done)break t;let t=Math.min(s.len,o-l);R(e,t,-1);R(i,t,s.ins==-1?-1:s.off==0?s.ins:0);s.forward(t);l+=t}}return{changes:new C(e,n),filtered:A.create(i)}}toJSON(){let t=[];for(let e=0;e<this.sections.length;e+=2){let n=this.sections[e],i=this.sections[e+1];if(i<0)t.push(n);else if(i==0)t.push([n]);else t.push([n].concat(this.inserted[e>>1].toJSON()))}return t}static of(t,e,n){let s=[],r=[],l=0;let h=null;function o(t=false){if(!t&&!s.length)return;if(l<e)R(s,e-l,-1);let n=new C(s,r);h=h?h.compose(n.map(h)):n;s=[];r=[];l=0}function a(t){if(Array.isArray(t)){for(let e of t)a(e)}else if(t instanceof C){if(t.length!=e)throw new RangeError(`Mismatched change set length (got ${t.length}, expected ${e})`);o();h=h?h.compose(t.map(h)):t}else{let{from:h,to:a=h,insert:f}=t;if(h>a||h<0||a>e)throw new RangeError(`Invalid change range ${h} to ${a} (in doc of length ${e})`);let c=!f?i.empty:typeof f=="string"?i.of(f.split(n||E)):f;let u=c.length;if(h==a&&u==0)return;if(h<l)o();if(h>l)R(s,h-l,-1);R(s,a-h,u);O(r,s,c);l=a}}a(t);o(!h);return h}static empty(t){return new C(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let e=[],n=[];for(let s=0;s<t.length;s++){let r=t[s];if(typeof r=="number"){e.push(r,-1)}else if(!Array.isArray(r)||typeof r[0]!="number"||r.some(((t,e)=>e&&typeof t!="string"))){throw new RangeError("Invalid JSON representation of ChangeSet")}else if(r.length==1){e.push(r[0],0)}else{while(n.length<s)n.push(i.empty);n[s]=i.of(r.slice(1));e.push(r[0],n[s].length)}}return new C(e,n)}static createSet(t,e){return new C(t,e)}}function R(t,e,n,i=false){if(e==0&&n<=0)return;let s=t.length-2;if(s>=0&&n<=0&&n==t[s+1])t[s]+=e;else if(e==0&&t[s]==0)t[s+1]+=n;else if(i){t[s]+=e;t[s+1]+=n}else t.push(e,n)}function O(t,e,n){if(n.length==0)return;let s=e.length-2>>1;if(s<t.length){t[t.length-1]=t[t.length-1].append(n)}else{while(t.length<s)t.push(i.empty);t.push(n)}}function T(t,e,n){let s=t.inserted;for(let r=0,l=0,h=0;h<t.sections.length;){let o=t.sections[h++],a=t.sections[h++];if(a<0){r+=o;l+=o}else{let f=r,c=l,u=i.empty;for(;;){f+=o;c+=a;if(a&&s)u=u.append(s[h-2>>1]);if(n||h==t.sections.length||t.sections[h+1]<0)break;o=t.sections[h++];a=t.sections[h++]}e(r,f,l,c,u);r=f;l=c}}}function F(t,e,n,i=false){let s=[],r=i?[]:null;let l=new N(t),h=new N(e);for(let o=-1;;){if(l.ins==-1&&h.ins==-1){let t=Math.min(l.len,h.len);R(s,t,-1);l.forward(t);h.forward(t)}else if(h.ins>=0&&(l.ins<0||o==l.i||l.off==0&&(h.len<l.len||h.len==l.len&&!n))){let t=h.len;R(s,h.ins,-1);while(t){let e=Math.min(l.len,t);if(l.ins>=0&&o<l.i&&l.len<=e){R(s,0,l.ins);if(r)O(r,s,l.text);o=l.i}l.forward(e);t-=e}h.next()}else if(l.ins>=0){let t=0,e=l.len;while(e){if(h.ins==-1){let n=Math.min(e,h.len);t+=n;e-=n;h.forward(n)}else if(h.ins==0&&h.len<e){e-=h.len;h.next()}else{break}}R(s,t,o<l.i?l.ins:0);if(r&&o<l.i)O(r,s,l.text);o=l.i;l.forward(l.len-e)}else if(l.done&&h.done){return r?C.createSet(s,r):A.create(s)}else{throw new Error("Mismatched change set lengths")}}}function B(t,e,n=false){let i=[];let s=n?[]:null;let r=new N(t),l=new N(e);for(let h=false;;){if(r.done&&l.done){return s?C.createSet(i,s):A.create(i)}else if(r.ins==0){R(i,r.len,0,h);r.next()}else if(l.len==0&&!l.done){R(i,0,l.ins,h);if(s)O(s,i,l.text);l.next()}else if(r.done||l.done){throw new Error("Mismatched change set lengths")}else{let t=Math.min(r.len2,l.len),e=i.length;if(r.ins==-1){let e=l.ins==-1?-1:l.off?0:l.ins;R(i,t,e,h);if(s&&e)O(s,i,l.text)}else if(l.ins==-1){R(i,r.off?0:r.len,t,h);if(s)O(s,i,r.textBit(t))}else{R(i,r.off?0:r.len,l.off?0:l.ins,h);if(s&&!l.off)O(s,i,l.text)}h=(r.ins>t||l.ins>=0&&l.len>t)&&(h||i.length>e);r.forward2(t);l.forward(t)}}}class N{constructor(t){this.set=t;this.i=0;this.next()}next(){let{sections:t}=this.set;if(this.i<t.length){this.len=t[this.i++];this.ins=t[this.i++]}else{this.len=0;this.ins=-2}this.off=0}get done(){return this.ins==-2}get len2(){return this.ins<0?this.len:this.ins}get text(){let{inserted:t}=this.set,e=this.i-2>>1;return e>=t.length?i.empty:t[e]}textBit(t){let{inserted:e}=this.set,n=this.i-2>>1;return n>=e.length&&!t?i.empty:e[n].slice(this.off,t==null?undefined:this.off+t)}forward(t){if(t==this.len)this.next();else{this.len-=t;this.off+=t}}forward2(t){if(this.ins==-1)this.forward(t);else if(t==this.ins)this.next();else{this.ins-=t;this.off+=t}}}class D{constructor(t,e,n){this.from=t;this.to=e;this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?undefined:t}map(t,e=-1){let n,i;if(this.empty){n=i=t.mapPos(this.from,e)}else{n=t.mapPos(this.from,1);i=t.mapPos(this.to,-1)}return n==this.from&&i==this.to?this:new D(n,i,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return J.range(t,e);let n=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return J.range(this.anchor,n)}eq(t,e=false){return this.anchor==t.anchor&&this.head==t.head&&(!e||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return J.range(t.anchor,t.head)}static create(t,e,n){return new D(t,e,n)}}class J{constructor(t,e){this.ranges=t;this.mainIndex=e}map(t,e=-1){if(t.empty)return this;return J.create(this.ranges.map((n=>n.map(t,e))),this.mainIndex)}eq(t,e=false){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return false;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(t.ranges[n],e))return false;return true}get main(){return this.ranges[this.mainIndex]}asSingle(){return this.ranges.length==1?this:new J([this.main],0)}addRange(t,e=true){return J.create([t].concat(this.ranges),e?0:this.mainIndex+1)}replaceRange(t,e=this.mainIndex){let n=this.ranges.slice();n[e]=t;return J.create(n,this.mainIndex)}toJSON(){return{ranges:this.ranges.map((t=>t.toJSON())),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new J(t.ranges.map((t=>D.fromJSON(t))),t.main)}static single(t,e=t){return new J([J.range(t,e)],0)}static create(t,e=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,i=0;i<t.length;i++){let s=t[i];if(s.empty?s.from<=n:s.from<n)return J.normalized(t.slice(),e);n=s.to}return new J(t,e)}static cursor(t,e=0,n,i){return D.create(t,t,(e==0?0:e<0?8:16)|(n==null?7:Math.min(6,n))|(i!==null&&i!==void 0?i:16777215)<<6)}static range(t,e,n,i){let s=(n!==null&&n!==void 0?n:16777215)<<6|(i==null?7:Math.min(6,i));return e<t?D.create(e,t,32|16|s):D.create(t,e,(e>t?8:0)|s)}static normalized(t,e=0){let n=t[e];t.sort(((t,e)=>t.from-e.from));e=t.indexOf(n);for(let i=1;i<t.length;i++){let n=t[i],s=t[i-1];if(n.empty?n.from<=s.to:n.from<s.to){let r=s.from,l=Math.max(n.to,s.to);if(i<=e)e--;t.splice(--i,2,n.anchor>n.head?J.range(l,r):J.range(r,l))}}return new J(t,e)}}function L(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let j=0;class q{constructor(t,e,n,i,s){this.combine=t;this.compareInput=e;this.compare=n;this.isStatic=i;this.id=j++;this.default=t([]);this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(t={}){return new q(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(!t.combine?$:(t,e)=>t===e),!!t.static,t.enables)}of(t){return new _([],this,0,t)}compute(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new _(t,this,1,e)}computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new _(t,this,2,e)}from(t,e){if(!e)e=t=>t;return this.compute([t],(n=>e(n.field(t))))}}function $(t,e){return t==e||t.length==e.length&&t.every(((t,n)=>t===e[n]))}class _{constructor(t,e,n,i){this.dependencies=t;this.facet=e;this.type=n;this.value=i;this.id=j++}dynamicSlot(t){var e;let n=this.value;let i=this.facet.compareInput;let s=this.id,r=t[s]>>1,l=this.type==2;let h=false,o=false,a=[];for(let f of this.dependencies){if(f=="doc")h=true;else if(f=="selection")o=true;else if((((e=t[f.id])!==null&&e!==void 0?e:1)&1)==0)a.push(t[f.id])}return{create(t){t.values[r]=n(t);return 1},update(t,e){if(h&&e.docChanged||o&&(e.docChanged||e.selection)||V(t,a)){let e=n(t);if(l?!z(e,t.values[r],i):!i(e,t.values[r])){t.values[r]=e;return 1}}return 0},reconfigure:(t,e)=>{let h,o=e.config.address[s];if(o!=null){let s=it(e,o);if(this.dependencies.every((n=>n instanceof q?e.facet(n)===t.facet(n):n instanceof G?e.field(n,false)==t.field(n,false):true))||(l?z(h=n(t),s,i):i(h=n(t),s))){t.values[r]=s;return 0}}else{h=n(t)}t.values[r]=h;return 1}}}}function z(t,e,n){if(t.length!=e.length)return false;for(let i=0;i<t.length;i++)if(!n(t[i],e[i]))return false;return true}function V(t,e){let n=false;for(let i of e)if(nt(t,i)&1)n=true;return n}function W(t,e,n){let i=n.map((e=>t[e.id]));let s=n.map((t=>t.type));let r=i.filter((t=>!(t&1)));let l=t[e.id]>>1;function h(t){let n=[];for(let e=0;e<i.length;e++){let r=it(t,i[e]);if(s[e]==2)for(let t of r)n.push(t);else n.push(r)}return e.combine(n)}return{create(t){for(let e of i)nt(t,e);t.values[l]=h(t);return 1},update(t,n){if(!V(t,r))return 0;let i=h(t);if(e.compare(i,t.values[l]))return 0;t.values[l]=i;return 1},reconfigure(t,s){let r=V(t,i);let o=s.config.facets[e.id],a=s.facet(e);if(o&&!r&&$(n,o)){t.values[l]=a;return 0}let f=h(t);if(e.compare(f,a)){t.values[l]=a;return 0}t.values[l]=f;return 1}}}const U=q.define({static:true});class G{constructor(t,e,n,i,s){this.id=t;this.createF=e;this.updateF=n;this.compareF=i;this.spec=s;this.provides=undefined}static define(t){let e=new G(j++,t.create,t.update,t.compare||((t,e)=>t===e),t);if(t.provide)e.provides=t.provide(e);return e}create(t){let e=t.facet(U).find((t=>t.field==this));return((e===null||e===void 0?void 0:e.create)||this.createF)(t)}slot(t){let e=t[this.id]>>1;return{create:t=>{t.values[e]=this.create(t);return 1},update:(t,n)=>{let i=t.values[e];let s=this.updateF(i,n);if(this.compareF(i,s))return 0;t.values[e]=s;return 1},reconfigure:(t,n)=>{if(n.config.address[this.id]!=null){t.values[e]=n.field(this);return 0}t.values[e]=this.create(t);return 1}}}init(t){return[this,U.of({field:this,create:t})]}get extension(){return this}}const H={lowest:4,low:3,default:2,high:1,highest:0};function K(t){return e=>new X(e,t)}const Q={highest:K(H.highest),high:K(H.high),default:K(H.default),low:K(H.low),lowest:K(H.lowest)};class X{constructor(t,e){this.inner=t;this.prec=e}}class Y{of(t){return new Z(this,t)}reconfigure(t){return Y.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class Z{constructor(t,e){this.compartment=t;this.inner=e}}class tt{constructor(t,e,n,i,s,r){this.base=t;this.compartments=e;this.dynamicSlots=n;this.address=i;this.staticValues=s;this.facets=r;this.statusTemplate=[];while(this.statusTemplate.length<n.length)this.statusTemplate.push(0)}staticFacet(t){let e=this.address[t.id];return e==null?t.default:this.staticValues[e>>1]}static resolve(t,e,n){let i=[];let s=Object.create(null);let r=new Map;for(let c of et(t,e,r)){if(c instanceof G)i.push(c);else(s[c.facet.id]||(s[c.facet.id]=[])).push(c)}let l=Object.create(null);let h=[];let o=[];for(let c of i){l[c.id]=o.length<<1;o.push((t=>c.slot(t)))}let a=n===null||n===void 0?void 0:n.config.facets;for(let c in s){let t=s[c],e=t[0].facet;let i=a&&a[c]||[];if(t.every((t=>t.type==0))){l[e.id]=h.length<<1|1;if($(i,t)){h.push(n.facet(e))}else{let i=e.combine(t.map((t=>t.value)));h.push(n&&e.compare(i,n.facet(e))?n.facet(e):i)}}else{for(let e of t){if(e.type==0){l[e.id]=h.length<<1|1;h.push(e.value)}else{l[e.id]=o.length<<1;o.push((t=>e.dynamicSlot(t)))}}l[e.id]=o.length<<1;o.push((n=>W(n,e,t)))}}let f=o.map((t=>t(l)));return new tt(t,r,f,l,h,s)}}function et(t,e,n){let i=[[],[],[],[],[]];let s=new Map;function r(t,l){let h=s.get(t);if(h!=null){if(h<=l)return;let e=i[h].indexOf(t);if(e>-1)i[h].splice(e,1);if(t instanceof Z)n.delete(t.compartment)}s.set(t,l);if(Array.isArray(t)){for(let e of t)r(e,l)}else if(t instanceof Z){if(n.has(t.compartment))throw new RangeError(`Duplicate use of compartment in extensions`);let i=e.get(t.compartment)||t.inner;n.set(t.compartment,i);r(i,l)}else if(t instanceof X){r(t.inner,t.prec)}else if(t instanceof G){i[l].push(t);if(t.provides)r(t.provides,l)}else if(t instanceof _){i[l].push(t);if(t.facet.extensions)r(t.facet.extensions,H.default)}else{let e=t.extension;if(!e)throw new Error(`Unrecognized extension value in extension set (${t}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(e,l)}}r(t,H.default);return i.reduce(((t,e)=>t.concat(e)))}function nt(t,e){if(e&1)return 2;let n=e>>1;let i=t.status[n];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;t.status[n]=4;let s=t.computeSlot(t,t.config.dynamicSlots[n]);return t.status[n]=2|s}function it(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const st=q.define();const rt=q.define({combine:t=>t.some((t=>t)),static:true});const lt=q.define({combine:t=>t.length?t[0]:undefined,static:true});const ht=q.define();const ot=q.define();const at=q.define();const ft=q.define({combine:t=>t.length?t[0]:false});class ct{constructor(t,e){this.type=t;this.value=e}static define(){return new ut}}class ut{of(t){return new ct(this,t)}}class gt{constructor(t){this.map=t}of(t){return new dt(this,t)}}class dt{constructor(t,e){this.type=t;this.value=e}map(t){let e=this.type.map(this.value,t);return e===undefined?undefined:e==this.value?this:new dt(this.type,e)}is(t){return this.type==t}static define(t={}){return new gt(t.map||(t=>t))}static mapEffects(t,e){if(!t.length)return t;let n=[];for(let i of t){let t=i.map(e);if(t)n.push(t)}return n}}dt.reconfigure=dt.define();dt.appendConfig=dt.define();class pt{constructor(t,e,n,i,s,r){this.startState=t;this.changes=e;this.selection=n;this.effects=i;this.annotations=s;this.scrollIntoView=r;this._doc=null;this._state=null;if(n)L(n,e.newLength);if(!s.some((t=>t.type==pt.time)))this.annotations=s.concat(pt.time.of(Date.now()))}static create(t,e,n,i,s,r){return new pt(t,e,n,i,s,r)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){if(!this._state)this.startState.applyTransaction(this);return this._state}annotation(t){for(let e of this.annotations)if(e.type==t)return e.value;return undefined}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let e=this.annotation(pt.userEvent);return!!(e&&(e==t||e.length>t.length&&e.slice(0,t.length)==t&&e[t.length]=="."))}}pt.time=ct.define();pt.userEvent=ct.define();pt.addToHistory=ct.define();pt.remote=ct.define();function mt(t,e){let n=[];for(let i=0,s=0;;){let r,l;if(i<t.length&&(s==e.length||e[s]>=t[i])){r=t[i++];l=t[i++]}else if(s<e.length){r=e[s++];l=e[s++]}else return n;if(!n.length||n[n.length-1]<r)n.push(r,l);else if(n[n.length-1]<l)n[n.length-1]=l}}function wt(t,e,n){var i;let s,r,l;if(n){s=e.changes;r=C.empty(e.changes.length);l=t.changes.compose(e.changes)}else{s=e.changes.map(t.changes);r=t.changes.mapDesc(e.changes,true);l=t.changes.compose(s)}return{changes:l,selection:e.selection?e.selection.map(r):(i=t.selection)===null||i===void 0?void 0:i.map(s),effects:dt.mapEffects(t.effects,s).concat(dt.mapEffects(e.effects,r)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function xt(t,e,n){let i=e.selection,s=It(e.annotations);if(e.userEvent)s=s.concat(pt.userEvent.of(e.userEvent));return{changes:e.changes instanceof C?e.changes:C.of(e.changes||[],n,t.facet(lt)),selection:i&&(i instanceof J?i:J.single(i.anchor,i.head)),effects:It(e.effects),annotations:s,scrollIntoView:!!e.scrollIntoView}}function vt(t,e,n){let i=xt(t,e.length?e[0]:{},t.doc.length);if(e.length&&e[0].filter===false)n=false;for(let r=1;r<e.length;r++){if(e[r].filter===false)n=false;let s=!!e[r].sequential;i=wt(i,xt(t,e[r],s?i.changes.newLength:t.doc.length),s)}let s=pt.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return yt(n?kt(s):s)}function kt(t){let e=t.startState;let n=true;for(let s of e.facet(ht)){let e=s(t);if(e===false){n=false;break}if(Array.isArray(e))n=n===true?e:mt(n,e)}if(n!==true){let i,s;if(n===false){s=t.changes.invertedDesc;i=C.empty(e.doc.length)}else{let e=t.changes.filter(n);i=e.changes;s=e.filtered.mapDesc(e.changes).invertedDesc}t=pt.create(e,i,t.selection&&t.selection.map(s),dt.mapEffects(t.effects,s),t.annotations,t.scrollIntoView)}let i=e.facet(ot);for(let s=i.length-1;s>=0;s--){let n=i[s](t);if(n instanceof pt)t=n;else if(Array.isArray(n)&&n.length==1&&n[0]instanceof pt)t=n[0];else t=vt(e,It(n),false)}return t}function yt(t){let e=t.startState,n=e.facet(at),i=t;for(let s=n.length-1;s>=0;s--){let r=n[s](t);if(r&&Object.keys(r).length)i=wt(i,xt(e,r,t.changes.newLength),true)}return i==t?t:pt.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}const St=[];function It(t){return t==null?St:Array.isArray(t)?t:[t]}var bt=function(t){t[t["Word"]=0]="Word";t[t["Space"]=1]="Space";t[t["Other"]=2]="Other";return t}(bt||(bt={}));const Pt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Et;try{Et=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(Qt){}function Mt(t){if(Et)return Et.test(t);for(let e=0;e<t.length;e++){let n=t[e];if(/\w/.test(n)||n>"€"&&(n.toUpperCase()!=n.toLowerCase()||Pt.test(n)))return true}return false}function At(t){return e=>{if(!/\S/.test(e))return bt.Space;if(Mt(e))return bt.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return bt.Word;return bt.Other}}class Ct{constructor(t,e,n,i,s,r){this.config=t;this.doc=e;this.selection=n;this.values=i;this.status=t.statusTemplate.slice();this.computeSlot=s;if(r)r._state=this;for(let l=0;l<this.config.dynamicSlots.length;l++)nt(this,l<<1);this.computeSlot=null}field(t,e=true){let n=this.config.address[t.id];if(n==null){if(e)throw new RangeError("Field is not present in this state");return undefined}nt(this,n);return it(this,n)}update(...t){return vt(this,t,true)}applyTransaction(t){let e=this.config,{base:n,compartments:i}=e;for(let l of t.effects){if(l.is(Y.reconfigure)){if(e){i=new Map;e.compartments.forEach(((t,e)=>i.set(e,t)));e=null}i.set(l.value.compartment,l.value.extension)}else if(l.is(dt.reconfigure)){e=null;n=l.value}else if(l.is(dt.appendConfig)){e=null;n=It(n).concat(l.value)}}let s;if(!e){e=tt.resolve(n,i,this);let t=new Ct(e,this.doc,this.selection,e.dynamicSlots.map((()=>null)),((t,e)=>e.reconfigure(t,this)),null);s=t.values}else{s=t.startState.values.slice()}let r=t.startState.facet(rt)?t.newSelection:t.newSelection.asSingle();new Ct(e,t.newDoc,r,s,((e,n)=>n.update(e,t)),t)}replaceSelection(t){if(typeof t=="string")t=this.toText(t);return this.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:t},range:J.cursor(e.from+t.length)})))}changeByRange(t){let e=this.selection;let n=t(e.ranges[0]);let i=this.changes(n.changes),s=[n.range];let r=It(n.effects);for(let l=1;l<e.ranges.length;l++){let n=t(e.ranges[l]);let h=this.changes(n.changes),o=h.map(i);for(let t=0;t<l;t++)s[t]=s[t].map(o);let a=i.mapDesc(h,true);s.push(n.range.map(a));i=i.compose(o);r=dt.mapEffects(r,o).concat(dt.mapEffects(It(n.effects),a))}return{changes:i,selection:J.create(s,e.mainIndex),effects:r}}changes(t=[]){if(t instanceof C)return t;return C.of(t,this.doc.length,this.facet(Ct.lineSeparator))}toText(t){return i.of(t.split(this.facet(Ct.lineSeparator)||E))}sliceDoc(t=0,e=this.doc.length){return this.doc.sliceString(t,e,this.lineBreak)}facet(t){let e=this.config.address[t.id];if(e==null)return t.default;nt(this,e);return it(this,e)}toJSON(t){let e={doc:this.sliceDoc(),selection:this.selection.toJSON()};if(t)for(let n in t){let i=t[n];if(i instanceof G&&this.config.address[i.id]!=null)e[n]=i.spec.toJSON(this.field(t[n]),this)}return e}static fromJSON(t,e={},n){if(!t||typeof t.doc!="string")throw new RangeError("Invalid JSON representation for EditorState");let i=[];if(n)for(let s in n){if(Object.prototype.hasOwnProperty.call(t,s)){let e=n[s],r=t[s];i.push(e.init((t=>e.spec.fromJSON(r,t))))}}return Ct.create({doc:t.doc,selection:J.fromJSON(t.selection),extensions:e.extensions?i.concat([e.extensions]):i})}static create(t={}){let e=tt.resolve(t.extensions||[],new Map);let n=t.doc instanceof i?t.doc:i.of((t.doc||"").split(e.staticFacet(Ct.lineSeparator)||E));let s=!t.selection?J.single(0):t.selection instanceof J?t.selection:J.single(t.selection.anchor,t.selection.head);L(s,n.length);if(!e.staticFacet(rt))s=s.asSingle();return new Ct(e,n,s,e.dynamicSlots.map((()=>null)),((t,e)=>e.create(t)),null)}get tabSize(){return this.facet(Ct.tabSize)}get lineBreak(){return this.facet(Ct.lineSeparator)||"\n"}get readOnly(){return this.facet(ft)}phrase(t,...e){for(let n of this.facet(Ct.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}if(e.length)t=t.replace(/\$(\$|\d*)/g,((t,n)=>{if(n=="$")return"$";let i=+(n||1);return!i||i>e.length?t:e[i-1]}));return t}languageDataAt(t,e,n=-1){let i=[];for(let s of this.facet(st)){for(let r of s(this,e,n)){if(Object.prototype.hasOwnProperty.call(r,t))i.push(r[t])}}return i}charCategorizer(t){return At(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:e,from:n,length:i}=this.doc.lineAt(t);let s=this.charCategorizer(t);let r=t-n,l=t-n;while(r>0){let t=x(e,r,false);if(s(e.slice(t,r))!=bt.Word)break;r=t}while(l<i){let t=x(e,l);if(s(e.slice(l,t))!=bt.Word)break;l=t}return r==l?null:J.range(r+n,l+n)}}Ct.allowMultipleSelections=rt;Ct.tabSize=q.define({combine:t=>t.length?t[0]:4});Ct.lineSeparator=lt;Ct.readOnly=ft;Ct.phrases=q.define({compare(t,e){let n=Object.keys(t),i=Object.keys(e);return n.length==i.length&&n.every((n=>t[n]==e[n]))}});Ct.languageData=st;Ct.changeFilter=ht;Ct.transactionFilter=ot;Ct.transactionExtender=at;Y.reconfigure=dt.define();function Rt(t,e,n={}){let i={};for(let s of t)for(let t of Object.keys(s)){let e=s[t],r=i[t];if(r===undefined)i[t]=e;else if(r===e||e===undefined);else if(Object.hasOwnProperty.call(n,t))i[t]=n[t](r,e);else throw new Error("Config merge conflict for field "+t)}for(let s in e)if(i[s]===undefined)i[s]=e[s];return i}class Ot{eq(t){return this==t}range(t,e=t){return Tt.create(t,e,this)}}Ot.prototype.startSide=Ot.prototype.endSide=0;Ot.prototype.point=false;Ot.prototype.mapMode=M.TrackDel;class Tt{constructor(t,e,n){this.from=t;this.to=e;this.value=n}static create(t,e,n){return new Tt(t,e,n)}}function Ft(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class Bt{constructor(t,e,n,i){this.from=t;this.to=e;this.value=n;this.maxPoint=i}get length(){return this.to[this.to.length-1]}findIndex(t,e,n,i=0){let s=n?this.to:this.from;for(let r=i,l=s.length;;){if(r==l)return r;let i=r+l>>1;let h=s[i]-t||(n?this.value[i].endSide:this.value[i].startSide)-e;if(i==r)return h>=0?r:l;if(h>=0)l=i;else r=i+1}}between(t,e,n,i){for(let s=this.findIndex(e,-1e9,true),r=this.findIndex(n,1e9,false,s);s<r;s++)if(i(this.from[s]+t,this.to[s]+t,this.value[s])===false)return false}map(t,e){let n=[],i=[],s=[],r=-1,l=-1;for(let h=0;h<this.value.length;h++){let o=this.value[h],a=this.from[h]+t,f=this.to[h]+t,c,u;if(a==f){let t=e.mapPos(a,o.startSide,o.mapMode);if(t==null)continue;c=u=t;if(o.startSide!=o.endSide){u=e.mapPos(a,o.endSide);if(u<c)continue}}else{c=e.mapPos(a,o.startSide);u=e.mapPos(f,o.endSide);if(c>u||c==u&&o.startSide>0&&o.endSide<=0)continue}if((u-c||o.endSide-o.startSide)<0)continue;if(r<0)r=c;if(o.point)l=Math.max(l,u-c);n.push(o);i.push(c-r);s.push(u-r)}return{mapped:n.length?new Bt(i,s,n,l):null,pos:r}}}class Nt{constructor(t,e,n,i){this.chunkPos=t;this.chunk=e;this.nextLayer=n;this.maxPoint=i}static create(t,e,n,i){return new Nt(t,e,n,i)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let e of this.chunk)t+=e.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:e=[],sort:n=false,filterFrom:i=0,filterTo:s=this.length}=t;let r=t.filter;if(e.length==0&&!r)return this;if(n)e=e.slice().sort(Ft);if(this.isEmpty)return e.length?Nt.of(e):this;let l=new jt(this,null,-1).goto(0),h=0,o=[];let a=new Jt;while(l.value||h<e.length){if(h<e.length&&(l.from-e[h].from||l.startSide-e[h].value.startSide)>=0){let t=e[h++];if(!a.addInner(t.from,t.to,t.value))o.push(t)}else if(l.rangeIndex==1&&l.chunkIndex<this.chunk.length&&(h==e.length||this.chunkEnd(l.chunkIndex)<e[h].from)&&(!r||i>this.chunkEnd(l.chunkIndex)||s<this.chunkPos[l.chunkIndex])&&a.addChunk(this.chunkPos[l.chunkIndex],this.chunk[l.chunkIndex])){l.nextChunk()}else{if(!r||i>l.to||s<l.from||r(l.from,l.to,l.value)){if(!a.addInner(l.from,l.to,l.value))o.push(Tt.create(l.from,l.to,l.value))}l.next()}}return a.finishInner(this.nextLayer.isEmpty&&!o.length?Nt.empty:this.nextLayer.update({add:o,filter:r,filterFrom:i,filterTo:s}))}map(t){if(t.empty||this.isEmpty)return this;let e=[],n=[],i=-1;for(let r=0;r<this.chunk.length;r++){let s=this.chunkPos[r],l=this.chunk[r];let h=t.touchesRange(s,s+l.length);if(h===false){i=Math.max(i,l.maxPoint);e.push(l);n.push(t.mapPos(s))}else if(h===true){let{mapped:r,pos:h}=l.map(s,t);if(r){i=Math.max(i,r.maxPoint);e.push(r);n.push(h)}}}let s=this.nextLayer.map(t);return e.length==0?s:new Nt(n,e,s||Nt.empty,i)}between(t,e,n){if(this.isEmpty)return;for(let i=0;i<this.chunk.length;i++){let s=this.chunkPos[i],r=this.chunk[i];if(e>=s&&t<=s+r.length&&r.between(s,t-s,e-s,n)===false)return}this.nextLayer.between(t,e,n)}iter(t=0){return qt.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,e=0){return qt.from(t).goto(e)}static compare(t,e,n,i,s=-1){let r=t.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=s));let l=e.filter((t=>t.maxPoint>0||!t.isEmpty&&t.maxPoint>=s));let h=Lt(r,l,n);let o=new _t(r,h,s);let a=new _t(l,h,s);n.iterGaps(((t,e,n)=>zt(o,t,a,e,n,i)));if(n.empty&&n.length==0)zt(o,0,a,0,0,i)}static eq(t,e,n=0,i){if(i==null)i=1e9-1;let s=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0));let r=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0));if(s.length!=r.length)return false;if(!s.length)return true;let l=Lt(s,r);let h=new _t(s,l,0).goto(n),o=new _t(r,l,0).goto(n);for(;;){if(h.to!=o.to||!Vt(h.active,o.active)||h.point&&(!o.point||!h.point.eq(o.point)))return false;if(h.to>i)return true;h.next();o.next()}}static spans(t,e,n,i,s=-1){let r=new _t(t,null,s).goto(e),l=e;let h=r.openStart;for(;;){let t=Math.min(r.to,n);if(r.point){let n=r.activeForPoint(r.to);let s=r.pointFrom<e?n.length+1:r.point.startSide<0?n.length:Math.min(n.length,h);i.point(l,t,r.point,n,s,r.pointRank);h=Math.min(r.openEnd(t),n.length)}else if(t>l){i.span(l,t,r.active,h);h=r.openEnd(t)}if(r.to>n)return h+(r.point&&r.to>n?1:0);l=r.to;r.next()}}static of(t,e=false){let n=new Jt;for(let i of t instanceof Tt?[t]:e?Dt(t):t)n.add(i.from,i.to,i.value);return n.finish()}static join(t){if(!t.length)return Nt.empty;let e=t[t.length-1];for(let n=t.length-2;n>=0;n--){for(let i=t[n];i!=Nt.empty;i=i.nextLayer)e=new Nt(i.chunkPos,i.chunk,e,Math.max(i.maxPoint,e.maxPoint))}return e}}Nt.empty=new Nt([],[],null,-1);function Dt(t){if(t.length>1)for(let e=t[0],n=1;n<t.length;n++){let i=t[n];if(Ft(e,i)>0)return t.slice().sort(Ft);e=i}return t}Nt.empty.nextLayer=Nt.empty;class Jt{finishChunk(t){this.chunks.push(new Bt(this.from,this.to,this.value,this.maxPoint));this.chunkPos.push(this.chunkStart);this.chunkStart=-1;this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint);this.maxPoint=-1;if(t){this.from=[];this.to=[];this.value=[]}}constructor(){this.chunks=[];this.chunkPos=[];this.chunkStart=-1;this.last=null;this.lastFrom=-1e9;this.lastTo=-1e9;this.from=[];this.to=[];this.value=[];this.maxPoint=-1;this.setMaxPoint=-1;this.nextLayer=null}add(t,e,n){if(!this.addInner(t,e,n))(this.nextLayer||(this.nextLayer=new Jt)).add(t,e,n)}addInner(t,e,n){let i=t-this.lastTo||n.startSide-this.last.endSide;if(i<=0&&(t-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");if(i<0)return false;if(this.from.length==250)this.finishChunk(true);if(this.chunkStart<0)this.chunkStart=t;this.from.push(t-this.chunkStart);this.to.push(e-this.chunkStart);this.last=n;this.lastFrom=t;this.lastTo=e;this.value.push(n);if(n.point)this.maxPoint=Math.max(this.maxPoint,e-t);return true}addChunk(t,e){if((t-this.lastTo||e.value[0].startSide-this.last.endSide)<0)return false;if(this.from.length)this.finishChunk(true);this.setMaxPoint=Math.max(this.setMaxPoint,e.maxPoint);this.chunks.push(e);this.chunkPos.push(t);let n=e.value.length-1;this.last=e.value[n];this.lastFrom=e.from[n]+t;this.lastTo=e.to[n]+t;return true}finish(){return this.finishInner(Nt.empty)}finishInner(t){if(this.from.length)this.finishChunk(false);if(this.chunks.length==0)return t;let e=Nt.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);this.from=null;return e}}function Lt(t,e,n){let i=new Map;for(let r of t)for(let t=0;t<r.chunk.length;t++)if(r.chunk[t].maxPoint<=0)i.set(r.chunk[t],r.chunkPos[t]);let s=new Set;for(let r of e)for(let t=0;t<r.chunk.length;t++){let e=i.get(r.chunk[t]);if(e!=null&&(n?n.mapPos(e):e)==r.chunkPos[t]&&!(n===null||n===void 0?void 0:n.touchesRange(e,e+r.chunk[t].length)))s.add(r.chunk[t])}return s}class jt{constructor(t,e,n,i=0){this.layer=t;this.skip=e;this.minPoint=n;this.rank=i}get startSide(){return this.value?this.value.startSide:0}get endSide(){return this.value?this.value.endSide:0}goto(t,e=-1e9){this.chunkIndex=this.rangeIndex=0;this.gotoInner(t,e,false);return this}gotoInner(t,e,n){while(this.chunkIndex<this.layer.chunk.length){let e=this.layer.chunk[this.chunkIndex];if(!(this.skip&&this.skip.has(e)||this.layer.chunkEnd(this.chunkIndex)<t||e.maxPoint<this.minPoint))break;this.chunkIndex++;n=false}if(this.chunkIndex<this.layer.chunk.length){let i=this.layer.chunk[this.chunkIndex].findIndex(t-this.layer.chunkPos[this.chunkIndex],e,true);if(!n||this.rangeIndex<i)this.setRangeIndex(i)}this.next()}forward(t,e){if((this.to-t||this.endSide-e)<0)this.gotoInner(t,e,true)}next(){for(;;){if(this.chunkIndex==this.layer.chunk.length){this.from=this.to=1e9;this.value=null;break}else{let t=this.layer.chunkPos[this.chunkIndex],e=this.layer.chunk[this.chunkIndex];let n=t+e.from[this.rangeIndex];this.from=n;this.to=t+e.to[this.rangeIndex];this.value=e.value[this.rangeIndex];this.setRangeIndex(this.rangeIndex+1);if(this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){this.chunkIndex++;if(this.skip){while(this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]))this.chunkIndex++}this.rangeIndex=0}else{this.rangeIndex=t}}nextChunk(){this.chunkIndex++;this.rangeIndex=0;this.next()}compare(t){return this.from-t.from||this.startSide-t.startSide||this.rank-t.rank||this.to-t.to||this.endSide-t.endSide}}class qt{constructor(t){this.heap=t}static from(t,e=null,n=-1){let i=[];for(let s=0;s<t.length;s++){for(let r=t[s];!r.isEmpty;r=r.nextLayer){if(r.maxPoint>=n)i.push(new jt(r,e,n,s))}}return i.length==1?i[0]:new qt(i)}get startSide(){return this.value?this.value.startSide:0}goto(t,e=-1e9){for(let n of this.heap)n.goto(t,e);for(let n=this.heap.length>>1;n>=0;n--)$t(this.heap,n);this.next();return this}forward(t,e){for(let n of this.heap)n.forward(t,e);for(let n=this.heap.length>>1;n>=0;n--)$t(this.heap,n);if((this.to-t||this.value.endSide-e)<0)this.next()}next(){if(this.heap.length==0){this.from=this.to=1e9;this.value=null;this.rank=-1}else{let t=this.heap[0];this.from=t.from;this.to=t.to;this.value=t.value;this.rank=t.rank;if(t.value)t.next();$t(this.heap,0)}}}function $t(t,e){for(let n=t[e];;){let i=(e<<1)+1;if(i>=t.length)break;let s=t[i];if(i+1<t.length&&s.compare(t[i+1])>=0){s=t[i+1];i++}if(n.compare(s)<0)break;t[i]=n;t[e]=s;e=i}}class _t{constructor(t,e,n){this.minPoint=n;this.active=[];this.activeTo=[];this.activeRank=[];this.minActive=-1;this.point=null;this.pointFrom=0;this.pointRank=0;this.to=-1e9;this.endSide=0;this.openStart=-1;this.cursor=qt.from(t,e,n)}goto(t,e=-1e9){this.cursor.goto(t,e);this.active.length=this.activeTo.length=this.activeRank.length=0;this.minActive=-1;this.to=t;this.endSide=e;this.openStart=-1;this.next();return this}forward(t,e){while(this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-e)<0)this.removeActive(this.minActive);this.cursor.forward(t,e)}removeActive(t){Wt(this.active,t);Wt(this.activeTo,t);Wt(this.activeRank,t);this.minActive=Gt(this.active,this.activeTo)}addActive(t){let e=0,{value:n,to:i,rank:s}=this.cursor;while(e<this.activeRank.length&&(s-this.activeRank[e]||i-this.activeTo[e])>0)e++;Ut(this.active,e,n);Ut(this.activeTo,e,i);Ut(this.activeRank,e,s);if(t)Ut(t,e,this.cursor.from);this.minActive=Gt(this.active,this.activeTo)}next(){let t=this.to,e=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let i=this.minActive;if(i>-1&&(this.activeTo[i]-this.cursor.from||this.active[i].endSide-this.cursor.startSide)<0){if(this.activeTo[i]>t){this.to=this.activeTo[i];this.endSide=this.active[i].endSide;break}this.removeActive(i);if(n)Wt(n,i)}else if(!this.cursor.value){this.to=this.endSide=1e9;break}else if(this.cursor.from>t){this.to=this.cursor.from;this.endSide=this.cursor.startSide;break}else{let t=this.cursor.value;if(!t.point){this.addActive(n);this.cursor.next()}else if(e&&this.cursor.to==this.to&&this.cursor.from<this.cursor.to){this.cursor.next()}else{this.point=t;this.pointFrom=this.cursor.from;this.pointRank=this.cursor.rank;this.to=this.cursor.to;this.endSide=t.endSide;this.cursor.next();this.forward(this.to,this.endSide);break}}}if(n){this.openStart=0;for(let e=n.length-1;e>=0&&n[e]<t;e--)this.openStart++}}activeForPoint(t){if(!this.active.length)return this.active;let e=[];for(let n=this.active.length-1;n>=0;n--){if(this.activeRank[n]<this.pointRank)break;if(this.activeTo[n]>t||this.activeTo[n]==t&&this.active[n].endSide>=this.point.endSide)e.push(this.active[n])}return e.reverse()}openEnd(t){let e=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>t;n--)e++;return e}}function zt(t,e,n,i,s,r){t.goto(e);n.goto(i);let l=i+s;let h=i,o=i-e;for(;;){let e=t.to+o-n.to||t.endSide-n.endSide;let i=e<0?t.to+o:n.to,s=Math.min(i,l);if(t.point||n.point){if(!(t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&Vt(t.activeForPoint(t.to),n.activeForPoint(n.to))))r.comparePoint(h,s,t.point,n.point)}else{if(s>h&&!Vt(t.active,n.active))r.compareRange(h,s,t.active,n.active)}if(i>l)break;h=i;if(e<=0)t.next();if(e>=0)n.next()}}function Vt(t,e){if(t.length!=e.length)return false;for(let n=0;n<t.length;n++)if(t[n]!=e[n]&&!t[n].eq(e[n]))return false;return true}function Wt(t,e){for(let n=e,i=t.length-1;n<i;n++)t[n]=t[n+1];t.pop()}function Ut(t,e,n){for(let i=t.length-1;i>=e;i--)t[i+1]=t[i];t[e]=n}function Gt(t,e){let n=-1,i=1e9;for(let s=0;s<e.length;s++)if((e[s]-i||t[s].endSide-t[n].endSide)<0){n=s;i=e[s]}return n}function Ht(t,e,n=t.length){let i=0;for(let s=0;s<n;){if(t.charCodeAt(s)==9){i+=e-i%e;s++}else{i++;s=x(t,s)}}return i}function Kt(t,e,n,i){for(let s=0,r=0;;){if(r>=e)return s;if(s==t.length)break;r+=t.charCodeAt(s)==9?n-r%n:1;s=x(t,s)}return i===true?-1:t.length}}}]);
@@ -0,0 +1 @@
1
+ (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4457,4155],{4457:(e,t,i)=>{var s=i(34155);!function(t,i){true?e.exports=i():0}(self,(()=>(()=>{"use strict";var e={965:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlyphRenderer=void 0;const s=i(374),r=i(509),o=i(855),n=i(859),a=i(381),h=11,l=h*Float32Array.BYTES_PER_ELEMENT;let c,d=0,_=0,u=0;class g extends n.Disposable{constructor(e,t,i,o){super(),this._terminal=e,this._gl=t,this._dimensions=i,this._optionsService=o,this._activeBuffer=0,this._vertices={count:0,attributes:new Float32Array(0),attributesBuffers:[new Float32Array(0),new Float32Array(0)]};const h=this._gl;void 0===r.TextureAtlas.maxAtlasPages&&(r.TextureAtlas.maxAtlasPages=Math.min(32,(0,s.throwIfFalsy)(h.getParameter(h.MAX_TEXTURE_IMAGE_UNITS))),r.TextureAtlas.maxTextureSize=(0,s.throwIfFalsy)(h.getParameter(h.MAX_TEXTURE_SIZE))),this._program=(0,s.throwIfFalsy)((0,a.createProgram)(h,"#version 300 es\nlayout (location = 0) in vec2 a_unitquad;\nlayout (location = 1) in vec2 a_cellpos;\nlayout (location = 2) in vec2 a_offset;\nlayout (location = 3) in vec2 a_size;\nlayout (location = 4) in float a_texpage;\nlayout (location = 5) in vec2 a_texcoord;\nlayout (location = 6) in vec2 a_texsize;\n\nuniform mat4 u_projection;\nuniform vec2 u_resolution;\n\nout vec2 v_texcoord;\nflat out int v_texpage;\n\nvoid main() {\n vec2 zeroToOne = (a_offset / u_resolution) + a_cellpos + (a_unitquad * a_size);\n gl_Position = u_projection * vec4(zeroToOne, 0.0, 1.0);\n v_texpage = int(a_texpage);\n v_texcoord = a_texcoord + a_unitquad * a_texsize;\n}",function(e){let t="";for(let i=1;i<e;i++)t+=` else if (v_texpage == ${i}) { outColor = texture(u_texture[${i}], v_texcoord); }`;return`#version 300 es\nprecision lowp float;\n\nin vec2 v_texcoord;\nflat in int v_texpage;\n\nuniform sampler2D u_texture[${e}];\n\nout vec4 outColor;\n\nvoid main() {\n if (v_texpage == 0) {\n outColor = texture(u_texture[0], v_texcoord);\n } ${t}\n}`}(r.TextureAtlas.maxAtlasPages))),this.register((0,n.toDisposable)((()=>h.deleteProgram(this._program)))),this._projectionLocation=(0,s.throwIfFalsy)(h.getUniformLocation(this._program,"u_projection")),this._resolutionLocation=(0,s.throwIfFalsy)(h.getUniformLocation(this._program,"u_resolution")),this._textureLocation=(0,s.throwIfFalsy)(h.getUniformLocation(this._program,"u_texture")),this._vertexArrayObject=h.createVertexArray(),h.bindVertexArray(this._vertexArrayObject);const c=new Float32Array([0,0,1,0,0,1,1,1]),d=h.createBuffer();this.register((0,n.toDisposable)((()=>h.deleteBuffer(d)))),h.bindBuffer(h.ARRAY_BUFFER,d),h.bufferData(h.ARRAY_BUFFER,c,h.STATIC_DRAW),h.enableVertexAttribArray(0),h.vertexAttribPointer(0,2,this._gl.FLOAT,!1,0,0);const _=new Uint8Array([0,1,2,3]),u=h.createBuffer();this.register((0,n.toDisposable)((()=>h.deleteBuffer(u)))),h.bindBuffer(h.ELEMENT_ARRAY_BUFFER,u),h.bufferData(h.ELEMENT_ARRAY_BUFFER,_,h.STATIC_DRAW),this._attributesBuffer=(0,s.throwIfFalsy)(h.createBuffer()),this.register((0,n.toDisposable)((()=>h.deleteBuffer(this._attributesBuffer)))),h.bindBuffer(h.ARRAY_BUFFER,this._attributesBuffer),h.enableVertexAttribArray(2),h.vertexAttribPointer(2,2,h.FLOAT,!1,l,0),h.vertexAttribDivisor(2,1),h.enableVertexAttribArray(3),h.vertexAttribPointer(3,2,h.FLOAT,!1,l,2*Float32Array.BYTES_PER_ELEMENT),h.vertexAttribDivisor(3,1),h.enableVertexAttribArray(4),h.vertexAttribPointer(4,1,h.FLOAT,!1,l,4*Float32Array.BYTES_PER_ELEMENT),h.vertexAttribDivisor(4,1),h.enableVertexAttribArray(5),h.vertexAttribPointer(5,2,h.FLOAT,!1,l,5*Float32Array.BYTES_PER_ELEMENT),h.vertexAttribDivisor(5,1),h.enableVertexAttribArray(6),h.vertexAttribPointer(6,2,h.FLOAT,!1,l,7*Float32Array.BYTES_PER_ELEMENT),h.vertexAttribDivisor(6,1),h.enableVertexAttribArray(1),h.vertexAttribPointer(1,2,h.FLOAT,!1,l,9*Float32Array.BYTES_PER_ELEMENT),h.vertexAttribDivisor(1,1),h.useProgram(this._program);const g=new Int32Array(r.TextureAtlas.maxAtlasPages);for(let s=0;s<r.TextureAtlas.maxAtlasPages;s++)g[s]=s;h.uniform1iv(this._textureLocation,g),h.uniformMatrix4fv(this._projectionLocation,!1,a.PROJECTION_MATRIX),this._atlasTextures=[];for(let l=0;l<r.TextureAtlas.maxAtlasPages;l++){const e=new a.GLTexture((0,s.throwIfFalsy)(h.createTexture()));this.register((0,n.toDisposable)((()=>h.deleteTexture(e.texture)))),h.activeTexture(h.TEXTURE0+l),h.bindTexture(h.TEXTURE_2D,e.texture),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_S,h.CLAMP_TO_EDGE),h.texParameteri(h.TEXTURE_2D,h.TEXTURE_WRAP_T,h.CLAMP_TO_EDGE),h.texImage2D(h.TEXTURE_2D,0,h.RGBA,1,1,0,h.RGBA,h.UNSIGNED_BYTE,new Uint8Array([255,0,0,255])),this._atlasTextures[l]=e}h.enable(h.BLEND),h.blendFunc(h.SRC_ALPHA,h.ONE_MINUS_SRC_ALPHA),this.handleResize()}beginFrame(){return!this._atlas||this._atlas.beginFrame()}updateCell(e,t,i,s,r,o,n,a,h){this._updateCell(this._vertices.attributes,e,t,i,s,r,o,n,a,h)}_updateCell(e,t,i,r,n,a,l,g,v,f){d=(i*this._terminal.cols+t)*h,r!==o.NULL_CELL_CODE&&void 0!==r?this._atlas&&(c=g&&g.length>1?this._atlas.getRasterizedGlyphCombinedChar(g,n,a,l,!1):this._atlas.getRasterizedGlyph(r,n,a,l,!1),_=Math.floor((this._dimensions.device.cell.width-this._dimensions.device.char.width)/2),n!==f&&c.offset.x>_?(u=c.offset.x-_,e[d]=-(c.offset.x-u)+this._dimensions.device.char.left,e[d+1]=-c.offset.y+this._dimensions.device.char.top,e[d+2]=(c.size.x-u)/this._dimensions.device.canvas.width,e[d+3]=c.size.y/this._dimensions.device.canvas.height,e[d+4]=c.texturePage,e[d+5]=c.texturePositionClipSpace.x+u/this._atlas.pages[c.texturePage].canvas.width,e[d+6]=c.texturePositionClipSpace.y,e[d+7]=c.sizeClipSpace.x-u/this._atlas.pages[c.texturePage].canvas.width,e[d+8]=c.sizeClipSpace.y):(e[d]=-c.offset.x+this._dimensions.device.char.left,e[d+1]=-c.offset.y+this._dimensions.device.char.top,e[d+2]=c.size.x/this._dimensions.device.canvas.width,e[d+3]=c.size.y/this._dimensions.device.canvas.height,e[d+4]=c.texturePage,e[d+5]=c.texturePositionClipSpace.x,e[d+6]=c.texturePositionClipSpace.y,e[d+7]=c.sizeClipSpace.x,e[d+8]=c.sizeClipSpace.y),this._optionsService.rawOptions.rescaleOverlappingGlyphs&&(0,s.allowRescaling)(r,v,c.size.x,this._dimensions.device.cell.width)&&(e[d+2]=(this._dimensions.device.cell.width-1)/this._dimensions.device.canvas.width)):e.fill(0,d,d+h-1-2)}clear(){const e=this._terminal,t=e.cols*e.rows*h;this._vertices.count!==t?this._vertices.attributes=new Float32Array(t):this._vertices.attributes.fill(0);let i=0;for(;i<this._vertices.attributesBuffers.length;i++)this._vertices.count!==t?this._vertices.attributesBuffers[i]=new Float32Array(t):this._vertices.attributesBuffers[i].fill(0);this._vertices.count=t,i=0;for(let s=0;s<e.rows;s++)for(let t=0;t<e.cols;t++)this._vertices.attributes[i+9]=t/e.cols,this._vertices.attributes[i+10]=s/e.rows,i+=h}handleResize(){const e=this._gl;e.useProgram(this._program),e.viewport(0,0,e.canvas.width,e.canvas.height),e.uniform2f(this._resolutionLocation,e.canvas.width,e.canvas.height),this.clear()}render(e){if(!this._atlas)return;const t=this._gl;t.useProgram(this._program),t.bindVertexArray(this._vertexArrayObject),this._activeBuffer=(this._activeBuffer+1)%2;const i=this._vertices.attributesBuffers[this._activeBuffer];let s=0;for(let r=0;r<e.lineLengths.length;r++){const t=r*this._terminal.cols*h,o=this._vertices.attributes.subarray(t,t+e.lineLengths[r]*h);i.set(o,s),s+=o.length}t.bindBuffer(t.ARRAY_BUFFER,this._attributesBuffer),t.bufferData(t.ARRAY_BUFFER,i.subarray(0,s),t.STREAM_DRAW);for(let r=0;r<this._atlas.pages.length;r++)this._atlas.pages[r].version!==this._atlasTextures[r].version&&this._bindAtlasPageTexture(t,this._atlas,r);t.drawElementsInstanced(t.TRIANGLE_STRIP,4,t.UNSIGNED_BYTE,0,s/h)}setAtlas(e){this._atlas=e;for(const t of this._atlasTextures)t.version=-1}_bindAtlasPageTexture(e,t,i){e.activeTexture(e.TEXTURE0+i),e.bindTexture(e.TEXTURE_2D,this._atlasTextures[i].texture),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_S,e.CLAMP_TO_EDGE),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_WRAP_T,e.CLAMP_TO_EDGE),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,t.pages[i].canvas),e.generateMipmap(e.TEXTURE_2D),this._atlasTextures[i].version=t.pages[i].version}setDimensions(e){this._dimensions=e}}t.GlyphRenderer=g},742:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RectangleRenderer=void 0;const s=i(374),r=i(859),o=i(310),n=i(381),a=8*Float32Array.BYTES_PER_ELEMENT;class h{constructor(){this.attributes=new Float32Array(160),this.count=0}}let l=0,c=0,d=0,_=0,u=0,g=0,v=0;class f extends r.Disposable{constructor(e,t,i,o){super(),this._terminal=e,this._gl=t,this._dimensions=i,this._themeService=o,this._vertices=new h,this._verticesCursor=new h;const l=this._gl;this._program=(0,s.throwIfFalsy)((0,n.createProgram)(l,"#version 300 es\nlayout (location = 0) in vec2 a_position;\nlayout (location = 1) in vec2 a_size;\nlayout (location = 2) in vec4 a_color;\nlayout (location = 3) in vec2 a_unitquad;\n\nuniform mat4 u_projection;\n\nout vec4 v_color;\n\nvoid main() {\n vec2 zeroToOne = a_position + (a_unitquad * a_size);\n gl_Position = u_projection * vec4(zeroToOne, 0.0, 1.0);\n v_color = a_color;\n}","#version 300 es\nprecision lowp float;\n\nin vec4 v_color;\n\nout vec4 outColor;\n\nvoid main() {\n outColor = v_color;\n}")),this.register((0,r.toDisposable)((()=>l.deleteProgram(this._program)))),this._projectionLocation=(0,s.throwIfFalsy)(l.getUniformLocation(this._program,"u_projection")),this._vertexArrayObject=l.createVertexArray(),l.bindVertexArray(this._vertexArrayObject);const c=new Float32Array([0,0,1,0,0,1,1,1]),d=l.createBuffer();this.register((0,r.toDisposable)((()=>l.deleteBuffer(d)))),l.bindBuffer(l.ARRAY_BUFFER,d),l.bufferData(l.ARRAY_BUFFER,c,l.STATIC_DRAW),l.enableVertexAttribArray(3),l.vertexAttribPointer(3,2,this._gl.FLOAT,!1,0,0);const _=new Uint8Array([0,1,2,3]),u=l.createBuffer();this.register((0,r.toDisposable)((()=>l.deleteBuffer(u)))),l.bindBuffer(l.ELEMENT_ARRAY_BUFFER,u),l.bufferData(l.ELEMENT_ARRAY_BUFFER,_,l.STATIC_DRAW),this._attributesBuffer=(0,s.throwIfFalsy)(l.createBuffer()),this.register((0,r.toDisposable)((()=>l.deleteBuffer(this._attributesBuffer)))),l.bindBuffer(l.ARRAY_BUFFER,this._attributesBuffer),l.enableVertexAttribArray(0),l.vertexAttribPointer(0,2,l.FLOAT,!1,a,0),l.vertexAttribDivisor(0,1),l.enableVertexAttribArray(1),l.vertexAttribPointer(1,2,l.FLOAT,!1,a,2*Float32Array.BYTES_PER_ELEMENT),l.vertexAttribDivisor(1,1),l.enableVertexAttribArray(2),l.vertexAttribPointer(2,4,l.FLOAT,!1,a,4*Float32Array.BYTES_PER_ELEMENT),l.vertexAttribDivisor(2,1),this._updateCachedColors(o.colors),this.register(this._themeService.onChangeColors((e=>{this._updateCachedColors(e),this._updateViewportRectangle()})))}renderBackgrounds(){this._renderVertices(this._vertices)}renderCursor(){this._renderVertices(this._verticesCursor)}_renderVertices(e){const t=this._gl;t.useProgram(this._program),t.bindVertexArray(this._vertexArrayObject),t.uniformMatrix4fv(this._projectionLocation,!1,n.PROJECTION_MATRIX),t.bindBuffer(t.ARRAY_BUFFER,this._attributesBuffer),t.bufferData(t.ARRAY_BUFFER,e.attributes,t.DYNAMIC_DRAW),t.drawElementsInstanced(this._gl.TRIANGLE_STRIP,4,t.UNSIGNED_BYTE,0,e.count)}handleResize(){this._updateViewportRectangle()}setDimensions(e){this._dimensions=e}_updateCachedColors(e){this._bgFloat=this._colorToFloat32Array(e.background),this._cursorFloat=this._colorToFloat32Array(e.cursor)}_updateViewportRectangle(){this._addRectangleFloat(this._vertices.attributes,0,0,0,this._terminal.cols*this._dimensions.device.cell.width,this._terminal.rows*this._dimensions.device.cell.height,this._bgFloat)}updateBackgrounds(e){const t=this._terminal,i=this._vertices;let s,r,n,a,h,l,c,d,_,u,g,v=1;for(s=0;s<t.rows;s++){for(n=-1,a=0,h=0,l=!1,r=0;r<t.cols;r++)c=(s*t.cols+r)*o.RENDER_MODEL_INDICIES_PER_CELL,d=e.cells[c+o.RENDER_MODEL_BG_OFFSET],_=e.cells[c+o.RENDER_MODEL_FG_OFFSET],u=!!(67108864&_),(d!==a||_!==h&&(l||u))&&((0!==a||l&&0!==h)&&(g=8*v++,this._updateRectangle(i,g,h,a,n,r,s)),n=r,a=d,h=_,l=u);(0!==a||l&&0!==h)&&(g=8*v++,this._updateRectangle(i,g,h,a,n,t.cols,s))}i.count=v}updateCursor(e){const t=this._verticesCursor,i=e.cursor;if(!i||"block"===i.style)return void(t.count=0);let s,r=0;"bar"!==i.style&&"outline"!==i.style||(s=8*r++,this._addRectangleFloat(t.attributes,s,i.x*this._dimensions.device.cell.width,i.y*this._dimensions.device.cell.height,"bar"===i.style?i.dpr*i.cursorWidth:i.dpr,this._dimensions.device.cell.height,this._cursorFloat)),"underline"!==i.style&&"outline"!==i.style||(s=8*r++,this._addRectangleFloat(t.attributes,s,i.x*this._dimensions.device.cell.width,(i.y+1)*this._dimensions.device.cell.height-i.dpr,i.width*this._dimensions.device.cell.width,i.dpr,this._cursorFloat)),"outline"===i.style&&(s=8*r++,this._addRectangleFloat(t.attributes,s,i.x*this._dimensions.device.cell.width,i.y*this._dimensions.device.cell.height,i.width*this._dimensions.device.cell.width,i.dpr,this._cursorFloat),s=8*r++,this._addRectangleFloat(t.attributes,s,(i.x+i.width)*this._dimensions.device.cell.width-i.dpr,i.y*this._dimensions.device.cell.height,i.dpr,this._dimensions.device.cell.height,this._cursorFloat)),t.count=r}_updateRectangle(e,t,i,s,r,o,a){if(67108864&i)switch(50331648&i){case 16777216:case 33554432:l=this._themeService.colors.ansi[255&i].rgba;break;case 50331648:l=(16777215&i)<<8;break;default:l=this._themeService.colors.foreground.rgba}else switch(50331648&s){case 16777216:case 33554432:l=this._themeService.colors.ansi[255&s].rgba;break;case 50331648:l=(16777215&s)<<8;break;default:l=this._themeService.colors.background.rgba}e.attributes.length<t+4&&(e.attributes=(0,n.expandFloat32Array)(e.attributes,this._terminal.rows*this._terminal.cols*8)),c=r*this._dimensions.device.cell.width,d=a*this._dimensions.device.cell.height,_=(l>>24&255)/255,u=(l>>16&255)/255,g=(l>>8&255)/255,v=1,this._addRectangle(e.attributes,t,c,d,(o-r)*this._dimensions.device.cell.width,this._dimensions.device.cell.height,_,u,g,v)}_addRectangle(e,t,i,s,r,o,n,a,h,l){e[t]=i/this._dimensions.device.canvas.width,e[t+1]=s/this._dimensions.device.canvas.height,e[t+2]=r/this._dimensions.device.canvas.width,e[t+3]=o/this._dimensions.device.canvas.height,e[t+4]=n,e[t+5]=a,e[t+6]=h,e[t+7]=l}_addRectangleFloat(e,t,i,s,r,o,n){e[t]=i/this._dimensions.device.canvas.width,e[t+1]=s/this._dimensions.device.canvas.height,e[t+2]=r/this._dimensions.device.canvas.width,e[t+3]=o/this._dimensions.device.canvas.height,e[t+4]=n[0],e[t+5]=n[1],e[t+6]=n[2],e[t+7]=n[3]}_colorToFloat32Array(e){return new Float32Array([(e.rgba>>24&255)/255,(e.rgba>>16&255)/255,(e.rgba>>8&255)/255,(255&e.rgba)/255])}}t.RectangleRenderer=f},310:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.RenderModel=t.COMBINED_CHAR_BIT_MASK=t.RENDER_MODEL_EXT_OFFSET=t.RENDER_MODEL_FG_OFFSET=t.RENDER_MODEL_BG_OFFSET=t.RENDER_MODEL_INDICIES_PER_CELL=void 0;const s=i(296);t.RENDER_MODEL_INDICIES_PER_CELL=4,t.RENDER_MODEL_BG_OFFSET=1,t.RENDER_MODEL_FG_OFFSET=2,t.RENDER_MODEL_EXT_OFFSET=3,t.COMBINED_CHAR_BIT_MASK=2147483648,t.RenderModel=class{constructor(){this.cells=new Uint32Array(0),this.lineLengths=new Uint32Array(0),this.selection=(0,s.createSelectionRenderModel)()}resize(e,i){const s=e*i*t.RENDER_MODEL_INDICIES_PER_CELL;s!==this.cells.length&&(this.cells=new Uint32Array(s),this.lineLengths=new Uint32Array(i))}clear(){this.cells.fill(0,0),this.lineLengths.fill(0,0)}}},666:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.JoinedCellData=t.WebglRenderer=void 0;const s=i(820),r=i(274),o=i(627),n=i(457),a=i(56),h=i(374),l=i(345),c=i(859),d=i(147),_=i(782),u=i(855),g=i(965),v=i(742),f=i(310),p=i(733);class C extends c.Disposable{constructor(e,t,i,n,d,u,g,v,C){super(),this._terminal=e,this._characterJoinerService=t,this._charSizeService=i,this._coreBrowserService=n,this._coreService=d,this._decorationService=u,this._optionsService=g,this._themeService=v,this._cursorBlinkStateManager=new c.MutableDisposable,this._charAtlasDisposable=this.register(new c.MutableDisposable),this._observerDisposable=this.register(new c.MutableDisposable),this._model=new f.RenderModel,this._workCell=new _.CellData,this._workCell2=new _.CellData,this._rectangleRenderer=this.register(new c.MutableDisposable),this._glyphRenderer=this.register(new c.MutableDisposable),this._onChangeTextureAtlas=this.register(new l.EventEmitter),this.onChangeTextureAtlas=this._onChangeTextureAtlas.event,this._onAddTextureAtlasCanvas=this.register(new l.EventEmitter),this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._onRemoveTextureAtlasCanvas=this.register(new l.EventEmitter),this.onRemoveTextureAtlasCanvas=this._onRemoveTextureAtlasCanvas.event,this._onRequestRedraw=this.register(new l.EventEmitter),this.onRequestRedraw=this._onRequestRedraw.event,this._onContextLoss=this.register(new l.EventEmitter),this.onContextLoss=this._onContextLoss.event,this.register(this._themeService.onChangeColors((()=>this._handleColorChange()))),this._cellColorResolver=new r.CellColorResolver(this._terminal,this._optionsService,this._model.selection,this._decorationService,this._coreBrowserService,this._themeService),this._core=this._terminal._core,this._renderLayers=[new p.LinkRenderLayer(this._core.screenElement,2,this._terminal,this._core.linkifier,this._coreBrowserService,g,this._themeService)],this.dimensions=(0,h.createRenderDimensions)(),this._devicePixelRatio=this._coreBrowserService.dpr,this._updateDimensions(),this._updateCursorBlink(),this.register(g.onOptionChange((()=>this._handleOptionsChanged()))),this._canvas=this._coreBrowserService.mainDocument.createElement("canvas");const m={antialias:!1,depth:!1,preserveDrawingBuffer:C};if(this._gl=this._canvas.getContext("webgl2",m),!this._gl)throw new Error("WebGL2 not supported "+this._gl);this.register((0,s.addDisposableDomListener)(this._canvas,"webglcontextlost",(e=>{console.log("webglcontextlost event received"),e.preventDefault(),this._contextRestorationTimeout=setTimeout((()=>{this._contextRestorationTimeout=void 0,console.warn("webgl context not restored; firing onContextLoss"),this._onContextLoss.fire(e)}),3e3)}))),this.register((0,s.addDisposableDomListener)(this._canvas,"webglcontextrestored",(e=>{console.warn("webglcontextrestored event received"),clearTimeout(this._contextRestorationTimeout),this._contextRestorationTimeout=void 0,(0,o.removeTerminalFromCache)(this._terminal),this._initializeWebGLState(),this._requestRedrawViewport()}))),this._observerDisposable.value=(0,a.observeDevicePixelDimensions)(this._canvas,this._coreBrowserService.window,((e,t)=>this._setCanvasDevicePixelDimensions(e,t))),this.register(this._coreBrowserService.onWindowChange((e=>{this._observerDisposable.value=(0,a.observeDevicePixelDimensions)(this._canvas,e,((e,t)=>this._setCanvasDevicePixelDimensions(e,t)))}))),this._core.screenElement.appendChild(this._canvas),[this._rectangleRenderer.value,this._glyphRenderer.value]=this._initializeWebGLState(),this._isAttached=this._coreBrowserService.window.document.body.contains(this._core.screenElement),this.register((0,c.toDisposable)((()=>{for(const e of this._renderLayers)e.dispose();this._canvas.parentElement?.removeChild(this._canvas),(0,o.removeTerminalFromCache)(this._terminal)})))}get textureAtlas(){return this._charAtlas?.pages[0].canvas}_handleColorChange(){this._refreshCharAtlas(),this._clearModel(!0)}handleDevicePixelRatioChange(){this._devicePixelRatio!==this._coreBrowserService.dpr&&(this._devicePixelRatio=this._coreBrowserService.dpr,this.handleResize(this._terminal.cols,this._terminal.rows))}handleResize(e,t){this._updateDimensions(),this._model.resize(this._terminal.cols,this._terminal.rows);for(const i of this._renderLayers)i.resize(this._terminal,this.dimensions);this._canvas.width=this.dimensions.device.canvas.width,this._canvas.height=this.dimensions.device.canvas.height,this._canvas.style.width=`${this.dimensions.css.canvas.width}px`,this._canvas.style.height=`${this.dimensions.css.canvas.height}px`,this._core.screenElement.style.width=`${this.dimensions.css.canvas.width}px`,this._core.screenElement.style.height=`${this.dimensions.css.canvas.height}px`,this._rectangleRenderer.value?.setDimensions(this.dimensions),this._rectangleRenderer.value?.handleResize(),this._glyphRenderer.value?.setDimensions(this.dimensions),this._glyphRenderer.value?.handleResize(),this._refreshCharAtlas(),this._clearModel(!1)}handleCharSizeChanged(){this.handleResize(this._terminal.cols,this._terminal.rows)}handleBlur(){for(const e of this._renderLayers)e.handleBlur(this._terminal);this._cursorBlinkStateManager.value?.pause(),this._requestRedrawViewport()}handleFocus(){for(const e of this._renderLayers)e.handleFocus(this._terminal);this._cursorBlinkStateManager.value?.resume(),this._requestRedrawViewport()}handleSelectionChanged(e,t,i){for(const s of this._renderLayers)s.handleSelectionChanged(this._terminal,e,t,i);this._model.selection.update(this._core,e,t,i),this._requestRedrawViewport()}handleCursorMove(){for(const e of this._renderLayers)e.handleCursorMove(this._terminal);this._cursorBlinkStateManager.value?.restartBlinkAnimation()}_handleOptionsChanged(){this._updateDimensions(),this._refreshCharAtlas(),this._updateCursorBlink()}_initializeWebGLState(){return this._rectangleRenderer.value=new v.RectangleRenderer(this._terminal,this._gl,this.dimensions,this._themeService),this._glyphRenderer.value=new g.GlyphRenderer(this._terminal,this._gl,this.dimensions,this._optionsService),this.handleCharSizeChanged(),[this._rectangleRenderer.value,this._glyphRenderer.value]}_refreshCharAtlas(){if(this.dimensions.device.char.width<=0&&this.dimensions.device.char.height<=0)return void(this._isAttached=!1);const e=(0,o.acquireTextureAtlas)(this._terminal,this._optionsService.rawOptions,this._themeService.colors,this.dimensions.device.cell.width,this.dimensions.device.cell.height,this.dimensions.device.char.width,this.dimensions.device.char.height,this._coreBrowserService.dpr);this._charAtlas!==e&&(this._onChangeTextureAtlas.fire(e.pages[0].canvas),this._charAtlasDisposable.value=(0,c.getDisposeArrayDisposable)([(0,l.forwardEvent)(e.onAddTextureAtlasCanvas,this._onAddTextureAtlasCanvas),(0,l.forwardEvent)(e.onRemoveTextureAtlasCanvas,this._onRemoveTextureAtlasCanvas)])),this._charAtlas=e,this._charAtlas.warmUp(),this._glyphRenderer.value?.setAtlas(this._charAtlas)}_clearModel(e){this._model.clear(),e&&this._glyphRenderer.value?.clear()}clearTextureAtlas(){this._charAtlas?.clearTexture(),this._clearModel(!0),this._requestRedrawViewport()}clear(){this._clearModel(!0);for(const e of this._renderLayers)e.reset(this._terminal);this._cursorBlinkStateManager.value?.restartBlinkAnimation(),this._updateCursorBlink()}registerCharacterJoiner(e){return-1}deregisterCharacterJoiner(e){return!1}renderRows(e,t){if(!this._isAttached){if(!(this._coreBrowserService.window.document.body.contains(this._core.screenElement)&&this._charSizeService.width&&this._charSizeService.height))return;this._updateDimensions(),this._refreshCharAtlas(),this._isAttached=!0}for(const i of this._renderLayers)i.handleGridChanged(this._terminal,e,t);this._glyphRenderer.value&&this._rectangleRenderer.value&&(this._glyphRenderer.value.beginFrame()?(this._clearModel(!0),this._updateModel(0,this._terminal.rows-1)):this._updateModel(e,t),this._rectangleRenderer.value.renderBackgrounds(),this._glyphRenderer.value.render(this._model),this._cursorBlinkStateManager.value&&!this._cursorBlinkStateManager.value.isCursorVisible||this._rectangleRenderer.value.renderCursor())}_updateCursorBlink(){this._terminal.options.cursorBlink?this._cursorBlinkStateManager.value=new n.CursorBlinkStateManager((()=>{this._requestRedrawCursor()}),this._coreBrowserService):this._cursorBlinkStateManager.clear(),this._requestRedrawCursor()}_updateModel(e,t){const i=this._core;let s,r,o,n,a,h,l,c,d,_,g,v,p,C,x=this._workCell;e=L(e,i.rows-1,0),t=L(t,i.rows-1,0);const w=this._terminal.buffer.active.baseY+this._terminal.buffer.active.cursorY,b=w-i.buffer.ydisp,M=Math.min(this._terminal.buffer.active.cursorX,i.cols-1);let R=-1;const y=this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden&&(!this._cursorBlinkStateManager.value||this._cursorBlinkStateManager.value.isCursorVisible);this._model.cursor=void 0;let A=!1;for(r=e;r<=t;r++)for(o=r+i.buffer.ydisp,n=i.buffer.lines.get(o),this._model.lineLengths[r]=0,a=this._characterJoinerService.getJoinedCharacters(o),p=0;p<i.cols;p++)if(s=this._cellColorResolver.result.bg,n.loadCell(p,x),0===p&&(s=this._cellColorResolver.result.bg),h=!1,l=p,a.length>0&&p===a[0][0]&&(h=!0,c=a.shift(),x=new m(x,n.translateToString(!0,c[0],c[1]),c[1]-c[0]),l=c[1]-1),d=x.getChars(),_=x.getCode(),v=(r*i.cols+p)*f.RENDER_MODEL_INDICIES_PER_CELL,this._cellColorResolver.resolve(x,p,o,this.dimensions.device.cell.width),y&&o===w&&(p===M&&(this._model.cursor={x:M,y:b,width:x.getWidth(),style:this._coreBrowserService.isFocused?i.options.cursorStyle||"block":i.options.cursorInactiveStyle,cursorWidth:i.options.cursorWidth,dpr:this._devicePixelRatio},R=M+x.getWidth()-1),p>=M&&p<=R&&(this._coreBrowserService.isFocused&&"block"===(i.options.cursorStyle||"block")||!1===this._coreBrowserService.isFocused&&"block"===i.options.cursorInactiveStyle)&&(this._cellColorResolver.result.fg=50331648|this._themeService.colors.cursorAccent.rgba>>8&16777215,this._cellColorResolver.result.bg=50331648|this._themeService.colors.cursor.rgba>>8&16777215)),_!==u.NULL_CELL_CODE&&(this._model.lineLengths[r]=p+1),(this._model.cells[v]!==_||this._model.cells[v+f.RENDER_MODEL_BG_OFFSET]!==this._cellColorResolver.result.bg||this._model.cells[v+f.RENDER_MODEL_FG_OFFSET]!==this._cellColorResolver.result.fg||this._model.cells[v+f.RENDER_MODEL_EXT_OFFSET]!==this._cellColorResolver.result.ext)&&(A=!0,d.length>1&&(_|=f.COMBINED_CHAR_BIT_MASK),this._model.cells[v]=_,this._model.cells[v+f.RENDER_MODEL_BG_OFFSET]=this._cellColorResolver.result.bg,this._model.cells[v+f.RENDER_MODEL_FG_OFFSET]=this._cellColorResolver.result.fg,this._model.cells[v+f.RENDER_MODEL_EXT_OFFSET]=this._cellColorResolver.result.ext,g=x.getWidth(),this._glyphRenderer.value.updateCell(p,r,_,this._cellColorResolver.result.bg,this._cellColorResolver.result.fg,this._cellColorResolver.result.ext,d,g,s),h))for(x=this._workCell,p++;p<l;p++)C=(r*i.cols+p)*f.RENDER_MODEL_INDICIES_PER_CELL,this._glyphRenderer.value.updateCell(p,r,u.NULL_CELL_CODE,0,0,0,u.NULL_CELL_CHAR,0,0),this._model.cells[C]=u.NULL_CELL_CODE,this._model.cells[C+f.RENDER_MODEL_BG_OFFSET]=this._cellColorResolver.result.bg,this._model.cells[C+f.RENDER_MODEL_FG_OFFSET]=this._cellColorResolver.result.fg,this._model.cells[C+f.RENDER_MODEL_EXT_OFFSET]=this._cellColorResolver.result.ext;A&&this._rectangleRenderer.value.updateBackgrounds(this._model),this._rectangleRenderer.value.updateCursor(this._model)}_updateDimensions(){this._charSizeService.width&&this._charSizeService.height&&(this.dimensions.device.char.width=Math.floor(this._charSizeService.width*this._devicePixelRatio),this.dimensions.device.char.height=Math.ceil(this._charSizeService.height*this._devicePixelRatio),this.dimensions.device.cell.height=Math.floor(this.dimensions.device.char.height*this._optionsService.rawOptions.lineHeight),this.dimensions.device.char.top=1===this._optionsService.rawOptions.lineHeight?0:Math.round((this.dimensions.device.cell.height-this.dimensions.device.char.height)/2),this.dimensions.device.cell.width=this.dimensions.device.char.width+Math.round(this._optionsService.rawOptions.letterSpacing),this.dimensions.device.char.left=Math.floor(this._optionsService.rawOptions.letterSpacing/2),this.dimensions.device.canvas.height=this._terminal.rows*this.dimensions.device.cell.height,this.dimensions.device.canvas.width=this._terminal.cols*this.dimensions.device.cell.width,this.dimensions.css.canvas.height=Math.round(this.dimensions.device.canvas.height/this._devicePixelRatio),this.dimensions.css.canvas.width=Math.round(this.dimensions.device.canvas.width/this._devicePixelRatio),this.dimensions.css.cell.height=this.dimensions.device.cell.height/this._devicePixelRatio,this.dimensions.css.cell.width=this.dimensions.device.cell.width/this._devicePixelRatio)}_setCanvasDevicePixelDimensions(e,t){this._canvas.width===e&&this._canvas.height===t||(this._canvas.width=e,this._canvas.height=t,this._requestRedrawViewport())}_requestRedrawViewport(){this._onRequestRedraw.fire({start:0,end:this._terminal.rows-1})}_requestRedrawCursor(){const e=this._terminal.buffer.active.cursorY;this._onRequestRedraw.fire({start:e,end:e})}}t.WebglRenderer=C;class m extends d.AttributeData{constructor(e,t,i){super(),this.content=0,this.combinedData="",this.fg=e.fg,this.bg=e.bg,this.combinedData=t,this._width=i}isCombined(){return 2097152}getWidth(){return this._width}getChars(){return this.combinedData}getCode(){return 2097151}setFromCharData(e){throw new Error("not implemented")}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}function L(e,t,i=0){return Math.max(Math.min(e,t),i)}t.JoinedCellData=m},381:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GLTexture=t.expandFloat32Array=t.createShader=t.createProgram=t.PROJECTION_MATRIX=void 0;const s=i(374);function r(e,t,i){const r=(0,s.throwIfFalsy)(e.createShader(t));if(e.shaderSource(r,i),e.compileShader(r),e.getShaderParameter(r,e.COMPILE_STATUS))return r;console.error(e.getShaderInfoLog(r)),e.deleteShader(r)}t.PROJECTION_MATRIX=new Float32Array([2,0,0,0,0,-2,0,0,0,0,1,0,-1,1,0,1]),t.createProgram=function(e,t,i){const o=(0,s.throwIfFalsy)(e.createProgram());if(e.attachShader(o,(0,s.throwIfFalsy)(r(e,e.VERTEX_SHADER,t))),e.attachShader(o,(0,s.throwIfFalsy)(r(e,e.FRAGMENT_SHADER,i))),e.linkProgram(o),e.getProgramParameter(o,e.LINK_STATUS))return o;console.error(e.getProgramInfoLog(o)),e.deleteProgram(o)},t.createShader=r,t.expandFloat32Array=function(e,t){const i=Math.min(2*e.length,t),s=new Float32Array(i);for(let r=0;r<e.length;r++)s[r]=e[r];return s},t.GLTexture=class{constructor(e){this.texture=e,this.version=-1}}},592:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseRenderLayer=void 0;const s=i(627),r=i(237),o=i(374),n=i(859);class a extends n.Disposable{constructor(e,t,i,s,r,o,a,h){super(),this._container=t,this._alpha=r,this._coreBrowserService=o,this._optionsService=a,this._themeService=h,this._deviceCharWidth=0,this._deviceCharHeight=0,this._deviceCellWidth=0,this._deviceCellHeight=0,this._deviceCharLeft=0,this._deviceCharTop=0,this._canvas=this._coreBrowserService.mainDocument.createElement("canvas"),this._canvas.classList.add(`xterm-${i}-layer`),this._canvas.style.zIndex=s.toString(),this._initCanvas(),this._container.appendChild(this._canvas),this.register(this._themeService.onChangeColors((t=>{this._refreshCharAtlas(e,t),this.reset(e)}))),this.register((0,n.toDisposable)((()=>{this._canvas.remove()})))}_initCanvas(){this._ctx=(0,o.throwIfFalsy)(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()}handleBlur(e){}handleFocus(e){}handleCursorMove(e){}handleGridChanged(e,t,i){}handleSelectionChanged(e,t,i,s=!1){}_setTransparency(e,t){if(t===this._alpha)return;const i=this._canvas;this._alpha=t,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,i),this._refreshCharAtlas(e,this._themeService.colors),this.handleGridChanged(e,0,e.rows-1)}_refreshCharAtlas(e,t){this._deviceCharWidth<=0&&this._deviceCharHeight<=0||(this._charAtlas=(0,s.acquireTextureAtlas)(e,this._optionsService.rawOptions,t,this._deviceCellWidth,this._deviceCellHeight,this._deviceCharWidth,this._deviceCharHeight,this._coreBrowserService.dpr),this._charAtlas.warmUp())}resize(e,t){this._deviceCellWidth=t.device.cell.width,this._deviceCellHeight=t.device.cell.height,this._deviceCharWidth=t.device.char.width,this._deviceCharHeight=t.device.char.height,this._deviceCharLeft=t.device.char.left,this._deviceCharTop=t.device.char.top,this._canvas.width=t.device.canvas.width,this._canvas.height=t.device.canvas.height,this._canvas.style.width=`${t.css.canvas.width}px`,this._canvas.style.height=`${t.css.canvas.height}px`,this._alpha||this._clearAll(),this._refreshCharAtlas(e,this._themeService.colors)}_fillBottomLineAtCells(e,t,i=1){this._ctx.fillRect(e*this._deviceCellWidth,(t+1)*this._deviceCellHeight-this._coreBrowserService.dpr-1,i*this._deviceCellWidth,this._coreBrowserService.dpr)}_clearAll(){this._alpha?this._ctx.clearRect(0,0,this._canvas.width,this._canvas.height):(this._ctx.fillStyle=this._themeService.colors.background.css,this._ctx.fillRect(0,0,this._canvas.width,this._canvas.height))}_clearCells(e,t,i,s){this._alpha?this._ctx.clearRect(e*this._deviceCellWidth,t*this._deviceCellHeight,i*this._deviceCellWidth,s*this._deviceCellHeight):(this._ctx.fillStyle=this._themeService.colors.background.css,this._ctx.fillRect(e*this._deviceCellWidth,t*this._deviceCellHeight,i*this._deviceCellWidth,s*this._deviceCellHeight))}_fillCharTrueColor(e,t,i,s){this._ctx.font=this._getFont(e,!1,!1),this._ctx.textBaseline=r.TEXT_BASELINE,this._clipCell(i,s,t.getWidth()),this._ctx.fillText(t.getChars(),i*this._deviceCellWidth+this._deviceCharLeft,s*this._deviceCellHeight+this._deviceCharTop+this._deviceCharHeight)}_clipCell(e,t,i){this._ctx.beginPath(),this._ctx.rect(e*this._deviceCellWidth,t*this._deviceCellHeight,i*this._deviceCellWidth,this._deviceCellHeight),this._ctx.clip()}_getFont(e,t,i){return`${i?"italic":""} ${t?e.options.fontWeightBold:e.options.fontWeight} ${e.options.fontSize*this._coreBrowserService.dpr}px ${e.options.fontFamily}`}}t.BaseRenderLayer=a},733:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LinkRenderLayer=void 0;const s=i(197),r=i(237),o=i(592);class n extends o.BaseRenderLayer{constructor(e,t,i,s,r,o,n){super(i,e,"link",t,!0,r,o,n),this.register(s.onShowLinkUnderline((e=>this._handleShowLinkUnderline(e)))),this.register(s.onHideLinkUnderline((e=>this._handleHideLinkUnderline(e))))}resize(e,t){super.resize(e,t),this._state=void 0}reset(e){this._clearCurrentLink()}_clearCurrentLink(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);const e=this._state.y2-this._state.y1-1;e>0&&this._clearCells(0,this._state.y1+1,this._state.cols,e),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}}_handleShowLinkUnderline(e){if(e.fg===r.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._themeService.colors.background.css:void 0!==e.fg&&(0,s.is256Color)(e.fg)?this._ctx.fillStyle=this._themeService.colors.ansi[e.fg].css:this._ctx.fillStyle=this._themeService.colors.foreground.css,e.y1===e.y2)this._fillBottomLineAtCells(e.x1,e.y1,e.x2-e.x1);else{this._fillBottomLineAtCells(e.x1,e.y1,e.cols-e.x1);for(let t=e.y1+1;t<e.y2;t++)this._fillBottomLineAtCells(0,t,e.cols);this._fillBottomLineAtCells(0,e.y2,e.x2)}this._state=e}_handleHideLinkUnderline(e){this._clearCurrentLink()}}t.LinkRenderLayer=n},820:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.addDisposableDomListener=void 0,t.addDisposableDomListener=function(e,t,i,s){e.addEventListener(t,i,s);let r=!1;return{dispose:()=>{r||(r=!0,e.removeEventListener(t,i,s))}}}},274:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CellColorResolver=void 0;const s=i(855),r=i(160),o=i(374);let n,a=0,h=0,l=!1,c=!1,d=!1,_=0;t.CellColorResolver=class{constructor(e,t,i,s,r,o){this._terminal=e,this._optionService=t,this._selectionRenderModel=i,this._decorationService=s,this._coreBrowserService=r,this._themeService=o,this.result={fg:0,bg:0,ext:0}}resolve(e,t,i,u){if(this.result.bg=e.bg,this.result.fg=e.fg,this.result.ext=268435456&e.bg?e.extended.ext:0,h=0,a=0,c=!1,l=!1,d=!1,n=this._themeService.colors,_=0,e.getCode()!==s.NULL_CELL_CODE&&4===e.extended.underlineStyle){const e=Math.max(1,Math.floor(this._optionService.rawOptions.fontSize*this._coreBrowserService.dpr/15));_=t*u%(2*Math.round(e))}if(this._decorationService.forEachDecorationAtCell(t,i,"bottom",(e=>{e.backgroundColorRGB&&(h=e.backgroundColorRGB.rgba>>8&16777215,c=!0),e.foregroundColorRGB&&(a=e.foregroundColorRGB.rgba>>8&16777215,l=!0)})),d=this._selectionRenderModel.isCellSelected(this._terminal,t,i),d){if(67108864&this.result.fg||0!=(50331648&this.result.bg)){if(67108864&this.result.fg)switch(50331648&this.result.fg){case 16777216:case 33554432:h=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:h=(16777215&this.result.fg)<<8|255;break;default:h=this._themeService.colors.foreground.rgba}else switch(50331648&this.result.bg){case 16777216:case 33554432:h=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:h=(16777215&this.result.bg)<<8|255}h=r.rgba.blend(h,4294967040&(this._coreBrowserService.isFocused?n.selectionBackgroundOpaque:n.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}else h=(this._coreBrowserService.isFocused?n.selectionBackgroundOpaque:n.selectionInactiveBackgroundOpaque).rgba>>8&16777215;if(c=!0,n.selectionForeground&&(a=n.selectionForeground.rgba>>8&16777215,l=!0),(0,o.treatGlyphAsBackgroundColor)(e.getCode())){if(67108864&this.result.fg&&0==(50331648&this.result.bg))a=(this._coreBrowserService.isFocused?n.selectionBackgroundOpaque:n.selectionInactiveBackgroundOpaque).rgba>>8&16777215;else{if(67108864&this.result.fg)switch(50331648&this.result.bg){case 16777216:case 33554432:a=this._themeService.colors.ansi[255&this.result.bg].rgba;break;case 50331648:a=(16777215&this.result.bg)<<8|255}else switch(50331648&this.result.fg){case 16777216:case 33554432:a=this._themeService.colors.ansi[255&this.result.fg].rgba;break;case 50331648:a=(16777215&this.result.fg)<<8|255;break;default:a=this._themeService.colors.foreground.rgba}a=r.rgba.blend(a,4294967040&(this._coreBrowserService.isFocused?n.selectionBackgroundOpaque:n.selectionInactiveBackgroundOpaque).rgba|128)>>8&16777215}l=!0}}this._decorationService.forEachDecorationAtCell(t,i,"top",(e=>{e.backgroundColorRGB&&(h=e.backgroundColorRGB.rgba>>8&16777215,c=!0),e.foregroundColorRGB&&(a=e.foregroundColorRGB.rgba>>8&16777215,l=!0)})),c&&(h=d?-16777216&e.bg&-134217729|h|50331648:-16777216&e.bg|h|50331648),l&&(a=-16777216&e.fg&-67108865|a|50331648),67108864&this.result.fg&&(c&&!l&&(a=0==(50331648&this.result.bg)?-134217728&this.result.fg|16777215&n.background.rgba>>8|50331648:-134217728&this.result.fg|67108863&this.result.bg,l=!0),!c&&l&&(h=0==(50331648&this.result.fg)?-67108864&this.result.bg|16777215&n.foreground.rgba>>8|50331648:-67108864&this.result.bg|67108863&this.result.fg,c=!0)),n=void 0,this.result.bg=c?h:this.result.bg,this.result.fg=l?a:this.result.fg,this.result.ext&=536870911,this.result.ext|=_<<29&3758096384}}},627:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.removeTerminalFromCache=t.acquireTextureAtlas=void 0;const s=i(509),r=i(197),o=[];t.acquireTextureAtlas=function(e,t,i,n,a,h,l,c){const d=(0,r.generateConfig)(n,a,h,l,t,i,c);for(let s=0;s<o.length;s++){const t=o[s],i=t.ownedBy.indexOf(e);if(i>=0){if((0,r.configEquals)(t.config,d))return t.atlas;1===t.ownedBy.length?(t.atlas.dispose(),o.splice(s,1)):t.ownedBy.splice(i,1);break}}for(let s=0;s<o.length;s++){const t=o[s];if((0,r.configEquals)(t.config,d))return t.ownedBy.push(e),t.atlas}const _=e._core,u={atlas:new s.TextureAtlas(document,d,_.unicodeService),config:d,ownedBy:[e]};return o.push(u),u.atlas},t.removeTerminalFromCache=function(e){for(let t=0;t<o.length;t++){const i=o[t].ownedBy.indexOf(e);if(-1!==i){1===o[t].ownedBy.length?(o[t].atlas.dispose(),o.splice(t,1)):o[t].ownedBy.splice(i,1);break}}}},197:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.is256Color=t.configEquals=t.generateConfig=void 0;const s=i(160);t.generateConfig=function(e,t,i,r,o,n,a){const h={foreground:n.foreground,background:n.background,cursor:s.NULL_COLOR,cursorAccent:s.NULL_COLOR,selectionForeground:s.NULL_COLOR,selectionBackgroundTransparent:s.NULL_COLOR,selectionBackgroundOpaque:s.NULL_COLOR,selectionInactiveBackgroundTransparent:s.NULL_COLOR,selectionInactiveBackgroundOpaque:s.NULL_COLOR,ansi:n.ansi.slice(),contrastCache:n.contrastCache,halfContrastCache:n.halfContrastCache};return{customGlyphs:o.customGlyphs,devicePixelRatio:a,letterSpacing:o.letterSpacing,lineHeight:o.lineHeight,deviceCellWidth:e,deviceCellHeight:t,deviceCharWidth:i,deviceCharHeight:r,fontFamily:o.fontFamily,fontSize:o.fontSize,fontWeight:o.fontWeight,fontWeightBold:o.fontWeightBold,allowTransparency:o.allowTransparency,drawBoldTextInBrightColors:o.drawBoldTextInBrightColors,minimumContrastRatio:o.minimumContrastRatio,colors:h}},t.configEquals=function(e,t){for(let i=0;i<e.colors.ansi.length;i++)if(e.colors.ansi[i].rgba!==t.colors.ansi[i].rgba)return!1;return e.devicePixelRatio===t.devicePixelRatio&&e.customGlyphs===t.customGlyphs&&e.lineHeight===t.lineHeight&&e.letterSpacing===t.letterSpacing&&e.fontFamily===t.fontFamily&&e.fontSize===t.fontSize&&e.fontWeight===t.fontWeight&&e.fontWeightBold===t.fontWeightBold&&e.allowTransparency===t.allowTransparency&&e.deviceCharWidth===t.deviceCharWidth&&e.deviceCharHeight===t.deviceCharHeight&&e.drawBoldTextInBrightColors===t.drawBoldTextInBrightColors&&e.minimumContrastRatio===t.minimumContrastRatio&&e.colors.foreground.rgba===t.colors.foreground.rgba&&e.colors.background.rgba===t.colors.background.rgba},t.is256Color=function(e){return 16777216==(50331648&e)||33554432==(50331648&e)}},237:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TEXT_BASELINE=t.DIM_OPACITY=t.INVERTED_DEFAULT_COLOR=void 0;const s=i(399);t.INVERTED_DEFAULT_COLOR=257,t.DIM_OPACITY=.5,t.TEXT_BASELINE=s.isFirefox||s.isLegacyEdge?"bottom":"ideographic"},457:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CursorBlinkStateManager=void 0;t.CursorBlinkStateManager=class{constructor(e,t){this._renderCallback=e,this._coreBrowserService=t,this.isCursorVisible=!0,this._coreBrowserService.isFocused&&this._restartInterval()}get isPaused(){return!(this._blinkStartTimeout||this._blinkInterval)}dispose(){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}restartBlinkAnimation(){this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))))}_restartInterval(e=600){this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout=this._coreBrowserService.window.setTimeout((()=>{if(this._animationTimeRestarted){const e=600-(Date.now()-this._animationTimeRestarted);if(this._animationTimeRestarted=void 0,e>0)return void this._restartInterval(e)}this.isCursorVisible=!1,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0})),this._blinkInterval=this._coreBrowserService.window.setInterval((()=>{if(this._animationTimeRestarted){const e=600-(Date.now()-this._animationTimeRestarted);return this._animationTimeRestarted=void 0,void this._restartInterval(e)}this.isCursorVisible=!this.isCursorVisible,this._animationFrame=this._coreBrowserService.window.requestAnimationFrame((()=>{this._renderCallback(),this._animationFrame=void 0}))}),600)}),e)}pause(){this.isCursorVisible=!0,this._blinkInterval&&(this._coreBrowserService.window.clearInterval(this._blinkInterval),this._blinkInterval=void 0),this._blinkStartTimeout&&(this._coreBrowserService.window.clearTimeout(this._blinkStartTimeout),this._blinkStartTimeout=void 0),this._animationFrame&&(this._coreBrowserService.window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)}resume(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()}}},860:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.tryDrawCustomChar=t.powerlineDefinitions=t.boxDrawingDefinitions=t.blockElementDefinitions=void 0;const s=i(374);t.blockElementDefinitions={"▀":[{x:0,y:0,w:8,h:4}],"▁":[{x:0,y:7,w:8,h:1}],"▂":[{x:0,y:6,w:8,h:2}],"▃":[{x:0,y:5,w:8,h:3}],"▄":[{x:0,y:4,w:8,h:4}],"▅":[{x:0,y:3,w:8,h:5}],"▆":[{x:0,y:2,w:8,h:6}],"▇":[{x:0,y:1,w:8,h:7}],"█":[{x:0,y:0,w:8,h:8}],"▉":[{x:0,y:0,w:7,h:8}],"▊":[{x:0,y:0,w:6,h:8}],"▋":[{x:0,y:0,w:5,h:8}],"▌":[{x:0,y:0,w:4,h:8}],"▍":[{x:0,y:0,w:3,h:8}],"▎":[{x:0,y:0,w:2,h:8}],"▏":[{x:0,y:0,w:1,h:8}],"▐":[{x:4,y:0,w:4,h:8}],"▔":[{x:0,y:0,w:8,h:1}],"▕":[{x:7,y:0,w:1,h:8}],"▖":[{x:0,y:4,w:4,h:4}],"▗":[{x:4,y:4,w:4,h:4}],"▘":[{x:0,y:0,w:4,h:4}],"▙":[{x:0,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"▚":[{x:0,y:0,w:4,h:4},{x:4,y:4,w:4,h:4}],"▛":[{x:0,y:0,w:4,h:8},{x:4,y:0,w:4,h:4}],"▜":[{x:0,y:0,w:8,h:4},{x:4,y:0,w:4,h:8}],"▝":[{x:4,y:0,w:4,h:4}],"▞":[{x:4,y:0,w:4,h:4},{x:0,y:4,w:4,h:4}],"▟":[{x:4,y:0,w:4,h:8},{x:0,y:4,w:8,h:4}],"🭰":[{x:1,y:0,w:1,h:8}],"🭱":[{x:2,y:0,w:1,h:8}],"🭲":[{x:3,y:0,w:1,h:8}],"🭳":[{x:4,y:0,w:1,h:8}],"🭴":[{x:5,y:0,w:1,h:8}],"🭵":[{x:6,y:0,w:1,h:8}],"🭶":[{x:0,y:1,w:8,h:1}],"🭷":[{x:0,y:2,w:8,h:1}],"🭸":[{x:0,y:3,w:8,h:1}],"🭹":[{x:0,y:4,w:8,h:1}],"🭺":[{x:0,y:5,w:8,h:1}],"🭻":[{x:0,y:6,w:8,h:1}],"🭼":[{x:0,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🭽":[{x:0,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭾":[{x:7,y:0,w:1,h:8},{x:0,y:0,w:8,h:1}],"🭿":[{x:7,y:0,w:1,h:8},{x:0,y:7,w:8,h:1}],"🮀":[{x:0,y:0,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮁":[{x:0,y:0,w:8,h:1},{x:0,y:2,w:8,h:1},{x:0,y:4,w:8,h:1},{x:0,y:7,w:8,h:1}],"🮂":[{x:0,y:0,w:8,h:2}],"🮃":[{x:0,y:0,w:8,h:3}],"🮄":[{x:0,y:0,w:8,h:5}],"🮅":[{x:0,y:0,w:8,h:6}],"🮆":[{x:0,y:0,w:8,h:7}],"🮇":[{x:6,y:0,w:2,h:8}],"🮈":[{x:5,y:0,w:3,h:8}],"🮉":[{x:3,y:0,w:5,h:8}],"🮊":[{x:2,y:0,w:6,h:8}],"🮋":[{x:1,y:0,w:7,h:8}],"🮕":[{x:0,y:0,w:2,h:2},{x:4,y:0,w:2,h:2},{x:2,y:2,w:2,h:2},{x:6,y:2,w:2,h:2},{x:0,y:4,w:2,h:2},{x:4,y:4,w:2,h:2},{x:2,y:6,w:2,h:2},{x:6,y:6,w:2,h:2}],"🮖":[{x:2,y:0,w:2,h:2},{x:6,y:0,w:2,h:2},{x:0,y:2,w:2,h:2},{x:4,y:2,w:2,h:2},{x:2,y:4,w:2,h:2},{x:6,y:4,w:2,h:2},{x:0,y:6,w:2,h:2},{x:4,y:6,w:2,h:2}],"🮗":[{x:0,y:2,w:8,h:2},{x:0,y:6,w:8,h:2}]};const r={"░":[[1,0,0,0],[0,0,0,0],[0,0,1,0],[0,0,0,0]],"▒":[[1,0],[0,0],[0,1],[0,0]],"▓":[[0,1],[1,1],[1,0],[1,1]]};t.boxDrawingDefinitions={"─":{1:"M0,.5 L1,.5"},"━":{3:"M0,.5 L1,.5"},"│":{1:"M.5,0 L.5,1"},"┃":{3:"M.5,0 L.5,1"},"┌":{1:"M0.5,1 L.5,.5 L1,.5"},"┏":{3:"M0.5,1 L.5,.5 L1,.5"},"┐":{1:"M0,.5 L.5,.5 L.5,1"},"┓":{3:"M0,.5 L.5,.5 L.5,1"},"└":{1:"M.5,0 L.5,.5 L1,.5"},"┗":{3:"M.5,0 L.5,.5 L1,.5"},"┘":{1:"M.5,0 L.5,.5 L0,.5"},"┛":{3:"M.5,0 L.5,.5 L0,.5"},"├":{1:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┣":{3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"┤":{1:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┫":{3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"┬":{1:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┳":{3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"┴":{1:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┻":{3:"M0,.5 L1,.5 M.5,.5 L.5,0"},"┼":{1:"M0,.5 L1,.5 M.5,0 L.5,1"},"╋":{3:"M0,.5 L1,.5 M.5,0 L.5,1"},"╴":{1:"M.5,.5 L0,.5"},"╸":{3:"M.5,.5 L0,.5"},"╵":{1:"M.5,.5 L.5,0"},"╹":{3:"M.5,.5 L.5,0"},"╶":{1:"M.5,.5 L1,.5"},"╺":{3:"M.5,.5 L1,.5"},"╷":{1:"M.5,.5 L.5,1"},"╻":{3:"M.5,.5 L.5,1"},"═":{1:(e,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"║":{1:(e,t)=>`M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1`},"╒":{1:(e,t)=>`M.5,1 L.5,${.5-t} L1,${.5-t} M.5,${.5+t} L1,${.5+t}`},"╓":{1:(e,t)=>`M${.5-e},1 L${.5-e},.5 L1,.5 M${.5+e},.5 L${.5+e},1`},"╔":{1:(e,t)=>`M1,${.5-t} L${.5-e},${.5-t} L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1`},"╕":{1:(e,t)=>`M0,${.5-t} L.5,${.5-t} L.5,1 M0,${.5+t} L.5,${.5+t}`},"╖":{1:(e,t)=>`M${.5+e},1 L${.5+e},.5 L0,.5 M${.5-e},.5 L${.5-e},1`},"╗":{1:(e,t)=>`M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M0,${.5-t} L${.5+e},${.5-t} L${.5+e},1`},"╘":{1:(e,t)=>`M.5,0 L.5,${.5+t} L1,${.5+t} M.5,${.5-t} L1,${.5-t}`},"╙":{1:(e,t)=>`M1,.5 L${.5-e},.5 L${.5-e},0 M${.5+e},.5 L${.5+e},0`},"╚":{1:(e,t)=>`M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0 M1,${.5+t} L${.5-e},${.5+t} L${.5-e},0`},"╛":{1:(e,t)=>`M0,${.5+t} L.5,${.5+t} L.5,0 M0,${.5-t} L.5,${.5-t}`},"╜":{1:(e,t)=>`M0,.5 L${.5+e},.5 L${.5+e},0 M${.5-e},.5 L${.5-e},0`},"╝":{1:(e,t)=>`M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0 M0,${.5+t} L${.5+e},${.5+t} L${.5+e},0`},"╞":{1:(e,t)=>`M.5,0 L.5,1 M.5,${.5-t} L1,${.5-t} M.5,${.5+t} L1,${.5+t}`},"╟":{1:(e,t)=>`M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1 M${.5+e},.5 L1,.5`},"╠":{1:(e,t)=>`M${.5-e},0 L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1 M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0`},"╡":{1:(e,t)=>`M.5,0 L.5,1 M0,${.5-t} L.5,${.5-t} M0,${.5+t} L.5,${.5+t}`},"╢":{1:(e,t)=>`M0,.5 L${.5-e},.5 M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1`},"╣":{1:(e,t)=>`M${.5+e},0 L${.5+e},1 M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0`},"╤":{1:(e,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t} M.5,${.5+t} L.5,1`},"╥":{1:(e,t)=>`M0,.5 L1,.5 M${.5-e},.5 L${.5-e},1 M${.5+e},.5 L${.5+e},1`},"╦":{1:(e,t)=>`M0,${.5-t} L1,${.5-t} M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1`},"╧":{1:(e,t)=>`M.5,0 L.5,${.5-t} M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"╨":{1:(e,t)=>`M0,.5 L1,.5 M${.5-e},.5 L${.5-e},0 M${.5+e},.5 L${.5+e},0`},"╩":{1:(e,t)=>`M0,${.5+t} L1,${.5+t} M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0 M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0`},"╪":{1:(e,t)=>`M.5,0 L.5,1 M0,${.5-t} L1,${.5-t} M0,${.5+t} L1,${.5+t}`},"╫":{1:(e,t)=>`M0,.5 L1,.5 M${.5-e},0 L${.5-e},1 M${.5+e},0 L${.5+e},1`},"╬":{1:(e,t)=>`M0,${.5+t} L${.5-e},${.5+t} L${.5-e},1 M1,${.5+t} L${.5+e},${.5+t} L${.5+e},1 M0,${.5-t} L${.5-e},${.5-t} L${.5-e},0 M1,${.5-t} L${.5+e},${.5-t} L${.5+e},0`},"╱":{1:"M1,0 L0,1"},"╲":{1:"M0,0 L1,1"},"╳":{1:"M1,0 L0,1 M0,0 L1,1"},"╼":{1:"M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"╽":{1:"M.5,.5 L.5,0",3:"M.5,.5 L.5,1"},"╾":{1:"M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"╿":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┍":{1:"M.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┎":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┑":{1:"M.5,.5 L.5,1",3:"M.5,.5 L0,.5"},"┒":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┕":{1:"M.5,.5 L.5,0",3:"M.5,.5 L1,.5"},"┖":{1:"M.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┙":{1:"M.5,.5 L.5,0",3:"M.5,.5 L0,.5"},"┚":{1:"M.5,.5 L0,.5",3:"M.5,.5 L.5,0"},"┝":{1:"M.5,0 L.5,1",3:"M.5,.5 L1,.5"},"┞":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L.5,0"},"┟":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L.5,1"},"┠":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1"},"┡":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"┢":{1:"M.5,.5 L.5,0",3:"M0.5,1 L.5,.5 L1,.5"},"┥":{1:"M.5,0 L.5,1",3:"M.5,.5 L0,.5"},"┦":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"┧":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L.5,1"},"┨":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1"},"┩":{1:"M.5,.5 L.5,1",3:"M.5,0 L.5,.5 L0,.5"},"┪":{1:"M.5,.5 L.5,0",3:"M0,.5 L.5,.5 L.5,1"},"┭":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┮":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,.5 L1,.5"},"┯":{1:"M.5,.5 L.5,1",3:"M0,.5 L1,.5"},"┰":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"┱":{1:"M.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"┲":{1:"M.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"┵":{1:"M.5,0 L.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┶":{1:"M.5,0 L.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┷":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5"},"┸":{1:"M0,.5 L1,.5",3:"M.5,.5 L.5,0"},"┹":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"┺":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,.5 L1,.5"},"┽":{1:"M.5,0 L.5,1 M.5,.5 L1,.5",3:"M.5,.5 L0,.5"},"┾":{1:"M.5,0 L.5,1 M.5,.5 L0,.5",3:"M.5,.5 L1,.5"},"┿":{1:"M.5,0 L.5,1",3:"M0,.5 L1,.5"},"╀":{1:"M0,.5 L1,.5 M.5,.5 L.5,1",3:"M.5,.5 L.5,0"},"╁":{1:"M.5,.5 L.5,0 M0,.5 L1,.5",3:"M.5,.5 L.5,1"},"╂":{1:"M0,.5 L1,.5",3:"M.5,0 L.5,1"},"╃":{1:"M0.5,1 L.5,.5 L1,.5",3:"M.5,0 L.5,.5 L0,.5"},"╄":{1:"M0,.5 L.5,.5 L.5,1",3:"M.5,0 L.5,.5 L1,.5"},"╅":{1:"M.5,0 L.5,.5 L1,.5",3:"M0,.5 L.5,.5 L.5,1"},"╆":{1:"M.5,0 L.5,.5 L0,.5",3:"M0.5,1 L.5,.5 L1,.5"},"╇":{1:"M.5,.5 L.5,1",3:"M.5,.5 L.5,0 M0,.5 L1,.5"},"╈":{1:"M.5,.5 L.5,0",3:"M0,.5 L1,.5 M.5,.5 L.5,1"},"╉":{1:"M.5,.5 L1,.5",3:"M.5,0 L.5,1 M.5,.5 L0,.5"},"╊":{1:"M.5,.5 L0,.5",3:"M.5,0 L.5,1 M.5,.5 L1,.5"},"╌":{1:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"╍":{3:"M.1,.5 L.4,.5 M.6,.5 L.9,.5"},"┄":{1:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┅":{3:"M.0667,.5 L.2667,.5 M.4,.5 L.6,.5 M.7333,.5 L.9333,.5"},"┈":{1:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"┉":{3:"M.05,.5 L.2,.5 M.3,.5 L.45,.5 M.55,.5 L.7,.5 M.8,.5 L.95,.5"},"╎":{1:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"╏":{3:"M.5,.1 L.5,.4 M.5,.6 L.5,.9"},"┆":{1:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┇":{3:"M.5,.0667 L.5,.2667 M.5,.4 L.5,.6 M.5,.7333 L.5,.9333"},"┊":{1:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"┋":{3:"M.5,.05 L.5,.2 M.5,.3 L.5,.45 L.5,.55 M.5,.7 L.5,.95"},"╭":{1:(e,t)=>`M.5,1 L.5,${.5+t/.15*.5} C.5,${.5+t/.15*.5},.5,.5,1,.5`},"╮":{1:(e,t)=>`M.5,1 L.5,${.5+t/.15*.5} C.5,${.5+t/.15*.5},.5,.5,0,.5`},"╯":{1:(e,t)=>`M.5,0 L.5,${.5-t/.15*.5} C.5,${.5-t/.15*.5},.5,.5,0,.5`},"╰":{1:(e,t)=>`M.5,0 L.5,${.5-t/.15*.5} C.5,${.5-t/.15*.5},.5,.5,1,.5`}},t.powerlineDefinitions={"":{d:"M0,0 L1,.5 L0,1",type:0,rightPadding:2},"":{d:"M-1,-.5 L1,.5 L-1,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1,0 L0,.5 L1,1",type:0,leftPadding:2},"":{d:"M2,-.5 L0,.5 L2,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M0,0 L0,1 C0.552,1,1,0.776,1,.5 C1,0.224,0.552,0,0,0",type:0,rightPadding:1},"":{d:"M.2,1 C.422,1,.8,.826,.78,.5 C.8,.174,0.422,0,.2,0",type:1,rightPadding:1},"":{d:"M1,0 L1,1 C0.448,1,0,0.776,0,.5 C0,0.224,0.448,0,1,0",type:0,leftPadding:1},"":{d:"M.8,1 C0.578,1,0.2,.826,.22,.5 C0.2,0.174,0.578,0,0.8,0",type:1,leftPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L-.5,1.5",type:0},"":{d:"M-.5,-.5 L1.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M1.5,-.5 L-.5,1.5 L1.5,1.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5 L-.5,-.5",type:0},"":{d:"M1.5,-.5 L-.5,1.5",type:1,leftPadding:1,rightPadding:1},"":{d:"M-.5,-.5 L1.5,1.5 L1.5,-.5",type:0}},t.powerlineDefinitions[""]=t.powerlineDefinitions[""],t.powerlineDefinitions[""]=t.powerlineDefinitions[""],t.tryDrawCustomChar=function(e,i,n,l,c,d,_,u){const g=t.blockElementDefinitions[i];if(g)return function(e,t,i,s,r,o){for(let n=0;n<t.length;n++){const a=t[n],h=r/8,l=o/8;e.fillRect(i+a.x*h,s+a.y*l,a.w*h,a.h*l)}}(e,g,n,l,c,d),!0;const v=r[i];if(v)return function(e,t,i,r,n,a){let h=o.get(t);h||(h=new Map,o.set(t,h));const l=e.fillStyle;if("string"!=typeof l)throw new Error(`Unexpected fillStyle type "${l}"`);let c=h.get(l);if(!c){const i=t[0].length,r=t.length,o=e.canvas.ownerDocument.createElement("canvas");o.width=i,o.height=r;const n=(0,s.throwIfFalsy)(o.getContext("2d")),a=new ImageData(i,r);let d,_,u,g;if(l.startsWith("#"))d=parseInt(l.slice(1,3),16),_=parseInt(l.slice(3,5),16),u=parseInt(l.slice(5,7),16),g=l.length>7&&parseInt(l.slice(7,9),16)||1;else{if(!l.startsWith("rgba"))throw new Error(`Unexpected fillStyle color format "${l}" when drawing pattern glyph`);[d,_,u,g]=l.substring(5,l.length-1).split(",").map((e=>parseFloat(e)))}for(let e=0;e<r;e++)for(let s=0;s<i;s++)a.data[4*(e*i+s)]=d,a.data[4*(e*i+s)+1]=_,a.data[4*(e*i+s)+2]=u,a.data[4*(e*i+s)+3]=t[e][s]*(255*g);n.putImageData(a,0,0),c=(0,s.throwIfFalsy)(e.createPattern(o,null)),h.set(l,c)}e.fillStyle=c,e.fillRect(i,r,n,a)}(e,v,n,l,c,d),!0;const f=t.boxDrawingDefinitions[i];if(f)return function(e,t,i,s,r,o,n){e.strokeStyle=e.fillStyle;for(const[l,c]of Object.entries(t)){let t;e.beginPath(),e.lineWidth=n*Number.parseInt(l),t="function"==typeof c?c(.15,.15/o*r):c;for(const l of t.split(" ")){const t=l[0],c=a[t];if(!c){console.error(`Could not find drawing instructions for "${t}"`);continue}const d=l.substring(1).split(",");d[0]&&d[1]&&c(e,h(d,r,o,i,s,!0,n))}e.stroke(),e.closePath()}}(e,f,n,l,c,d,u),!0;const p=t.powerlineDefinitions[i];return!!p&&(function(e,t,i,s,r,o,n,l){const c=new Path2D;c.rect(i,s,r,o),e.clip(c),e.beginPath();const d=n/12;e.lineWidth=l*d;for(const _ of t.d.split(" ")){const n=_[0],c=a[n];if(!c){console.error(`Could not find drawing instructions for "${n}"`);continue}const u=_.substring(1).split(",");u[0]&&u[1]&&c(e,h(u,r,o,i,s,!1,l,(t.leftPadding??0)*(d/2),(t.rightPadding??0)*(d/2)))}1===t.type?(e.strokeStyle=e.fillStyle,e.stroke()):e.fill(),e.closePath()}(e,p,n,l,c,d,_,u),!0)};const o=new Map;function n(e,t,i=0){return Math.max(Math.min(e,t),i)}const a={C:(e,t)=>e.bezierCurveTo(t[0],t[1],t[2],t[3],t[4],t[5]),L:(e,t)=>e.lineTo(t[0],t[1]),M:(e,t)=>e.moveTo(t[0],t[1])};function h(e,t,i,s,r,o,a,h=0,l=0){const c=e.map((e=>parseFloat(e)||parseInt(e)));if(c.length<2)throw new Error("Too few arguments for instruction");for(let d=0;d<c.length;d+=2)c[d]*=t-h*a-l*a,o&&0!==c[d]&&(c[d]=n(Math.round(c[d]+.5)-.5,t,0)),c[d]+=s+h*a;for(let d=1;d<c.length;d+=2)c[d]*=i,o&&0!==c[d]&&(c[d]=n(Math.round(c[d]+.5)-.5,i,0)),c[d]+=r;return c}},56:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.observeDevicePixelDimensions=void 0;const s=i(859);t.observeDevicePixelDimensions=function(e,t,i){let r=new t.ResizeObserver((t=>{const s=t.find((t=>t.target===e));if(!s)return;if(!("devicePixelContentBoxSize"in s))return r?.disconnect(),void(r=void 0);const o=s.devicePixelContentBoxSize[0].inlineSize,n=s.devicePixelContentBoxSize[0].blockSize;o>0&&n>0&&i(o,n)}));try{r.observe(e,{box:["device-pixel-content-box"]})}catch{r.disconnect(),r=void 0}return(0,s.toDisposable)((()=>r?.disconnect()))}},374:(e,t)=>{function i(e){return 57508<=e&&e<=57558}function s(e){return e>=128512&&e<=128591||e>=127744&&e<=128511||e>=128640&&e<=128767||e>=9728&&e<=9983||e>=9984&&e<=10175||e>=65024&&e<=65039||e>=129280&&e<=129535||e>=127462&&e<=127487}Object.defineProperty(t,"__esModule",{value:!0}),t.computeNextVariantOffset=t.createRenderDimensions=t.treatGlyphAsBackgroundColor=t.allowRescaling=t.isEmoji=t.isRestrictedPowerlineGlyph=t.isPowerlineGlyph=t.throwIfFalsy=void 0,t.throwIfFalsy=function(e){if(!e)throw new Error("value must not be falsy");return e},t.isPowerlineGlyph=i,t.isRestrictedPowerlineGlyph=function(e){return 57520<=e&&e<=57527},t.isEmoji=s,t.allowRescaling=function(e,t,r,o){return 1===t&&r>Math.ceil(1.5*o)&&void 0!==e&&e>255&&!s(e)&&!i(e)&&!function(e){return 57344<=e&&e<=63743}(e)},t.treatGlyphAsBackgroundColor=function(e){return i(e)||function(e){return 9472<=e&&e<=9631}(e)},t.createRenderDimensions=function(){return{css:{canvas:{width:0,height:0},cell:{width:0,height:0}},device:{canvas:{width:0,height:0},cell:{width:0,height:0},char:{width:0,height:0,left:0,top:0}}}},t.computeNextVariantOffset=function(e,t,i=0){return(e-(2*Math.round(t)-i))%(2*Math.round(t))}},296:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createSelectionRenderModel=void 0;class i{constructor(){this.clear()}clear(){this.hasSelection=!1,this.columnSelectMode=!1,this.viewportStartRow=0,this.viewportEndRow=0,this.viewportCappedStartRow=0,this.viewportCappedEndRow=0,this.startCol=0,this.endCol=0,this.selectionStart=void 0,this.selectionEnd=void 0}update(e,t,i,s=!1){if(this.selectionStart=t,this.selectionEnd=i,!t||!i||t[0]===i[0]&&t[1]===i[1])return void this.clear();const r=e.buffers.active.ydisp,o=t[1]-r,n=i[1]-r,a=Math.max(o,0),h=Math.min(n,e.rows-1);a>=e.rows||h<0?this.clear():(this.hasSelection=!0,this.columnSelectMode=s,this.viewportStartRow=o,this.viewportEndRow=n,this.viewportCappedStartRow=a,this.viewportCappedEndRow=h,this.startCol=t[0],this.endCol=i[0])}isCellSelected(e,t,i){return!!this.hasSelection&&(i-=e.buffer.active.viewportY,this.columnSelectMode?this.startCol<=this.endCol?t>=this.startCol&&i>=this.viewportCappedStartRow&&t<this.endCol&&i<=this.viewportCappedEndRow:t<this.startCol&&i>=this.viewportCappedStartRow&&t>=this.endCol&&i<=this.viewportCappedEndRow:i>this.viewportStartRow&&i<this.viewportEndRow||this.viewportStartRow===this.viewportEndRow&&i===this.viewportStartRow&&t>=this.startCol&&t<this.endCol||this.viewportStartRow<this.viewportEndRow&&i===this.viewportEndRow&&t<this.endCol||this.viewportStartRow<this.viewportEndRow&&i===this.viewportStartRow&&t>=this.startCol)}}t.createSelectionRenderModel=function(){return new i}},509:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TextureAtlas=void 0;const s=i(237),r=i(860),o=i(374),n=i(160),a=i(345),h=i(485),l=i(385),c=i(147),d=i(855),_={texturePage:0,texturePosition:{x:0,y:0},texturePositionClipSpace:{x:0,y:0},offset:{x:0,y:0},size:{x:0,y:0},sizeClipSpace:{x:0,y:0}};let u;class g{get pages(){return this._pages}constructor(e,t,i){this._document=e,this._config=t,this._unicodeService=i,this._didWarmUp=!1,this._cacheMap=new h.FourKeyMap,this._cacheMapCombined=new h.FourKeyMap,this._pages=[],this._activePages=[],this._workBoundingBox={top:0,left:0,bottom:0,right:0},this._workAttributeData=new c.AttributeData,this._textureSize=512,this._onAddTextureAtlasCanvas=new a.EventEmitter,this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._onRemoveTextureAtlasCanvas=new a.EventEmitter,this.onRemoveTextureAtlasCanvas=this._onRemoveTextureAtlasCanvas.event,this._requestClearModel=!1,this._createNewPage(),this._tmpCanvas=p(e,4*this._config.deviceCellWidth+4,this._config.deviceCellHeight+4),this._tmpCtx=(0,o.throwIfFalsy)(this._tmpCanvas.getContext("2d",{alpha:this._config.allowTransparency,willReadFrequently:!0}))}dispose(){for(const e of this.pages)e.canvas.remove();this._onAddTextureAtlasCanvas.dispose()}warmUp(){this._didWarmUp||(this._doWarmUp(),this._didWarmUp=!0)}_doWarmUp(){const e=new l.IdleTaskQueue;for(let t=33;t<126;t++)e.enqueue((()=>{if(!this._cacheMap.get(t,d.DEFAULT_COLOR,d.DEFAULT_COLOR,d.DEFAULT_EXT)){const e=this._drawToCache(t,d.DEFAULT_COLOR,d.DEFAULT_COLOR,d.DEFAULT_EXT);this._cacheMap.set(t,d.DEFAULT_COLOR,d.DEFAULT_COLOR,d.DEFAULT_EXT,e)}}))}beginFrame(){return this._requestClearModel}clearTexture(){if(0!==this._pages[0].currentRow.x||0!==this._pages[0].currentRow.y){for(const e of this._pages)e.clear();this._cacheMap.clear(),this._cacheMapCombined.clear(),this._didWarmUp=!1}}_createNewPage(){if(g.maxAtlasPages&&this._pages.length>=Math.max(4,g.maxAtlasPages)){const e=this._pages.filter((e=>2*e.canvas.width<=(g.maxTextureSize||4096))).sort(((e,t)=>t.canvas.width!==e.canvas.width?t.canvas.width-e.canvas.width:t.percentageUsed-e.percentageUsed));let t=-1,i=0;for(let a=0;a<e.length;a++)if(e[a].canvas.width!==i)t=a,i=e[a].canvas.width;else if(a-t==3)break;const s=e.slice(t,t+4),r=s.map((e=>e.glyphs[0].texturePage)).sort(((e,t)=>e>t?1:-1)),o=this.pages.length-s.length,n=this._mergePages(s,o);n.version++;for(let a=r.length-1;a>=0;a--)this._deletePage(r[a]);this.pages.push(n),this._requestClearModel=!0,this._onAddTextureAtlasCanvas.fire(n.canvas)}const e=new v(this._document,this._textureSize);return this._pages.push(e),this._activePages.push(e),this._onAddTextureAtlasCanvas.fire(e.canvas),e}_mergePages(e,t){const i=2*e[0].canvas.width,s=new v(this._document,i,e);for(const[r,o]of e.entries()){const e=r*o.canvas.width%i,n=Math.floor(r/2)*o.canvas.height;s.ctx.drawImage(o.canvas,e,n);for(const s of o.glyphs)s.texturePage=t,s.sizeClipSpace.x=s.size.x/i,s.sizeClipSpace.y=s.size.y/i,s.texturePosition.x+=e,s.texturePosition.y+=n,s.texturePositionClipSpace.x=s.texturePosition.x/i,s.texturePositionClipSpace.y=s.texturePosition.y/i;this._onRemoveTextureAtlasCanvas.fire(o.canvas);const a=this._activePages.indexOf(o);-1!==a&&this._activePages.splice(a,1)}return s}_deletePage(e){this._pages.splice(e,1);for(let t=e;t<this._pages.length;t++){const e=this._pages[t];for(const t of e.glyphs)t.texturePage--;e.version++}}getRasterizedGlyphCombinedChar(e,t,i,s,r){return this._getFromCacheMap(this._cacheMapCombined,e,t,i,s,r)}getRasterizedGlyph(e,t,i,s,r){return this._getFromCacheMap(this._cacheMap,e,t,i,s,r)}_getFromCacheMap(e,t,i,s,r,o=!1){return u=e.get(t,i,s,r),u||(u=this._drawToCache(t,i,s,r,o),e.set(t,i,s,r,u)),u}_getColorFromAnsiIndex(e){if(e>=this._config.colors.ansi.length)throw new Error("No color found for idx "+e);return this._config.colors.ansi[e]}_getBackgroundColor(e,t,i,s){if(this._config.allowTransparency)return n.NULL_COLOR;let r;switch(e){case 16777216:case 33554432:r=this._getColorFromAnsiIndex(t);break;case 50331648:const e=c.AttributeData.toColorRGB(t);r=n.channels.toColor(e[0],e[1],e[2]);break;default:r=i?n.color.opaque(this._config.colors.foreground):this._config.colors.background}return r}_getForegroundColor(e,t,i,r,o,a,h,l,d,_){const u=this._getMinimumContrastColor(e,t,i,r,o,a,h,d,l,_);if(u)return u;let g;switch(o){case 16777216:case 33554432:this._config.drawBoldTextInBrightColors&&d&&a<8&&(a+=8),g=this._getColorFromAnsiIndex(a);break;case 50331648:const e=c.AttributeData.toColorRGB(a);g=n.channels.toColor(e[0],e[1],e[2]);break;default:g=h?this._config.colors.background:this._config.colors.foreground}return this._config.allowTransparency&&(g=n.color.opaque(g)),l&&(g=n.color.multiplyOpacity(g,s.DIM_OPACITY)),g}_resolveBackgroundRgba(e,t,i){switch(e){case 16777216:case 33554432:return this._getColorFromAnsiIndex(t).rgba;case 50331648:return t<<8;default:return i?this._config.colors.foreground.rgba:this._config.colors.background.rgba}}_resolveForegroundRgba(e,t,i,s){switch(e){case 16777216:case 33554432:return this._config.drawBoldTextInBrightColors&&s&&t<8&&(t+=8),this._getColorFromAnsiIndex(t).rgba;case 50331648:return t<<8;default:return i?this._config.colors.background.rgba:this._config.colors.foreground.rgba}}_getMinimumContrastColor(e,t,i,s,r,o,a,h,l,c){if(1===this._config.minimumContrastRatio||c)return;const d=this._getContrastCache(l),_=d.getColor(e,s);if(void 0!==_)return _||void 0;const u=this._resolveBackgroundRgba(t,i,a),g=this._resolveForegroundRgba(r,o,a,h),v=n.rgba.ensureContrastRatio(u,g,this._config.minimumContrastRatio/(l?2:1));if(!v)return void d.setColor(e,s,null);const f=n.channels.toColor(v>>24&255,v>>16&255,v>>8&255);return d.setColor(e,s,f),f}_getContrastCache(e){return e?this._config.colors.halfContrastCache:this._config.colors.contrastCache}_drawToCache(e,t,i,n,a=!1){const h="number"==typeof e?String.fromCharCode(e):e,l=Math.min(this._config.deviceCellWidth*Math.max(h.length,2)+4,this._textureSize);this._tmpCanvas.width<l&&(this._tmpCanvas.width=l);const d=Math.min(this._config.deviceCellHeight+8,this._textureSize);if(this._tmpCanvas.height<d&&(this._tmpCanvas.height=d),this._tmpCtx.save(),this._workAttributeData.fg=i,this._workAttributeData.bg=t,this._workAttributeData.extended.ext=n,this._workAttributeData.isInvisible())return _;const u=!!this._workAttributeData.isBold(),v=!!this._workAttributeData.isInverse(),p=!!this._workAttributeData.isDim(),C=!!this._workAttributeData.isItalic(),m=!!this._workAttributeData.isUnderline(),L=!!this._workAttributeData.isStrikethrough(),x=!!this._workAttributeData.isOverline();let w=this._workAttributeData.getFgColor(),b=this._workAttributeData.getFgColorMode(),M=this._workAttributeData.getBgColor(),R=this._workAttributeData.getBgColorMode();if(v){const e=w;w=M,M=e;const t=b;b=R,R=t}const y=this._getBackgroundColor(R,M,v,p);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=y.css,this._tmpCtx.fillRect(0,0,this._tmpCanvas.width,this._tmpCanvas.height),this._tmpCtx.globalCompositeOperation="source-over";const A=u?this._config.fontWeightBold:this._config.fontWeight,E=C?"italic":"";this._tmpCtx.font=`${E} ${A} ${this._config.fontSize*this._config.devicePixelRatio}px ${this._config.fontFamily}`,this._tmpCtx.textBaseline=s.TEXT_BASELINE;const S=1===h.length&&(0,o.isPowerlineGlyph)(h.charCodeAt(0)),T=1===h.length&&(0,o.isRestrictedPowerlineGlyph)(h.charCodeAt(0)),D=this._getForegroundColor(t,R,M,i,b,w,v,p,u,(0,o.treatGlyphAsBackgroundColor)(h.charCodeAt(0)));this._tmpCtx.fillStyle=D.css;const B=T?0:4;let F=!1;!1!==this._config.customGlyphs&&(F=(0,r.tryDrawCustomChar)(this._tmpCtx,h,B,B,this._config.deviceCellWidth,this._config.deviceCellHeight,this._config.fontSize,this._config.devicePixelRatio));let P,I=!S;if(P="number"==typeof e?this._unicodeService.wcwidth(e):this._unicodeService.getStringCellWidth(e),m){this._tmpCtx.save();const e=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/15)),t=e%2==1?.5:0;if(this._tmpCtx.lineWidth=e,this._workAttributeData.isUnderlineColorDefault())this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle;else if(this._workAttributeData.isUnderlineColorRGB())I=!1,this._tmpCtx.strokeStyle=`rgb(${c.AttributeData.toColorRGB(this._workAttributeData.getUnderlineColor()).join(",")})`;else{I=!1;let e=this._workAttributeData.getUnderlineColor();this._config.drawBoldTextInBrightColors&&this._workAttributeData.isBold()&&e<8&&(e+=8),this._tmpCtx.strokeStyle=this._getColorFromAnsiIndex(e).css}this._tmpCtx.beginPath();const i=B,s=Math.ceil(B+this._config.deviceCharHeight)-t-(a?2*e:0),r=s+e,n=s+2*e;let l=this._workAttributeData.getUnderlineVariantOffset();for(let a=0;a<P;a++){this._tmpCtx.save();const h=i+a*this._config.deviceCellWidth,c=i+(a+1)*this._config.deviceCellWidth,d=h+this._config.deviceCellWidth/2;switch(this._workAttributeData.extended.underlineStyle){case 2:this._tmpCtx.moveTo(h,s),this._tmpCtx.lineTo(c,s),this._tmpCtx.moveTo(h,n),this._tmpCtx.lineTo(c,n);break;case 3:const i=e<=1?n:Math.ceil(B+this._config.deviceCharHeight-e/2)-t,a=e<=1?s:Math.ceil(B+this._config.deviceCharHeight+e/2)-t,_=new Path2D;_.rect(h,s,this._config.deviceCellWidth,n-s),this._tmpCtx.clip(_),this._tmpCtx.moveTo(h-this._config.deviceCellWidth/2,r),this._tmpCtx.bezierCurveTo(h-this._config.deviceCellWidth/2,a,h,a,h,r),this._tmpCtx.bezierCurveTo(h,i,d,i,d,r),this._tmpCtx.bezierCurveTo(d,a,c,a,c,r),this._tmpCtx.bezierCurveTo(c,i,c+this._config.deviceCellWidth/2,i,c+this._config.deviceCellWidth/2,r);break;case 4:const u=0===l?0:l>=e?2*e-l:e-l;!1==!(l>=e)||0===u?(this._tmpCtx.setLineDash([Math.round(e),Math.round(e)]),this._tmpCtx.moveTo(h+u,s),this._tmpCtx.lineTo(c,s)):(this._tmpCtx.setLineDash([Math.round(e),Math.round(e)]),this._tmpCtx.moveTo(h,s),this._tmpCtx.lineTo(h+u,s),this._tmpCtx.moveTo(h+u+e,s),this._tmpCtx.lineTo(c,s)),l=(0,o.computeNextVariantOffset)(c-h,e,l);break;case 5:const g=.6,v=.3,f=c-h,p=Math.floor(g*f),C=Math.floor(v*f),m=f-p-C;this._tmpCtx.setLineDash([p,C,m]),this._tmpCtx.moveTo(h,s),this._tmpCtx.lineTo(c,s);break;default:this._tmpCtx.moveTo(h,s),this._tmpCtx.lineTo(c,s)}this._tmpCtx.stroke(),this._tmpCtx.restore()}if(this._tmpCtx.restore(),!F&&this._config.fontSize>=12&&!this._config.allowTransparency&&" "!==h){this._tmpCtx.save(),this._tmpCtx.textBaseline="alphabetic";const t=this._tmpCtx.measureText(h);if(this._tmpCtx.restore(),"actualBoundingBoxDescent"in t&&t.actualBoundingBoxDescent>0){this._tmpCtx.save();const t=new Path2D;t.rect(i,s-Math.ceil(e/2),this._config.deviceCellWidth*P,n-s+Math.ceil(e/2)),this._tmpCtx.clip(t),this._tmpCtx.lineWidth=3*this._config.devicePixelRatio,this._tmpCtx.strokeStyle=y.css,this._tmpCtx.strokeText(h,B,B+this._config.deviceCharHeight),this._tmpCtx.restore()}}}if(x){const e=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/15)),t=e%2==1?.5:0;this._tmpCtx.lineWidth=e,this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle,this._tmpCtx.beginPath(),this._tmpCtx.moveTo(B,B+t),this._tmpCtx.lineTo(B+this._config.deviceCharWidth*P,B+t),this._tmpCtx.stroke()}if(F||this._tmpCtx.fillText(h,B,B+this._config.deviceCharHeight),"_"===h&&!this._config.allowTransparency){let e=f(this._tmpCtx.getImageData(B,B,this._config.deviceCellWidth,this._config.deviceCellHeight),y,D,I);if(e)for(let t=1;t<=5&&(this._tmpCtx.save(),this._tmpCtx.fillStyle=y.css,this._tmpCtx.fillRect(0,0,this._tmpCanvas.width,this._tmpCanvas.height),this._tmpCtx.restore(),this._tmpCtx.fillText(h,B,B+this._config.deviceCharHeight-t),e=f(this._tmpCtx.getImageData(B,B,this._config.deviceCellWidth,this._config.deviceCellHeight),y,D,I),e);t++);}if(L){const e=Math.max(1,Math.floor(this._config.fontSize*this._config.devicePixelRatio/10)),t=this._tmpCtx.lineWidth%2==1?.5:0;this._tmpCtx.lineWidth=e,this._tmpCtx.strokeStyle=this._tmpCtx.fillStyle,this._tmpCtx.beginPath(),this._tmpCtx.moveTo(B,B+Math.floor(this._config.deviceCharHeight/2)-t),this._tmpCtx.lineTo(B+this._config.deviceCharWidth*P,B+Math.floor(this._config.deviceCharHeight/2)-t),this._tmpCtx.stroke()}this._tmpCtx.restore();const O=this._tmpCtx.getImageData(0,0,this._tmpCanvas.width,this._tmpCanvas.height);let k;if(k=this._config.allowTransparency?function(e){for(let t=0;t<e.data.length;t+=4)if(e.data[t+3]>0)return!1;return!0}(O):f(O,y,D,I),k)return _;const $=this._findGlyphBoundingBox(O,this._workBoundingBox,l,T,F,B);let U,N;for(;;){if(0===this._activePages.length){const e=this._createNewPage();U=e,N=e.currentRow,N.height=$.size.y;break}U=this._activePages[this._activePages.length-1],N=U.currentRow;for(const e of this._activePages)$.size.y<=e.currentRow.height&&(U=e,N=e.currentRow);for(let e=this._activePages.length-1;e>=0;e--)for(const t of this._activePages[e].fixedRows)t.height<=N.height&&$.size.y<=t.height&&(U=this._activePages[e],N=t);if(N.y+$.size.y>=U.canvas.height||N.height>$.size.y+2){let e=!1;if(U.currentRow.y+U.currentRow.height+$.size.y>=U.canvas.height){let t;for(const e of this._activePages)if(e.currentRow.y+e.currentRow.height+$.size.y<e.canvas.height){t=e;break}if(t)U=t;else if(g.maxAtlasPages&&this._pages.length>=g.maxAtlasPages&&N.y+$.size.y<=U.canvas.height&&N.height>=$.size.y&&N.x+$.size.x<=U.canvas.width)e=!0;else{const t=this._createNewPage();U=t,N=t.currentRow,N.height=$.size.y,e=!0}}e||(U.currentRow.height>0&&U.fixedRows.push(U.currentRow),N={x:0,y:U.currentRow.y+U.currentRow.height,height:$.size.y},U.fixedRows.push(N),U.currentRow={x:0,y:N.y+N.height,height:0})}if(N.x+$.size.x<=U.canvas.width)break;N===U.currentRow?(N.x=0,N.y+=N.height,N.height=0):U.fixedRows.splice(U.fixedRows.indexOf(N),1)}return $.texturePage=this._pages.indexOf(U),$.texturePosition.x=N.x,$.texturePosition.y=N.y,$.texturePositionClipSpace.x=N.x/U.canvas.width,$.texturePositionClipSpace.y=N.y/U.canvas.height,$.sizeClipSpace.x/=U.canvas.width,$.sizeClipSpace.y/=U.canvas.height,N.height=Math.max(N.height,$.size.y),N.x+=$.size.x,U.ctx.putImageData(O,$.texturePosition.x-this._workBoundingBox.left,$.texturePosition.y-this._workBoundingBox.top,this._workBoundingBox.left,this._workBoundingBox.top,$.size.x,$.size.y),U.addGlyph($),U.version++,$}_findGlyphBoundingBox(e,t,i,s,r,o){t.top=0;const n=s?this._config.deviceCellHeight:this._tmpCanvas.height,a=s?this._config.deviceCellWidth:i;let h=!1;for(let l=0;l<n;l++){for(let i=0;i<a;i++){const s=l*this._tmpCanvas.width*4+4*i+3;if(0!==e.data[s]){t.top=l,h=!0;break}}if(h)break}t.left=0,h=!1;for(let l=0;l<o+a;l++){for(let i=0;i<n;i++){const s=i*this._tmpCanvas.width*4+4*l+3;if(0!==e.data[s]){t.left=l,h=!0;break}}if(h)break}t.right=a,h=!1;for(let l=o+a-1;l>=o;l--){for(let i=0;i<n;i++){const s=i*this._tmpCanvas.width*4+4*l+3;if(0!==e.data[s]){t.right=l,h=!0;break}}if(h)break}t.bottom=n,h=!1;for(let l=n-1;l>=0;l--){for(let i=0;i<a;i++){const s=l*this._tmpCanvas.width*4+4*i+3;if(0!==e.data[s]){t.bottom=l,h=!0;break}}if(h)break}return{texturePage:0,texturePosition:{x:0,y:0},texturePositionClipSpace:{x:0,y:0},size:{x:t.right-t.left+1,y:t.bottom-t.top+1},sizeClipSpace:{x:t.right-t.left+1,y:t.bottom-t.top+1},offset:{x:-t.left+o+(s||r?Math.floor((this._config.deviceCellWidth-this._config.deviceCharWidth)/2):0),y:-t.top+o+(s||r?1===this._config.lineHeight?0:Math.round((this._config.deviceCellHeight-this._config.deviceCharHeight)/2):0)}}}}t.TextureAtlas=g;class v{get percentageUsed(){return this._usedPixels/(this.canvas.width*this.canvas.height)}get glyphs(){return this._glyphs}addGlyph(e){this._glyphs.push(e),this._usedPixels+=e.size.x*e.size.y}constructor(e,t,i){if(this._usedPixels=0,this._glyphs=[],this.version=0,this.currentRow={x:0,y:0,height:0},this.fixedRows=[],i)for(const s of i)this._glyphs.push(...s.glyphs),this._usedPixels+=s._usedPixels;this.canvas=p(e,t,t),this.ctx=(0,o.throwIfFalsy)(this.canvas.getContext("2d",{alpha:!0}))}clear(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.currentRow.x=0,this.currentRow.y=0,this.currentRow.height=0,this.fixedRows.length=0,this.version++}}function f(e,t,i,s){const r=t.rgba>>>24,o=t.rgba>>>16&255,n=t.rgba>>>8&255,a=i.rgba>>>24,h=i.rgba>>>16&255,l=i.rgba>>>8&255,c=Math.floor((Math.abs(r-a)+Math.abs(o-h)+Math.abs(n-l))/12);let d=!0;for(let _=0;_<e.data.length;_+=4)e.data[_]===r&&e.data[_+1]===o&&e.data[_+2]===n||s&&Math.abs(e.data[_]-r)+Math.abs(e.data[_+1]-o)+Math.abs(e.data[_+2]-n)<c?e.data[_+3]=0:d=!1;return d}function p(e,t,i){const s=e.createElement("canvas");return s.width=t,s.height=i,s}},160:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.contrastRatio=t.toPaddedHex=t.rgba=t.rgb=t.css=t.color=t.channels=t.NULL_COLOR=void 0;let i=0,s=0,r=0,o=0;var n,a,h,l,c;function d(e){const t=e.toString(16);return t.length<2?"0"+t:t}function _(e,t){return e<t?(t+.05)/(e+.05):(e+.05)/(t+.05)}t.NULL_COLOR={css:"#00000000",rgba:0},function(e){e.toCss=function(e,t,i,s){return void 0!==s?`#${d(e)}${d(t)}${d(i)}${d(s)}`:`#${d(e)}${d(t)}${d(i)}`},e.toRgba=function(e,t,i,s=255){return(e<<24|t<<16|i<<8|s)>>>0},e.toColor=function(t,i,s,r){return{css:e.toCss(t,i,s,r),rgba:e.toRgba(t,i,s,r)}}}(n||(t.channels=n={})),function(e){function t(e,t){return o=Math.round(255*t),[i,s,r]=c.toChannels(e.rgba),{css:n.toCss(i,s,r,o),rgba:n.toRgba(i,s,r,o)}}e.blend=function(e,t){if(o=(255&t.rgba)/255,1===o)return{css:t.css,rgba:t.rgba};const a=t.rgba>>24&255,h=t.rgba>>16&255,l=t.rgba>>8&255,c=e.rgba>>24&255,d=e.rgba>>16&255,_=e.rgba>>8&255;return i=c+Math.round((a-c)*o),s=d+Math.round((h-d)*o),r=_+Math.round((l-_)*o),{css:n.toCss(i,s,r),rgba:n.toRgba(i,s,r)}},e.isOpaque=function(e){return 255==(255&e.rgba)},e.ensureContrastRatio=function(e,t,i){const s=c.ensureContrastRatio(e.rgba,t.rgba,i);if(s)return n.toColor(s>>24&255,s>>16&255,s>>8&255)},e.opaque=function(e){const t=(255|e.rgba)>>>0;return[i,s,r]=c.toChannels(t),{css:n.toCss(i,s,r),rgba:t}},e.opacity=t,e.multiplyOpacity=function(e,i){return o=255&e.rgba,t(e,o*i/255)},e.toColorRGB=function(e){return[e.rgba>>24&255,e.rgba>>16&255,e.rgba>>8&255]}}(a||(t.color=a={})),function(e){let t,a;try{const e=document.createElement("canvas");e.width=1,e.height=1;const i=e.getContext("2d",{willReadFrequently:!0});i&&(t=i,t.globalCompositeOperation="copy",a=t.createLinearGradient(0,0,1,1))}catch{}e.toColor=function(e){if(e.match(/#[\da-f]{3,8}/i))switch(e.length){case 4:return i=parseInt(e.slice(1,2).repeat(2),16),s=parseInt(e.slice(2,3).repeat(2),16),r=parseInt(e.slice(3,4).repeat(2),16),n.toColor(i,s,r);case 5:return i=parseInt(e.slice(1,2).repeat(2),16),s=parseInt(e.slice(2,3).repeat(2),16),r=parseInt(e.slice(3,4).repeat(2),16),o=parseInt(e.slice(4,5).repeat(2),16),n.toColor(i,s,r,o);case 7:return{css:e,rgba:(parseInt(e.slice(1),16)<<8|255)>>>0};case 9:return{css:e,rgba:parseInt(e.slice(1),16)>>>0}}const h=e.match(/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(,\s*(0|1|\d?\.(\d+))\s*)?\)/);if(h)return i=parseInt(h[1]),s=parseInt(h[2]),r=parseInt(h[3]),o=Math.round(255*(void 0===h[5]?1:parseFloat(h[5]))),n.toColor(i,s,r,o);if(!t||!a)throw new Error("css.toColor: Unsupported css format");if(t.fillStyle=a,t.fillStyle=e,"string"!=typeof t.fillStyle)throw new Error("css.toColor: Unsupported css format");if(t.fillRect(0,0,1,1),[i,s,r,o]=t.getImageData(0,0,1,1).data,255!==o)throw new Error("css.toColor: Unsupported css format");return{rgba:n.toRgba(i,s,r,o),css:e}}}(h||(t.css=h={})),function(e){function t(e,t,i){const s=e/255,r=t/255,o=i/255;return.2126*(s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4))+.7152*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.0722*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))}e.relativeLuminance=function(e){return t(e>>16&255,e>>8&255,255&e)},e.relativeLuminance2=t}(l||(t.rgb=l={})),function(e){function t(e,t,i){const s=e>>24&255,r=e>>16&255,o=e>>8&255;let n=t>>24&255,a=t>>16&255,h=t>>8&255,c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));for(;c<i&&(n>0||a>0||h>0);)n-=Math.max(0,Math.ceil(.1*n)),a-=Math.max(0,Math.ceil(.1*a)),h-=Math.max(0,Math.ceil(.1*h)),c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));return(n<<24|a<<16|h<<8|255)>>>0}function a(e,t,i){const s=e>>24&255,r=e>>16&255,o=e>>8&255;let n=t>>24&255,a=t>>16&255,h=t>>8&255,c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));for(;c<i&&(n<255||a<255||h<255);)n=Math.min(255,n+Math.ceil(.1*(255-n))),a=Math.min(255,a+Math.ceil(.1*(255-a))),h=Math.min(255,h+Math.ceil(.1*(255-h))),c=_(l.relativeLuminance2(n,a,h),l.relativeLuminance2(s,r,o));return(n<<24|a<<16|h<<8|255)>>>0}e.blend=function(e,t){if(o=(255&t)/255,1===o)return t;const a=t>>24&255,h=t>>16&255,l=t>>8&255,c=e>>24&255,d=e>>16&255,_=e>>8&255;return i=c+Math.round((a-c)*o),s=d+Math.round((h-d)*o),r=_+Math.round((l-_)*o),n.toRgba(i,s,r)},e.ensureContrastRatio=function(e,i,s){const r=l.relativeLuminance(e>>8),o=l.relativeLuminance(i>>8);if(_(r,o)<s){if(o<r){const o=t(e,i,s),n=_(r,l.relativeLuminance(o>>8));if(n<s){const t=a(e,i,s);return n>_(r,l.relativeLuminance(t>>8))?o:t}return o}const n=a(e,i,s),h=_(r,l.relativeLuminance(n>>8));if(h<s){const o=t(e,i,s);return h>_(r,l.relativeLuminance(o>>8))?n:o}return n}},e.reduceLuminance=t,e.increaseLuminance=a,e.toChannels=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}}(c||(t.rgba=c={})),t.toPaddedHex=d,t.contrastRatio=_},345:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.runAndSubscribe=t.forwardEvent=t.EventEmitter=void 0,t.EventEmitter=class{constructor(){this._listeners=[],this._disposed=!1}get event(){return this._event||(this._event=e=>(this._listeners.push(e),{dispose:()=>{if(!this._disposed)for(let t=0;t<this._listeners.length;t++)if(this._listeners[t]===e)return void this._listeners.splice(t,1)}})),this._event}fire(e,t){const i=[];for(let s=0;s<this._listeners.length;s++)i.push(this._listeners[s]);for(let s=0;s<i.length;s++)i[s].call(void 0,e,t)}dispose(){this.clearListeners(),this._disposed=!0}clearListeners(){this._listeners&&(this._listeners.length=0)}},t.forwardEvent=function(e,t){return e((e=>t.fire(e)))},t.runAndSubscribe=function(e,t){return t(void 0),e((e=>t(e)))}},859:(e,t)=>{function i(e){for(const t of e)t.dispose();e.length=0}Object.defineProperty(t,"__esModule",{value:!0}),t.getDisposeArrayDisposable=t.disposeArray=t.toDisposable=t.MutableDisposable=t.Disposable=void 0,t.Disposable=class{constructor(){this._disposables=[],this._isDisposed=!1}dispose(){this._isDisposed=!0;for(const e of this._disposables)e.dispose();this._disposables.length=0}register(e){return this._disposables.push(e),e}unregister(e){const t=this._disposables.indexOf(e);-1!==t&&this._disposables.splice(t,1)}},t.MutableDisposable=class{constructor(){this._isDisposed=!1}get value(){return this._isDisposed?void 0:this._value}set value(e){this._isDisposed||e===this._value||(this._value?.dispose(),this._value=e)}clear(){this.value=void 0}dispose(){this._isDisposed=!0,this._value?.dispose(),this._value=void 0}},t.toDisposable=function(e){return{dispose:e}},t.disposeArray=i,t.getDisposeArrayDisposable=function(e){return{dispose:()=>i(e)}}},485:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FourKeyMap=t.TwoKeyMap=void 0;class i{constructor(){this._data={}}set(e,t,i){this._data[e]||(this._data[e]={}),this._data[e][t]=i}get(e,t){return this._data[e]?this._data[e][t]:void 0}clear(){this._data={}}}t.TwoKeyMap=i,t.FourKeyMap=class{constructor(){this._data=new i}set(e,t,s,r,o){this._data.get(e,t)||this._data.set(e,t,new i),this._data.get(e,t).set(s,r,o)}get(e,t,i,s){return this._data.get(e,t)?.get(i,s)}clear(){this._data.clear()}}},399:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isChromeOS=t.isLinux=t.isWindows=t.isIphone=t.isIpad=t.isMac=t.getSafariVersion=t.isSafari=t.isLegacyEdge=t.isFirefox=t.isNode=void 0,t.isNode="undefined"!=typeof s&&"title"in s;const i=t.isNode?"node":navigator.userAgent,r=t.isNode?"node":navigator.platform;t.isFirefox=i.includes("Firefox"),t.isLegacyEdge=i.includes("Edge"),t.isSafari=/^((?!chrome|android).)*safari/i.test(i),t.getSafariVersion=function(){if(!t.isSafari)return 0;const e=i.match(/Version\/(\d+)/);return null===e||e.length<2?0:parseInt(e[1])},t.isMac=["Macintosh","MacIntel","MacPPC","Mac68K"].includes(r),t.isIpad="iPad"===r,t.isIphone="iPhone"===r,t.isWindows=["Windows","Win16","Win32","WinCE"].includes(r),t.isLinux=r.indexOf("Linux")>=0,t.isChromeOS=/\bCrOS\b/.test(i)},385:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DebouncedIdleTask=t.IdleTaskQueue=t.PriorityTaskQueue=void 0;const s=i(399);class r{constructor(){this._tasks=[],this._i=0}enqueue(e){this._tasks.push(e),this._start()}flush(){for(;this._i<this._tasks.length;)this._tasks[this._i]()||this._i++;this.clear()}clear(){this._idleCallback&&(this._cancelCallback(this._idleCallback),this._idleCallback=void 0),this._i=0,this._tasks.length=0}_start(){this._idleCallback||(this._idleCallback=this._requestCallback(this._process.bind(this)))}_process(e){this._idleCallback=void 0;let t=0,i=0,s=e.timeRemaining(),r=0;for(;this._i<this._tasks.length;){if(t=Date.now(),this._tasks[this._i]()||this._i++,t=Math.max(1,Date.now()-t),i=Math.max(t,i),r=e.timeRemaining(),1.5*i>r)return s-t<-20&&console.warn(`task queue exceeded allotted deadline by ${Math.abs(Math.round(s-t))}ms`),void this._start();s=r}this.clear()}}class o extends r{_requestCallback(e){return setTimeout((()=>e(this._createDeadline(16))))}_cancelCallback(e){clearTimeout(e)}_createDeadline(e){const t=Date.now()+e;return{timeRemaining:()=>Math.max(0,t-Date.now())}}}t.PriorityTaskQueue=o,t.IdleTaskQueue=!s.isNode&&"requestIdleCallback"in window?class extends r{_requestCallback(e){return requestIdleCallback(e)}_cancelCallback(e){cancelIdleCallback(e)}}:o,t.DebouncedIdleTask=class{constructor(){this._queue=new t.IdleTaskQueue}set(e){this._queue.clear(),this._queue.enqueue(e)}flush(){this._queue.flush()}}},147:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedAttrs=t.AttributeData=void 0;class i{constructor(){this.fg=0,this.bg=0,this.extended=new s}static toColorRGB(e){return[e>>>16&255,e>>>8&255,255&e]}static fromColorRGB(e){return(255&e[0])<<16|(255&e[1])<<8|255&e[2]}clone(){const e=new i;return e.fg=this.fg,e.bg=this.bg,e.extended=this.extended.clone(),e}isInverse(){return 67108864&this.fg}isBold(){return 134217728&this.fg}isUnderline(){return this.hasExtendedAttrs()&&0!==this.extended.underlineStyle?1:268435456&this.fg}isBlink(){return 536870912&this.fg}isInvisible(){return 1073741824&this.fg}isItalic(){return 67108864&this.bg}isDim(){return 134217728&this.bg}isStrikethrough(){return 2147483648&this.fg}isProtected(){return 536870912&this.bg}isOverline(){return 1073741824&this.bg}getFgColorMode(){return 50331648&this.fg}getBgColorMode(){return 50331648&this.bg}isFgRGB(){return 50331648==(50331648&this.fg)}isBgRGB(){return 50331648==(50331648&this.bg)}isFgPalette(){return 16777216==(50331648&this.fg)||33554432==(50331648&this.fg)}isBgPalette(){return 16777216==(50331648&this.bg)||33554432==(50331648&this.bg)}isFgDefault(){return 0==(50331648&this.fg)}isBgDefault(){return 0==(50331648&this.bg)}isAttributeDefault(){return 0===this.fg&&0===this.bg}getFgColor(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}}getBgColor(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}}hasExtendedAttrs(){return 268435456&this.bg}updateExtended(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456}getUnderlineColor(){if(268435456&this.bg&&~this.extended.underlineColor)switch(50331648&this.extended.underlineColor){case 16777216:case 33554432:return 255&this.extended.underlineColor;case 50331648:return 16777215&this.extended.underlineColor;default:return this.getFgColor()}return this.getFgColor()}getUnderlineColorMode(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()}isUnderlineColorRGB(){return 268435456&this.bg&&~this.extended.underlineColor?50331648==(50331648&this.extended.underlineColor):this.isFgRGB()}isUnderlineColorPalette(){return 268435456&this.bg&&~this.extended.underlineColor?16777216==(50331648&this.extended.underlineColor)||33554432==(50331648&this.extended.underlineColor):this.isFgPalette()}isUnderlineColorDefault(){return 268435456&this.bg&&~this.extended.underlineColor?0==(50331648&this.extended.underlineColor):this.isFgDefault()}getUnderlineStyle(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0}getUnderlineVariantOffset(){return this.extended.underlineVariantOffset}}t.AttributeData=i;class s{get ext(){return this._urlId?-469762049&this._ext|this.underlineStyle<<26:this._ext}set ext(e){this._ext=e}get underlineStyle(){return this._urlId?5:(469762048&this._ext)>>26}set underlineStyle(e){this._ext&=-469762049,this._ext|=e<<26&469762048}get underlineColor(){return 67108863&this._ext}set underlineColor(e){this._ext&=-67108864,this._ext|=67108863&e}get urlId(){return this._urlId}set urlId(e){this._urlId=e}get underlineVariantOffset(){const e=(3758096384&this._ext)>>29;return e<0?4294967288^e:e}set underlineVariantOffset(e){this._ext&=536870911,this._ext|=e<<29&3758096384}constructor(e=0,t=0){this._ext=0,this._urlId=0,this._ext=e,this._urlId=t}clone(){return new s(this._ext,this._urlId)}isEmpty(){return 0===this.underlineStyle&&0===this._urlId}}t.ExtendedAttrs=s},782:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CellData=void 0;const s=i(133),r=i(855),o=i(147);class n extends o.AttributeData{constructor(){super(...arguments),this.content=0,this.fg=0,this.bg=0,this.extended=new o.ExtendedAttrs,this.combinedData=""}static fromCharData(e){const t=new n;return t.setFromCharData(e),t}isCombined(){return 2097152&this.content}getWidth(){return this.content>>22}getChars(){return 2097152&this.content?this.combinedData:2097151&this.content?(0,s.stringFromCodePoint)(2097151&this.content):""}getCode(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content}setFromCharData(e){this.fg=e[r.CHAR_DATA_ATTR_INDEX],this.bg=0;let t=!1;if(e[r.CHAR_DATA_CHAR_INDEX].length>2)t=!0;else if(2===e[r.CHAR_DATA_CHAR_INDEX].length){const i=e[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=i&&i<=56319){const s=e[r.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=s&&s<=57343?this.content=1024*(i-55296)+s-56320+65536|e[r.CHAR_DATA_WIDTH_INDEX]<<22:t=!0}else t=!0}else this.content=e[r.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|e[r.CHAR_DATA_WIDTH_INDEX]<<22;t&&(this.combinedData=e[r.CHAR_DATA_CHAR_INDEX],this.content=2097152|e[r.CHAR_DATA_WIDTH_INDEX]<<22)}getAsCharData(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]}}t.CellData=n},855:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WHITESPACE_CELL_CODE=t.WHITESPACE_CELL_WIDTH=t.WHITESPACE_CELL_CHAR=t.NULL_CELL_CODE=t.NULL_CELL_WIDTH=t.NULL_CELL_CHAR=t.CHAR_DATA_CODE_INDEX=t.CHAR_DATA_WIDTH_INDEX=t.CHAR_DATA_CHAR_INDEX=t.CHAR_DATA_ATTR_INDEX=t.DEFAULT_EXT=t.DEFAULT_ATTR=t.DEFAULT_COLOR=void 0,t.DEFAULT_COLOR=0,t.DEFAULT_ATTR=256|t.DEFAULT_COLOR<<9,t.DEFAULT_EXT=0,t.CHAR_DATA_ATTR_INDEX=0,t.CHAR_DATA_CHAR_INDEX=1,t.CHAR_DATA_WIDTH_INDEX=2,t.CHAR_DATA_CODE_INDEX=3,t.NULL_CELL_CHAR="",t.NULL_CELL_WIDTH=1,t.NULL_CELL_CODE=0,t.WHITESPACE_CELL_CHAR=" ",t.WHITESPACE_CELL_WIDTH=1,t.WHITESPACE_CELL_CODE=32},133:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Utf8ToUtf32=t.StringToUtf32=t.utf32ToString=t.stringFromCodePoint=void 0,t.stringFromCodePoint=function(e){return e>65535?(e-=65536,String.fromCharCode(55296+(e>>10))+String.fromCharCode(e%1024+56320)):String.fromCharCode(e)},t.utf32ToString=function(e,t=0,i=e.length){let s="";for(let r=t;r<i;++r){let t=e[r];t>65535?(t-=65536,s+=String.fromCharCode(55296+(t>>10))+String.fromCharCode(t%1024+56320)):s+=String.fromCharCode(t)}return s},t.StringToUtf32=class{constructor(){this._interim=0}clear(){this._interim=0}decode(e,t){const i=e.length;if(!i)return 0;let s=0,r=0;if(this._interim){const i=e.charCodeAt(r++);56320<=i&&i<=57343?t[s++]=1024*(this._interim-55296)+i-56320+65536:(t[s++]=this._interim,t[s++]=i),this._interim=0}for(let o=r;o<i;++o){const r=e.charCodeAt(o);if(55296<=r&&r<=56319){if(++o>=i)return this._interim=r,s;const n=e.charCodeAt(o);56320<=n&&n<=57343?t[s++]=1024*(r-55296)+n-56320+65536:(t[s++]=r,t[s++]=n)}else 65279!==r&&(t[s++]=r)}return s}},t.Utf8ToUtf32=class{constructor(){this.interim=new Uint8Array(3)}clear(){this.interim.fill(0)}decode(e,t){const i=e.length;if(!i)return 0;let s,r,o,n,a=0,h=0,l=0;if(this.interim[0]){let s=!1,r=this.interim[0];r&=192==(224&r)?31:224==(240&r)?15:7;let o,n=0;for(;(o=63&this.interim[++n])&&n<4;)r<<=6,r|=o;const h=192==(224&this.interim[0])?2:224==(240&this.interim[0])?3:4,c=h-n;for(;l<c;){if(l>=i)return 0;if(o=e[l++],128!=(192&o)){l--,s=!0;break}this.interim[n++]=o,r<<=6,r|=63&o}s||(2===h?r<128?l--:t[a++]=r:3===h?r<2048||r>=55296&&r<=57343||65279===r||(t[a++]=r):r<65536||r>1114111||(t[a++]=r)),this.interim.fill(0)}const c=i-4;let d=l;for(;d<i;){for(;!(!(d<c)||128&(s=e[d])||128&(r=e[d+1])||128&(o=e[d+2])||128&(n=e[d+3]));)t[a++]=s,t[a++]=r,t[a++]=o,t[a++]=n,d+=4;if(s=e[d++],s<128)t[a++]=s;else if(192==(224&s)){if(d>=i)return this.interim[0]=s,a;if(r=e[d++],128!=(192&r)){d--;continue}if(h=(31&s)<<6|63&r,h<128){d--;continue}t[a++]=h}else if(224==(240&s)){if(d>=i)return this.interim[0]=s,a;if(r=e[d++],128!=(192&r)){d--;continue}if(d>=i)return this.interim[0]=s,this.interim[1]=r,a;if(o=e[d++],128!=(192&o)){d--;continue}if(h=(15&s)<<12|(63&r)<<6|63&o,h<2048||h>=55296&&h<=57343||65279===h)continue;t[a++]=h}else if(240==(248&s)){if(d>=i)return this.interim[0]=s,a;if(r=e[d++],128!=(192&r)){d--;continue}if(d>=i)return this.interim[0]=s,this.interim[1]=r,a;if(o=e[d++],128!=(192&o)){d--;continue}if(d>=i)return this.interim[0]=s,this.interim[1]=r,this.interim[2]=o,a;if(n=e[d++],128!=(192&n)){d--;continue}if(h=(7&s)<<18|(63&r)<<12|(63&o)<<6|63&n,h<65536||h>1114111)continue;t[a++]=h}}return a}}},776:function(e,t,i){var s=this&&this.__decorate||function(e,t,i,s){var r,o=arguments.length,n=o<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(n=(o<3?r(n):o>3?r(t,i,n):r(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n},r=this&&this.__param||function(e,t){return function(i,s){t(i,s,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.traceCall=t.setTraceLogger=t.LogService=void 0;const o=i(859),n=i(97),a={trace:n.LogLevelEnum.TRACE,debug:n.LogLevelEnum.DEBUG,info:n.LogLevelEnum.INFO,warn:n.LogLevelEnum.WARN,error:n.LogLevelEnum.ERROR,off:n.LogLevelEnum.OFF};let h,l=t.LogService=class extends o.Disposable{get logLevel(){return this._logLevel}constructor(e){super(),this._optionsService=e,this._logLevel=n.LogLevelEnum.OFF,this._updateLogLevel(),this.register(this._optionsService.onSpecificOptionChange("logLevel",(()=>this._updateLogLevel()))),h=this}_updateLogLevel(){this._logLevel=a[this._optionsService.rawOptions.logLevel]}_evalLazyOptionalParams(e){for(let t=0;t<e.length;t++)"function"==typeof e[t]&&(e[t]=e[t]())}_log(e,t,i){this._evalLazyOptionalParams(i),e.call(console,(this._optionsService.options.logger?"":"xterm.js: ")+t,...i)}trace(e,...t){this._logLevel<=n.LogLevelEnum.TRACE&&this._log(this._optionsService.options.logger?.trace.bind(this._optionsService.options.logger)??console.log,e,t)}debug(e,...t){this._logLevel<=n.LogLevelEnum.DEBUG&&this._log(this._optionsService.options.logger?.debug.bind(this._optionsService.options.logger)??console.log,e,t)}info(e,...t){this._logLevel<=n.LogLevelEnum.INFO&&this._log(this._optionsService.options.logger?.info.bind(this._optionsService.options.logger)??console.info,e,t)}warn(e,...t){this._logLevel<=n.LogLevelEnum.WARN&&this._log(this._optionsService.options.logger?.warn.bind(this._optionsService.options.logger)??console.warn,e,t)}error(e,...t){this._logLevel<=n.LogLevelEnum.ERROR&&this._log(this._optionsService.options.logger?.error.bind(this._optionsService.options.logger)??console.error,e,t)}};t.LogService=l=s([r(0,n.IOptionsService)],l),t.setTraceLogger=function(e){h=e},t.traceCall=function(e,t,i){if("function"!=typeof i.value)throw new Error("not supported");const s=i.value;i.value=function(...e){if(h.logLevel!==n.LogLevelEnum.TRACE)return s.apply(this,e);h.trace(`GlyphRenderer#${s.name}(${e.map((e=>JSON.stringify(e))).join(", ")})`);const t=s.apply(this,e);return h.trace(`GlyphRenderer#${s.name} return`,t),t}}},726:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createDecorator=t.getServiceDependencies=t.serviceRegistry=void 0;const i="di$target",s="di$dependencies";t.serviceRegistry=new Map,t.getServiceDependencies=function(e){return e[s]||[]},t.createDecorator=function(e){if(t.serviceRegistry.has(e))return t.serviceRegistry.get(e);const r=function(e,t,o){if(3!==arguments.length)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");!function(e,t,r){t[i]===t?t[s].push({id:e,index:r}):(t[s]=[{id:e,index:r}],t[i]=t)}(r,e,o)};return r.toString=()=>e,t.serviceRegistry.set(e,r),r}},97:(e,t,i)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.IDecorationService=t.IUnicodeService=t.IOscLinkService=t.IOptionsService=t.ILogService=t.LogLevelEnum=t.IInstantiationService=t.ICharsetService=t.ICoreService=t.ICoreMouseService=t.IBufferService=void 0;const s=i(726);var r;t.IBufferService=(0,s.createDecorator)("BufferService"),t.ICoreMouseService=(0,s.createDecorator)("CoreMouseService"),t.ICoreService=(0,s.createDecorator)("CoreService"),t.ICharsetService=(0,s.createDecorator)("CharsetService"),t.IInstantiationService=(0,s.createDecorator)("InstantiationService"),function(e){e[e.TRACE=0]="TRACE",e[e.DEBUG=1]="DEBUG",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.OFF=5]="OFF"}(r||(t.LogLevelEnum=r={})),t.ILogService=(0,s.createDecorator)("LogService"),t.IOptionsService=(0,s.createDecorator)("OptionsService"),t.IOscLinkService=(0,s.createDecorator)("OscLinkService"),t.IUnicodeService=(0,s.createDecorator)("UnicodeService"),t.IDecorationService=(0,s.createDecorator)("DecorationService")}},t={};function i(s){var r=t[s];if(void 0!==r)return r.exports;var o=t[s]={exports:{}};return e[s].call(o.exports,o,o.exports,i),o.exports}var r={};return(()=>{var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.WebglAddon=void 0;const t=i(345),s=i(859),o=i(399),n=i(666),a=i(776);class h extends s.Disposable{constructor(e){if(o.isSafari&&(0,o.getSafariVersion)()<16){const e={antialias:!1,depth:!1,preserveDrawingBuffer:!0};if(!document.createElement("canvas").getContext("webgl2",e))throw new Error("Webgl2 is only supported on Safari 16 and above")}super(),this._preserveDrawingBuffer=e,this._onChangeTextureAtlas=this.register(new t.EventEmitter),this.onChangeTextureAtlas=this._onChangeTextureAtlas.event,this._onAddTextureAtlasCanvas=this.register(new t.EventEmitter),this.onAddTextureAtlasCanvas=this._onAddTextureAtlasCanvas.event,this._onRemoveTextureAtlasCanvas=this.register(new t.EventEmitter),this.onRemoveTextureAtlasCanvas=this._onRemoveTextureAtlasCanvas.event,this._onContextLoss=this.register(new t.EventEmitter),this.onContextLoss=this._onContextLoss.event}activate(e){const i=e._core;if(!e.element)return void this.register(i.onWillOpen((()=>this.activate(e))));this._terminal=e;const r=i.coreService,o=i.optionsService,h=i,l=h._renderService,c=h._characterJoinerService,d=h._charSizeService,_=h._coreBrowserService,u=h._decorationService,g=h._logService,v=h._themeService;(0,a.setTraceLogger)(g),this._renderer=this.register(new n.WebglRenderer(e,c,d,_,r,u,o,v,this._preserveDrawingBuffer)),this.register((0,t.forwardEvent)(this._renderer.onContextLoss,this._onContextLoss)),this.register((0,t.forwardEvent)(this._renderer.onChangeTextureAtlas,this._onChangeTextureAtlas)),this.register((0,t.forwardEvent)(this._renderer.onAddTextureAtlasCanvas,this._onAddTextureAtlasCanvas)),this.register((0,t.forwardEvent)(this._renderer.onRemoveTextureAtlasCanvas,this._onRemoveTextureAtlasCanvas)),l.setRenderer(this._renderer),this.register((0,s.toDisposable)((()=>{const t=this._terminal._core._renderService;t.setRenderer(this._terminal._core._createRenderer()),t.handleResize(e.cols,e.rows)})))}get textureAtlas(){return this._renderer?.textureAtlas}clearTextureAtlas(){this._renderer?.clearTextureAtlas()}}e.WebglAddon=h})(),r})()))},34155:e=>{var t=e.exports={};var i;var s;function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){i=setTimeout}else{i=r}}catch(e){i=r}try{if(typeof clearTimeout==="function"){s=clearTimeout}else{s=o}}catch(e){s=o}})();function n(e){if(i===setTimeout){return setTimeout(e,0)}if((i===r||!i)&&setTimeout){i=setTimeout;return setTimeout(e,0)}try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}function a(e){if(s===clearTimeout){return clearTimeout(e)}if((s===o||!s)&&clearTimeout){s=clearTimeout;return clearTimeout(e)}try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}var h=[];var l=false;var c;var d=-1;function _(){if(!l||!c){return}l=false;if(c.length){h=c.concat(h)}else{d=-1}if(h.length){u()}}function u(){if(l){return}var e=n(_);l=true;var t=h.length;while(t){c=h;h=[];while(++d<t){if(c){c[d].run()}}d=-1;t=h.length}c=null;l=false;a(e)}t.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1){for(var i=1;i<arguments.length;i++){t[i-1]=arguments[i]}}h.push(new g(e,t));if(h.length===1&&!l){n(u)}};function g(e,t){this.fun=e;this.array=t}g.prototype.run=function(){this.fun.apply(null,this.array)};t.title="browser";t.browser=true;t.env={};t.argv=[];t.version="";t.versions={};function v(){}t.on=v;t.addListener=v;t.once=v;t.off=v;t.removeListener=v;t.removeAllListeners=v;t.emit=v;t.prependListener=v;t.prependOnceListener=v;t.listeners=function(e){return[]};t.binding=function(e){throw new Error("process.binding is not supported")};t.cwd=function(){return"/"};t.chdir=function(e){throw new Error("process.chdir is not supported")};t.umask=function(){return 0}}}]);