jupyterlab 4.4.1__py3-none-any.whl → 4.5.0a0__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 (516) hide show
  1. jupyterlab/_version.py +1 -1
  2. jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +100 -100
  3. jupyterlab/galata/@jupyterlab/galata-extension/package.json +11 -11
  4. jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.d1229e85104d4767dc94.js → remoteEntry.e8b40a2d4514a5643b85.js} +3 -3
  5. jupyterlab/labextensions.py +1 -1
  6. jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +11 -11
  7. jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +15 -15
  8. jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  9. jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  10. jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +15 -15
  11. jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -7
  12. jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +14 -14
  13. jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +12 -12
  14. jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
  15. jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +13 -13
  16. jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +7 -7
  17. jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
  18. jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +14 -14
  19. jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +26 -26
  20. jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +9 -9
  21. jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  22. jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  23. jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
  24. jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -10
  25. jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +8 -8
  26. jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +12 -12
  27. jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  28. jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -12
  29. jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
  30. jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
  31. jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  32. jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +31 -31
  33. jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +13 -13
  34. jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
  35. jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
  36. jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
  37. jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +12 -12
  38. jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
  39. jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +12 -12
  40. jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  41. jupyterlab/schemas/@jupyterlab/workspaces-extension/package.json.orig +12 -12
  42. jupyterlab/staging/package.json +154 -154
  43. jupyterlab/staging/yarn.lock +1264 -1269
  44. jupyterlab/static/1423.4bcf4453e1c1d12d872f.js +1 -0
  45. jupyterlab/static/{1673.b0ee25168543434bdbca.js → 1673.27341362437f5b115e52.js} +1 -1
  46. jupyterlab/static/{227.45a2d99fcab805307f5d.js → 227.6bd3154334bb91c5ca1c.js} +2 -2
  47. jupyterlab/static/2574.327dadfe49120269ff31.js +1 -0
  48. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/339.62fb1e5a084681d24bfa.js → jupyterlab/static/339.380593b40d8d41150a4e.js +1 -1
  49. jupyterlab/static/4001.80ab3ef5300d7ce2d1fe.js +1 -0
  50. jupyterlab/static/{4090.bd2ff9e2e0260755b494.js → 4090.eec44f90a54aa383426c.js} +1 -1
  51. jupyterlab/static/4353.8572f6845cfde92dc152.js +1 -0
  52. jupyterlab/static/{4462.5b7c89923560703ffc61.js → 4462.c3c6de84bc9399e0290d.js} +1 -1
  53. jupyterlab/static/4484.e1d2565d1a3daa5fe5f1.js +1 -0
  54. jupyterlab/static/4958.0a9dba3bf643df0b91de.js +1 -0
  55. jupyterlab/static/{5211.5b71830476810a6188e4.js → 5211.83e78dadcef89cae04bf.js} +1 -1
  56. jupyterlab/static/6003.94cdab770c801f3c46f7.js +1 -0
  57. jupyterlab/static/6180.e117d54f4c9c44139a58.js +1 -0
  58. jupyterlab/static/{6733.2d8d3e01d56d79a52e7e.js → 6733.a97932c79deb779853b9.js} +2 -2
  59. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/8103.00fa0c157eb92e5cf3ba.js → jupyterlab/static/8103.ed2b21471519b58a3d73.js +1 -1
  60. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/8232.76805a0a87d0f6bb62ad.js → jupyterlab/static/8232.e31d5021e77a9b5215d6.js +1 -1
  61. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/8313.6e63b9811aee7e4b2568.js → jupyterlab/static/8313.aac706f5036a7209b3a8.js +1 -1
  62. jupyterlab/static/9296.1c75c887f933757c6bfb.js +1 -0
  63. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/9311.8665d8c6e7a33b23b427.js → jupyterlab/static/9311.ad0012965aa52db7a3e3.js +1 -1
  64. jupyterlab/static/{9329.2c313c649fae987158c7.js → 9329.1683d45b6478b7c81a24.js} +1 -1
  65. jupyterlab/static/{8492.3e6c3b4cb9cc0cac5ae4.js → 9595.f09f57c8d9cd7ec1ce2b.js} +1 -1
  66. jupyterlab/static/{9892.6d289e7baed8c64d88e2.js → 9892.cea1f2560c9c255fa407.js} +2 -2
  67. jupyterlab/static/build_log.json +103 -103
  68. jupyterlab/static/index.html +1 -1
  69. jupyterlab/static/jlab_core.27e01d10ff7e05bb16fb.js +1 -0
  70. jupyterlab/static/main.4d660f8d0ca717e97a6e.js +1 -0
  71. jupyterlab/static/package.json +154 -154
  72. jupyterlab/static/third-party-licenses.json +110 -110
  73. jupyterlab/tests/mock_packages/extension/package.json +3 -3
  74. jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
  75. jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
  76. jupyterlab/tests/mock_packages/interop/token/package.json +1 -1
  77. jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
  78. jupyterlab/tests/mock_packages/service-manager-extension/package.json +3 -3
  79. jupyterlab/tests/mock_packages/test-hyphens-underscore/yarn.lock +3 -3
  80. jupyterlab/tests/mock_packages/test_no_hyphens/yarn.lock +3 -3
  81. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +11 -11
  82. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +15 -15
  83. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
  84. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
  85. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +15 -15
  86. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +7 -7
  87. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +14 -14
  88. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +12 -12
  89. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
  90. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +13 -13
  91. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +7 -7
  92. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
  93. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +14 -14
  94. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +26 -26
  95. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +9 -9
  96. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
  97. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
  98. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
  99. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +10 -10
  100. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +8 -8
  101. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +12 -12
  102. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
  103. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -12
  104. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
  105. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
  106. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
  107. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +91 -0
  108. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +13 -13
  109. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
  110. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
  111. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
  112. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +12 -12
  113. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
  114. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +12 -12
  115. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
  116. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +12 -12
  117. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/1423.4bcf4453e1c1d12d872f.js +1 -0
  118. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/1673.b0ee25168543434bdbca.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/1673.27341362437f5b115e52.js +1 -1
  119. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/227.45a2d99fcab805307f5d.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/227.6bd3154334bb91c5ca1c.js +2 -2
  120. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/2574.327dadfe49120269ff31.js +1 -0
  121. jupyterlab/static/339.62fb1e5a084681d24bfa.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/339.380593b40d8d41150a4e.js +1 -1
  122. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/4001.80ab3ef5300d7ce2d1fe.js +1 -0
  123. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/4090.bd2ff9e2e0260755b494.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/4090.eec44f90a54aa383426c.js +1 -1
  124. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/4353.8572f6845cfde92dc152.js +1 -0
  125. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/4462.5b7c89923560703ffc61.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/4462.c3c6de84bc9399e0290d.js +1 -1
  126. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/4484.e1d2565d1a3daa5fe5f1.js +1 -0
  127. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/4958.0a9dba3bf643df0b91de.js +1 -0
  128. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/5211.5b71830476810a6188e4.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/5211.83e78dadcef89cae04bf.js +1 -1
  129. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/6003.94cdab770c801f3c46f7.js +1 -0
  130. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/6180.e117d54f4c9c44139a58.js +1 -0
  131. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/6733.2d8d3e01d56d79a52e7e.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/6733.a97932c79deb779853b9.js +2 -2
  132. jupyterlab/static/8103.00fa0c157eb92e5cf3ba.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/8103.ed2b21471519b58a3d73.js +1 -1
  133. jupyterlab/static/8232.76805a0a87d0f6bb62ad.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/8232.e31d5021e77a9b5215d6.js +1 -1
  134. jupyterlab/static/8313.6e63b9811aee7e4b2568.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/8313.aac706f5036a7209b3a8.js +1 -1
  135. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/9296.1c75c887f933757c6bfb.js +1 -0
  136. jupyterlab/static/9311.8665d8c6e7a33b23b427.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/9311.ad0012965aa52db7a3e3.js +1 -1
  137. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/9329.2c313c649fae987158c7.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/9329.1683d45b6478b7c81a24.js +1 -1
  138. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/8492.3e6c3b4cb9cc0cac5ae4.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/9595.f09f57c8d9cd7ec1ce2b.js +1 -1
  139. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/9892.6d289e7baed8c64d88e2.js → jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/9892.cea1f2560c9c255fa407.js +2 -2
  140. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/build_log.json +103 -103
  141. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/index.html +1 -1
  142. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/jlab_core.27e01d10ff7e05bb16fb.js +1 -0
  143. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/main.4d660f8d0ca717e97a6e.js +1 -0
  144. jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/package.json +360 -0
  145. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/third-party-licenses.json +110 -110
  146. {jupyterlab-4.4.1.dist-info → jupyterlab-4.5.0a0.dist-info}/METADATA +2 -2
  147. jupyterlab-4.5.0a0.dist-info/RECORD +917 -0
  148. jupyterlab/static/1423.89480794cff0f407b564.js +0 -1
  149. jupyterlab/static/2574.7d463f2a193d49883bdc.js +0 -1
  150. jupyterlab/static/4001.579eed0e78ec63aa688d.js +0 -1
  151. jupyterlab/static/4353.595ce0e0b174011528d6.js +0 -1
  152. jupyterlab/static/4484.0c7c43754e97c96f0f89.js +0 -1
  153. jupyterlab/static/4958.97b2f8fcf192239b1b26.js +0 -1
  154. jupyterlab/static/6003.0e631d8bc60aebfa5484.js +0 -1
  155. jupyterlab/static/6180.fc7de057fa46a06cc871.js +0 -1
  156. jupyterlab/static/9296.53192f1301a3b8a06238.js +0 -1
  157. jupyterlab/static/jlab_core.5aa373b4d2384b44ed86.js +0 -1
  158. jupyterlab/static/main.26aa817373fdc578edb6.js +0 -1
  159. jupyterlab-4.4.1.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +0 -91
  160. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/1423.89480794cff0f407b564.js +0 -1
  161. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/2574.7d463f2a193d49883bdc.js +0 -1
  162. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/4001.579eed0e78ec63aa688d.js +0 -1
  163. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/4353.595ce0e0b174011528d6.js +0 -1
  164. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/4484.0c7c43754e97c96f0f89.js +0 -1
  165. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/4958.97b2f8fcf192239b1b26.js +0 -1
  166. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/6003.0e631d8bc60aebfa5484.js +0 -1
  167. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/6180.fc7de057fa46a06cc871.js +0 -1
  168. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/9296.53192f1301a3b8a06238.js +0 -1
  169. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/jlab_core.5aa373b4d2384b44ed86.js +0 -1
  170. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/main.26aa817373fdc578edb6.js +0 -1
  171. jupyterlab-4.4.1.data/data/share/jupyter/lab/static/package.json +0 -360
  172. jupyterlab-4.4.1.dist-info/RECORD +0 -917
  173. /jupyterlab/static/{227.45a2d99fcab805307f5d.js.LICENSE.txt → 227.6bd3154334bb91c5ca1c.js.LICENSE.txt} +0 -0
  174. /jupyterlab/static/{6733.2d8d3e01d56d79a52e7e.js.LICENSE.txt → 6733.a97932c79deb779853b9.js.LICENSE.txt} +0 -0
  175. /jupyterlab/static/{9892.6d289e7baed8c64d88e2.js.LICENSE.txt → 9892.cea1f2560c9c255fa407.js.LICENSE.txt} +0 -0
  176. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
  177. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
  178. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/applications/jupyterlab.desktop +0 -0
  179. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
  180. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
  181. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
  182. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
  183. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
  184. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
  185. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/kernels-settings.json +0 -0
  186. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
  187. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
  188. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
  189. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
  190. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sessionDialogs.json +0 -0
  191. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
  192. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
  193. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
  194. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
  195. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
  196. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +0 -0
  197. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
  198. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
  199. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
  200. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
  201. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
  202. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
  203. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
  204. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
  205. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +0 -0
  206. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
  207. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
  208. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +0 -0
  209. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
  210. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
  211. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
  212. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
  213. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
  214. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
  215. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
  216. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
  217. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
  218. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
  219. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
  220. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
  221. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
  222. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
  223. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
  224. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
  225. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
  226. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
  227. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +0 -0
  228. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
  229. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
  230. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
  231. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
  232. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
  233. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
  234. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
  235. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +0 -0
  236. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +0 -0
  237. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
  238. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
  239. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
  240. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
  241. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
  242. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
  243. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
  244. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
  245. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
  246. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
  247. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/indicator.json +0 -0
  248. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +0 -0
  249. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +0 -0
  250. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/100.1d14ca44a3cc8849349f.js +0 -0
  251. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1039.3fe94e87219c0ed159d3.js +0 -0
  252. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1096.dd4c563e0483cbbeb9c9.js +0 -0
  253. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1189.c1482e88f0e949753db6.js +0 -0
  254. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1208.4b9ab7b231d39ebdbc3f.js +0 -0
  255. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1219.b5630aa3a46050fddc27.js +0 -0
  256. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1268.e75d8a6dd557ac8957ca.js +0 -0
  257. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1359.d5f23f0e2a6f67b69751.js +0 -0
  258. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1436.2c11d9dee0ad6f49e968.js +0 -0
  259. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1445.a0e099c27d073217031a.js +0 -0
  260. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1449.7026e8748d2a77e15d5b.js +0 -0
  261. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1462.57e39f487257f25263d4.js +0 -0
  262. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1491.010c623dd546db976e95.js +0 -0
  263. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1495.13603dd823bbf5eb08b3.js +0 -0
  264. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1737.a5fc97075f693ec36fe6.js +0 -0
  265. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1832.b1ede2fe899bdec88938.js +0 -0
  266. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1834.7445ad0c82371ac40737.js +0 -0
  267. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1838.839690ff17ec3c532f0a.js +0 -0
  268. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1887.56f83f163a18c61efb16.js +0 -0
  269. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1909.7487a09fefbe7f9eabb6.js +0 -0
  270. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1909.7487a09fefbe7f9eabb6.js.LICENSE.txt +0 -0
  271. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1912.f16dddc294d66c3c81e9.js +0 -0
  272. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1954.f1c519cb1415c7da3e8c.js +0 -0
  273. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1960.f8d8ef8a91360e60f0b9.js +0 -0
  274. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1962.6a7da74e809b70d5200d.js +0 -0
  275. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1969.86e3168e52802569d650.js +0 -0
  276. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1986.26029e99ef54a5652df8.js +0 -0
  277. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1991.84fc123d7cfe8ae2948e.js +0 -0
  278. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
  279. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2023.59b30086fbeff6d17e3b.js +0 -0
  280. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2211.3123543dcc217549bbb0.js +0 -0
  281. /jupyterlab-4.4.1.data/data/share/jupyter/lab/static/227.45a2d99fcab805307f5d.js.LICENSE.txt → /jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/227.6bd3154334bb91c5ca1c.js.LICENSE.txt +0 -0
  282. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2280.6614699f54522fffbc00.js +0 -0
  283. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/232.5419cbec68e3fd0cf431.js +0 -0
  284. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/232.5419cbec68e3fd0cf431.js.LICENSE.txt +0 -0
  285. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2353.ab70488f07a7c0a7a3fd.js +0 -0
  286. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/246.326a6482593e8a7bcd58.js +0 -0
  287. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2467.4227742ac4b60289f222.js +0 -0
  288. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/247.84259ab142dd8c151fc2.js +0 -0
  289. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2550.75fcaa650ffac405c0dc.js +0 -0
  290. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2576.b98b7b23adeec4cb6932.js +0 -0
  291. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2590.99e505d19b964439aa31.js +0 -0
  292. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2601.2429d5a03c8465ae6290.js +0 -0
  293. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2633.ea053b40991eb5adbc69.js +0 -0
  294. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2641.e77441e7a3e0d12834c5.js +0 -0
  295. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/265.6f9e37c0b72db64203b1.js +0 -0
  296. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2658.d1cae1b08b068d864368.js +0 -0
  297. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
  298. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2681.a47f40e38ecd31ccd687.js +0 -0
  299. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2707.61050e600b0aa9624127.js +0 -0
  300. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2729.cafaf0caf2c0c83ac9fe.js +0 -0
  301. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2794.05495c139ed000b57598.js +0 -0
  302. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2823.0b6015b5e03c08281f41.js +0 -0
  303. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2880.8483d51b11998bfe8e4b.js +0 -0
  304. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2957.bc5eb9549a0b15c44916.js +0 -0
  305. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/2959.b24c9f67d639376f5ead.js +0 -0
  306. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3048.59e6166a886a78f4f698.js +0 -0
  307. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
  308. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3111.33574d9124842f355bce.js +0 -0
  309. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3112.0757b31e24c5334fda73.js +0 -0
  310. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3122.fed5688acdcf6ff6aa6b.js +0 -0
  311. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/321.0fb994fd384a54491584.js +0 -0
  312. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3257.30af681f0c294efb65f7.js +0 -0
  313. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3257.30af681f0c294efb65f7.js.LICENSE.txt +0 -0
  314. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
  315. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3282.22e78350d54fcaf3c6c8.js +0 -0
  316. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3293.375c6685d72662fc062f.js +0 -0
  317. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3303.b5596c0715d2d58332fb.js +0 -0
  318. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3358.7ba73a6804155b619b44.js +0 -0
  319. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3372.8eeafd96de9a7a205f40.js +0 -0
  320. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
  321. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3616.a4271ffcf2ac3b4c2338.js +0 -0
  322. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
  323. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3709.e33bc30c83272aa85628.js +0 -0
  324. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
  325. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3763.56191df5d72d2ffa5aa6.js +0 -0
  326. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3780.c9294dc98ae926717741.js +0 -0
  327. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3799.eaa0438bc5c41bad0516.js +0 -0
  328. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3824.5e23be1e37fce5b7c6b3.js +0 -0
  329. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3832.c6026c483bb46cc8e599.js +0 -0
  330. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3974.79f68bca9a02c92dab5e.js +0 -0
  331. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3991.678edf189fe92a216c70.js +0 -0
  332. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
  333. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
  334. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
  335. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4010.5271baedaaff5113c699.js +0 -0
  336. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4053.4945facc348478fd59f4.js +0 -0
  337. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4068.9cc41f46f729f2c4369b.js +0 -0
  338. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4076.b4d803d8bf1bd6c97854.js +0 -0
  339. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4266.155b468271987c81d948.js +0 -0
  340. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4296.721da424585874d0789e.js +0 -0
  341. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4311.b44e8bc4829e0b1226d2.js +0 -0
  342. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4323.b2bd8a329a81d30ed039.js +0 -0
  343. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4350.8c8a0e7a3ffe036494e1.js +0 -0
  344. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4364.b9b49d8d836882f44e62.js +0 -0
  345. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4372.645626a2452c190dbb22.js +0 -0
  346. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4372.645626a2452c190dbb22.js.LICENSE.txt +0 -0
  347. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4408.f24dd0edf35e08548967.js +0 -0
  348. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4486.8d2f41ae787607b7bf31.js +0 -0
  349. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4528.43328125d98d6cfdfa99.js +0 -0
  350. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4611.bd2b768223b0cd570834.js +0 -0
  351. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4616.04cfbd55593c51921cc7.js +0 -0
  352. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4728.f59e4bd4b29409da82bc.js +0 -0
  353. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4728.f59e4bd4b29409da82bc.js.LICENSE.txt +0 -0
  354. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4735.7731d551ca68bcb58e9f.js +0 -0
  355. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4797.3740ef47b224a11a7fab.js +0 -0
  356. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
  357. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4838.8db4c61349bfba200547.js +0 -0
  358. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4855.29e8dc6982ba4873487d.js +0 -0
  359. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4878.f7557c5c99a54b40c49b.js +0 -0
  360. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/492.5f186062d2dcdf79c86c.js +0 -0
  361. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4928.6cb408e4def87534970d.js +0 -0
  362. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4981.eed4ddb90566e90e3df4.js +0 -0
  363. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/4982.c609185756485c6e3344.js +0 -0
  364. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5085.a38923f36b551620798a.js +0 -0
  365. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5090.404be96d8a6eae1e719a.js +0 -0
  366. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5090.404be96d8a6eae1e719a.js.LICENSE.txt +0 -0
  367. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5135.7f204de2153e4d85406d.js +0 -0
  368. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5224.8a6bbc774d20be66fdfb.js +0 -0
  369. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5244.eefac84704ad30f00af3.js +0 -0
  370. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5317.f4bba2e3d0f4fdd088f7.js +0 -0
  371. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5318.d5df5c275e925c22d780.js +0 -0
  372. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5338.38c32bdfb0695f9b501f.js +0 -0
  373. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5489.7fab44eac7538297b164.js +0 -0
  374. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5492.44728a640c37a4b4aa0c.js +0 -0
  375. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5521.0337f193af4e5eee6057.js +0 -0
  376. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5566.c76ea61eb723ee84e2cf.js +0 -0
  377. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5606.e03dfa10c124a03f36ba.js +0 -0
  378. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/580.4ea1e6182e0b35ff091a.js +0 -0
  379. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5829.0e46d479b4ade4783661.js +0 -0
  380. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5847.930208c25e45ecf30657.js +0 -0
  381. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5862.be1ec453e8db6844c62d.js +0 -0
  382. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5877.72ab5a29e95ce21981e4.js +0 -0
  383. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5929.d561797f8259994ecdd8.js +0 -0
  384. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5942.05cbcd55c5f45ff7db43.js +0 -0
  385. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5987.7e967df5417044d337a4.js +0 -0
  386. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
  387. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6060.52dca011e9f2f279fc5e.js +0 -0
  388. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6095.6e79e3bad86e054aa8c8.js +0 -0
  389. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6145.c422868290460078c013.js +0 -0
  390. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6166.2bc9ac8e2156c0701a52.js +0 -0
  391. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6170.65d899f43342f1e34bf1.js +0 -0
  392. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6214.617de47747c5a9b19ef7.js +0 -0
  393. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6275.e99f9312900c481b467d.js +0 -0
  394. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6294.b3cb5e16527b9d09b4a2.js +0 -0
  395. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6364.c592f3101de349ba3904.js +0 -0
  396. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6372.edc0712a4be855493530.js +0 -0
  397. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6412.ebdf8da40f1ba8272df9.js +0 -0
  398. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6439.1723c0b3882bf535486e.js +0 -0
  399. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6460.d9aaa1e48da295c6035d.js +0 -0
  400. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/649.4081045b1737e4213282.js +0 -0
  401. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6492.804d51a693edf6978ef4.js +0 -0
  402. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6540.51c00e890179a4832552.js +0 -0
  403. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6540.51c00e890179a4832552.js.LICENSE.txt +0 -0
  404. /jupyterlab-4.4.1.data/data/share/jupyter/lab/static/6733.2d8d3e01d56d79a52e7e.js.LICENSE.txt → /jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/6733.a97932c79deb779853b9.js.LICENSE.txt +0 -0
  405. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6767.4b82d96c237ca7e31bc6.js +0 -0
  406. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6779.051cfbcb0700a96839b2.js +0 -0
  407. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6831.1df8fa4cabb5b1c19803.js +0 -0
  408. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6843.dabcc3c9658bc6ded6d1.js +0 -0
  409. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6874.bb2f7fbc6ce56eecc800.js +0 -0
  410. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6896.af1d649e0efae70b7b1a.js +0 -0
  411. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6941.465bebbd3d8a024f5f15.js +0 -0
  412. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6974.b5b353b8af28fbc91291.js +0 -0
  413. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6986.a89a5aba790481992875.js +0 -0
  414. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/6993.c93f5a810fcf441cbb6f.js +0 -0
  415. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7136.b312751fbb25b73f5e71.js +0 -0
  416. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
  417. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7250.b88d0a5e237ff5ff1aad.js +0 -0
  418. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7260.b47dcaccbe7991104e8a.js +0 -0
  419. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7269.962f078e97afc4f68e79.js +0 -0
  420. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
  421. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/731.82a7b980b5b7f4b7a14f.js +0 -0
  422. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7318.7cc6b4b0b3151b205ecb.js +0 -0
  423. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7371.63b12ce793df713ab95b.js +0 -0
  424. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7425.f1c25f6c8aaec77e8635.js +0 -0
  425. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7445.7c793c8e1720f8ec4f85.js +0 -0
  426. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7575.2e3e32236d5667bba43f.js +0 -0
  427. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7587.3112240b6b82407b0f16.js +0 -0
  428. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7694.1cbff84dccb512476b7c.js +0 -0
  429. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7741.2ad1372a5862c4522be3.js +0 -0
  430. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7756.93d0ab41829355a147ab.js +0 -0
  431. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7769.d39df7673ee2660a9ac4.js +0 -0
  432. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7803.0c8929610218552319bf.js +0 -0
  433. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7856.dd9523e57bed80f1f694.js +0 -0
  434. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7879.5c485d200dc01b6f43ff.js +0 -0
  435. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7881.c5a234ce171f347c94e2.js +0 -0
  436. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7990.01eaa552261b6e12a74a.js +0 -0
  437. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/7990.01eaa552261b6e12a74a.js.LICENSE.txt +0 -0
  438. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
  439. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8038.aea19fb961abd87d6255.js +0 -0
  440. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/805.2a0b8ac50aa8e6ab096f.js +0 -0
  441. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8217.801fbb0b549a74238760.js +0 -0
  442. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8326.9dda93079a9e4f1b9be6.js +0 -0
  443. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8354.94077232b086a13541cc.js +0 -0
  444. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8368.c75a4b32ae45ec88465d.js +0 -0
  445. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8391.e5fb2e35cced405eb819.js +0 -0
  446. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/84.fe0a55d7756c37585fb4.js +0 -0
  447. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8418.42e29778d4b49fb54e8e.js +0 -0
  448. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8493.3b6106e45d5661438d8e.js +0 -0
  449. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8537.21b8b9ae0d81ae264499.js +0 -0
  450. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8606.bc1b0136e61d173913cd.js +0 -0
  451. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/867.e814bf26fbfc77fc4f16.js +0 -0
  452. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
  453. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/874.fbd3ae653c7337f3425b.js +0 -0
  454. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8753.56da17175b663d61f9d3.js +0 -0
  455. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8778.a3883f9acac5a903d6be.js +0 -0
  456. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8779.6eebdb56785e3d38a457.js +0 -0
  457. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8786.a2bc3dfc1ea13c04ba94.js +0 -0
  458. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8786.a2bc3dfc1ea13c04ba94.js.LICENSE.txt +0 -0
  459. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8816.d7ec52fb31e9c6749593.js +0 -0
  460. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8830.d5bb102ed8737ffe38cb.js +0 -0
  461. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8855.b17b9969fce42d0398e4.js +0 -0
  462. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
  463. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/89.933673451ca4a51053cb.js +0 -0
  464. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8915.ab253990b1581460b255.js +0 -0
  465. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/898.ed04189e15f0a3781fb1.js +0 -0
  466. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
  467. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
  468. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9023.2ff687d7ff50df3719fc.js +0 -0
  469. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9046.99c477ea375dcbb8c7ca.js +0 -0
  470. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9085.5a959b5878e7afd8a878.js +0 -0
  471. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9085.5a959b5878e7afd8a878.js.LICENSE.txt +0 -0
  472. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9123.501219cd782693d6539f.js +0 -0
  473. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9136.8f4cc6ecadcf250fd8ac.js +0 -0
  474. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9137.179a3c47465e7fb8f067.js +0 -0
  475. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9359.34d1b961b733676193cb.js +0 -0
  476. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9400.90fd1d2212781c80b587.js +0 -0
  477. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9474.01b4e1d1e3376f4a5919.js +0 -0
  478. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9517.7056cafdf1da3a136d45.js +0 -0
  479. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9572.f91bbaa33e932d524f8f.js +0 -0
  480. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/961.29c067b15a524e556eed.js +0 -0
  481. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/961.29c067b15a524e556eed.js.LICENSE.txt +0 -0
  482. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9652.a8d2e5854bcae4d40041.js +0 -0
  483. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
  484. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9746.c7e86b432363dfd28caa.js +0 -0
  485. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
  486. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9881.37d189ff085cb3468683.js +0 -0
  487. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/9890.75ea8024e2c1c49c89a3.js +0 -0
  488. /jupyterlab-4.4.1.data/data/share/jupyter/lab/static/9892.6d289e7baed8c64d88e2.js.LICENSE.txt → /jupyterlab-4.5.0a0.data/data/share/jupyter/lab/static/9892.cea1f2560c9c255fa407.js.LICENSE.txt +0 -0
  489. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
  490. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
  491. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
  492. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
  493. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
  494. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
  495. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
  496. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
  497. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
  498. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
  499. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
  500. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
  501. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
  502. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
  503. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
  504. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
  505. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
  506. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/index.out.js +0 -0
  507. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/static/style.js +0 -0
  508. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +0 -0
  509. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
  510. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.css +0 -0
  511. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-high-contrast-extension/index.js +0 -0
  512. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +0 -0
  513. {jupyterlab-4.4.1.data → jupyterlab-4.5.0a0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
  514. {jupyterlab-4.4.1.dist-info → jupyterlab-4.5.0a0.dist-info}/WHEEL +0 -0
  515. {jupyterlab-4.4.1.dist-info → jupyterlab-4.5.0a0.dist-info}/entry_points.txt +0 -0
  516. {jupyterlab-4.4.1.dist-info → jupyterlab-4.5.0a0.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
1
- (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1423,5606],{75128:(t,e,s)=>{"use strict";s.d(e,{Ar:()=>d,Bc:()=>Qt,Gw:()=>Ot,_5:()=>h,et:()=>u,wm:()=>Wt});var i=s(71674);var n=s.n(i);var o=s(22819);var r=s.n(o);var l=s(4452);var a=s.n(l);class h{constructor(t,e,s,i){this.state=t;this.pos=e;this.explicit=s;this.view=i;this.abortListeners=[];this.abortOnDocChange=false}tokenBefore(t){let e=(0,l.syntaxTree)(this.state).resolveInner(this.pos,-1);while(e&&t.indexOf(e.name)<0)e=e.parent;return e?{from:e.from,to:this.pos,text:this.state.sliceDoc(e.from,this.pos),type:e.type}:null}matchBefore(t){let e=this.state.doc.lineAt(this.pos);let s=Math.max(e.from,this.pos-250);let i=e.text.slice(s-e.from,this.pos-e.from);let n=i.search(k(t,false));return n<0?null:{from:s+n,to:this.pos,text:i.slice(n)}}get aborted(){return this.abortListeners==null}addEventListener(t,e,s){if(t=="abort"&&this.abortListeners){this.abortListeners.push(e);if(s&&s.onDocChange)this.abortOnDocChange=true}}}function c(t){let e=Object.keys(t).join("");let s=/\w/.test(e);if(s)e=e.replace(/\w/g,"");return`[${s?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function f(t){let e=Object.create(null),s=Object.create(null);for(let{label:n}of t){e[n[0]]=true;for(let t=1;t<n.length;t++)s[n[t]]=true}let i=c(e)+c(s)+"*$";return[new RegExp("^"+i),new RegExp(i)]}function u(t){let e=t.map((t=>typeof t=="string"?{label:t}:t));let[s,i]=e.every((t=>/^\w+$/.test(t.label)))?[/\w*$/,/\w+$/]:f(e);return t=>{let n=t.matchBefore(i);return n||t.explicit?{from:n?n.from:t.pos,options:e,validFor:s}:null}}function p(t,e){return s=>{for(let i=syntaxTree(s.state).resolveInner(s.pos,-1);i;i=i.parent){if(t.indexOf(i.name)>-1)return e(s);if(i.type.isTop)break}return null}}function d(t,e){return s=>{for(let e=(0,l.syntaxTree)(s.state).resolveInner(s.pos,-1);e;e=e.parent){if(t.indexOf(e.name)>-1)return null;if(e.type.isTop)break}return e(s)}}class m{constructor(t,e,s,i){this.completion=t;this.source=e;this.match=s;this.score=i}}function g(t){return t.selection.main.from}function k(t,e){var s;let{source:i}=t;let n=e&&i[0]!="^",o=i[i.length-1]!="$";if(!n&&!o)return t;return new RegExp(`${n?"^":""}(?:${i})${o?"$":""}`,(s=t.flags)!==null&&s!==void 0?s:t.ignoreCase?"i":"")}const b=i.Annotation.define();function x(t,e,s,n){let{main:o}=t.selection,r=s-o.from,l=n-o.from;return Object.assign(Object.assign({},t.changeByRange((a=>{if(a!=o&&s!=n&&t.sliceDoc(a.from+r,a.from+l)!=t.sliceDoc(s,n))return{range:a};let h=t.toText(e);return{changes:{from:a.from+r,to:n==o.from?a.to:a.from+l,insert:h},range:i.EditorSelection.cursor(a.from+r+h.length)}}))),{scrollIntoView:true,userEvent:"input.complete"})}const v=new WeakMap;function w(t){if(!Array.isArray(t))return t;let e=v.get(t);if(!e)v.set(t,e=u(t));return e}const y=i.StateEffect.define();const S=i.StateEffect.define();class C{constructor(t){this.pattern=t;this.chars=[];this.folded=[];this.any=[];this.precise=[];this.byWord=[];this.score=0;this.matched=[];for(let e=0;e<t.length;){let s=(0,i.codePointAt)(t,e),n=(0,i.codePointSize)(s);this.chars.push(s);let o=t.slice(e,e+n),r=o.toUpperCase();this.folded.push((0,i.codePointAt)(r==o?o.toLowerCase():r,0));e+=n}this.astral=t.length!=this.chars.length}ret(t,e){this.score=t;this.matched=e;return this}match(t){if(this.pattern.length==0)return this.ret(-100,[]);if(t.length<this.pattern.length)return null;let{chars:e,folded:s,any:n,precise:o,byWord:r}=this;if(e.length==1){let n=(0,i.codePointAt)(t,0),o=(0,i.codePointSize)(n);let r=o==t.length?0:-100;if(n==e[0]);else if(n==s[0])r+=-200;else return null;return this.ret(r,[0,o])}let l=t.indexOf(this.pattern);if(l==0)return this.ret(t.length==this.pattern.length?0:-100,[0,this.pattern.length]);let a=e.length,h=0;if(l<0){for(let o=0,r=Math.min(t.length,200);o<r&&h<a;){let r=(0,i.codePointAt)(t,o);if(r==e[h]||r==s[h])n[h++]=o;o+=(0,i.codePointSize)(r)}if(h<a)return null}let c=0;let f=0,u=false;let p=0,d=-1,m=-1;let g=/[a-z]/.test(t),k=true;for(let b=0,x=Math.min(t.length,200),v=0;b<x&&f<a;){let n=(0,i.codePointAt)(t,b);if(l<0){if(c<a&&n==e[c])o[c++]=b;if(p<a){if(n==e[p]||n==s[p]){if(p==0)d=b;m=b+1;p++}else{p=0}}}let h,x=n<255?n>=48&&n<=57||n>=97&&n<=122?2:n>=65&&n<=90?1:0:(h=(0,i.fromCodePoint)(n))!=h.toLowerCase()?1:h!=h.toUpperCase()?2:0;if(!b||x==1&&g||v==0&&x!=0){if(e[f]==n||s[f]==n&&(u=true))r[f++]=b;else if(r.length)k=false}v=x;b+=(0,i.codePointSize)(n)}if(f==a&&r[0]==0&&k)return this.result(-100+(u?-200:0),r,t);if(p==a&&d==0)return this.ret(-200-t.length+(m==t.length?0:-100),[0,m]);if(l>-1)return this.ret(-700-t.length,[l,l+this.pattern.length]);if(p==a)return this.ret(-200+-700-t.length,[d,m]);if(f==a)return this.result(-100+(u?-200:0)+-700+(k?0:-1100),r,t);return e.length==2?null:this.result((n[0]?-700:0)+-200+-1100,n,t)}result(t,e,s){let n=[],o=0;for(let r of e){let t=r+(this.astral?(0,i.codePointSize)((0,i.codePointAt)(s,r)):1);if(o&&n[o-1]==r)n[o-1]=t;else{n[o++]=r;n[o++]=t}}return this.ret(t-s.length,n)}}class P{constructor(t){this.pattern=t;this.matched=[];this.score=0;this.folded=t.toLowerCase()}match(t){if(t.length<this.pattern.length)return null;let e=t.slice(0,this.pattern.length);let s=e==this.pattern?0:e.toLowerCase()==this.folded?-200:null;if(s==null)return null;this.matched=[0,e.length];this.score=s+(t.length==this.pattern.length?0:-100);return this}}const T=i.Facet.define({combine(t){return(0,i.combineConfig)(t,{activateOnTyping:true,activateOnCompletion:()=>false,activateOnTypingDelay:100,selectOnOpen:true,override:null,closeOnBlur:true,maxRenderedOptions:100,defaultKeymap:true,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:false,icons:true,addToOptions:[],positionInfo:I,filterStrict:false,compareCompletions:(t,e)=>t.label.localeCompare(e.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,e)=>t&&e,closeOnBlur:(t,e)=>t&&e,icons:(t,e)=>t&&e,tooltipClass:(t,e)=>s=>A(t(s),e(s)),optionClass:(t,e)=>s=>A(t(s),e(s)),addToOptions:(t,e)=>t.concat(e),filterStrict:(t,e)=>t||e})}});function A(t,e){return t?e?t+" "+e:t:e}function I(t,e,s,i,n,r){let l=t.textDirection==o.Direction.RTL,a=l,h=false;let c="top",f,u;let p=e.left-n.left,d=n.right-e.right;let m=i.right-i.left,g=i.bottom-i.top;if(a&&p<Math.min(m,d))a=false;else if(!a&&d<Math.min(m,p))a=true;if(m<=(a?p:d)){f=Math.max(n.top,Math.min(s.top,n.bottom-g))-e.top;u=Math.min(400,a?p:d)}else{h=true;u=Math.min(400,(l?e.right:n.right-e.left)-30);let t=n.bottom-e.bottom;if(t>=g||t>e.top){f=s.bottom-e.top}else{c="bottom";f=e.bottom-s.top}}let k=(e.bottom-e.top)/r.offsetHeight;let b=(e.right-e.left)/r.offsetWidth;return{style:`${c}: ${f/k}px; max-width: ${u/b}px`,class:"cm-completionInfo-"+(h?l?"left-narrow":"right-narrow":a?"left":"right")}}function O(t){let e=t.addToOptions.slice();if(t.icons)e.push({render(t){let e=document.createElement("div");e.classList.add("cm-completionIcon");if(t.type)e.classList.add(...t.type.split(/\s+/g).map((t=>"cm-completionIcon-"+t)));e.setAttribute("aria-hidden","true");return e},position:20});e.push({render(t,e,s,i){let n=document.createElement("span");n.className="cm-completionLabel";let o=t.displayLabel||t.label,r=0;for(let l=0;l<i.length;){let t=i[l++],e=i[l++];if(t>r)n.appendChild(document.createTextNode(o.slice(r,t)));let s=n.appendChild(document.createElement("span"));s.appendChild(document.createTextNode(o.slice(t,e)));s.className="cm-completionMatchedText";r=e}if(r<o.length)n.appendChild(document.createTextNode(o.slice(r)));return n},position:50},{render(t){if(!t.detail)return null;let e=document.createElement("span");e.className="cm-completionDetail";e.textContent=t.detail;return e},position:80});return e.sort(((t,e)=>t.position-e.position)).map((t=>t.render))}function R(t,e,s){if(t<=s)return{from:0,to:t};if(e<0)e=0;if(e<=t>>1){let t=Math.floor(e/s);return{from:t*s,to:(t+1)*s}}let i=Math.floor((t-e)/s);return{from:t-(i+1)*s,to:t-i*s}}class D{constructor(t,e,s){this.view=t;this.stateField=e;this.applyCompletion=s;this.info=null;this.infoDestroy=null;this.placeInfoReq={read:()=>this.measureInfo(),write:t=>this.placeInfo(t),key:this};this.space=null;this.currentClass="";let i=t.state.field(e);let{options:n,selected:o}=i.open;let r=t.state.facet(T);this.optionContent=O(r);this.optionClass=r.optionClass;this.tooltipClass=r.tooltipClass;this.range=R(n.length,o,r.maxRenderedOptions);this.dom=document.createElement("div");this.dom.className="cm-tooltip-autocomplete";this.updateTooltipClass(t.state);this.dom.addEventListener("mousedown",(s=>{let{options:i}=t.state.field(e).open;for(let e=s.target,n;e&&e!=this.dom;e=e.parentNode){if(e.nodeName=="LI"&&(n=/-(\d+)$/.exec(e.id))&&+n[1]<i.length){this.applyCompletion(t,i[+n[1]]);s.preventDefault();return}}}));this.dom.addEventListener("focusout",(e=>{let s=t.state.field(this.stateField,false);if(s&&s.tooltip&&t.state.facet(T).closeOnBlur&&e.relatedTarget!=t.contentDOM)t.dispatch({effects:S.of(null)})}));this.showOptions(n,i.id)}mount(){this.updateSel()}showOptions(t,e){if(this.list)this.list.remove();this.list=this.dom.appendChild(this.createListBox(t,e,this.range));this.list.addEventListener("scroll",(()=>{if(this.info)this.view.requestMeasure(this.placeInfoReq)}))}update(t){var e;let s=t.state.field(this.stateField);let i=t.startState.field(this.stateField);this.updateTooltipClass(t.state);if(s!=i){let{options:n,selected:o,disabled:r}=s.open;if(!i.open||i.open.options!=n){this.range=R(n.length,o,t.state.facet(T).maxRenderedOptions);this.showOptions(n,s.id)}this.updateSel();if(r!=((e=i.open)===null||e===void 0?void 0:e.disabled))this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!r)}}updateTooltipClass(t){let e=this.tooltipClass(t);if(e!=this.currentClass){for(let t of this.currentClass.split(" "))if(t)this.dom.classList.remove(t);for(let t of e.split(" "))if(t)this.dom.classList.add(t);this.currentClass=e}}positioned(t){this.space=t;if(this.info)this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),e=t.open;if(e.selected>-1&&e.selected<this.range.from||e.selected>=this.range.to){this.range=R(e.options.length,e.selected,this.view.state.facet(T).maxRenderedOptions);this.showOptions(e.options,t.id)}if(this.updateSelectedOption(e.selected)){this.destroyInfo();let{completion:s}=e.options[e.selected];let{info:i}=s;if(!i)return;let n=typeof i==="string"?document.createTextNode(i):i(s);if(!n)return;if("then"in n){n.then((e=>{if(e&&this.view.state.field(this.stateField,false)==t)this.addInfoPane(e,s)})).catch((t=>(0,o.logException)(this.view.state,t,"completion info")))}else{this.addInfoPane(n,s)}}}addInfoPane(t,e){this.destroyInfo();let s=this.info=document.createElement("div");s.className="cm-tooltip cm-completionInfo";if(t.nodeType!=null){s.appendChild(t);this.infoDestroy=null}else{let{dom:e,destroy:i}=t;s.appendChild(e);this.infoDestroy=i||null}this.dom.appendChild(s);this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let e=null;for(let s=this.list.firstChild,i=this.range.from;s;s=s.nextSibling,i++){if(s.nodeName!="LI"||!s.id){i--}else if(i==t){if(!s.hasAttribute("aria-selected")){s.setAttribute("aria-selected","true");e=s}}else{if(s.hasAttribute("aria-selected"))s.removeAttribute("aria-selected")}}if(e)N(this.list,e);return e}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let e=this.dom.getBoundingClientRect();let s=this.info.getBoundingClientRect();let i=t.getBoundingClientRect();let n=this.space;if(!n){let t=this.dom.ownerDocument.defaultView||window;n={left:0,top:0,right:t.innerWidth,bottom:t.innerHeight}}if(i.top>Math.min(n.bottom,e.bottom)-10||i.bottom<Math.max(n.top,e.top)+10)return null;return this.view.state.facet(T).positionInfo(this.view,e,i,s,n,this.dom)}placeInfo(t){if(this.info){if(t){if(t.style)this.info.style.cssText=t.style;this.info.className="cm-tooltip cm-completionInfo "+(t.class||"")}else{this.info.style.cssText="top: -1e6px"}}}createListBox(t,e,s){const i=document.createElement("ul");i.id=e;i.setAttribute("role","listbox");i.setAttribute("aria-expanded","true");i.setAttribute("aria-label",this.view.state.phrase("Completions"));let n=null;for(let o=s.from;o<s.to;o++){let{completion:r,match:l}=t[o],{section:a}=r;if(a){let t=typeof a=="string"?a:a.name;if(t!=n&&(o>s.from||s.from==0)){n=t;if(typeof a!="string"&&a.header){i.appendChild(a.header(a))}else{let e=i.appendChild(document.createElement("completion-section"));e.textContent=t}}}const h=i.appendChild(document.createElement("li"));h.id=e+"-"+o;h.setAttribute("role","option");let c=this.optionClass(r);if(c)h.className=c;for(let t of this.optionContent){let e=t(r,this.view.state,this.view,l);if(e)h.appendChild(e)}}if(s.from)i.classList.add("cm-completionListIncompleteTop");if(s.to<t.length)i.classList.add("cm-completionListIncompleteBottom");return i}destroyInfo(){if(this.info){if(this.infoDestroy)this.infoDestroy();this.info.remove();this.info=null}}destroy(){this.destroyInfo()}}function E(t,e){return s=>new D(s,t,e)}function N(t,e){let s=t.getBoundingClientRect();let i=e.getBoundingClientRect();let n=s.height/t.offsetHeight;if(i.top<s.top)t.scrollTop-=(s.top-i.top)/n;else if(i.bottom>s.bottom)t.scrollTop+=(i.bottom-s.bottom)/n}function L(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function B(t,e){let s=[];let i=null;let n=t=>{s.push(t);let{section:e}=t.completion;if(e){if(!i)i=[];let t=typeof e=="string"?e:e.name;if(!i.some((e=>e.name==t)))i.push(typeof e=="string"?{name:t}:e)}};let o=e.facet(T);for(let h of t)if(h.hasResult()){let t=h.result.getMatch;if(h.result.filter===false){for(let e of h.result.options){n(new m(e,h.source,t?t(e):[],1e9-s.length))}}else{let s=e.sliceDoc(h.from,h.to),i;let r=o.filterStrict?new P(s):new C(s);for(let e of h.result.options)if(i=r.match(e.label)){let s=!e.displayLabel?i.matched:t?t(e,i.matched):[];n(new m(e,h.source,s,i.score+(e.boost||0)))}}}if(i){let t=Object.create(null),e=0;let n=(t,e)=>{var s,i;return((s=t.rank)!==null&&s!==void 0?s:1e9)-((i=e.rank)!==null&&i!==void 0?i:1e9)||(t.name<e.name?-1:1)};for(let s of i.sort(n)){e-=1e5;t[s.name]=e}for(let i of s){let{section:e}=i.completion;if(e)i.score+=t[typeof e=="string"?e:e.name]}}let r=[],l=null;let a=o.compareCompletions;for(let h of s.sort(((t,e)=>e.score-t.score||a(t.completion,e.completion)))){let t=h.completion;if(!l||l.label!=t.label||l.detail!=t.detail||l.type!=null&&t.type!=null&&l.type!=t.type||l.apply!=t.apply||l.boost!=t.boost)r.push(h);else if(L(h.completion)>L(l))r[r.length-1]=h;l=h.completion}return r}class M{constructor(t,e,s,i,n,o){this.options=t;this.attrs=e;this.tooltip=s;this.timestamp=i;this.selected=n;this.disabled=o}setSelected(t,e){return t==this.selected||t>=this.options.length?this:new M(this.options,U(e,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,e,s,i,n,o){if(i&&!o&&t.some((t=>t.isPending)))return i.setDisabled();let r=B(t,e);if(!r.length)return i&&t.some((t=>t.isPending))?i.setDisabled():null;let l=e.facet(T).selectOnOpen?0:-1;if(i&&i.selected!=l&&i.selected!=-1){let t=i.options[i.selected].completion;for(let e=0;e<r.length;e++)if(r[e].completion==t){l=e;break}}return new M(r,U(s,l),{pos:t.reduce(((t,e)=>e.hasResult()?Math.min(t,e.from):t),1e8),create:Y,above:n.aboveCursor},i?i.timestamp:Date.now(),l,false)}map(t){return new M(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new M(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,true)}}class z{constructor(t,e,s){this.active=t;this.id=e;this.open=s}static start(){return new z(W,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:e}=t,s=e.facet(T);let i=s.override||e.languageDataAt("autocomplete",g(e)).map(w);let n=i.map((e=>{let i=this.active.find((t=>t.source==e))||new q(e,this.active.some((t=>t.state!=0))?1:0);return i.update(t,s)}));if(n.length==this.active.length&&n.every(((t,e)=>t==this.active[e])))n=this.active;let o=this.open,r=t.effects.some((t=>t.is(_)));if(o&&t.docChanged)o=o.map(t.changes);if(t.selection||n.some((e=>e.hasResult()&&t.changes.touchesRange(e.from,e.to)))||!F(n,this.active)||r)o=M.build(n,e,this.id,o,s,r);else if(o&&o.disabled&&!n.some((t=>t.isPending)))o=null;if(!o&&n.every((t=>!t.isPending))&&n.some((t=>t.hasResult())))n=n.map((t=>t.hasResult()?new q(t.source,0):t));for(let l of t.effects)if(l.is(K))o=o&&o.setSelected(l.value,this.id);return n==this.active&&o==this.open?this:new z(n,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?$:j}}function F(t,e){if(t==e)return true;for(let s=0,i=0;;){while(s<t.length&&!t[s].hasResult())s++;while(i<e.length&&!e[i].hasResult())i++;let n=s==t.length,o=i==e.length;if(n||o)return n==o;if(t[s++].result!=e[i++].result)return false}}const $={"aria-autocomplete":"list"};const j={};function U(t,e){let s={"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":t};if(e>-1)s["aria-activedescendant"]=t+"-"+e;return s}const W=[];function V(t,e){if(t.isUserEvent("input.complete")){let s=t.annotation(b);if(s&&e.activateOnCompletion(s))return 4|8}let s=t.isUserEvent("input.type");return s&&e.activateOnTyping?4|1:s?1:t.isUserEvent("delete.backward")?2:t.selection?8:t.docChanged?16:0}class q{constructor(t,e,s=false){this.source=t;this.state=e;this.explicit=s}hasResult(){return false}get isPending(){return this.state==1}update(t,e){let s=V(t,e),i=this;if(s&8||s&16&&this.touches(t))i=new q(i.source,0);if(s&4&&i.state==0)i=new q(this.source,1);i=i.updateFor(t,s);for(let n of t.effects){if(n.is(y))i=new q(i.source,1,n.value);else if(n.is(S))i=new q(i.source,0);else if(n.is(_))for(let t of n.value)if(t.source==i.source)i=t}return i}updateFor(t,e){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(g(t.state))}}class H extends q{constructor(t,e,s,i,n,o){super(t,3,e);this.limit=s;this.result=i;this.from=n;this.to=o}hasResult(){return true}updateFor(t,e){var s;if(!(e&3))return this.map(t.changes);let i=this.result;if(i.map&&!t.changes.empty)i=i.map(i,t.changes);let n=t.changes.mapPos(this.from),o=t.changes.mapPos(this.to,1);let r=g(t.state);if(r>o||!i||e&2&&(g(t.startState)==this.from||r<this.limit))return new q(this.source,e&4?1:0);let l=t.changes.mapPos(this.limit);if(G(i.validFor,t.state,n,o))return new H(this.source,this.explicit,l,i,n,o);if(i.update&&(i=i.update(i,n,o,new h(t.state,r,false))))return new H(this.source,this.explicit,l,i,i.from,(s=i.to)!==null&&s!==void 0?s:g(t.state));return new q(this.source,1,this.explicit)}map(t){if(t.empty)return this;let e=this.result.map?this.result.map(this.result,t):this.result;if(!e)return new q(this.source,0);return new H(this.source,this.explicit,t.mapPos(this.limit),this.result,t.mapPos(this.from),t.mapPos(this.to,1))}touches(t){return t.changes.touchesRange(this.from,this.to)}}function G(t,e,s,i){if(!t)return false;let n=e.sliceDoc(s,i);return typeof t=="function"?t(n,s,i,e):k(t,true).test(n)}const _=i.StateEffect.define({map(t,e){return t.map((t=>t.map(e)))}});const K=i.StateEffect.define();const Q=i.StateField.define({create(){return z.start()},update(t,e){return t.update(e)},provide:t=>[o.showTooltip.from(t,(t=>t.tooltip)),o.EditorView.contentAttributes.from(t,(t=>t.attrs))]});function X(t,e){const s=e.completion.apply||e.completion.label;let i=t.state.field(Q).active.find((t=>t.source==e.source));if(!(i instanceof H))return false;if(typeof s=="string")t.dispatch(Object.assign(Object.assign({},x(t.state,s,i.from,i.to)),{annotations:b.of(e.completion)}));else s(t,e.completion,i.from,i.to);return true}const Y=E(Q,X);function J(t,e="option"){return s=>{let i=s.state.field(Q,false);if(!i||!i.open||i.open.disabled||Date.now()-i.open.timestamp<s.state.facet(T).interactionDelay)return false;let n=1,r;if(e=="page"&&(r=(0,o.getTooltip)(s,i.open.tooltip)))n=Math.max(2,Math.floor(r.dom.offsetHeight/r.dom.querySelector("li").offsetHeight)-1);let{length:l}=i.open.options;let a=i.open.selected>-1?i.open.selected+n*(t?1:-1):t?0:l-1;if(a<0)a=e=="page"?0:l-1;else if(a>=l)a=e=="page"?l-1:0;s.dispatch({effects:K.of(a)});return true}}const Z=t=>{let e=t.state.field(Q,false);if(t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestamp<t.state.facet(T).interactionDelay)return false;return X(t,e.open.options[e.open.selected])};const tt=t=>{let e=t.state.field(Q,false);if(!e)return false;t.dispatch({effects:y.of(true)});return true};const et=t=>{let e=t.state.field(Q,false);if(!e||!e.active.some((t=>t.state!=0)))return false;t.dispatch({effects:S.of(null)});return true};class st{constructor(t,e){this.active=t;this.context=e;this.time=Date.now();this.updates=[];this.done=undefined}}const it=50,nt=1e3;const ot=o.ViewPlugin.fromClass(class{constructor(t){this.view=t;this.debounceUpdate=-1;this.running=[];this.debounceAccept=-1;this.pendingStart=false;this.composing=0;for(let e of t.state.field(Q).active)if(e.isPending)this.startQuery(e)}update(t){let e=t.state.field(Q);let s=t.state.facet(T);if(!t.selectionSet&&!t.docChanged&&t.startState.field(Q)==e)return;let i=t.transactions.some((t=>{let e=V(t,s);return e&8||(t.selection||t.docChanged)&&!(e&3)}));for(let l=0;l<this.running.length;l++){let e=this.running[l];if(i||e.context.abortOnDocChange&&t.docChanged||e.updates.length+t.transactions.length>it&&Date.now()-e.time>nt){for(let t of e.context.abortListeners){try{t()}catch(r){(0,o.logException)(this.view.state,r)}}e.context.abortListeners=null;this.running.splice(l--,1)}else{e.updates.push(...t.transactions)}}if(this.debounceUpdate>-1)clearTimeout(this.debounceUpdate);if(t.transactions.some((t=>t.effects.some((t=>t.is(y))))))this.pendingStart=true;let n=this.pendingStart?50:s.activateOnTypingDelay;this.debounceUpdate=e.active.some((t=>t.isPending&&!this.running.some((e=>e.active.source==t.source))))?setTimeout((()=>this.startUpdate()),n):-1;if(this.composing!=0)for(let o of t.transactions){if(o.isUserEvent("input.type"))this.composing=2;else if(this.composing==2&&o.selection)this.composing=3}}startUpdate(){this.debounceUpdate=-1;this.pendingStart=false;let{state:t}=this.view,e=t.field(Q);for(let s of e.active){if(s.isPending&&!this.running.some((t=>t.active.source==s.source)))this.startQuery(s)}if(this.running.length&&e.open&&e.open.disabled)this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(T).updateSyncTime)}startQuery(t){let{state:e}=this.view,s=g(e);let i=new h(e,s,t.explicit,this.view);let n=new st(t,i);this.running.push(n);Promise.resolve(t.source(i)).then((t=>{if(!n.context.aborted){n.done=t||null;this.scheduleAccept()}}),(t=>{this.view.dispatch({effects:S.of(null)});(0,o.logException)(this.view.state,t)}))}scheduleAccept(){if(this.running.every((t=>t.done!==undefined)))this.accept();else if(this.debounceAccept<0)this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(T).updateSyncTime)}accept(){var t;if(this.debounceAccept>-1)clearTimeout(this.debounceAccept);this.debounceAccept=-1;let e=[];let s=this.view.state.facet(T),i=this.view.state.field(Q);for(let n=0;n<this.running.length;n++){let o=this.running[n];if(o.done===undefined)continue;this.running.splice(n--,1);if(o.done){let i=g(o.updates.length?o.updates[0].startState:this.view.state);let n=Math.min(i,o.done.from+(o.active.explicit?0:1));let r=new H(o.active.source,o.active.explicit,n,o.done,o.done.from,(t=o.done.to)!==null&&t!==void 0?t:i);for(let t of o.updates)r=r.update(t,s);if(r.hasResult()){e.push(r);continue}}let r=i.active.find((t=>t.source==o.active.source));if(r&&r.isPending){if(o.done==null){let t=new q(o.active.source,0);for(let e of o.updates)t=t.update(e,s);if(!t.isPending)e.push(t)}else{this.startQuery(r)}}}if(e.length||i.open&&i.open.disabled)this.view.dispatch({effects:_.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(Q,false);if(e&&e.tooltip&&this.view.state.facet(T).closeOnBlur){let s=e.open&&(0,o.getTooltip)(this.view,e.open.tooltip);if(!s||!s.dom.contains(t.relatedTarget))setTimeout((()=>this.view.dispatch({effects:S.of(null)})),10)}},compositionstart(){this.composing=1},compositionend(){if(this.composing==3){setTimeout((()=>this.view.dispatch({effects:y.of(false)})),20)}this.composing=0}}});const rt=typeof navigator=="object"&&/Win/.test(navigator.platform);const lt=i.Prec.highest(o.EditorView.domEventHandlers({keydown(t,e){let s=e.state.field(Q,false);if(!s||!s.open||s.open.disabled||s.open.selected<0||t.key.length>1||t.ctrlKey&&!(rt&&t.altKey)||t.metaKey)return false;let i=s.open.options[s.open.selected];let n=s.active.find((t=>t.source==i.source));let o=i.completion.commitCharacters||n.result.commitCharacters;if(o&&o.indexOf(t.key)>-1)X(e,i);return false}}));const at=o.EditorView.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:`${400}px`,boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:`${30}px`},".cm-completionInfo.cm-completionInfo-right-narrow":{left:`${30}px`},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class ht{constructor(t,e,s,i){this.field=t;this.line=e;this.from=s;this.to=i}}class ct{constructor(t,e,s){this.field=t;this.from=e;this.to=s}map(t){let e=t.mapPos(this.from,-1,i.MapMode.TrackDel);let s=t.mapPos(this.to,1,i.MapMode.TrackDel);return e==null||s==null?null:new ct(this.field,e,s)}}class ft{constructor(t,e){this.lines=t;this.fieldPositions=e}instantiate(t,e){let s=[],i=[e];let n=t.doc.lineAt(e),o=/^\s*/.exec(n.text)[0];for(let a of this.lines){if(s.length){let s=o,n=/^\t*/.exec(a)[0].length;for(let e=0;e<n;e++)s+=t.facet(l.indentUnit);i.push(e+s.length-n);a=s+a.slice(n)}s.push(a);e+=a.length+1}let r=this.fieldPositions.map((t=>new ct(t.field,i[t.line]+t.from,i[t.line]+t.to)));return{text:s,ranges:r}}static parse(t){let e=[];let s=[],i=[],n;for(let o of t.split(/\r\n?|\n/)){while(n=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(o)){let t=n[1]?+n[1]:null,r=n[2]||n[3]||"",l=-1;let a=r.replace(/\\[{}]/g,(t=>t[1]));for(let s=0;s<e.length;s++){if(t!=null?e[s].seq==t:a?e[s].name==a:false)l=s}if(l<0){let s=0;while(s<e.length&&(t==null||e[s].seq!=null&&e[s].seq<t))s++;e.splice(s,0,{seq:t,name:a});l=s;for(let t of i)if(t.field>=l)t.field++}i.push(new ht(l,s.length,n.index,n.index+a.length));o=o.slice(0,n.index)+r+o.slice(n.index+n[0].length)}o=o.replace(/\\([{}])/g,((t,e,n)=>{for(let o of i)if(o.line==s.length&&o.from>n){o.from--;o.to--}return e}));s.push(o)}return new ft(s,i)}}let ut=o.Decoration.widget({widget:new class extends o.WidgetType{toDOM(){let t=document.createElement("span");t.className="cm-snippetFieldPosition";return t}ignoreEvent(){return false}}});let pt=o.Decoration.mark({class:"cm-snippetField"});class dt{constructor(t,e){this.ranges=t;this.active=e;this.deco=o.Decoration.set(t.map((t=>(t.from==t.to?ut:pt).range(t.from,t.to))))}map(t){let e=[];for(let s of this.ranges){let i=s.map(t);if(!i)return null;e.push(i)}return new dt(e,this.active)}selectionInsideField(t){return t.ranges.every((t=>this.ranges.some((e=>e.field==this.active&&e.from<=t.from&&e.to>=t.to))))}}const mt=i.StateEffect.define({map(t,e){return t&&t.map(e)}});const gt=i.StateEffect.define();const kt=i.StateField.define({create(){return null},update(t,e){for(let s of e.effects){if(s.is(mt))return s.value;if(s.is(gt)&&t)return new dt(t.ranges,s.value)}if(t&&e.docChanged)t=t.map(e.changes);if(t&&e.selection&&!t.selectionInsideField(e.selection))t=null;return t},provide:t=>o.EditorView.decorations.from(t,(t=>t?t.deco:o.Decoration.none))});function bt(t,e){return i.EditorSelection.create(t.filter((t=>t.field==e)).map((t=>i.EditorSelection.range(t.from,t.to))))}function xt(t){let e=ft.parse(t);return(t,s,n,o)=>{let{text:r,ranges:l}=e.instantiate(t.state,n);let a={changes:{from:n,to:o,insert:i.Text.of(r)},scrollIntoView:true,annotations:s?[b.of(s),i.Transaction.userEvent.of("input.complete")]:undefined};if(l.length)a.selection=bt(l,0);if(l.some((t=>t.field>0))){let e=new dt(l,0);let s=a.effects=[mt.of(e)];if(t.state.field(kt,false)===undefined)s.push(i.StateEffect.appendConfig.of([kt,It,Rt,at]))}t.dispatch(t.state.update(a))}}function vt(t){return({state:e,dispatch:s})=>{let i=e.field(kt,false);if(!i||t<0&&i.active==0)return false;let n=i.active+t,o=t>0&&!i.ranges.some((e=>e.field==n+t));s(e.update({selection:bt(i.ranges,n),effects:mt.of(o?null:new dt(i.ranges,n)),scrollIntoView:true}));return true}}const wt=({state:t,dispatch:e})=>{let s=t.field(kt,false);if(!s)return false;e(t.update({effects:mt.of(null)}));return true};const yt=vt(1);const St=vt(-1);function Ct(t){let e=t.field(kt,false);return!!(e&&e.ranges.some((t=>t.field==e.active+1)))}function Pt(t){let e=t.field(kt,false);return!!(e&&e.active>0)}const Tt=[{key:"Tab",run:yt,shift:St},{key:"Escape",run:wt}];const At=i.Facet.define({combine(t){return t.length?t[0]:Tt}});const It=i.Prec.highest(o.keymap.compute([At],(t=>t.facet(At))));function Ot(t,e){return Object.assign(Object.assign({},e),{apply:xt(t)})}const Rt=o.EditorView.domEventHandlers({mousedown(t,e){let s=e.state.field(kt,false),i;if(!s||(i=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return false;let n=s.ranges.find((t=>t.from<=i&&t.to>=i));if(!n||n.field==s.active)return false;e.dispatch({selection:bt(s.ranges,n.field),effects:mt.of(s.ranges.some((t=>t.field>n.field))?new dt(s.ranges,n.field):null),scrollIntoView:true});return true}});function Dt(t){let e=t.replace(/[\]\-\\]/g,"\\$&");try{return new RegExp(`[\\p{Alphabetic}\\p{Number}_${e}]+`,"ug")}catch(s){return new RegExp(`[w${e}]`,"g")}}function Et(t,e){return new RegExp(e(t.source),t.unicode?"u":"")}const Nt=null&&Object.create(null);function Lt(t){return Nt[t]||(Nt[t]=new WeakMap)}function Bt(t,e,s,i,n){for(let o=t.iterLines(),r=0;!o.next().done;){let{value:t}=o,l;e.lastIndex=0;while(l=e.exec(t)){if(!i[l[0]]&&r+l.index!=n){s.push({type:"text",label:l[0]});i[l[0]]=true;if(s.length>=2e3)return}}r+=t.length+1}}function Mt(t,e,s,i,n){let o=t.length>=1e3;let r=o&&e.get(t);if(r)return r;let l=[],a=Object.create(null);if(t.children){let o=0;for(let r of t.children){if(r.length>=1e3){for(let t of Mt(r,e,s,i-o,n-o)){if(!a[t.label]){a[t.label]=true;l.push(t)}}}else{Bt(r,s,l,a,n-o)}o+=r.length+1}}else{Bt(t,s,l,a,n)}if(o&&l.length<2e3)e.set(t,l);return l}const zt=t=>{let e=t.state.languageDataAt("wordChars",t.pos).join("");let s=Dt(e);let i=t.matchBefore(Et(s,(t=>t+"$")));if(!i&&!t.explicit)return null;let n=i?i.from:t.pos;let o=Mt(t.state.doc,Lt(e),s,5e4,n);return{from:n,options:o,validFor:Et(s,(t=>"^"+t))}};const Ft={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]};const $t=i.StateEffect.define({map(t,e){let s=e.mapPos(t,-1,i.MapMode.TrackAfter);return s==null?undefined:s}});const jt=new class extends i.RangeValue{};jt.startSide=1;jt.endSide=-1;const Ut=i.StateField.define({create(){return i.RangeSet.empty},update(t,e){t=t.map(e.changes);if(e.selection){let s=e.state.doc.lineAt(e.selection.main.head);t=t.update({filter:t=>t>=s.from&&t<=s.to})}for(let s of e.effects)if(s.is($t))t=t.update({add:[jt.range(s.value,s.value+1)]});return t}});function Wt(){return[_t,Ut]}const Vt="()[]{}<>";function qt(t){for(let e=0;e<Vt.length;e+=2)if(Vt.charCodeAt(e)==t)return Vt.charAt(e+1);return(0,i.fromCodePoint)(t<128?t:t+1)}function Ht(t,e){return t.languageDataAt("closeBrackets",e)[0]||Ft}const Gt=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent);const _t=o.EditorView.inputHandler.of(((t,e,s,n)=>{if((Gt?t.composing:t.compositionStarted)||t.state.readOnly)return false;let o=t.state.selection.main;if(n.length>2||n.length==2&&(0,i.codePointSize)((0,i.codePointAt)(n,0))==1||e!=o.from||s!=o.to)return false;let r=Xt(t.state,n);if(!r)return false;t.dispatch(r);return true}));const Kt=({state:t,dispatch:e})=>{if(t.readOnly)return false;let s=Ht(t,t.selection.main.head);let n=s.brackets||Ft.brackets;let o=null,r=t.changeByRange((e=>{if(e.empty){let s=Zt(t.doc,e.head);for(let o of n){if(o==s&&Jt(t.doc,e.head)==qt((0,i.codePointAt)(o,0)))return{changes:{from:e.head-o.length,to:e.head+o.length},range:i.EditorSelection.cursor(e.head-o.length)}}}return{range:o=e}}));if(!o)e(t.update(r,{scrollIntoView:true,userEvent:"delete.backward"}));return!o};const Qt=[{key:"Backspace",run:Kt}];function Xt(t,e){let s=Ht(t,t.selection.main.head);let n=s.brackets||Ft.brackets;for(let o of n){let r=qt((0,i.codePointAt)(o,0));if(e==o)return r==o?se(t,o,n.indexOf(o+o+o)>-1,s):te(t,o,r,s.before||Ft.before);if(e==r&&Yt(t,t.selection.main.from))return ee(t,o,r)}return null}function Yt(t,e){let s=false;t.field(Ut).between(0,t.doc.length,(t=>{if(t==e)s=true}));return s}function Jt(t,e){let s=t.sliceString(e,e+2);return s.slice(0,(0,i.codePointSize)((0,i.codePointAt)(s,0)))}function Zt(t,e){let s=t.sliceString(e-2,e);return(0,i.codePointSize)((0,i.codePointAt)(s,0))==s.length?s:s.slice(1)}function te(t,e,s,n){let o=null,r=t.changeByRange((r=>{if(!r.empty)return{changes:[{insert:e,from:r.from},{insert:s,from:r.to}],effects:$t.of(r.to+e.length),range:i.EditorSelection.range(r.anchor+e.length,r.head+e.length)};let l=Jt(t.doc,r.head);if(!l||/\s/.test(l)||n.indexOf(l)>-1)return{changes:{insert:e+s,from:r.head},effects:$t.of(r.head+e.length),range:i.EditorSelection.cursor(r.head+e.length)};return{range:o=r}}));return o?null:t.update(r,{scrollIntoView:true,userEvent:"input.type"})}function ee(t,e,s){let n=null,o=t.changeByRange((e=>{if(e.empty&&Jt(t.doc,e.head)==s)return{changes:{from:e.head,to:e.head+s.length,insert:s},range:i.EditorSelection.cursor(e.head+s.length)};return n={range:e}}));return n?null:t.update(o,{scrollIntoView:true,userEvent:"input.type"})}function se(t,e,s,n){let o=n.stringPrefixes||Ft.stringPrefixes;let r=null,l=t.changeByRange((n=>{if(!n.empty)return{changes:[{insert:e,from:n.from},{insert:e,from:n.to}],effects:$t.of(n.to+e.length),range:i.EditorSelection.range(n.anchor+e.length,n.head+e.length)};let l=n.head,a=Jt(t.doc,l),h;if(a==e){if(ie(t,l)){return{changes:{insert:e+e,from:l},effects:$t.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(Yt(t,l)){let n=s&&t.sliceDoc(l,l+e.length*3)==e+e+e;let o=n?e+e+e:e;return{changes:{from:l,to:l+o.length,insert:o},range:i.EditorSelection.cursor(l+o.length)}}}else if(s&&t.sliceDoc(l-2*e.length,l)==e+e&&(h=oe(t,l-2*e.length,o))>-1&&ie(t,h)){return{changes:{insert:e+e+e+e,from:l},effects:$t.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}else if(t.charCategorizer(l)(a)!=i.CharCategory.Word){if(oe(t,l,o)>-1&&!ne(t,l,e,o))return{changes:{insert:e+e,from:l},effects:$t.of(l+e.length),range:i.EditorSelection.cursor(l+e.length)}}return{range:r=n}}));return r?null:t.update(l,{scrollIntoView:true,userEvent:"input.type"})}function ie(t,e){let s=(0,l.syntaxTree)(t).resolveInner(e+1);return s.parent&&s.from==e}function ne(t,e,s,i){let n=(0,l.syntaxTree)(t).resolveInner(e,-1);let o=i.reduce(((t,e)=>Math.max(t,e.length)),0);for(let r=0;r<5;r++){let r=t.sliceDoc(n.from,Math.min(n.to,n.from+s.length+o));let l=r.indexOf(s);if(!l||l>-1&&i.indexOf(r.slice(0,l))>-1){let e=n.firstChild;while(e&&e.from==n.from&&e.to-e.from>s.length+l){if(t.sliceDoc(e.to-s.length,e.to)==s)return false;e=e.firstChild}return true}let a=n.to==e&&n.parent;if(!a)break;n=a}return false}function oe(t,e,s){let n=t.charCategorizer(e);if(n(t.sliceDoc(e-1,e))!=i.CharCategory.Word)return e;for(let o of s){let s=e-o.length;if(t.sliceDoc(s,e)==o&&n(t.sliceDoc(s-1,s))!=i.CharCategory.Word)return s}return-1}function re(t={}){return[lt,Q,T.of(t),ot,ae,at]}const le=[{key:"Ctrl-Space",run:tt},{mac:"Alt-`",run:tt},{key:"Escape",run:et},{key:"ArrowDown",run:J(true)},{key:"ArrowUp",run:J(false)},{key:"PageDown",run:J(true,"page")},{key:"PageUp",run:J(false,"page")},{key:"Enter",run:Z}];const ae=i.Prec.highest(o.keymap.computeN([T],(t=>t.facet(T).defaultKeymap?[le]:[])));function he(t){let e=t.field(Q,false);return e&&e.active.some((t=>t.isPending))?"pending":e&&e.active.some((t=>t.state!=0))?"active":null}const ce=new WeakMap;function fe(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;if(!s||s.disabled)return[];let i=ce.get(s.options);if(!i)ce.set(s.options,i=s.options.map((t=>t.completion)));return i}function ue(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.options[s.selected].completion:null}function pe(t){var e;let s=(e=t.field(Q,false))===null||e===void 0?void 0:e.open;return s&&!s.disabled&&s.selected>=0?s.selected:null}function de(t){return K.of(t)}},27421:(t,e,s)=>{"use strict";s.d(e,{Aj:()=>O,Lu:()=>g,U1:()=>R,uC:()=>m});var i=s(66575);var n=s.n(i);var o=s(65606);class r{constructor(t,e,s,i,n,o,r,l,a,h=0,c){this.p=t;this.stack=e;this.state=s;this.reducePos=i;this.pos=n;this.score=o;this.buffer=r;this.bufferBase=l;this.curContext=a;this.lookAhead=h;this.parent=c}toString(){return`[${this.stack.filter(((t,e)=>e%3==0)).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,e,s=0){let i=t.parser.context;return new r(t,[],e,s,s,0,[],0,i?new l(i,i.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,e){this.stack.push(this.state,e,this.bufferBase+this.buffer.length);this.state=t}reduce(t){var e;let s=t>>19,i=t&65535;let{parser:n}=this.p;let o=n.dynamicPrecedence(i);if(o)this.score+=o;if(s==0){this.pushState(n.getGoto(this.state,i,true),this.reducePos);if(i<n.minRepeatTerm)this.storeNode(i,this.reducePos,this.reducePos,4,true);this.reduceContext(i,this.reducePos);return}let r=this.stack.length-(s-1)*3-(t&262144?6:0);let l=r?this.stack[r-2]:this.p.ranges[0].from,a=this.reducePos-l;if(a>=2e3&&!((e=this.p.parser.nodeSet.types[i])===null||e===void 0?void 0:e.isAnonymous)){if(l==this.p.lastBigReductionStart){this.p.bigReductionCount++;this.p.lastBigReductionSize=a}else if(this.p.lastBigReductionSize<a){this.p.bigReductionCount=1;this.p.lastBigReductionStart=l;this.p.lastBigReductionSize=a}}let h=r?this.stack[r-1]:0,c=this.bufferBase+this.buffer.length-h;if(i<n.minRepeatTerm||t&131072){let t=n.stateFlag(this.state,1)?this.pos:this.reducePos;this.storeNode(i,l,t,c+4,true)}if(t&262144){this.state=this.stack[r]}else{let t=this.stack[r-3];this.state=n.getGoto(t,i,true)}while(this.stack.length>r)this.stack.pop();this.reduceContext(i,l)}storeNode(t,e,s,i=4,n=false){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){let t=this,i=this.buffer.length;if(i==0&&t.parent){i=t.bufferBase-t.parent.bufferBase;t=t.parent}if(i>0&&t.buffer[i-4]==0&&t.buffer[i-1]>-1){if(e==s)return;if(t.buffer[i-2]>=e){t.buffer[i-2]=s;return}}}if(!n||this.pos==s){this.buffer.push(t,e,s,i)}else{let n=this.buffer.length;if(n>0&&this.buffer[n-4]!=0)while(n>0&&this.buffer[n-2]>s){this.buffer[n]=this.buffer[n-4];this.buffer[n+1]=this.buffer[n-3];this.buffer[n+2]=this.buffer[n-2];this.buffer[n+3]=this.buffer[n-1];n-=4;if(i>4)i-=4}this.buffer[n]=t;this.buffer[n+1]=e;this.buffer[n+2]=s;this.buffer[n+3]=i}}shift(t,e,s,i){if(t&131072){this.pushState(t&65535,this.pos)}else if((t&262144)==0){let n=t,{parser:o}=this.p;if(i>this.pos||e<=o.maxNode){this.pos=i;if(!o.stateFlag(n,1))this.reducePos=i}this.pushState(n,s);this.shiftContext(e,s);if(e<=o.maxNode)this.buffer.push(e,s,i,4)}else{this.pos=i;this.shiftContext(e,s);if(e<=this.p.parser.maxNode)this.buffer.push(e,s,i,4)}}apply(t,e,s,i){if(t&65536)this.reduce(t);else this.shift(t,e,s,i)}useNode(t,e){let s=this.p.reused.length-1;if(s<0||this.p.reused[s]!=t){this.p.reused.push(t);s++}let i=this.pos;this.reducePos=this.pos=i+t.length;this.pushState(e,i);this.buffer.push(s,i,this.reducePos,-1);if(this.curContext)this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this;let e=t.buffer.length;while(e>0&&t.buffer[e-2]>t.reducePos)e-=4;let s=t.buffer.slice(e),i=t.bufferBase+e;while(t&&i==t.bufferBase)t=t.parent;return new r(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,s,i,this.curContext,this.lookAhead,t)}recoverByDelete(t,e){let s=t<=this.p.parser.maxNode;if(s)this.storeNode(t,this.pos,e,4);this.storeNode(0,this.pos,e,s?8:4);this.pos=this.reducePos=e;this.score-=190}canShift(t){for(let e=new a(this);;){let s=this.p.parser.stateSlot(e.state,4)||this.p.parser.hasAction(e.state,t);if(s==0)return false;if((s&65536)==0)return true;e.reduce(s)}}recoverByInsert(t){if(this.stack.length>=300)return[];let e=this.p.parser.nextStates(this.state);if(e.length>4<<1||this.stack.length>=120){let s=[];for(let i=0,n;i<e.length;i+=2){if((n=e[i+1])!=this.state&&this.p.parser.hasAction(n,t))s.push(e[i],n)}if(this.stack.length<120)for(let t=0;s.length<4<<1&&t<e.length;t+=2){let i=e[t+1];if(!s.some(((t,e)=>e&1&&t==i)))s.push(e[t],i)}e=s}let s=[];for(let i=0;i<e.length&&s.length<4;i+=2){let t=e[i+1];if(t==this.state)continue;let n=this.split();n.pushState(t,this.pos);n.storeNode(0,n.pos,n.pos,4,true);n.shiftContext(e[i],this.pos);n.reducePos=this.pos;n.score-=200;s.push(n)}return s}forceReduce(){let{parser:t}=this.p;let e=t.stateSlot(this.state,5);if((e&65536)==0)return false;if(!t.validAction(this.state,e)){let s=e>>19,i=e&65535;let n=this.stack.length-s*3;if(n<0||t.getGoto(this.stack[n],i,false)<0){let t=this.findForcedReduction();if(t==null)return false;e=t}this.storeNode(0,this.pos,this.pos,4,true);this.score-=100}this.reducePos=this.pos;this.reduce(e);return true}findForcedReduction(){let{parser:t}=this.p,e=[];let s=(i,n)=>{if(e.includes(i))return;e.push(i);return t.allActions(i,(e=>{if(e&(262144|131072));else if(e&65536){let s=(e>>19)-n;if(s>1){let i=e&65535,n=this.stack.length-s*3;if(n>=0&&t.getGoto(this.stack[n],i,false)>=0)return s<<19|65536|i}}else{let t=s(e,n+1);if(t!=null)return t}}))};return s(this.state,0)}forceAll(){while(!this.p.parser.stateFlag(this.state,2)){if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,true);break}}return this}get deadEnd(){if(this.stack.length!=3)return false;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,true);this.state=this.stack[0];this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return false;for(let e=0;e<this.stack.length;e+=3)if(this.stack[e]!=t.stack[e])return false;return true}get parser(){return this.p.parser}dialectEnabled(t){return this.p.parser.dialect.flags[t]}shiftContext(t,e){if(this.curContext)this.updateContext(this.curContext.tracker.shift(this.curContext.context,t,this,this.p.stream.reset(e)))}reduceContext(t,e){if(this.curContext)this.updateContext(this.curContext.tracker.reduce(this.curContext.context,t,this,this.p.stream.reset(e)))}emitContext(){let t=this.buffer.length-1;if(t<0||this.buffer[t]!=-3)this.buffer.push(this.curContext.hash,this.pos,this.pos,-3)}emitLookAhead(){let t=this.buffer.length-1;if(t<0||this.buffer[t]!=-4)this.buffer.push(this.lookAhead,this.pos,this.pos,-4)}updateContext(t){if(t!=this.curContext.context){let e=new l(this.curContext.tracker,t);if(e.hash!=this.curContext.hash)this.emitContext();this.curContext=e}}setLookAhead(t){if(t>this.lookAhead){this.emitLookAhead();this.lookAhead=t}}close(){if(this.curContext&&this.curContext.tracker.strict)this.emitContext();if(this.lookAhead>0)this.emitLookAhead()}}class l{constructor(t,e){this.tracker=t;this.context=e;this.hash=t.strict?t.hash(e):0}}class a{constructor(t){this.start=t;this.state=t.state;this.stack=t.stack;this.base=this.stack.length}reduce(t){let e=t&65535,s=t>>19;if(s==0){if(this.stack==this.start.stack)this.stack=this.stack.slice();this.stack.push(this.state,0,0);this.base+=3}else{this.base-=(s-1)*3}let i=this.start.p.parser.getGoto(this.stack[this.base-3],e,true);this.state=i}}class h{constructor(t,e,s){this.stack=t;this.pos=e;this.index=s;this.buffer=t.buffer;if(this.index==0)this.maybeNext()}static create(t,e=t.bufferBase+t.buffer.length){return new h(t,e,e-t.bufferBase)}maybeNext(){let t=this.stack.parent;if(t!=null){this.index=this.stack.bufferBase-t.bufferBase;this.stack=t;this.buffer=t.buffer}}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4;this.pos-=4;if(this.index==0)this.maybeNext()}fork(){return new h(this.stack,this.pos,this.index)}}function c(t,e=Uint16Array){if(typeof t!="string")return t;let s=null;for(let i=0,n=0;i<t.length;){let o=0;for(;;){let e=t.charCodeAt(i++),s=false;if(e==126){o=65535;break}if(e>=92)e--;if(e>=34)e--;let n=e-32;if(n>=46){n-=46;s=true}o+=n;if(s)break;o*=46}if(s)s[n++]=o;else s=new e(o)}return s}class f{constructor(){this.start=-1;this.value=-1;this.end=-1;this.extended=-1;this.lookAhead=0;this.mask=0;this.context=0}}const u=new f;class p{constructor(t,e){this.input=t;this.ranges=e;this.chunk="";this.chunkOff=0;this.chunk2="";this.chunk2Pos=0;this.next=-1;this.token=u;this.rangeIndex=0;this.pos=this.chunkPos=e[0].from;this.range=e[0];this.end=e[e.length-1].to;this.readNext()}resolveOffset(t,e){let s=this.range,i=this.rangeIndex;let n=this.pos+t;while(n<s.from){if(!i)return null;let t=this.ranges[--i];n-=s.from-t.to;s=t}while(e<0?n>s.to:n>=s.to){if(i==this.ranges.length-1)return null;let t=this.ranges[++i];n+=t.from-s.to;s=t}return n}clipPos(t){if(t>=this.range.from&&t<this.range.to)return t;for(let e of this.ranges)if(e.to>t)return Math.max(t,e.from);return this.end}peek(t){let e=this.chunkOff+t,s,i;if(e>=0&&e<this.chunk.length){s=this.pos+t;i=this.chunk.charCodeAt(e)}else{let e=this.resolveOffset(t,1);if(e==null)return-1;s=e;if(s>=this.chunk2Pos&&s<this.chunk2Pos+this.chunk2.length){i=this.chunk2.charCodeAt(s-this.chunk2Pos)}else{let t=this.rangeIndex,e=this.range;while(e.to<=s)e=this.ranges[++t];this.chunk2=this.input.chunk(this.chunk2Pos=s);if(s+this.chunk2.length>e.to)this.chunk2=this.chunk2.slice(0,e.to-s);i=this.chunk2.charCodeAt(0)}}if(s>=this.token.lookAhead)this.token.lookAhead=s+1;return i}acceptToken(t,e=0){let s=e?this.resolveOffset(e,-1):this.pos;if(s==null||s<this.token.start)throw new RangeError("Token end out of bounds");this.token.value=t;this.token.end=s}acceptTokenTo(t,e){this.token.value=t;this.token.end=e}getChunk(){if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){let{chunk:t,chunkPos:e}=this;this.chunk=this.chunk2;this.chunkPos=this.chunk2Pos;this.chunk2=t;this.chunk2Pos=e;this.chunkOff=this.pos-this.chunkPos}else{this.chunk2=this.chunk;this.chunk2Pos=this.chunkPos;let t=this.input.chunk(this.pos);let e=this.pos+t.length;this.chunk=e>this.range.to?t.slice(0,this.range.to-this.pos):t;this.chunkPos=this.pos;this.chunkOff=0}}readNext(){if(this.chunkOff>=this.chunk.length){this.getChunk();if(this.chunkOff==this.chunk.length)return this.next=-1}return this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){this.chunkOff+=t;while(this.pos+t>=this.range.to){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos;this.range=this.ranges[++this.rangeIndex];this.pos=this.range.from}this.pos+=t;if(this.pos>=this.token.lookAhead)this.token.lookAhead=this.pos+1;return this.readNext()}setDone(){this.pos=this.chunkPos=this.end;this.range=this.ranges[this.rangeIndex=this.ranges.length-1];this.chunk="";return this.next=-1}reset(t,e){if(e){this.token=e;e.start=t;e.lookAhead=t+1;e.value=e.extended=-1}else{this.token=u}if(this.pos!=t){this.pos=t;if(t==this.end){this.setDone();return this}while(t<this.range.from)this.range=this.ranges[--this.rangeIndex];while(t>=this.range.to)this.range=this.ranges[++this.rangeIndex];if(t>=this.chunkPos&&t<this.chunkPos+this.chunk.length){this.chunkOff=t-this.chunkPos}else{this.chunk="";this.chunkOff=0}this.readNext()}return this}read(t,e){if(t>=this.chunkPos&&e<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,e-this.chunkPos);if(t>=this.chunk2Pos&&e<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,e-this.chunk2Pos);if(t>=this.range.from&&e<=this.range.to)return this.input.read(t,e);let s="";for(let i of this.ranges){if(i.from>=e)break;if(i.to>t)s+=this.input.read(Math.max(i.from,t),Math.min(i.to,e))}return s}}class d{constructor(t,e){this.data=t;this.id=e}token(t,e){let{parser:s}=e.p;k(this.data,t,e,this.id,s.data,s.tokenPrecTable)}}d.prototype.contextual=d.prototype.fallback=d.prototype.extend=false;class m{constructor(t,e,s){this.precTable=e;this.elseToken=s;this.data=typeof t=="string"?c(t):t}token(t,e){let s=t.pos,i=0;for(;;){let s=t.next<0,n=t.resolveOffset(1,1);k(this.data,t,e,0,this.data,this.precTable);if(t.token.value>-1)break;if(this.elseToken==null)return;if(!s)i++;if(n==null)break;t.reset(n,t.token)}if(i){t.reset(s,t.token);t.acceptToken(this.elseToken,i)}}}m.prototype.contextual=d.prototype.fallback=d.prototype.extend=false;class g{constructor(t,e={}){this.token=t;this.contextual=!!e.contextual;this.fallback=!!e.fallback;this.extend=!!e.extend}}function k(t,e,s,i,n,o){let r=0,l=1<<i,{dialect:a}=s.p.parser;t:for(;;){if((l&t[r])==0)break;let s=t[r+1];for(let f=r+3;f<s;f+=2)if((t[f+1]&l)>0){let s=t[f];if(a.allows(s)&&(e.token.value==-1||e.token.value==s||x(s,e.token.value,n,o))){e.acceptToken(s);break}}let i=e.next,h=0,c=t[r+2];if(e.next<0&&c>h&&t[s+c*3-3]==65535){r=t[s+c*3-1];continue t}for(;h<c;){let n=h+c>>1;let o=s+n+(n<<1);let l=t[o],a=t[o+1]||65536;if(i<l)c=n;else if(i>=a)h=n+1;else{r=t[o+2];e.advance();continue t}}break}}function b(t,e,s){for(let i=e,n;(n=t[i])!=65535;i++)if(n==s)return i-e;return-1}function x(t,e,s,i){let n=b(s,i,e);return n<0||b(s,i,t)<n}const v=typeof o!="undefined"&&o.env&&/\bparse\b/.test(o.env.LOG);let w=null;function y(t,e,s){let n=t.cursor(i.IterMode.IncludeAnonymous);n.moveTo(e);for(;;){if(!(s<0?n.childBefore(e):n.childAfter(e)))for(;;){if((s<0?n.to<e:n.from>e)&&!n.type.isError)return s<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(s<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return s<0?0:t.length}}}class S{constructor(t,e){this.fragments=t;this.nodeSet=e;this.i=0;this.fragment=null;this.safeFrom=-1;this.safeTo=-1;this.trees=[];this.start=[];this.index=[];this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){this.safeFrom=t.openStart?y(t.tree,t.from+t.offset,1)-t.offset:t.from;this.safeTo=t.openEnd?y(t.tree,t.to+t.offset,-1)-t.offset:t.to;while(this.trees.length){this.trees.pop();this.start.pop();this.index.pop()}this.trees.push(t.tree);this.start.push(-t.offset);this.index.push(0);this.nextStart=this.safeFrom}else{this.nextStart=1e9}}nodeAt(t){if(t<this.nextStart)return null;while(this.fragment&&this.safeTo<=t)this.nextFragment();if(!this.fragment)return null;for(;;){let e=this.trees.length-1;if(e<0){this.nextFragment();return null}let s=this.trees[e],n=this.index[e];if(n==s.children.length){this.trees.pop();this.start.pop();this.index.pop();continue}let o=s.children[n];let r=this.start[e]+s.positions[n];if(r>t){this.nextStart=r;return null}if(o instanceof i.Tree){if(r==t){if(r<this.safeFrom)return null;let t=r+o.length;if(t<=this.safeTo){let e=o.prop(i.NodeProp.lookAhead);if(!e||t+e<this.fragment.to)return o}}this.index[e]++;if(r+o.length>=Math.max(this.safeFrom,t)){this.trees.push(o);this.start.push(r);this.index.push(0)}}else{this.index[e]++;this.nextStart=r+o.length}}}}class C{constructor(t,e){this.stream=e;this.tokens=[];this.mainToken=null;this.actions=[];this.tokens=t.tokenizers.map((t=>new f))}getActions(t){let e=0;let s=null;let{parser:i}=t.p,{tokenizers:n}=i;let o=i.stateSlot(t.state,3);let r=t.curContext?t.curContext.hash:0;let l=0;for(let a=0;a<n.length;a++){if((1<<a&o)==0)continue;let i=n[a],h=this.tokens[a];if(s&&!i.fallback)continue;if(i.contextual||h.start!=t.pos||h.mask!=o||h.context!=r){this.updateCachedToken(h,i,t);h.mask=o;h.context=r}if(h.lookAhead>h.end+25)l=Math.max(h.lookAhead,l);if(h.value!=0){let n=e;if(h.extended>-1)e=this.addActions(t,h.extended,h.end,e);e=this.addActions(t,h.value,h.end,e);if(!i.extend){s=h;if(e>n)break}}}while(this.actions.length>e)this.actions.pop();if(l)t.setLookAhead(l);if(!s&&t.pos==this.stream.end){s=new f;s.value=t.p.parser.eofTerm;s.start=s.end=t.pos;e=this.addActions(t,s.value,s.end,e)}this.mainToken=s;return this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let e=new f,{pos:s,p:i}=t;e.start=s;e.end=Math.min(s+1,i.stream.end);e.value=s==i.stream.end?i.parser.eofTerm:0;return e}updateCachedToken(t,e,s){let i=this.stream.clipPos(s.pos);e.token(this.stream.reset(i,t),s);if(t.value>-1){let{parser:e}=s.p;for(let i=0;i<e.specialized.length;i++)if(e.specialized[i]==t.value){let n=e.specializers[i](this.stream.read(t.start,t.end),s);if(n>=0&&s.p.parser.dialect.allows(n>>1)){if((n&1)==0)t.value=n>>1;else t.extended=n>>1;break}}}else{t.value=0;t.end=this.stream.clipPos(i+1)}}putAction(t,e,s,i){for(let n=0;n<i;n+=3)if(this.actions[n]==t)return i;this.actions[i++]=t;this.actions[i++]=e;this.actions[i++]=s;return i}addActions(t,e,s,i){let{state:n}=t,{parser:o}=t.p,{data:r}=o;for(let l=0;l<2;l++){for(let t=o.stateSlot(n,l?2:1);;t+=3){if(r[t]==65535){if(r[t+1]==1){t=D(r,t+2)}else{if(i==0&&r[t+1]==2)i=this.putAction(D(r,t+2),e,s,i);break}}if(r[t]==e)i=this.putAction(D(r,t+1),e,s,i)}}return i}}class P{constructor(t,e,s,i){this.parser=t;this.input=e;this.ranges=i;this.recovering=0;this.nextStackID=9812;this.minStackPos=0;this.reused=[];this.stoppedAt=null;this.lastBigReductionStart=-1;this.lastBigReductionSize=0;this.bigReductionCount=0;this.stream=new p(e,i);this.tokens=new C(t,this.stream);this.topTerm=t.top[1];let{from:n}=i[0];this.stacks=[r.start(this,t.top[0],n)];this.fragments=s.length&&this.stream.end-n>t.bufferLength*4?new S(s,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,e=this.minStackPos;let s=this.stacks=[];let i,n;if(this.bigReductionCount>300&&t.length==1){let[e]=t;while(e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart){}this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;o<t.length;o++){let r=t[o];for(;;){this.tokens.mainToken=null;if(r.pos>e){s.push(r)}else if(this.advanceStack(r,s,t)){continue}else{if(!i){i=[];n=[]}i.push(r);let t=this.tokens.getMainToken(r);n.push(t.value,t.end)}break}}if(!s.length){let t=i&&E(i);if(t){if(v)console.log("Finish with "+this.stackID(t));return this.stackToTree(t)}if(this.parser.strict){if(v&&i)console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none"));throw new SyntaxError("No parse at "+e)}if(!this.recovering)this.recovering=5}if(this.recovering&&i){let t=this.stoppedAt!=null&&i[0].pos>this.stoppedAt?i[0]:this.runRecovery(i,n,s);if(t){if(v)console.log("Force-finish "+this.stackID(t));return this.stackToTree(t.forceAll())}}if(this.recovering){let t=this.recovering==1?1:this.recovering*3;if(s.length>t){s.sort(((t,e)=>e.score-t.score));while(s.length>t)s.pop()}if(s.some((t=>t.reducePos>e)))this.recovering--}else if(s.length>1){t:for(let t=0;t<s.length-1;t++){let e=s[t];for(let i=t+1;i<s.length;i++){let n=s[i];if(e.sameState(n)||e.buffer.length>500&&n.buffer.length>500){if((e.score-n.score||e.buffer.length-n.buffer.length)>0){s.splice(i--,1)}else{s.splice(t--,1);continue t}}}}if(s.length>12)s.splice(12,s.length-12)}this.minStackPos=s[0].pos;for(let o=1;o<s.length;o++)if(s[o].pos<this.minStackPos)this.minStackPos=s[o].pos;return null}stopAt(t){if(this.stoppedAt!=null&&this.stoppedAt<t)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=t}advanceStack(t,e,s){let n=t.pos,{parser:o}=this;let r=v?this.stackID(t)+" -> ":"";if(this.stoppedAt!=null&&n>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let e=t.curContext&&t.curContext.tracker.strict,s=e?t.curContext.hash:0;for(let l=this.fragments.nodeAt(n);l;){let n=this.parser.nodeSet.types[l.type.id]==l.type?o.getGoto(t.state,l.type.id):-1;if(n>-1&&l.length&&(!e||(l.prop(i.NodeProp.contextHash)||0)==s)){t.useNode(l,n);if(v)console.log(r+this.stackID(t)+` (via reuse of ${o.getName(l.type.id)})`);return true}if(!(l instanceof i.Tree)||l.children.length==0||l.positions[0]>0)break;let a=l.children[0];if(a instanceof i.Tree&&l.positions[0]==0)l=a;else break}}let l=o.stateSlot(t.state,4);if(l>0){t.reduce(l);if(v)console.log(r+this.stackID(t)+` (via always-reduce ${o.getName(l&65535)})`);return true}if(t.stack.length>=8400){while(t.stack.length>6e3&&t.forceReduce()){}}let a=this.tokens.getActions(t);for(let i=0;i<a.length;){let l=a[i++],h=a[i++],c=a[i++];let f=i==a.length||!s;let u=f?t:t.split();let p=this.tokens.mainToken;u.apply(l,h,p?p.start:u.pos,c);if(v)console.log(r+this.stackID(u)+` (via ${(l&65536)==0?"shift":`reduce of ${o.getName(l&65535)}`} for ${o.getName(h)} @ ${n}${u==t?"":", split"})`);if(f)return true;else if(u.pos>n)e.push(u);else s.push(u)}return false}advanceFully(t,e){let s=t.pos;for(;;){if(!this.advanceStack(t,null,null))return false;if(t.pos>s){T(t,e);return true}}}runRecovery(t,e,s){let i=null,n=false;for(let o=0;o<t.length;o++){let r=t[o],l=e[o<<1],a=e[(o<<1)+1];let h=v?this.stackID(r)+" -> ":"";if(r.deadEnd){if(n)continue;n=true;r.restart();if(v)console.log(h+this.stackID(r)+" (restarted)");let t=this.advanceFully(r,s);if(t)continue}let c=r.split(),f=h;for(let t=0;c.forceReduce()&&t<10;t++){if(v)console.log(f+this.stackID(c)+" (via force-reduce)");let t=this.advanceFully(c,s);if(t)break;if(v)f=this.stackID(c)+" -> "}for(let t of r.recoverByInsert(l)){if(v)console.log(h+this.stackID(t)+" (via recover-insert)");this.advanceFully(t,s)}if(this.stream.end>r.pos){if(a==r.pos){a++;l=0}r.recoverByDelete(l,a);if(v)console.log(h+this.stackID(r)+` (via recover-delete ${this.parser.getName(l)})`);T(r,s)}else if(!i||i.score<r.score){i=r}}return i}stackToTree(t){t.close();return i.Tree.build({buffer:h.create(t),nodeSet:this.parser.nodeSet,topID:this.topTerm,maxBufferLength:this.parser.bufferLength,reused:this.reused,start:this.ranges[0].from,length:t.pos-this.ranges[0].from,minRepeatType:this.parser.minRepeatTerm})}stackID(t){let e=(w||(w=new WeakMap)).get(t);if(!e)w.set(t,e=String.fromCodePoint(this.nextStackID++));return e+t}}function T(t,e){for(let s=0;s<e.length;s++){let i=e[s];if(i.pos==t.pos&&i.sameState(t)){if(e[s].score<t.score)e[s]=t;return}}e.push(t)}class A{constructor(t,e,s){this.source=t;this.flags=e;this.disabled=s}allows(t){return!this.disabled||this.disabled[t]==0}}const I=t=>t;class O{constructor(t){this.start=t.start;this.shift=t.shift||I;this.reduce=t.reduce||I;this.reuse=t.reuse||I;this.hash=t.hash||(()=>0);this.strict=t.strict!==false}}class R extends i.Parser{constructor(t){super();this.wrappers=[];if(t.version!=14)throw new RangeError(`Parser version (${t.version}) doesn't match runtime version (${14})`);let e=t.nodeNames.split(" ");this.minRepeatTerm=e.length;for(let i=0;i<t.repeatNodeCount;i++)e.push("");let s=Object.keys(t.topRules).map((e=>t.topRules[e][1]));let n=[];for(let i=0;i<e.length;i++)n.push([]);function o(t,e,s){n[t].push([e,e.deserialize(String(s))])}if(t.nodeProps)for(let l of t.nodeProps){let t=l[0];if(typeof t=="string")t=i.NodeProp[t];for(let e=1;e<l.length;){let s=l[e++];if(s>=0){o(s,t,l[e++])}else{let i=l[e+-s];for(let n=-s;n>0;n--)o(l[e++],t,i);e++}}}this.nodeSet=new i.NodeSet(e.map(((e,o)=>i.NodeType.define({name:o>=this.minRepeatTerm?undefined:e,id:o,props:n[o],top:s.indexOf(o)>-1,error:o==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(o)>-1}))));if(t.propSources)this.nodeSet=this.nodeSet.extend(...t.propSources);this.strict=false;this.bufferLength=i.DefaultBufferLength;let r=c(t.tokenData);this.context=t.context;this.specializerSpecs=t.specialized||[];this.specialized=new Uint16Array(this.specializerSpecs.length);for(let i=0;i<this.specializerSpecs.length;i++)this.specialized[i]=this.specializerSpecs[i].term;this.specializers=this.specializerSpecs.map(N);this.states=c(t.states,Uint32Array);this.data=c(t.stateData);this.goto=c(t.goto);this.maxTerm=t.maxTerm;this.tokenizers=t.tokenizers.map((t=>typeof t=="number"?new d(r,t):t));this.topRules=t.topRules;this.dialects=t.dialects||{};this.dynamicPrecedences=t.dynamicPrecedences||null;this.tokenPrecTable=t.tokenPrec;this.termNames=t.termNames||null;this.maxNode=this.nodeSet.types.length-1;this.dialect=this.parseDialect();this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,e,s){let i=new P(this,t,e,s);for(let n of this.wrappers)i=n(i,t,e,s);return i}getGoto(t,e,s=false){let i=this.goto;if(e>=i[0])return-1;for(let n=i[e+1];;){let e=i[n++],o=e&1;let r=i[n++];if(o&&s)return r;for(let s=n+(e>>1);n<s;n++)if(i[n]==t)return r;if(o)return-1}}hasAction(t,e){let s=this.data;for(let i=0;i<2;i++){for(let n=this.stateSlot(t,i?2:1),o;;n+=3){if((o=s[n])==65535){if(s[n+1]==1)o=s[n=D(s,n+2)];else if(s[n+1]==2)return D(s,n+2);else break}if(o==e||o==0)return D(s,n+1)}}return 0}stateSlot(t,e){return this.states[t*6+e]}stateFlag(t,e){return(this.stateSlot(t,0)&e)>0}validAction(t,e){return!!this.allActions(t,(t=>t==e?true:null))}allActions(t,e){let s=this.stateSlot(t,4);let i=s?e(s):undefined;for(let n=this.stateSlot(t,1);i==null;n+=3){if(this.data[n]==65535){if(this.data[n+1]==1)n=D(this.data,n+2);else break}i=e(D(this.data,n+1))}return i}nextStates(t){let e=[];for(let s=this.stateSlot(t,1);;s+=3){if(this.data[s]==65535){if(this.data[s+1]==1)s=D(this.data,s+2);else break}if((this.data[s+2]&65536>>16)==0){let t=this.data[s+1];if(!e.some(((e,s)=>s&1&&e==t)))e.push(this.data[s],t)}}return e}configure(t){let e=Object.assign(Object.create(R.prototype),this);if(t.props)e.nodeSet=this.nodeSet.extend(...t.props);if(t.top){let s=this.topRules[t.top];if(!s)throw new RangeError(`Invalid top rule name ${t.top}`);e.top=s}if(t.tokenizers)e.tokenizers=this.tokenizers.map((e=>{let s=t.tokenizers.find((t=>t.from==e));return s?s.to:e}));if(t.specializers){e.specializers=this.specializers.slice();e.specializerSpecs=this.specializerSpecs.map(((s,i)=>{let n=t.specializers.find((t=>t.from==s.external));if(!n)return s;let o=Object.assign(Object.assign({},s),{external:n.to});e.specializers[i]=N(o);return o}))}if(t.contextTracker)e.context=t.contextTracker;if(t.dialect)e.dialect=this.parseDialect(t.dialect);if(t.strict!=null)e.strict=t.strict;if(t.wrap)e.wrappers=e.wrappers.concat(t.wrap);if(t.bufferLength!=null)e.bufferLength=t.bufferLength;return e}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let e=this.dynamicPrecedences;return e==null?0:e[t]||0}parseDialect(t){let e=Object.keys(this.dialects),s=e.map((()=>false));if(t)for(let n of t.split(" ")){let t=e.indexOf(n);if(t>=0)s[t]=true}let i=null;for(let n=0;n<e.length;n++)if(!s[n]){for(let t=this.dialects[e[n]],s;(s=this.data[t++])!=65535;)(i||(i=new Uint8Array(this.maxTerm+1)))[s]=1}return new A(t,s,i)}static deserialize(t){return new R(t)}}function D(t,e){return t[e]|t[e+1]<<16}function E(t){let e=null;for(let s of t){let t=s.p.stoppedAt;if((s.pos==s.p.stream.end||t!=null&&s.pos>t)&&s.p.parser.stateFlag(s.state,2)&&(!e||e.score<s.score))e=s}return e}function N(t){if(t.external){let e=t.extend?1:0;return(s,i)=>t.external(s,i)<<1|e}return t.get}},65606:t=>{var e=t.exports={};var s;var i;function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){s=setTimeout}else{s=n}}catch(t){s=n}try{if(typeof clearTimeout==="function"){i=clearTimeout}else{i=o}}catch(t){i=o}})();function r(t){if(s===setTimeout){return setTimeout(t,0)}if((s===n||!s)&&setTimeout){s=setTimeout;return setTimeout(t,0)}try{return s(t,0)}catch(e){try{return s.call(null,t,0)}catch(e){return s.call(this,t,0)}}}function l(t){if(i===clearTimeout){return clearTimeout(t)}if((i===o||!i)&&clearTimeout){i=clearTimeout;return clearTimeout(t)}try{return i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}var a=[];var h=false;var c;var f=-1;function u(){if(!h||!c){return}h=false;if(c.length){a=c.concat(a)}else{f=-1}if(a.length){p()}}function p(){if(h){return}var t=r(u);h=true;var e=a.length;while(e){c=a;a=[];while(++f<e){if(c){c[f].run()}}f=-1;e=a.length}c=null;h=false;l(t)}e.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1){for(var s=1;s<arguments.length;s++){e[s-1]=arguments[s]}}a.push(new d(t,e));if(a.length===1&&!h){r(p)}};function d(t,e){this.fun=t;this.array=e}d.prototype.run=function(){this.fun.apply(null,this.array)};e.title="browser";e.browser=true;e.env={};e.argv=[];e.version="";e.versions={};function m(){}e.on=m;e.addListener=m;e.once=m;e.off=m;e.removeListener=m;e.removeAllListeners=m;e.emit=m;e.prependListener=m;e.prependOnceListener=m;e.listeners=function(t){return[]};e.binding=function(t){throw new Error("process.binding is not supported")};e.cwd=function(){return"/"};e.chdir=function(t){throw new Error("process.chdir is not supported")};e.umask=function(){return 0}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[2574],{92574:(e,t,n)=>{n.r(t);n.d(t,{dockerFile:()=>f});var r=n(47228);var a="from";var o=new RegExp("^(\\s*)\\b("+a+")\\b","i");var s=["run","cmd","entrypoint","shell"];var l=new RegExp("^(\\s*)("+s.join("|")+")(\\s+\\[)","i");var i="expose";var u=new RegExp("^(\\s*)("+i+")(\\s+)","i");var g=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"];var d=[a,i].concat(s).concat(g),p="("+d.join("|")+")",x=new RegExp("^(\\s*)"+p+"(\\s*)(#.*)?$","i"),k=new RegExp("^(\\s*)"+p+"(\\s+)","i");const f=(0,r.I)({start:[{regex:/^\s*#.*$/,sol:true,token:"comment"},{regex:o,token:[null,"keyword"],sol:true,next:"from"},{regex:x,token:[null,"keyword",null,"error"],sol:true},{regex:l,token:[null,"keyword",null],sol:true,next:"array"},{regex:u,token:[null,"keyword",null],sol:true,next:"expose"},{regex:k,token:[null,"keyword",null],sol:true,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:true}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:true}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:true,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],languageData:{commentTokens:{line:"#"}}})},47228:(e,t,n)=>{n.d(t,{I:()=>r});function r(e){a(e,"start");var t={},n=e.languageData||{},r=false;for(var o in e)if(o!=n&&e.hasOwnProperty(o)){var s=t[o]=[],g=e[o];for(var d=0;d<g.length;d++){var p=g[d];s.push(new l(p,e));if(p.indent||p.dedent)r=true}}return{name:n.name,startState:function(){return{state:"start",pending:null,indent:r?[]:null}},copyState:function(e){var t={state:e.state,pending:e.pending,indent:e.indent&&e.indent.slice(0)};if(e.stack)t.stack=e.stack.slice(0);return t},token:i(t),indent:u(t,n),languageData:n}}function a(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function o(e,t){if(!e)return/(?:)/;var n="";if(e instanceof RegExp){if(e.ignoreCase)n="i";e=e.source}else{e=String(e)}return new RegExp((t===false?"":"^")+"(?:"+e+")",n)}function s(e){if(!e)return null;if(e.apply)return e;if(typeof e=="string")return e.replace(/\./g," ");var t=[];for(var n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}function l(e,t){if(e.next||e.push)a(t,e.next||e.push);this.regex=o(e.regex);this.token=s(e.token);this.data=e}function i(e){return function(t,n){if(n.pending){var r=n.pending.shift();if(n.pending.length==0)n.pending=null;t.pos+=r.text.length;return r.token}var a=e[n.state];for(var o=0;o<a.length;o++){var s=a[o];var l=(!s.data.sol||t.sol())&&t.match(s.regex);if(l){if(s.data.next){n.state=s.data.next}else if(s.data.push){(n.stack||(n.stack=[])).push(n.state);n.state=s.data.push}else if(s.data.pop&&n.stack&&n.stack.length){n.state=n.stack.pop()}if(s.data.indent)n.indent.push(t.indentation()+t.indentUnit);if(s.data.dedent)n.indent.pop();var i=s.token;if(i&&i.apply)i=i(l);if(l.length>2&&s.token&&typeof s.token!="string"){n.pending=[];for(var u=2;u<l.length;u++)if(l[u])n.pending.push({text:l[u],token:s.token[u-1]});t.backUp(l[0].length-(l[1]?l[1].length:0));return i[0]}else if(i&&i.join){return i[0]}else{return i}}}t.next();return null}}function u(e,t){return function(n,r){if(n.indent==null||t.dontIndentStates&&t.doneIndentState.indexOf(n.state)>-1)return null;var a=n.indent.length-1,o=e[n.state];e:for(;;){for(var s=0;s<o.length;s++){var l=o[s];if(l.data.dedent&&l.data.dedentIfLineStart!==false){var i=l.regex.exec(r);if(i&&i[0]){a--;if(l.next||l.push)o=e[l.next||l.push];r=r.slice(i[0].length);continue e}}}break}return a<0?0:n.indent[a]}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4001],{32167:(t,e,r)=>{var o;Object.defineProperty(e,"__esModule",{value:true});e.MML=void 0;var n=r(80747);var i=r(31859);var a=r(32175);var l=r(94318);var u=r(38669);var p=r(48765);var s=r(74394);var c=r(68313);var f=r(81364);var y=r(74502);var M=r(24208);var d=r(96778);var h=r(13941);var m=r(37422);var b=r(10900);var v=r(55385);var _=r(54453);var g=r(38085);var O=r(36528);var j=r(12560);var k=r(46072);var P=r(10093);var w=r(7840);var A=r(79516);var N=r(94826);var x=r(6497);var I=r(64016);var C=r(64906);var T=r(75447);var E=r(54517);var S=r(54020);e.MML=(o={},o[i.MmlMath.prototype.kind]=i.MmlMath,o[a.MmlMi.prototype.kind]=a.MmlMi,o[l.MmlMn.prototype.kind]=l.MmlMn,o[u.MmlMo.prototype.kind]=u.MmlMo,o[p.MmlMtext.prototype.kind]=p.MmlMtext,o[s.MmlMspace.prototype.kind]=s.MmlMspace,o[c.MmlMs.prototype.kind]=c.MmlMs,o[f.MmlMrow.prototype.kind]=f.MmlMrow,o[f.MmlInferredMrow.prototype.kind]=f.MmlInferredMrow,o[y.MmlMfrac.prototype.kind]=y.MmlMfrac,o[M.MmlMsqrt.prototype.kind]=M.MmlMsqrt,o[d.MmlMroot.prototype.kind]=d.MmlMroot,o[h.MmlMstyle.prototype.kind]=h.MmlMstyle,o[m.MmlMerror.prototype.kind]=m.MmlMerror,o[b.MmlMpadded.prototype.kind]=b.MmlMpadded,o[v.MmlMphantom.prototype.kind]=v.MmlMphantom,o[_.MmlMfenced.prototype.kind]=_.MmlMfenced,o[g.MmlMenclose.prototype.kind]=g.MmlMenclose,o[O.MmlMaction.prototype.kind]=O.MmlMaction,o[j.MmlMsub.prototype.kind]=j.MmlMsub,o[j.MmlMsup.prototype.kind]=j.MmlMsup,o[j.MmlMsubsup.prototype.kind]=j.MmlMsubsup,o[k.MmlMunder.prototype.kind]=k.MmlMunder,o[k.MmlMover.prototype.kind]=k.MmlMover,o[k.MmlMunderover.prototype.kind]=k.MmlMunderover,o[P.MmlMmultiscripts.prototype.kind]=P.MmlMmultiscripts,o[P.MmlMprescripts.prototype.kind]=P.MmlMprescripts,o[P.MmlNone.prototype.kind]=P.MmlNone,o[w.MmlMtable.prototype.kind]=w.MmlMtable,o[A.MmlMlabeledtr.prototype.kind]=A.MmlMlabeledtr,o[A.MmlMtr.prototype.kind]=A.MmlMtr,o[N.MmlMtd.prototype.kind]=N.MmlMtd,o[x.MmlMaligngroup.prototype.kind]=x.MmlMaligngroup,o[I.MmlMalignmark.prototype.kind]=I.MmlMalignmark,o[C.MmlMglyph.prototype.kind]=C.MmlMglyph,o[T.MmlSemantics.prototype.kind]=T.MmlSemantics,o[T.MmlAnnotation.prototype.kind]=T.MmlAnnotation,o[T.MmlAnnotationXML.prototype.kind]=T.MmlAnnotationXML,o[E.TeXAtom.prototype.kind]=E.TeXAtom,o[S.MathChoice.prototype.kind]=S.MathChoice,o[n.TextNode.prototype.kind]=n.TextNode,o[n.XMLNode.prototype.kind]=n.XMLNode,o)},44001:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();Object.defineProperty(e,"__esModule",{value:true});e.MmlFactory=void 0;var n=r(3495);var i=r(32167);var a=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"MML",{get:function(){return this.node},enumerable:false,configurable:true});e.defaultNodes=i.MML;return e}(n.AbstractNodeFactory);e.MmlFactory=a},6497:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();var n=this&&this.__assign||function(){n=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}return t};return n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:true});e.MmlMaligngroup=void 0;var i=r(80747);var a=r(98128);var l=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"kind",{get:function(){return"maligngroup"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isSpacelike",{get:function(){return true},enumerable:false,configurable:true});e.prototype.setChildInheritedAttributes=function(e,r,o,n){e=this.addInheritedAttributes(e,this.attributes.getAllAttributes());t.prototype.setChildInheritedAttributes.call(this,e,r,o,n)};e.defaults=n(n({},i.AbstractMmlLayoutNode.defaults),{groupalign:a.INHERIT});return e}(i.AbstractMmlLayoutNode);e.MmlMaligngroup=l},64016:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();var n=this&&this.__assign||function(){n=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}return t};return n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:true});e.MmlMalignmark=void 0;var i=r(80747);var a=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"kind",{get:function(){return"malignmark"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"arity",{get:function(){return 0},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"isSpacelike",{get:function(){return true},enumerable:false,configurable:true});e.defaults=n(n({},i.AbstractMmlNode.defaults),{edge:"left"});return e}(i.AbstractMmlNode);e.MmlMalignmark=a},54020:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();var n=this&&this.__assign||function(){n=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}return t};return n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:true});e.MathChoice=void 0;var i=r(80747);var a=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"kind",{get:function(){return"MathChoice"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"arity",{get:function(){return 4},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"notParent",{get:function(){return true},enumerable:false,configurable:true});e.prototype.setInheritedAttributes=function(t,e,r,o){var n=e?0:Math.max(0,Math.min(r,2))+1;var i=this.childNodes[n]||this.factory.create("mrow");this.parent.replaceChild(i,this);i.setInheritedAttributes(t,e,r,o)};e.defaults=n({},i.AbstractMmlBaseNode.defaults);return e}(i.AbstractMmlBaseNode);e.MathChoice=a},37422:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();var n=this&&this.__assign||function(){n=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}return t};return n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:true});e.MmlMerror=void 0;var i=r(80747);var a=function(t){o(e,t);function e(){var e=t!==null&&t.apply(this,arguments)||this;e.texclass=i.TEXCLASS.ORD;return e}Object.defineProperty(e.prototype,"kind",{get:function(){return"merror"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"arity",{get:function(){return-1},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"linebreakContainer",{get:function(){return true},enumerable:false,configurable:true});e.defaults=n({},i.AbstractMmlNode.defaults);return e}(i.AbstractMmlNode);e.MmlMerror=a},55385:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();var n=this&&this.__assign||function(){n=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}return t};return n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:true});e.MmlMphantom=void 0;var i=r(80747);var a=function(t){o(e,t);function e(){var e=t!==null&&t.apply(this,arguments)||this;e.texclass=i.TEXCLASS.ORD;return e}Object.defineProperty(e.prototype,"kind",{get:function(){return"mphantom"},enumerable:false,configurable:true});e.defaults=n({},i.AbstractMmlLayoutNode.defaults);return e}(i.AbstractMmlLayoutNode);e.MmlMphantom=a},13941:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();var n=this&&this.__assign||function(){n=Object.assign||function(t){for(var e,r=1,o=arguments.length;r<o;r++){e=arguments[r];for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))t[n]=e[n]}return t};return n.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:true});e.MmlMstyle=void 0;var i=r(80747);var a=r(98128);var l=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(e.prototype,"kind",{get:function(){return"mstyle"},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"notParent",{get:function(){return this.childNodes[0]&&this.childNodes[0].childNodes.length===1},enumerable:false,configurable:true});e.prototype.setChildInheritedAttributes=function(t,e,r,o){var n=this.attributes.getExplicit("scriptlevel");if(n!=null){n=n.toString();if(n.match(/^\s*[-+]/)){r+=parseInt(n)}else{r=parseInt(n)}o=false}var i=this.attributes.getExplicit("displaystyle");if(i!=null){e=i===true;o=false}var a=this.attributes.getExplicit("data-cramped");if(a!=null){o=a}t=this.addInheritedAttributes(t,this.attributes.getAllAttributes());this.childNodes[0].setInheritedAttributes(t,e,r,o)};e.defaults=n(n({},i.AbstractMmlLayoutNode.defaults),{scriptlevel:a.INHERIT,displaystyle:a.INHERIT,scriptsizemultiplier:1/Math.sqrt(2),scriptminsize:"8px",mathbackground:a.INHERIT,mathcolor:a.INHERIT,dir:a.INHERIT,infixlinebreakstyle:"before"});return e}(i.AbstractMmlLayoutNode);e.MmlMstyle=l},3495:function(t,e,r){var o=this&&this.__extends||function(){var t=function(e,r){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]};return t(e,r)};return function(e,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function o(){this.constructor=e}e.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();Object.defineProperty(e,"__esModule",{value:true});e.AbstractNodeFactory=void 0;var n=r(59171);var i=function(t){o(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}e.prototype.create=function(t,e,r){if(e===void 0){e={}}if(r===void 0){r=[]}return this.node[t](e,r)};return e}(n.AbstractFactory);e.AbstractNodeFactory=i}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4353],{44353:(e,t,n)=>{n.r(t);n.d(t,{blockComment:()=>y,blockUncomment:()=>k,copyLineDown:()=>Yt,copyLineUp:()=>Xt,cursorCharBackward:()=>ue,cursorCharBackwardLogical:()=>me,cursorCharForward:()=>ce,cursorCharForwardLogical:()=>he,cursorCharLeft:()=>ie,cursorCharRight:()=>ae,cursorDocEnd:()=>Ct,cursorDocStart:()=>At,cursorGroupBackward:()=>we,cursorGroupForward:()=>ke,cursorGroupLeft:()=>ge,cursorGroupRight:()=>ye,cursorLineBoundaryBackward:()=>Fe,cursorLineBoundaryForward:()=>Ue,cursorLineBoundaryLeft:()=>Ge,cursorLineBoundaryRight:()=>Je,cursorLineDown:()=>Te,cursorLineEnd:()=>He,cursorLineStart:()=>Pe,cursorLineUp:()=>be,cursorMatchingBracket:()=>We,cursorPageDown:()=>Ve,cursorPageUp:()=>Re,cursorSubwordBackward:()=>Be,cursorSubwordForward:()=>Ce,cursorSyntaxLeft:()=>xe,cursorSyntaxRight:()=>Le,defaultKeymap:()=>gn,deleteCharBackward:()=>It,deleteCharBackwardStrict:()=>Rt,deleteCharForward:()=>Vt,deleteGroupBackward:()=>Ut,deleteGroupForward:()=>Ft,deleteLine:()=>Zt,deleteLineBoundaryBackward:()=>Pt,deleteLineBoundaryForward:()=>Ht,deleteToLineEnd:()=>Gt,deleteToLineStart:()=>Jt,deleteTrailingWhitespace:()=>zt,emacsStyleKeymap:()=>mn,history:()=>T,historyField:()=>O,historyKeymap:()=>ee,indentLess:()=>un,indentMore:()=>cn,indentSelection:()=>an,indentWithTab:()=>yn,insertBlankLine:()=>on,insertNewline:()=>en,insertNewlineAndIndent:()=>rn,insertNewlineKeepIndent:()=>tn,insertTab:()=>hn,invertedEffects:()=>L,isolateHistory:()=>x,lineComment:()=>m,lineUncomment:()=>p,moveLineDown:()=>$t,moveLineUp:()=>Kt,redo:()=>V,redoDepth:()=>J,redoSelection:()=>U,selectAll:()=>Dt,selectCharBackward:()=>Xe,selectCharBackwardLogical:()=>Ze,selectCharForward:()=>Qe,selectCharForwardLogical:()=>Ye,selectCharLeft:()=>Ke,selectCharRight:()=>$e,selectDocEnd:()=>Et,selectDocStart:()=>Bt,selectGroupBackward:()=>ot,selectGroupForward:()=>rt,selectGroupLeft:()=>tt,selectGroupRight:()=>nt,selectLine:()=>xt,selectLineBoundaryBackward:()=>yt,selectLineBoundaryForward:()=>gt,selectLineBoundaryLeft:()=>kt,selectLineBoundaryRight:()=>wt,selectLineDown:()=>dt,selectLineEnd:()=>vt,selectLineStart:()=>St,selectLineUp:()=>ft,selectMatchingBracket:()=>_e,selectPageDown:()=>pt,selectPageUp:()=>mt,selectParentSyntax:()=>Lt,selectSubwordBackward:()=>it,selectSubwordForward:()=>st,selectSyntaxLeft:()=>at,selectSyntaxRight:()=>ct,simplifySelection:()=>Mt,splitLine:()=>Wt,standardKeymap:()=>pn,temporarilySetTabFocusMode:()=>dn,toggleBlockComment:()=>g,toggleBlockCommentByLine:()=>w,toggleComment:()=>f,toggleLineComment:()=>h,toggleTabFocusMode:()=>fn,transposeChars:()=>_t,undo:()=>R,undoDepth:()=>G,undoSelection:()=>N});var r=n(71674);var o=n.n(r);var l=n(22819);var s=n.n(l);var i=n(4452);var a=n.n(i);var c=n(66575);var u=n.n(c);const f=e=>{let{state:t}=e,n=t.doc.lineAt(t.selection.main.from),r=S(e.state,n.from);return r.line?h(e):r.block?w(e):false};function d(e,t){return({state:n,dispatch:r})=>{if(n.readOnly)return false;let o=e(t,n);if(!o)return false;r(n.update(o));return true}}const h=d(E,0);const m=d(E,1);const p=d(E,2);const g=d(B,0);const y=d(B,1);const k=d(B,2);const w=d(((e,t)=>B(e,t,C(t))),0);function S(e,t){let n=e.languageDataAt("commentTokens",t);return n.length?n[0]:{}}const v=50;function A(e,{open:t,close:n},r,o){let l=e.sliceDoc(r-v,r);let s=e.sliceDoc(o,o+v);let i=/\s*$/.exec(l)[0].length,a=/^\s*/.exec(s)[0].length;let c=l.length-i;if(l.slice(c-t.length,c)==t&&s.slice(a,a+n.length)==n){return{open:{pos:r-i,margin:i&&1},close:{pos:o+a,margin:a&&1}}}let u,f;if(o-r<=2*v){u=f=e.sliceDoc(r,o)}else{u=e.sliceDoc(r,r+v);f=e.sliceDoc(o-v,o)}let d=/^\s*/.exec(u)[0].length,h=/\s*$/.exec(f)[0].length;let m=f.length-h-n.length;if(u.slice(d,d+t.length)==t&&f.slice(m,m+n.length)==n){return{open:{pos:r+d+t.length,margin:/\s/.test(u.charAt(d+t.length))?1:0},close:{pos:o-h-n.length,margin:/\s/.test(f.charAt(m-1))?1:0}}}return null}function C(e){let t=[];for(let n of e.selection.ranges){let r=e.doc.lineAt(n.from);let o=n.to<=r.to?r:e.doc.lineAt(n.to);if(o.from>r.from&&o.from==n.to)o=n.to==r.to+1?r:e.doc.lineAt(n.to-1);let l=t.length-1;if(l>=0&&t[l].to>r.from)t[l].to=o.to;else t.push({from:r.from+/^\s*/.exec(r.text)[0].length,to:o.to})}return t}function B(e,t,n=t.selection.ranges){let r=n.map((e=>S(t,e.from).block));if(!r.every((e=>e)))return null;let o=n.map(((e,n)=>A(t,r[n],e.from,e.to)));if(e!=2&&!o.every((e=>e))){return{changes:t.changes(n.map(((e,t)=>{if(o[t])return[];return[{from:e.from,insert:r[t].open+" "},{from:e.to,insert:" "+r[t].close}]})))}}else if(e!=1&&o.some((e=>e))){let e=[];for(let t=0,n;t<o.length;t++)if(n=o[t]){let o=r[t],{open:l,close:s}=n;e.push({from:l.pos-o.open.length,to:l.pos+l.margin},{from:s.pos-s.margin,to:s.pos+o.close.length})}return{changes:e}}return null}function E(e,t,n=t.selection.ranges){let r=[];let o=-1;for(let{from:l,to:s}of n){let e=r.length,n=1e9;let i=S(t,l).line;if(!i)continue;for(let a=l;a<=s;){let e=t.doc.lineAt(a);if(e.from>o&&(l==s||s>e.from)){o=e.from;let t=/^\s*/.exec(e.text)[0].length;let l=t==e.length;let s=e.text.slice(t,t+i.length)==i?t:-1;if(t<e.text.length&&t<n)n=t;r.push({line:e,comment:s,token:i,indent:t,empty:l,single:false})}a=e.to+1}if(n<1e9)for(let t=e;t<r.length;t++)if(r[t].indent<r[t].line.text.length)r[t].indent=n;if(r.length==e+1)r[e].single=true}if(e!=2&&r.some((e=>e.comment<0&&(!e.empty||e.single)))){let e=[];for(let{line:t,token:o,indent:l,empty:s,single:i}of r)if(i||!s)e.push({from:t.from+l,insert:o+" "});let n=t.changes(e);return{changes:n,selection:t.selection.map(n,1)}}else if(e!=1&&r.some((e=>e.comment>=0))){let e=[];for(let{line:t,comment:n,token:o}of r)if(n>=0){let r=t.from+n,l=r+o.length;if(t.text[l-t.from]==" ")l++;e.push({from:r,to:l})}return{changes:e}}return null}const D=r.Annotation.define();const x=r.Annotation.define();const L=r.Facet.define();const M=r.Facet.define({combine(e){return(0,r.combineConfig)(e,{minDepth:100,newGroupDelay:500,joinToEvent:(e,t)=>t},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,t)=>(n,r)=>e(n,r)||t(n,r)})}});const b=r.StateField.define({create(){return Z.empty},update(e,t){let n=t.state.facet(M);let o=t.annotation(D);if(o){let r=P.fromTransaction(t,o.selection),l=o.side;let s=l==0?e.undone:e.done;if(r)s=H(s,s.length,n.minDepth,r);else s=K(s,t.startState.selection);return new Z(l==0?o.rest:s,l==0?s:o.rest)}let l=t.annotation(x);if(l=="full"||l=="before")e=e.isolate();if(t.annotation(r.Transaction.addToHistory)===false)return!t.changes.empty?e.addMapping(t.changes.desc):e;let s=P.fromTransaction(t);let i=t.annotation(r.Transaction.time),a=t.annotation(r.Transaction.userEvent);if(s)e=e.addChanges(s,i,a,n,t);else if(t.selection)e=e.addSelection(t.startState.selection,i,a,n.newGroupDelay);if(l=="full"||l=="after")e=e.isolate();return e},toJSON(e){return{done:e.done.map((e=>e.toJSON())),undone:e.undone.map((e=>e.toJSON()))}},fromJSON(e){return new Z(e.done.map(P.fromJSON),e.undone.map(P.fromJSON))}});function T(e={}){return[b,M.of(e),l.EditorView.domEventHandlers({beforeinput(e,t){let n=e.inputType=="historyUndo"?R:e.inputType=="historyRedo"?V:null;if(!n)return false;e.preventDefault();return n(t)}})]}const O=b;function I(e,t){return function({state:n,dispatch:r}){if(!t&&n.readOnly)return false;let o=n.field(b,false);if(!o)return false;let l=o.pop(e,n,t);if(!l)return false;r(l);return true}}const R=I(0,false);const V=I(1,false);const N=I(0,true);const U=I(1,true);function F(e){return function(t){let n=t.field(b,false);if(!n)return 0;let r=e==0?n.done:n.undone;return r.length-(r.length&&!r[0].changes?1:0)}}const G=F(0);const J=F(1);class P{constructor(e,t,n,r,o){this.changes=e;this.effects=t;this.mapped=n;this.startSelection=r;this.selectionsAfter=o}setSelAfter(e){return new P(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,t,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(t=this.mapped)===null||t===void 0?void 0:t.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map((e=>e.toJSON()))}}static fromJSON(e){return new P(e.changes&&r.ChangeSet.fromJSON(e.changes),[],e.mapped&&r.ChangeDesc.fromJSON(e.mapped),e.startSelection&&r.EditorSelection.fromJSON(e.startSelection),e.selectionsAfter.map(r.EditorSelection.fromJSON))}static fromTransaction(e,t){let n=j;for(let r of e.startState.facet(L)){let t=r(e);if(t.length)n=n.concat(t)}if(!n.length&&e.changes.empty)return null;return new P(e.changes.invert(e.startState.doc),n,undefined,t||e.startState.selection,j)}static selection(e){return new P(undefined,j,undefined,undefined,e)}}function H(e,t,n,r){let o=t+1>n+20?t-n-1:0;let l=e.slice(o,t);l.push(r);return l}function z(e,t){let n=[],r=false;e.iterChangedRanges(((e,t)=>n.push(e,t)));t.iterChangedRanges(((e,t,o,l)=>{for(let s=0;s<n.length;){let e=n[s++],t=n[s++];if(l>=e&&o<=t)r=true}}));return r}function W(e,t){return e.ranges.length==t.ranges.length&&e.ranges.filter(((e,n)=>e.empty!=t.ranges[n].empty)).length===0}function _(e,t){return!e.length?t:!t.length?e:e.concat(t)}const j=[];const q=200;function K(e,t){if(!e.length){return[P.selection([t])]}else{let n=e[e.length-1];let r=n.selectionsAfter.slice(Math.max(0,n.selectionsAfter.length-q));if(r.length&&r[r.length-1].eq(t))return e;r.push(t);return H(e,e.length-1,1e9,n.setSelAfter(r))}}function $(e){let t=e[e.length-1];let n=e.slice();n[e.length-1]=t.setSelAfter(t.selectionsAfter.slice(0,t.selectionsAfter.length-1));return n}function Q(e,t){if(!e.length)return e;let n=e.length,r=j;while(n){let o=X(e[n-1],t,r);if(o.changes&&!o.changes.empty||o.effects.length){let t=e.slice(0,n);t[n-1]=o;return t}else{t=o.mapped;n--;r=o.selectionsAfter}}return r.length?[P.selection(r)]:j}function X(e,t,n){let o=_(e.selectionsAfter.length?e.selectionsAfter.map((e=>e.map(t))):j,n);if(!e.changes)return P.selection(o);let l=e.changes.map(t),s=t.mapDesc(e.changes,true);let i=e.mapped?e.mapped.composeDesc(s):s;return new P(l,r.StateEffect.mapEffects(e.effects,t),i,e.startSelection.map(s),o)}const Y=/^(input\.type|delete)($|\.)/;class Z{constructor(e,t,n=0,r=undefined){this.done=e;this.undone=t;this.prevTime=n;this.prevUserEvent=r}isolate(){return this.prevTime?new Z(this.done,this.undone):this}addChanges(e,t,n,o,l){let s=this.done,i=s[s.length-1];if(i&&i.changes&&!i.changes.empty&&e.changes&&(!n||Y.test(n))&&(!i.selectionsAfter.length&&t-this.prevTime<o.newGroupDelay&&o.joinToEvent(l,z(i.changes,e.changes))||n=="input.type.compose")){s=H(s,s.length-1,o.minDepth,new P(e.changes.compose(i.changes),_(r.StateEffect.mapEffects(e.effects,i.changes),i.effects),i.mapped,i.startSelection,j))}else{s=H(s,s.length,o.minDepth,e)}return new Z(s,j,t,n)}addSelection(e,t,n,r){let o=this.done.length?this.done[this.done.length-1].selectionsAfter:j;if(o.length>0&&t-this.prevTime<r&&n==this.prevUserEvent&&n&&/^select($|\.)/.test(n)&&W(o[o.length-1],e))return this;return new Z(K(this.done,e),this.undone,t,n)}addMapping(e){return new Z(Q(this.done,e),Q(this.undone,e),this.prevTime,this.prevUserEvent)}pop(e,t,n){let r=e==0?this.done:this.undone;if(r.length==0)return null;let o=r[r.length-1],l=o.selectionsAfter[0]||t.selection;if(n&&o.selectionsAfter.length){return t.update({selection:o.selectionsAfter[o.selectionsAfter.length-1],annotations:D.of({side:e,rest:$(r),selection:l}),userEvent:e==0?"select.undo":"select.redo",scrollIntoView:true})}else if(!o.changes){return null}else{let n=r.length==1?j:r.slice(0,r.length-1);if(o.mapped)n=Q(n,o.mapped);return t.update({changes:o.changes,selection:o.startSelection,effects:o.effects,annotations:D.of({side:e,rest:n,selection:l}),filter:false,userEvent:e==0?"undo":"redo",scrollIntoView:true})}}}Z.empty=new Z(j,j);const ee=[{key:"Mod-z",run:R,preventDefault:true},{key:"Mod-y",mac:"Mod-Shift-z",run:V,preventDefault:true},{linux:"Ctrl-Shift-z",run:V,preventDefault:true},{key:"Mod-u",run:N,preventDefault:true},{key:"Alt-u",mac:"Mod-Shift-u",run:U,preventDefault:true}];function te(e,t){return r.EditorSelection.create(e.ranges.map(t),e.mainIndex)}function ne(e,t){return e.update({selection:t,scrollIntoView:true,userEvent:"select"})}function re({state:e,dispatch:t},n){let r=te(e.selection,n);if(r.eq(e.selection,true))return false;t(ne(e,r));return true}function oe(e,t){return r.EditorSelection.cursor(t?e.to:e.from)}function le(e,t){return re(e,(n=>n.empty?e.moveByChar(n,t):oe(n,t)))}function se(e){return e.textDirectionAt(e.state.selection.main.head)==l.Direction.LTR}const ie=e=>le(e,!se(e));const ae=e=>le(e,se(e));const ce=e=>le(e,true);const ue=e=>le(e,false);function fe(e,t,n){let o=t.head,l=e.doc.lineAt(o);if(o==(n?l.to:l.from))o=n?Math.min(e.doc.length,l.to+1):Math.max(0,l.from-1);else o=l.from+(0,r.findClusterBreak)(l.text,o-l.from,n);return r.EditorSelection.cursor(o,n?-1:1)}function de(e,t){return re(e,(n=>n.empty?fe(e.state,n,t):oe(n,t)))}const he=e=>de(e,true);const me=e=>de(e,false);function pe(e,t){return re(e,(n=>n.empty?e.moveByGroup(n,t):oe(n,t)))}const ge=e=>pe(e,!se(e));const ye=e=>pe(e,se(e));const ke=e=>pe(e,true);const we=e=>pe(e,false);const Se=typeof Intl!="undefined"&&Intl.Segmenter?new Intl.Segmenter(undefined,{granularity:"word"}):null;function ve(e,t,n){let o=e.state.charCategorizer(t.from);let l=r.CharCategory.Space,s=t.from,i=0;let a=false,c=false,u=false;let f=t=>{if(a)return false;s+=n?t.length:-t.length;let f=o(t),d;if(f==r.CharCategory.Word&&t.charCodeAt(0)<128&&/[\W_]/.test(t))f=-1;if(l==r.CharCategory.Space)l=f;if(l!=f)return false;if(l==r.CharCategory.Word){if(t.toLowerCase()==t){if(!n&&c)return false;u=true}else if(u){if(n)return false;a=true}else{if(c&&n&&o(d=e.state.sliceDoc(s,s+1))==r.CharCategory.Word&&d.toLowerCase()==d)return false;c=true}}i++;return true};let d=e.moveByChar(t,n,(e=>{f(e);return f}));if(Se&&l==r.CharCategory.Word&&d.from==t.from+i*(n?1:-1)){let o=Math.min(t.head,d.head),l=Math.max(t.head,d.head);let s=e.state.sliceDoc(o,l);if(s.length>1&&/[\u4E00-\uffff]/.test(s)){let e=Array.from(Se.segment(s));if(e.length>1){if(n)return r.EditorSelection.cursor(t.head+e[1].index,-1);return r.EditorSelection.cursor(d.head+e[e.length-1].index,1)}}}return d}function Ae(e,t){return re(e,(n=>n.empty?ve(e,n,t):oe(n,t)))}const Ce=e=>Ae(e,true);const Be=e=>Ae(e,false);function Ee(e,t,n){if(t.type.prop(n))return true;let r=t.to-t.from;return r&&(r>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function De(e,t,n){let o=(0,i.syntaxTree)(e).resolveInner(t.head);let l=n?c.NodeProp.closedBy:c.NodeProp.openedBy;for(let r=t.head;;){let t=n?o.childAfter(r):o.childBefore(r);if(!t)break;if(Ee(e,t,l))o=t;else r=n?t.to:t.from}let s=o.type.prop(l),a,u;if(s&&(a=n?(0,i.matchBrackets)(e,o.from,1):(0,i.matchBrackets)(e,o.to,-1))&&a.matched)u=n?a.end.to:a.end.from;else u=n?o.to:o.from;return r.EditorSelection.cursor(u,n?-1:1)}const xe=e=>re(e,(t=>De(e.state,t,!se(e))));const Le=e=>re(e,(t=>De(e.state,t,se(e))));function Me(e,t){return re(e,(n=>{if(!n.empty)return oe(n,t);let r=e.moveVertically(n,t);return r.head!=n.head?r:e.moveToLineBoundary(n,t)}))}const be=e=>Me(e,false);const Te=e=>Me(e,true);function Oe(e){let t=e.scrollDOM.clientHeight<e.scrollDOM.scrollHeight-2;let n=0,r=0,o;if(t){for(let t of e.state.facet(l.EditorView.scrollMargins)){let o=t(e);if(o===null||o===void 0?void 0:o.top)n=Math.max(o===null||o===void 0?void 0:o.top,n);if(o===null||o===void 0?void 0:o.bottom)r=Math.max(o===null||o===void 0?void 0:o.bottom,r)}o=e.scrollDOM.clientHeight-n-r}else{o=(e.dom.ownerDocument.defaultView||window).innerHeight}return{marginTop:n,marginBottom:r,selfScroll:t,height:Math.max(e.defaultLineHeight,o-5)}}function Ie(e,t){let n=Oe(e);let{state:r}=e,o=te(r.selection,(r=>r.empty?e.moveVertically(r,t,n.height):oe(r,t)));if(o.eq(r.selection))return false;let s;if(n.selfScroll){let t=e.coordsAtPos(r.selection.main.head);let i=e.scrollDOM.getBoundingClientRect();let a=i.top+n.marginTop,c=i.bottom-n.marginBottom;if(t&&t.top>a&&t.bottom<c)s=l.EditorView.scrollIntoView(o.main.head,{y:"start",yMargin:t.top-a})}e.dispatch(ne(r,o),{effects:s});return true}const Re=e=>Ie(e,false);const Ve=e=>Ie(e,true);function Ne(e,t,n){let o=e.lineBlockAt(t.head),l=e.moveToLineBoundary(t,n);if(l.head==t.head&&l.head!=(n?o.to:o.from))l=e.moveToLineBoundary(t,n,false);if(!n&&l.head==o.from&&o.length){let n=/^\s*/.exec(e.state.sliceDoc(o.from,Math.min(o.from+100,o.to)))[0].length;if(n&&t.head!=o.from+n)l=r.EditorSelection.cursor(o.from+n)}return l}const Ue=e=>re(e,(t=>Ne(e,t,true)));const Fe=e=>re(e,(t=>Ne(e,t,false)));const Ge=e=>re(e,(t=>Ne(e,t,!se(e))));const Je=e=>re(e,(t=>Ne(e,t,se(e))));const Pe=e=>re(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from,1)));const He=e=>re(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to,-1)));function ze(e,t,n){let o=false,l=te(e.selection,(t=>{let l=(0,i.matchBrackets)(e,t.head,-1)||(0,i.matchBrackets)(e,t.head,1)||t.head>0&&(0,i.matchBrackets)(e,t.head-1,1)||t.head<e.doc.length&&(0,i.matchBrackets)(e,t.head+1,-1);if(!l||!l.end)return t;o=true;let s=l.start.from==t.head?l.end.to:l.end.from;return n?r.EditorSelection.range(t.anchor,s):r.EditorSelection.cursor(s)}));if(!o)return false;t(ne(e,l));return true}const We=({state:e,dispatch:t})=>ze(e,t,false);const _e=({state:e,dispatch:t})=>ze(e,t,true);function je(e,t){let n=te(e.state.selection,(e=>{let n=t(e);return r.EditorSelection.range(e.anchor,n.head,n.goalColumn,n.bidiLevel||undefined)}));if(n.eq(e.state.selection))return false;e.dispatch(ne(e.state,n));return true}function qe(e,t){return je(e,(n=>e.moveByChar(n,t)))}const Ke=e=>qe(e,!se(e));const $e=e=>qe(e,se(e));const Qe=e=>qe(e,true);const Xe=e=>qe(e,false);const Ye=e=>je(e,(t=>fe(e.state,t,true)));const Ze=e=>je(e,(t=>fe(e.state,t,false)));function et(e,t){return je(e,(n=>e.moveByGroup(n,t)))}const tt=e=>et(e,!se(e));const nt=e=>et(e,se(e));const rt=e=>et(e,true);const ot=e=>et(e,false);function lt(e,t){return je(e,(n=>ve(e,n,t)))}const st=e=>lt(e,true);const it=e=>lt(e,false);const at=e=>je(e,(t=>De(e.state,t,!se(e))));const ct=e=>je(e,(t=>De(e.state,t,se(e))));function ut(e,t){return je(e,(n=>e.moveVertically(n,t)))}const ft=e=>ut(e,false);const dt=e=>ut(e,true);function ht(e,t){return je(e,(n=>e.moveVertically(n,t,Oe(e).height)))}const mt=e=>ht(e,false);const pt=e=>ht(e,true);const gt=e=>je(e,(t=>Ne(e,t,true)));const yt=e=>je(e,(t=>Ne(e,t,false)));const kt=e=>je(e,(t=>Ne(e,t,!se(e))));const wt=e=>je(e,(t=>Ne(e,t,se(e))));const St=e=>je(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).from)));const vt=e=>je(e,(t=>r.EditorSelection.cursor(e.lineBlockAt(t.head).to)));const At=({state:e,dispatch:t})=>{t(ne(e,{anchor:0}));return true};const Ct=({state:e,dispatch:t})=>{t(ne(e,{anchor:e.doc.length}));return true};const Bt=({state:e,dispatch:t})=>{t(ne(e,{anchor:e.selection.main.anchor,head:0}));return true};const Et=({state:e,dispatch:t})=>{t(ne(e,{anchor:e.selection.main.anchor,head:e.doc.length}));return true};const Dt=({state:e,dispatch:t})=>{t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"}));return true};const xt=({state:e,dispatch:t})=>{let n=jt(e).map((({from:t,to:n})=>r.EditorSelection.range(t,Math.min(n+1,e.doc.length))));t(e.update({selection:r.EditorSelection.create(n),userEvent:"select"}));return true};const Lt=({state:e,dispatch:t})=>{let n=te(e.selection,(t=>{let n=(0,i.syntaxTree)(e),o=n.resolveStack(t.from,1);if(t.empty){let e=n.resolveStack(t.from,-1);if(e.node.from>=o.node.from&&e.node.to<=o.node.to)o=e}for(let e=o;e;e=e.next){let{node:n}=e;if((n.from<t.from&&n.to>=t.to||n.to>t.to&&n.from<=t.from)&&e.next)return r.EditorSelection.range(n.to,n.from)}return t}));if(n.eq(e.selection))return false;t(ne(e,n));return true};const Mt=({state:e,dispatch:t})=>{let n=e.selection,o=null;if(n.ranges.length>1)o=r.EditorSelection.create([n.main]);else if(!n.main.empty)o=r.EditorSelection.create([r.EditorSelection.cursor(n.main.head)]);if(!o)return false;t(ne(e,o));return true};function bt(e,t){if(e.state.readOnly)return false;let n="delete.selection",{state:o}=e;let s=o.changeByRange((o=>{let{from:l,to:s}=o;if(l==s){let r=t(o);if(r<l){n="delete.backward";r=Tt(e,r,false)}else if(r>l){n="delete.forward";r=Tt(e,r,true)}l=Math.min(l,r);s=Math.max(s,r)}else{l=Tt(e,l,false);s=Tt(e,s,true)}return l==s?{range:o}:{changes:{from:l,to:s},range:r.EditorSelection.cursor(l,l<o.head?-1:1)}}));if(s.changes.empty)return false;e.dispatch(o.update(s,{scrollIntoView:true,userEvent:n,effects:n=="delete.selection"?l.EditorView.announce.of(o.phrase("Selection deleted")):undefined}));return true}function Tt(e,t,n){if(e instanceof l.EditorView)for(let r of e.state.facet(l.EditorView.atomicRanges).map((t=>t(e))))r.between(t,t,((e,r)=>{if(e<t&&r>t)t=n?r:e}));return t}const Ot=(e,t,n)=>bt(e,(o=>{let l=o.from,{state:s}=e,a=s.doc.lineAt(l),c,u;if(n&&!t&&l>a.from&&l<a.from+200&&!/[^ \t]/.test(c=a.text.slice(0,l-a.from))){if(c[c.length-1]=="\t")return l-1;let e=(0,r.countColumn)(c,s.tabSize),t=e%(0,i.getIndentUnit)(s)||(0,i.getIndentUnit)(s);for(let n=0;n<t&&c[c.length-1-n]==" ";n++)l--;u=l}else{u=(0,r.findClusterBreak)(a.text,l-a.from,t,t)+a.from;if(u==l&&a.number!=(t?s.doc.lines:1))u+=t?1:-1;else if(!t&&/[\ufe00-\ufe0f]/.test(a.text.slice(u-a.from,l-a.from)))u=(0,r.findClusterBreak)(a.text,u-a.from,false,false)+a.from}return u}));const It=e=>Ot(e,false,true);const Rt=e=>Ot(e,false,false);const Vt=e=>Ot(e,true,false);const Nt=(e,t)=>bt(e,(n=>{let o=n.head,{state:l}=e,s=l.doc.lineAt(o);let i=l.charCategorizer(o);for(let e=null;;){if(o==(t?s.to:s.from)){if(o==n.head&&s.number!=(t?l.doc.lines:1))o+=t?1:-1;break}let a=(0,r.findClusterBreak)(s.text,o-s.from,t)+s.from;let c=s.text.slice(Math.min(o,a)-s.from,Math.max(o,a)-s.from);let u=i(c);if(e!=null&&u!=e)break;if(c!=" "||o!=n.head)e=u;o=a}return o}));const Ut=e=>Nt(e,false);const Ft=e=>Nt(e,true);const Gt=e=>bt(e,(t=>{let n=e.lineBlockAt(t.head).to;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}));const Jt=e=>bt(e,(t=>{let n=e.lineBlockAt(t.head).from;return t.head>n?n:Math.max(0,t.head-1)}));const Pt=e=>bt(e,(t=>{let n=e.moveToLineBoundary(t,false).head;return t.head>n?n:Math.max(0,t.head-1)}));const Ht=e=>bt(e,(t=>{let n=e.moveToLineBoundary(t,true).head;return t.head<n?n:Math.min(e.state.doc.length,t.head+1)}));const zt=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=[];for(let r=0,o="",l=e.doc.iter();;){l.next();if(l.lineBreak||l.done){let e=o.search(/\s+$/);if(e>-1)n.push({from:r-(o.length-e),to:r});if(l.done)break;o=""}else{o=l.value}r+=l.value.length}if(!n.length)return false;t(e.update({changes:n,userEvent:"delete"}));return true};const Wt=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=e.changeByRange((e=>({changes:{from:e.from,to:e.to,insert:r.Text.of(["",""])},range:r.EditorSelection.cursor(e.from)})));t(e.update(n,{scrollIntoView:true,userEvent:"input"}));return true};const _t=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=e.changeByRange((t=>{if(!t.empty||t.from==0||t.from==e.doc.length)return{range:t};let n=t.from,o=e.doc.lineAt(n);let l=n==o.from?n-1:(0,r.findClusterBreak)(o.text,n-o.from,false)+o.from;let s=n==o.to?n+1:(0,r.findClusterBreak)(o.text,n-o.from,true)+o.from;return{changes:{from:l,to:s,insert:e.doc.slice(n,s).append(e.doc.slice(l,n))},range:r.EditorSelection.cursor(s)}}));if(n.changes.empty)return false;t(e.update(n,{scrollIntoView:true,userEvent:"move.character"}));return true};function jt(e){let t=[],n=-1;for(let r of e.selection.ranges){let o=e.doc.lineAt(r.from),l=e.doc.lineAt(r.to);if(!r.empty&&r.to==l.from)l=e.doc.lineAt(r.to-1);if(n>=o.number){let e=t[t.length-1];e.to=l.to;e.ranges.push(r)}else{t.push({from:o.from,to:l.to,ranges:[r]})}n=l.number+1}return t}function qt(e,t,n){if(e.readOnly)return false;let o=[],l=[];for(let s of jt(e)){if(n?s.to==e.doc.length:s.from==0)continue;let t=e.doc.lineAt(n?s.to+1:s.from-1);let i=t.length+1;if(n){o.push({from:s.to,to:t.to},{from:s.from,insert:t.text+e.lineBreak});for(let t of s.ranges)l.push(r.EditorSelection.range(Math.min(e.doc.length,t.anchor+i),Math.min(e.doc.length,t.head+i)))}else{o.push({from:t.from,to:s.from},{from:s.to,insert:e.lineBreak+t.text});for(let e of s.ranges)l.push(r.EditorSelection.range(e.anchor-i,e.head-i))}}if(!o.length)return false;t(e.update({changes:o,scrollIntoView:true,selection:r.EditorSelection.create(l,e.selection.mainIndex),userEvent:"move.line"}));return true}const Kt=({state:e,dispatch:t})=>qt(e,t,false);const $t=({state:e,dispatch:t})=>qt(e,t,true);function Qt(e,t,n){if(e.readOnly)return false;let r=[];for(let o of jt(e)){if(n)r.push({from:o.from,insert:e.doc.slice(o.from,o.to)+e.lineBreak});else r.push({from:o.to,insert:e.lineBreak+e.doc.slice(o.from,o.to)})}t(e.update({changes:r,scrollIntoView:true,userEvent:"input.copyline"}));return true}const Xt=({state:e,dispatch:t})=>Qt(e,t,false);const Yt=({state:e,dispatch:t})=>Qt(e,t,true);const Zt=e=>{if(e.state.readOnly)return false;let{state:t}=e,n=t.changes(jt(t).map((({from:e,to:n})=>{if(e>0)e--;else if(n<t.doc.length)n++;return{from:e,to:n}})));let r=te(t.selection,(t=>{let n=undefined;if(e.lineWrapping){let r=e.lineBlockAt(t.head),o=e.coordsAtPos(t.head,t.assoc||1);if(o)n=r.bottom+e.documentTop-o.bottom+e.defaultLineHeight/2}return e.moveVertically(t,true,n)})).map(n);e.dispatch({changes:n,selection:r,scrollIntoView:true,userEvent:"delete.line"});return true};const en=({state:e,dispatch:t})=>{t(e.update(e.replaceSelection(e.lineBreak),{scrollIntoView:true,userEvent:"input"}));return true};const tn=({state:e,dispatch:t})=>{t(e.update(e.changeByRange((t=>{let n=/^\s*/.exec(e.doc.lineAt(t.from).text)[0];return{changes:{from:t.from,to:t.to,insert:e.lineBreak+n},range:r.EditorSelection.cursor(t.from+n.length+1)}})),{scrollIntoView:true,userEvent:"input"}));return true};function nn(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let n=(0,i.syntaxTree)(e).resolveInner(t);let r=n.childBefore(t),o=n.childAfter(t),l;if(r&&o&&r.to<=t&&o.from>=t&&(l=r.type.prop(c.NodeProp.closedBy))&&l.indexOf(o.name)>-1&&e.doc.lineAt(r.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(r.to,o.from)))return{from:r.to,to:o.from};return null}const rn=ln(false);const on=ln(true);function ln(e){return({state:t,dispatch:n})=>{if(t.readOnly)return false;let o=t.changeByRange((n=>{let{from:o,to:l}=n,s=t.doc.lineAt(o);let a=!e&&o==l&&nn(t,o);if(e)o=l=(l<=s.to?s:t.doc.lineAt(l)).to;let c=new i.IndentContext(t,{simulateBreak:o,simulateDoubleBreak:!!a});let u=(0,i.getIndentation)(c,o);if(u==null)u=(0,r.countColumn)(/^\s*/.exec(t.doc.lineAt(o).text)[0],t.tabSize);while(l<s.to&&/\s/.test(s.text[l-s.from]))l++;if(a)({from:o,to:l}=a);else if(o>s.from&&o<s.from+100&&!/\S/.test(s.text.slice(0,o)))o=s.from;let f=["",(0,i.indentString)(t,u)];if(a)f.push((0,i.indentString)(t,c.lineIndent(s.from,-1)));return{changes:{from:o,to:l,insert:r.Text.of(f)},range:r.EditorSelection.cursor(o+1+f[1].length)}}));n(t.update(o,{scrollIntoView:true,userEvent:"input"}));return true}}function sn(e,t){let n=-1;return e.changeByRange((o=>{let l=[];for(let r=o.from;r<=o.to;){let s=e.doc.lineAt(r);if(s.number>n&&(o.empty||o.to>s.from)){t(s,l,o);n=s.number}r=s.to+1}let s=e.changes(l);return{changes:l,range:r.EditorSelection.range(s.mapPos(o.anchor,1),s.mapPos(o.head,1))}}))}const an=({state:e,dispatch:t})=>{if(e.readOnly)return false;let n=Object.create(null);let r=new i.IndentContext(e,{overrideIndentation:e=>{let t=n[e];return t==null?-1:t}});let o=sn(e,((t,o,l)=>{let s=(0,i.getIndentation)(r,t.from);if(s==null)return;if(!/\S/.test(t.text))s=0;let a=/^\s*/.exec(t.text)[0];let c=(0,i.indentString)(e,s);if(a!=c||l.from<t.from+a.length){n[t.from]=s;o.push({from:t.from,to:t.from+a.length,insert:c})}}));if(!o.changes.empty)t(e.update(o,{userEvent:"indent"}));return true};const cn=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update(sn(e,((t,n)=>{n.push({from:t.from,insert:e.facet(i.indentUnit)})})),{userEvent:"input.indent"}));return true};const un=({state:e,dispatch:t})=>{if(e.readOnly)return false;t(e.update(sn(e,((t,n)=>{let o=/^\s*/.exec(t.text)[0];if(!o)return;let l=(0,r.countColumn)(o,e.tabSize),s=0;let a=(0,i.indentString)(e,Math.max(0,l-(0,i.getIndentUnit)(e)));while(s<o.length&&s<a.length&&o.charCodeAt(s)==a.charCodeAt(s))s++;n.push({from:t.from+s,to:t.from+o.length,insert:a.slice(s)})})),{userEvent:"delete.dedent"}));return true};const fn=e=>{e.setTabFocusMode();return true};const dn=e=>{e.setTabFocusMode(2e3);return true};const hn=({state:e,dispatch:t})=>{if(e.selection.ranges.some((e=>!e.empty)))return cn({state:e,dispatch:t});t(e.update(e.replaceSelection("\t"),{scrollIntoView:true,userEvent:"input"}));return true};const mn=[{key:"Ctrl-b",run:ie,shift:Ke,preventDefault:true},{key:"Ctrl-f",run:ae,shift:$e},{key:"Ctrl-p",run:be,shift:ft},{key:"Ctrl-n",run:Te,shift:dt},{key:"Ctrl-a",run:Pe,shift:St},{key:"Ctrl-e",run:He,shift:vt},{key:"Ctrl-d",run:Vt},{key:"Ctrl-h",run:It},{key:"Ctrl-k",run:Gt},{key:"Ctrl-Alt-h",run:Ut},{key:"Ctrl-o",run:Wt},{key:"Ctrl-t",run:_t},{key:"Ctrl-v",run:Ve}];const pn=[{key:"ArrowLeft",run:ie,shift:Ke,preventDefault:true},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:ge,shift:tt,preventDefault:true},{mac:"Cmd-ArrowLeft",run:Ge,shift:kt,preventDefault:true},{key:"ArrowRight",run:ae,shift:$e,preventDefault:true},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:ye,shift:nt,preventDefault:true},{mac:"Cmd-ArrowRight",run:Je,shift:wt,preventDefault:true},{key:"ArrowUp",run:be,shift:ft,preventDefault:true},{mac:"Cmd-ArrowUp",run:At,shift:Bt},{mac:"Ctrl-ArrowUp",run:Re,shift:mt},{key:"ArrowDown",run:Te,shift:dt,preventDefault:true},{mac:"Cmd-ArrowDown",run:Ct,shift:Et},{mac:"Ctrl-ArrowDown",run:Ve,shift:pt},{key:"PageUp",run:Re,shift:mt},{key:"PageDown",run:Ve,shift:pt},{key:"Home",run:Fe,shift:yt,preventDefault:true},{key:"Mod-Home",run:At,shift:Bt},{key:"End",run:Ue,shift:gt,preventDefault:true},{key:"Mod-End",run:Ct,shift:Et},{key:"Enter",run:rn,shift:rn},{key:"Mod-a",run:Dt},{key:"Backspace",run:It,shift:It},{key:"Delete",run:Vt},{key:"Mod-Backspace",mac:"Alt-Backspace",run:Ut},{key:"Mod-Delete",mac:"Alt-Delete",run:Ft},{mac:"Mod-Backspace",run:Pt},{mac:"Mod-Delete",run:Ht}].concat(mn.map((e=>({mac:e.key,run:e.run,shift:e.shift}))));const gn=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:xe,shift:at},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Le,shift:ct},{key:"Alt-ArrowUp",run:Kt},{key:"Shift-Alt-ArrowUp",run:Xt},{key:"Alt-ArrowDown",run:$t},{key:"Shift-Alt-ArrowDown",run:Yt},{key:"Escape",run:Mt},{key:"Mod-Enter",run:on},{key:"Alt-l",mac:"Ctrl-l",run:xt},{key:"Mod-i",run:Lt,preventDefault:true},{key:"Mod-[",run:un},{key:"Mod-]",run:cn},{key:"Mod-Alt-\\",run:an},{key:"Shift-Mod-k",run:Zt},{key:"Shift-Mod-\\",run:We},{key:"Mod-/",run:f},{key:"Alt-A",run:g},{key:"Ctrl-m",mac:"Shift-Alt-m",run:fn}].concat(pn);const yn={key:"Tab",run:cn,shift:un}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4484],{34484:(e,t,n)=>{n.r(t);n.d(t,{xQuery:()=>w});var r=function(){function e(e){return{type:e,style:"keyword"}}var t=e("operator"),n={type:"atom",style:"atom"},r={type:"punctuation",style:null},i={type:"axis_specifier",style:"qualifier"};var a={",":r};var s=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"];for(var o=0,l=s.length;o<l;o++){a[s[o]]=e(s[o])}var u=["xs:anyAtomicType","xs:anySimpleType","xs:anyType","xs:anyURI","xs:base64Binary","xs:boolean","xs:byte","xs:date","xs:dateTime","xs:dateTimeStamp","xs:dayTimeDuration","xs:decimal","xs:double","xs:duration","xs:ENTITIES","xs:ENTITY","xs:float","xs:gDay","xs:gMonth","xs:gMonthDay","xs:gYear","xs:gYearMonth","xs:hexBinary","xs:ID","xs:IDREF","xs:IDREFS","xs:int","xs:integer","xs:item","xs:java","xs:language","xs:long","xs:Name","xs:NCName","xs:negativeInteger","xs:NMTOKEN","xs:NMTOKENS","xs:nonNegativeInteger","xs:nonPositiveInteger","xs:normalizedString","xs:NOTATION","xs:numeric","xs:positiveInteger","xs:precisionDecimal","xs:QName","xs:short","xs:string","xs:time","xs:token","xs:unsignedByte","xs:unsignedInt","xs:unsignedLong","xs:unsignedShort","xs:untyped","xs:untypedAtomic","xs:yearMonthDuration"];for(var o=0,l=u.length;o<l;o++){a[u[o]]=n}var c=["eq","ne","lt","le","gt","ge",":=","=",">",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"];for(var o=0,l=c.length;o<l;o++){a[c[o]]=t}var f=["self::","attribute::","child::","descendant::","descendant-or-self::","parent::","ancestor::","ancestor-or-self::","following::","preceding::","following-sibling::","preceding-sibling::"];for(var o=0,l=f.length;o<l;o++){a[f[o]]=i}return a}();function i(e,t,n){t.tokenize=n;return n(e,t)}function a(e,t){var n=e.next(),a=false,c=y(e);if(n=="<"){if(e.match("!--",true))return i(e,t,f);if(e.match("![CDATA",false)){t.tokenize=p;return"tag"}if(e.match("?",false)){return i(e,t,m)}var x=e.eat("/");e.eatSpace();var h="",v;while(v=e.eat(/[^\s\u00a0=<>\"\'\/?]/))h+=v;return i(e,t,u(h,x))}else if(n=="{"){k(t,{type:"codeblock"});return null}else if(n=="}"){b(t);return null}else if(g(t)){if(n==">")return"tag";else if(n=="/"&&e.eat(">")){b(t);return"tag"}else return"variable"}else if(/\d/.test(n)){e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/);return"atom"}else if(n==="("&&e.eat(":")){k(t,{type:"comment"});return i(e,t,s)}else if(!c&&(n==='"'||n==="'"))return i(e,t,o(n));else if(n==="$"){return i(e,t,l)}else if(n===":"&&e.eat("=")){return"keyword"}else if(n==="("){k(t,{type:"paren"});return null}else if(n===")"){b(t);return null}else if(n==="["){k(t,{type:"bracket"});return null}else if(n==="]"){b(t);return null}else{var w=r.propertyIsEnumerable(n)&&r[n];if(c&&n==='"')while(e.next()!=='"'){}if(c&&n==="'")while(e.next()!=="'"){}if(!w)e.eatWhile(/[\w\$_-]/);var z=e.eat(":");if(!e.eat(":")&&z){e.eatWhile(/[\w\$_-]/)}if(e.match(/^[ \t]*\(/,false)){a=true}var I=e.current();w=r.propertyIsEnumerable(I)&&r[I];if(a&&!w)w={type:"function_call",style:"def"};if(d(t)){b(t);return"variable"}if(I=="element"||I=="attribute"||w.type=="axis_specifier")k(t,{type:"xmlconstructor"});return w?w.style:"variable"}}function s(e,t){var n=false,r=false,i=0,a;while(a=e.next()){if(a==")"&&n){if(i>0)i--;else{b(t);break}}else if(a==":"&&r){i++}n=a==":";r=a=="("}return"comment"}function o(e,t){return function(n,r){var i;if(h(r)&&n.current()==e){b(r);if(t)r.tokenize=t;return"string"}k(r,{type:"string",name:e,tokenize:o(e,t)});if(n.match("{",false)&&x(r)){r.tokenize=a;return"string"}while(i=n.next()){if(i==e){b(r);if(t)r.tokenize=t;break}else{if(n.match("{",false)&&x(r)){r.tokenize=a;return"string"}}}return"string"}}function l(e,t){var n=/[\w\$_-]/;if(e.eat('"')){while(e.next()!=='"'){}e.eat(":")}else{e.eatWhile(n);if(!e.match(":=",false))e.eat(":")}e.eatWhile(n);t.tokenize=a;return"variable"}function u(e,t){return function(n,r){n.eatSpace();if(t&&n.eat(">")){b(r);r.tokenize=a;return"tag"}if(!n.eat("/"))k(r,{type:"tag",name:e,tokenize:a});if(!n.eat(">")){r.tokenize=c;return"tag"}else{r.tokenize=a}return"tag"}}function c(e,t){var n=e.next();if(n=="/"&&e.eat(">")){if(x(t))b(t);if(g(t))b(t);return"tag"}if(n==">"){if(x(t))b(t);return"tag"}if(n=="=")return null;if(n=='"'||n=="'")return i(e,t,o(n,c));if(!x(t))k(t,{type:"attribute",tokenize:c});e.eat(/[a-zA-Z_:]/);e.eatWhile(/[-a-zA-Z0-9_:.]/);e.eatSpace();if(e.match(">",false)||e.match("/",false)){b(t);t.tokenize=a}return"attribute"}function f(e,t){var n;while(n=e.next()){if(n=="-"&&e.match("->",true)){t.tokenize=a;return"comment"}}}function p(e,t){var n;while(n=e.next()){if(n=="]"&&e.match("]",true)){t.tokenize=a;return"comment"}}}function m(e,t){var n;while(n=e.next()){if(n=="?"&&e.match(">",true)){t.tokenize=a;return"processingInstruction"}}}function g(e){return v(e,"tag")}function x(e){return v(e,"attribute")}function d(e){return v(e,"xmlconstructor")}function h(e){return v(e,"string")}function y(e){if(e.current()==='"')return e.match(/^[^\"]+\"\:/,false);else if(e.current()==="'")return e.match(/^[^\"]+\'\:/,false);else return false}function v(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function k(e,t){e.stack.push(t)}function b(e){e.stack.pop();var t=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=t||a}const w={name:"xquery",startState:function(){return{tokenize:a,cc:[],stack:[]}},token:function(e,t){if(e.eatSpace())return null;var n=t.tokenize(e,t);return n},languageData:{commentTokens:{block:{open:"(:",close:":)"}}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[4958],{44958:(e,t,i)=>{i.r(t);i.d(t,{RegExpCursor:()=>u,SearchCursor:()=>a,SearchQuery:()=>I,closeSearchPanel:()=>de,findNext:()=>ie,findPrevious:()=>re,getSearchQuery:()=>U,gotoLine:()=>w,highlightSelectionMatches:()=>M,openSearchPanel:()=>fe,replaceAll:()=>le,replaceNext:()=>oe,search:()=>V,searchKeymap:()=>me,searchPanelOpen:()=>J,selectMatches:()=>ne,selectNextOccurrence:()=>F,selectSelectionMatches:()=>se,setSearchQuery:()=>K});var r=i(22819);var n=i(71674);function s(){var e=arguments[0];if(typeof e=="string")e=document.createElement(e);var t=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var n=i[r];if(typeof n=="string")e.setAttribute(r,n);else if(n!=null)e[r]=n}t++}for(;t<arguments.length;t++)o(e,arguments[t]);return e}function o(e,t){if(typeof t=="string"){e.appendChild(document.createTextNode(t))}else if(t==null){}else if(t.nodeType!=null){e.appendChild(t)}else if(Array.isArray(t)){for(var i=0;i<t.length;i++)o(e,t[i])}else{throw new RangeError("Unsupported child node: "+t)}}const l=typeof String.prototype.normalize=="function"?e=>e.normalize("NFKD"):e=>e;class a{constructor(e,t,i=0,r=e.length,n,s){this.test=s;this.value={from:0,to:0};this.done=false;this.matches=[];this.buffer="";this.bufferPos=0;this.iter=e.iterRange(i,r);this.bufferStart=i;this.normalize=n?e=>n(l(e)):l;this.query=this.normalize(t)}peek(){if(this.bufferPos==this.buffer.length){this.bufferStart+=this.buffer.length;this.iter.next();if(this.iter.done)return-1;this.bufferPos=0;this.buffer=this.iter.value}return(0,n.codePointAt)(this.buffer,this.bufferPos)}next(){while(this.matches.length)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0){this.done=true;return this}let t=(0,n.fromCodePoint)(e),i=this.bufferStart+this.bufferPos;this.bufferPos+=(0,n.codePointSize)(e);let r=this.normalize(t);if(r.length)for(let n=0,s=i;;n++){let e=r.charCodeAt(n);let o=this.match(e,s,this.bufferPos+this.bufferStart);if(n==r.length-1){if(o){this.value=o;return this}break}if(s==i&&n<t.length&&t.charCodeAt(n)==e)s++}}}match(e,t,i){let r=null;for(let n=0;n<this.matches.length;n+=2){let t=this.matches[n],s=false;if(this.query.charCodeAt(t)==e){if(t==this.query.length-1){r={from:this.matches[n+1],to:i}}else{this.matches[n]++;s=true}}if(!s){this.matches.splice(n,2);n-=2}}if(this.query.charCodeAt(0)==e){if(this.query.length==1)r={from:t,to:i};else this.matches.push(1,t)}if(r&&this.test&&!this.test(r.from,r.to,this.buffer,this.bufferStart))r=null;return r}}if(typeof Symbol!="undefined")a.prototype[Symbol.iterator]=function(){return this};const c={from:-1,to:-1,match:/.*/.exec("")};const h="gm"+(/x/.unicode==null?"":"u");class u{constructor(e,t,i,r=0,n=e.length){this.text=e;this.to=n;this.curLine="";this.done=false;this.value=c;if(/\\[sWDnr]|\n|\r|\[\^/.test(t))return new m(e,t,i,r,n);this.re=new RegExp(t,h+((i===null||i===void 0?void 0:i.ignoreCase)?"i":""));this.test=i===null||i===void 0?void 0:i.test;this.iter=e.iter();let s=e.lineAt(r);this.curLineStart=s.from;this.matchPos=g(e,r);this.getLine(this.curLineStart)}getLine(e){this.iter.next(e);if(this.iter.lineBreak){this.curLine=""}else{this.curLine=this.iter.value;if(this.curLineStart+this.curLine.length>this.to)this.curLine=this.curLine.slice(0,this.to-this.curLineStart);this.iter.next()}}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1;if(this.curLineStart>this.to)this.curLine="";else this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let t=this.matchPos<=this.to&&this.re.exec(this.curLine);if(t){let i=this.curLineStart+t.index,r=i+t[0].length;this.matchPos=g(this.text,r+(i==r?1:0));if(i==this.curLineStart+this.curLine.length)this.nextLine();if((i<r||i>this.value.to)&&(!this.test||this.test(i,r,t))){this.value={from:i,to:r,match:t};return this}e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length<this.to){this.nextLine();e=0}else{this.done=true;return this}}}}const f=new WeakMap;class d{constructor(e,t){this.from=e;this.text=t}get to(){return this.from+this.text.length}static get(e,t,i){let r=f.get(e);if(!r||r.from>=i||r.to<=t){let r=new d(t,e.sliceString(t,i));f.set(e,r);return r}if(r.from==t&&r.to==i)return r;let{text:n,from:s}=r;if(s>t){n=e.sliceString(t,s)+n;s=t}if(r.to<i)n+=e.sliceString(r.to,i);f.set(e,new d(s,n));return new d(t,n.slice(t-s,i-s))}}class m{constructor(e,t,i,r,n){this.text=e;this.to=n;this.done=false;this.value=c;this.matchPos=g(e,r);this.re=new RegExp(t,h+((i===null||i===void 0?void 0:i.ignoreCase)?"i":""));this.test=i===null||i===void 0?void 0:i.test;this.flat=d.get(e,r,this.chunkEnd(r+5e3))}chunkEnd(e){return e>=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from;let t=this.re.exec(this.flat.text);if(t&&!t[0]&&t.index==e){this.re.lastIndex=e+1;t=this.re.exec(this.flat.text)}if(t){let e=this.flat.from+t.index,i=e+t[0].length;if((this.flat.to>=this.to||t.index+t[0].length<=this.flat.text.length-10)&&(!this.test||this.test(e,i,t))){this.value={from:e,to:i,match:t};this.matchPos=g(this.text,i+(e==i?1:0));return this}}if(this.flat.to==this.to){this.done=true;return this}this.flat=d.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}if(typeof Symbol!="undefined"){u.prototype[Symbol.iterator]=m.prototype[Symbol.iterator]=function(){return this}}function p(e){try{new RegExp(e,h);return true}catch(t){return false}}function g(e,t){if(t>=e.length)return t;let i=e.lineAt(t),r;while(t<i.to&&(r=i.text.charCodeAt(t-i.from))>=56320&&r<57344)t++;return t}function v(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number);let i=s("input",{class:"cm-textfield",name:"line",value:t});let o=s("form",{class:"cm-gotoLine",onkeydown:t=>{if(t.keyCode==27){t.preventDefault();e.dispatch({effects:x.of(false)});e.focus()}else if(t.keyCode==13){t.preventDefault();l()}},onsubmit:e=>{e.preventDefault();l()}},s("label",e.state.phrase("Go to line"),": ",i)," ",s("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function l(){let t=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.value);if(!t)return;let{state:s}=e,o=s.doc.lineAt(s.selection.main.head);let[,l,a,c,h]=t;let u=c?+c.slice(1):0;let f=a?+a:o.number;if(a&&h){let e=f/100;if(l)e=e*(l=="-"?-1:1)+o.number/s.doc.lines;f=Math.round(s.doc.lines*e)}else if(a&&l){f=f*(l=="-"?-1:1)+o.number}let d=s.doc.line(Math.max(1,Math.min(s.doc.lines,f)));let m=n.EditorSelection.cursor(d.from+Math.max(0,Math.min(u,d.length)));e.dispatch({effects:[x.of(false),r.EditorView.scrollIntoView(m.from,{y:"center"})],selection:m});e.focus()}return{dom:o}}const x=n.StateEffect.define();const y=n.StateField.define({create(){return true},update(e,t){for(let i of t.effects)if(i.is(x))e=i.value;return e},provide:e=>r.showPanel.from(e,(e=>e?v:null))});const w=e=>{let t=(0,r.getPanel)(e,v);if(!t){let i=[x.of(true)];if(e.state.field(y,false)==null)i.push(n.StateEffect.appendConfig.of([y,b]));e.dispatch({effects:i});t=(0,r.getPanel)(e,v)}if(t)t.dom.querySelector("input").select();return true};const b=r.EditorView.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}});const S={highlightWordAroundCursor:false,minSelectionLength:1,maxMatches:100,wholeWords:false};const C=n.Facet.define({combine(e){return(0,n.combineConfig)(e,S,{highlightWordAroundCursor:(e,t)=>e||t,minSelectionLength:Math.min,maxMatches:Math.min})}});function M(e){let t=[P,L];if(e)t.push(C.of(e));return t}const k=r.Decoration.mark({class:"cm-selectionMatch"});const E=r.Decoration.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function q(e,t,i,r){return(i==0||e(t.sliceDoc(i-1,i))!=n.CharCategory.Word)&&(r==t.doc.length||e(t.sliceDoc(r,r+1))!=n.CharCategory.Word)}function D(e,t,i,r){return e(t.sliceDoc(i,i+1))==n.CharCategory.Word&&e(t.sliceDoc(r-1,r))==n.CharCategory.Word}const L=r.ViewPlugin.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){if(e.selectionSet||e.docChanged||e.viewportChanged)this.decorations=this.getDeco(e.view)}getDeco(e){let t=e.state.facet(C);let{state:i}=e,n=i.selection;if(n.ranges.length>1)return r.Decoration.none;let s=n.main,o,l=null;if(s.empty){if(!t.highlightWordAroundCursor)return r.Decoration.none;let e=i.wordAt(s.head);if(!e)return r.Decoration.none;l=i.charCategorizer(s.head);o=i.sliceDoc(e.from,e.to)}else{let e=s.to-s.from;if(e<t.minSelectionLength||e>200)return r.Decoration.none;if(t.wholeWords){o=i.sliceDoc(s.from,s.to);l=i.charCategorizer(s.head);if(!(q(l,i,s.from,s.to)&&D(l,i,s.from,s.to)))return r.Decoration.none}else{o=i.sliceDoc(s.from,s.to);if(!o)return r.Decoration.none}}let c=[];for(let h of e.visibleRanges){let e=new a(i.doc,o,h.from,h.to);while(!e.next().done){let{from:n,to:o}=e.value;if(!l||q(l,i,n,o)){if(s.empty&&n<=s.from&&o>=s.to)c.push(E.range(n,o));else if(n>=s.to||o<=s.from)c.push(k.range(n,o));if(c.length>t.maxMatches)return r.Decoration.none}}}return r.Decoration.set(c)}},{decorations:e=>e.decorations});const P=r.EditorView.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}});const A=({state:e,dispatch:t})=>{let{selection:i}=e;let r=n.EditorSelection.create(i.ranges.map((t=>e.wordAt(t.head)||n.EditorSelection.cursor(t.head))),i.mainIndex);if(r.eq(i))return false;t(e.update({selection:r}));return true};function W(e,t){let{main:i,ranges:r}=e.selection;let n=e.wordAt(i.head),s=n&&n.from==i.from&&n.to==i.to;for(let o=false,l=new a(e.doc,t,r[r.length-1].to);;){l.next();if(l.done){if(o)return null;l=new a(e.doc,t,0,Math.max(0,r[r.length-1].from-1));o=true}else{if(o&&r.some((e=>e.from==l.value.from)))continue;if(s){let t=e.wordAt(l.value.from);if(!t||t.from!=l.value.from||t.to!=l.value.to)continue}return l.value}}}const F=({state:e,dispatch:t})=>{let{ranges:i}=e.selection;if(i.some((e=>e.from===e.to)))return A({state:e,dispatch:t});let s=e.sliceDoc(i[0].from,i[0].to);if(e.selection.ranges.some((t=>e.sliceDoc(t.from,t.to)!=s)))return false;let o=W(e,s);if(!o)return false;t(e.update({selection:e.selection.addRange(n.EditorSelection.range(o.from,o.to),false),effects:r.EditorView.scrollIntoView(o.to)}));return true};const R=n.Facet.define({combine(e){return(0,n.combineConfig)(e,{top:false,caseSensitive:false,literal:false,regexp:false,wholeWord:false,createPanel:e=>new pe(e),scrollToMatch:e=>r.EditorView.scrollIntoView(e)})}});function V(e){return e?[R.of(e),be]:be}class I{constructor(e){this.search=e.search;this.caseSensitive=!!e.caseSensitive;this.literal=!!e.literal;this.regexp=!!e.regexp;this.replace=e.replace||"";this.valid=!!this.search&&(!this.regexp||p(this.search));this.unquoted=this.unquote(this.search);this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,((e,t)=>t=="n"?"\n":t=="r"?"\r":t=="t"?"\t":"\\"))}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new B(this):new $(this)}getCursor(e,t=0,i){let r=e.doc?e:n.EditorState.create({doc:e});if(i==null)i=r.doc.length;return this.regexp?_(this,r,t,i):O(this,r,t,i)}}class z{constructor(e){this.spec=e}}function O(e,t,i,r){return new a(t.doc,e.unquoted,i,r,e.caseSensitive?undefined:e=>e.toLowerCase(),e.wholeWord?T(t.doc,t.charCategorizer(t.selection.main.head)):undefined)}function T(e,t){return(i,r,s,o)=>{if(o>i||o+s.length<r){o=Math.max(0,i-2);s=e.sliceString(o,Math.min(e.length,r+2))}return(t(N(s,i-o))!=n.CharCategory.Word||t(Q(s,i-o))!=n.CharCategory.Word)&&(t(Q(s,r-o))!=n.CharCategory.Word||t(N(s,r-o))!=n.CharCategory.Word)}}class $ extends z{constructor(e){super(e)}nextMatch(e,t,i){let r=O(this.spec,e,i,e.doc.length).nextOverlapping();if(r.done){let i=Math.min(e.doc.length,t+this.spec.unquoted.length);r=O(this.spec,e,0,i).nextOverlapping()}return r.done||r.value.from==t&&r.value.to==i?null:r.value}prevMatchInRange(e,t,i){for(let r=i;;){let i=Math.max(t,r-1e4-this.spec.unquoted.length);let n=O(this.spec,e,i,r),s=null;while(!n.nextOverlapping().done)s=n.value;if(s)return s;if(i==t)return null;r-=1e4}}prevMatch(e,t,i){let r=this.prevMatchInRange(e,0,t);if(!r)r=this.prevMatchInRange(e,Math.max(0,i-this.spec.unquoted.length),e.doc.length);return r&&(r.from!=t||r.to!=i)?r:null}getReplacement(e){return this.spec.unquote(this.spec.replace)}matchAll(e,t){let i=O(this.spec,e,0,e.doc.length),r=[];while(!i.next().done){if(r.length>=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let n=O(this.spec,e,Math.max(0,t-this.spec.unquoted.length),Math.min(i+this.spec.unquoted.length,e.doc.length));while(!n.next().done)r(n.value.from,n.value.to)}}function _(e,t,i,r){return new u(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?j(t.charCategorizer(t.selection.main.head)):undefined},i,r)}function N(e,t){return e.slice((0,n.findClusterBreak)(e,t,false),t)}function Q(e,t){return e.slice(t,(0,n.findClusterBreak)(e,t))}function j(e){return(t,i,r)=>!r[0].length||(e(N(r.input,r.index))!=n.CharCategory.Word||e(Q(r.input,r.index))!=n.CharCategory.Word)&&(e(Q(r.input,r.index+r[0].length))!=n.CharCategory.Word||e(N(r.input,r.index+r[0].length))!=n.CharCategory.Word)}class B extends z{nextMatch(e,t,i){let r=_(this.spec,e,i,e.doc.length).next();if(r.done)r=_(this.spec,e,0,t).next();return r.done?null:r.value}prevMatchInRange(e,t,i){for(let r=1;;r++){let n=Math.max(t,i-r*1e4);let s=_(this.spec,e,n,i),o=null;while(!s.next().done)o=s.value;if(o&&(n==t||o.from>n+10))return o;if(n==t)return null}}prevMatch(e,t,i){return this.prevMatchInRange(e,0,t)||this.prevMatchInRange(e,i,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,((t,i)=>i=="$"?"$":i=="&"?e.match[0]:i!="0"&&+i<e.match.length?e.match[i]:t))}matchAll(e,t){let i=_(this.spec,e,0,e.doc.length),r=[];while(!i.next().done){if(r.length>=t)return null;r.push(i.value)}return r}highlight(e,t,i,r){let n=_(this.spec,e,Math.max(0,t-250),Math.min(i+250,e.doc.length));while(!n.next().done)r(n.value.from,n.value.to)}}const K=n.StateEffect.define();const G=n.StateEffect.define();const H=n.StateField.define({create(e){return new X(ce(e).create(),null)},update(e,t){for(let i of t.effects){if(i.is(K))e=new X(i.value.create(),e.panel);else if(i.is(G))e=new X(e.query,i.value?ae:null)}return e},provide:e=>r.showPanel.from(e,(e=>e.panel))});function U(e){let t=e.field(H,false);return t?t.query.spec:ce(e)}function J(e){var t;return((t=e.field(H,false))===null||t===void 0?void 0:t.panel)!=null}class X{constructor(e,t){this.query=e;this.panel=t}}const Y=r.Decoration.mark({class:"cm-searchMatch"}),Z=r.Decoration.mark({class:"cm-searchMatch cm-searchMatch-selected"});const ee=r.ViewPlugin.fromClass(class{constructor(e){this.view=e;this.decorations=this.highlight(e.state.field(H))}update(e){let t=e.state.field(H);if(t!=e.startState.field(H)||e.docChanged||e.selectionSet||e.viewportChanged)this.decorations=this.highlight(t)}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return r.Decoration.none;let{view:i}=this;let s=new n.RangeSetBuilder;for(let r=0,n=i.visibleRanges,o=n.length;r<o;r++){let{from:t,to:l}=n[r];while(r<o-1&&l>n[r+1].from-2*250)l=n[++r].to;e.highlight(i.state,t,l,((e,t)=>{let r=i.state.selection.ranges.some((i=>i.from==e&&i.to==t));s.add(e,t,r?Z:Y)}))}return s.finish()}},{decorations:e=>e.decorations});function te(e){return t=>{let i=t.state.field(H,false);return i&&i.query.spec.valid?e(t,i):fe(t)}}const ie=te(((e,{query:t})=>{let{to:i}=e.state.selection.main;let r=t.nextMatch(e.state,i,i);if(!r)return false;let s=n.EditorSelection.single(r.from,r.to);let o=e.state.facet(R);e.dispatch({selection:s,effects:[ye(e,r),o.scrollToMatch(s.main,e)],userEvent:"select.search"});ue(e);return true}));const re=te(((e,{query:t})=>{let{state:i}=e,{from:r}=i.selection.main;let s=t.prevMatch(i,r,r);if(!s)return false;let o=n.EditorSelection.single(s.from,s.to);let l=e.state.facet(R);e.dispatch({selection:o,effects:[ye(e,s),l.scrollToMatch(o.main,e)],userEvent:"select.search"});ue(e);return true}));const ne=te(((e,{query:t})=>{let i=t.matchAll(e.state,1e3);if(!i||!i.length)return false;e.dispatch({selection:n.EditorSelection.create(i.map((e=>n.EditorSelection.range(e.from,e.to)))),userEvent:"select.search.matches"});return true}));const se=({state:e,dispatch:t})=>{let i=e.selection;if(i.ranges.length>1||i.main.empty)return false;let{from:r,to:s}=i.main;let o=[],l=0;for(let c=new a(e.doc,e.sliceDoc(r,s));!c.next().done;){if(o.length>1e3)return false;if(c.value.from==r)l=o.length;o.push(n.EditorSelection.range(c.value.from,c.value.to))}t(e.update({selection:n.EditorSelection.create(o,l),userEvent:"select.search.matches"}));return true};const oe=te(((e,{query:t})=>{let{state:i}=e,{from:s,to:o}=i.selection.main;if(i.readOnly)return false;let l=t.nextMatch(i,s,s);if(!l)return false;let a=l;let c=[],h,u;let f=[];if(a.from==s&&a.to==o){u=i.toText(t.getReplacement(a));c.push({from:a.from,to:a.to,insert:u});a=t.nextMatch(i,a.from,a.to);f.push(r.EditorView.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(s).number)+"."))}if(a){let t=c.length==0||c[0].from>=l.to?0:l.to-l.from-u.length;h=n.EditorSelection.single(a.from-t,a.to-t);f.push(ye(e,a));f.push(i.facet(R).scrollToMatch(h.main,e))}e.dispatch({changes:c,selection:h,effects:f,userEvent:"input.replace"});return true}));const le=te(((e,{query:t})=>{if(e.state.readOnly)return false;let i=t.matchAll(e.state,1e9).map((e=>{let{from:i,to:r}=e;return{from:i,to:r,insert:t.getReplacement(e)}}));if(!i.length)return false;let n=e.state.phrase("replaced $ matches",i.length)+".";e.dispatch({changes:i,effects:r.EditorView.announce.of(n),userEvent:"input.replace.all"});return true}));function ae(e){return e.state.facet(R).createPanel(e)}function ce(e,t){var i,r,n,s,o;let l=e.selection.main;let a=l.empty||l.to>l.from+100?"":e.sliceDoc(l.from,l.to);if(t&&!a)return t;let c=e.facet(R);return new I({search:((i=t===null||t===void 0?void 0:t.literal)!==null&&i!==void 0?i:c.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(r=t===null||t===void 0?void 0:t.caseSensitive)!==null&&r!==void 0?r:c.caseSensitive,literal:(n=t===null||t===void 0?void 0:t.literal)!==null&&n!==void 0?n:c.literal,regexp:(s=t===null||t===void 0?void 0:t.regexp)!==null&&s!==void 0?s:c.regexp,wholeWord:(o=t===null||t===void 0?void 0:t.wholeWord)!==null&&o!==void 0?o:c.wholeWord})}function he(e){let t=(0,r.getPanel)(e,ae);return t&&t.dom.querySelector("[main-field]")}function ue(e){let t=he(e);if(t&&t==e.root.activeElement)t.select()}const fe=e=>{let t=e.state.field(H,false);if(t&&t.panel){let i=he(e);if(i&&i!=e.root.activeElement){let r=ce(e.state,t.query.spec);if(r.valid)e.dispatch({effects:K.of(r)});i.focus();i.select()}}else{e.dispatch({effects:[G.of(true),t?K.of(ce(e.state,t.query.spec)):n.StateEffect.appendConfig.of(be)]})}return true};const de=e=>{let t=e.state.field(H,false);if(!t||!t.panel)return false;let i=(0,r.getPanel)(e,ae);if(i&&i.dom.contains(e.root.activeElement))e.focus();e.dispatch({effects:G.of(false)});return true};const me=[{key:"Mod-f",run:fe,scope:"editor search-panel"},{key:"F3",run:ie,shift:re,scope:"editor search-panel",preventDefault:true},{key:"Mod-g",run:ie,shift:re,scope:"editor search-panel",preventDefault:true},{key:"Escape",run:de,scope:"editor search-panel"},{key:"Mod-Shift-l",run:se},{key:"Mod-Alt-g",run:w},{key:"Mod-d",run:F,preventDefault:true}];class pe{constructor(e){this.view=e;let t=this.query=e.state.field(H).query.spec;this.commit=this.commit.bind(this);this.searchField=s("input",{value:t.search,placeholder:ge(e,"Find"),"aria-label":ge(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit});this.replaceField=s("input",{value:t.replace,placeholder:ge(e,"Replace"),"aria-label":ge(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit});this.caseField=s("input",{type:"checkbox",name:"case",form:"",checked:t.caseSensitive,onchange:this.commit});this.reField=s("input",{type:"checkbox",name:"re",form:"",checked:t.regexp,onchange:this.commit});this.wordField=s("input",{type:"checkbox",name:"word",form:"",checked:t.wholeWord,onchange:this.commit});function i(e,t,i){return s("button",{class:"cm-button",name:e,onclick:t,type:"button"},i)}this.dom=s("div",{onkeydown:e=>this.keydown(e),class:"cm-search"},[this.searchField,i("next",(()=>ie(e)),[ge(e,"next")]),i("prev",(()=>re(e)),[ge(e,"previous")]),i("select",(()=>ne(e)),[ge(e,"all")]),s("label",null,[this.caseField,ge(e,"match case")]),s("label",null,[this.reField,ge(e,"regexp")]),s("label",null,[this.wordField,ge(e,"by word")]),...e.state.readOnly?[]:[s("br"),this.replaceField,i("replace",(()=>oe(e)),[ge(e,"replace")]),i("replaceAll",(()=>le(e)),[ge(e,"replace all")])],s("button",{name:"close",onclick:()=>de(e),"aria-label":ge(e,"close"),type:"button"},["×"])])}commit(){let e=new I({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});if(!e.eq(this.query)){this.query=e;this.view.dispatch({effects:K.of(e)})}}keydown(e){if((0,r.runScopeHandlers)(this.view,e,"search-panel")){e.preventDefault()}else if(e.keyCode==13&&e.target==this.searchField){e.preventDefault();(e.shiftKey?re:ie)(this.view)}else if(e.keyCode==13&&e.target==this.replaceField){e.preventDefault();oe(this.view)}}update(e){for(let t of e.transactions)for(let e of t.effects){if(e.is(K)&&!e.value.eq(this.query))this.setQuery(e.value)}}setQuery(e){this.query=e;this.searchField.value=e.search;this.replaceField.value=e.replace;this.caseField.checked=e.caseSensitive;this.reField.checked=e.regexp;this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(R).top}}function ge(e,t){return e.state.phrase(t)}const ve=30;const xe=/[\s\.,:;?!]/;function ye(e,{from:t,to:i}){let n=e.state.doc.lineAt(t),s=e.state.doc.lineAt(i).to;let o=Math.max(n.from,t-ve),l=Math.min(s,i+ve);let a=e.state.sliceDoc(o,l);if(o!=n.from){for(let e=0;e<ve;e++)if(!xe.test(a[e+1])&&xe.test(a[e])){a=a.slice(e);break}}if(l!=s){for(let e=a.length-1;e>a.length-ve;e--)if(!xe.test(a[e-1])&&xe.test(a[e])){a=a.slice(0,e);break}}return r.EditorView.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${n.number}.`)}const we=r.EditorView.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}});const be=[H,n.Prec.low(ee),we]}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[6003],{56003:(t,e,n)=>{n.r(e);n.d(e,{Annotation:()=>xt,AnnotationType:()=>vt,ChangeDesc:()=>N,ChangeSet:()=>D,CharCategory:()=>Ot,Compartment:()=>rt,EditorSelection:()=>V,EditorState:()=>Dt,Facet:()=>G,Line:()=>P,MapMode:()=>B,Prec:()=>it,Range:()=>jt,RangeSet:()=>_t,RangeSetBuilder:()=>Vt,RangeValue:()=>Lt,SelectionRange:()=>z,StateEffect:()=>yt,StateEffectType:()=>kt,StateField:()=>tt,Text:()=>m,Transaction:()=>St,codePointAt:()=>R,codePointSize:()=>T,combineConfig:()=>Jt,countColumn:()=>ee,findClusterBreak:()=>M,findColumn:()=>ne,fromCodePoint:()=>O});let i=[],s=[];(()=>{let t="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 e=0,n=0;e<t.length;e++)(e%2?s:i).push(n=n+t[e])})();function r(t){if(t<768)return false;for(let e=0,n=i.length;;){let r=e+n>>1;if(t<i[r])n=r;else if(t>=s[r])e=r+1;else return true;if(e==n)return false}}function l(t){return t>=127462&&t<=127487}function h(t){for(let e=0;e<i.length;e++){if(s[e]>t)return i[e]<=t}return false}const o=8205;function a(t,e,n=true,i=true){return(n?f:c)(t,e,i)}function f(t,e,n){if(e==t.length)return e;if(e&&d(t.charCodeAt(e))&&g(t.charCodeAt(e-1)))e--;let i=u(t,e);e+=p(i);while(e<t.length){let s=u(t,e);if(i==o||s==o||n&&r(s)){e+=p(s);i=s}else if(l(s)){let n=0,i=e-2;while(i>=0&&l(u(t,i))){n++;i-=2}if(n%2==0)break;else e+=2}else{break}}return e}function c(t,e,n){while(e>0){let i=f(t,e-2,n);if(i<e)return i;e--}return 0}function u(t,e){let n=t.charCodeAt(e);if(!g(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);if(!d(i))return n;return(n-55296<<10)+(i-56320)+65536}function d(t){return t>=56320&&t<57344}function g(t){return t>=55296&&t<56320}function p(t){return t<65536?1:2}class m{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]=E(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 x.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]=E(this,t,e);let n=[];this.decompose(t,e,n,0);return x.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 S(this),s=new S(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 S(this,t)}iterRange(t,e=this.length){return new b(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 I(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 m.empty;return t.length<=32?new w(t):x.from(w.split(t,[]))}}class w extends m{constructor(t,e=v(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 P(i,l,n,r);i=l+1;n++}}decompose(t,e,n,i){let s=t<=0&&e>=this.length?this:new w(y(this.text,t,e),Math.min(e,this.length)-Math.max(0,t));if(i&1){let t=n.pop();let e=k(s.text,t.text.slice(),0,s.length);if(e.length<=32){n.push(new w(e,t.length+s.length))}else{let t=e.length>>1;n.push(new w(e.slice(0,t)),new w(e.slice(t)))}}else{n.push(s)}}replace(t,e,n){if(!(n instanceof w))return super.replace(t,e,n);[t,e]=E(this,t,e);let i=k(this.text,k(n.text,y(this.text,0,t)),e);let s=this.length+n.length-(e-t);if(i.length<=32)return new w(i,s);return x.from(w.split(i,[]),s)}sliceString(t,e=this.length,n="\n"){[t,e]=E(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 s of t){n.push(s);i+=s.length+1;if(n.length==32){e.push(new w(n,i));n=[];i=-1}}if(i>-1)e.push(new w(n,i));return e}}class x extends m{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]=E(this,t,e);if(n.lines<this.lines)for(let i=0,s=0;i<this.children.length;i++){let r=this.children[i],l=s+r.length;if(t>=s&&e<=l){let h=r.replace(t-s,e-s,n);let o=this.lines-r.lines+h.lines;if(h.lines<o>>5-1&&h.lines>o>>5+1){let s=this.children.slice();s[i]=h;return new x(s,this.length-(e-t)+n.length)}return super.replace(s,l,h)}s=l+1}return super.replace(t,e,n)}sliceString(t,e=this.length,n="\n"){[t,e]=E(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 x))return 0;let n=0;let[i,s,r,l]=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==r||s==l)return n;let h=this.children[i],o=t.children[s];if(h!=o)return n+h.scanIdentical(o,e);n+=h.length+1}}static from(t,e=t.reduce(((t,e)=>t+e.length+1),-1)){let n=0;for(let u of t)n+=u.lines;if(n<32){let n=[];for(let e of t)e.flatten(n);return new w(n,e)}let i=Math.max(32,n>>5),s=i<<1,r=i>>1;let l=[],h=0,o=-1,a=[];function f(t){let e;if(t.lines>s&&t instanceof x){for(let e of t.children)f(e)}else if(t.lines>r&&(h>r||!h)){c();l.push(t)}else if(t instanceof w&&h&&(e=a[a.length-1])instanceof w&&t.lines+e.lines<=32){h+=t.lines;o+=t.length+1;a[a.length-1]=new w(e.text.concat(t.text),e.length+1+t.length)}else{if(h+t.lines>i)c();h+=t.lines;o+=t.length+1;a.push(t)}}function c(){if(h==0)return;l.push(a.length==1?a[0]:x.from(a,o));o=-1;h=a.length=0}for(let u of t)f(u);c();return l.length==1?l[0]:new x(l,e)}}m.empty=new w([""],0);function v(t){let e=-1;for(let n of t)e+=n.length+1;return e}function k(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 y(t,e,n){return k(t,[""],e,n)}class S{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 w?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],s=this.offsets[n],r=s>>1;let l=i instanceof w?i.text.length:i.children.length;if(r==(e>0?l: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((s&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 w){let s=i.text[r+(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 s=i.children[r+(e<0?-1:0)];if(t>s.length){t-=s.length;this.offsets[n]+=e}else{if(e<0)this.offsets[n]--;this.nodes.push(s);this.offsets.push(e>0?1:(s instanceof w?s.text.length:s.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 b{constructor(t,e,n){this.value="";this.done=false;this.cursor=new S(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 I{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"){m.prototype[Symbol.iterator]=function(){return this.iter()};S.prototype[Symbol.iterator]=b.prototype[Symbol.iterator]=I.prototype[Symbol.iterator]=function(){return this}}class P{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 E(t,e,n){e=Math.max(0,Math.min(t.length,e));return[e,Math.max(e,Math.min(t.length,n))]}function M(t,e,n=true,i=true){return a(t,e,n,i)}function A(t){return t>=56320&&t<57344}function C(t){return t>=55296&&t<56320}function R(t,e){let n=t.charCodeAt(e);if(!C(n)||e+1==t.length)return n;let i=t.charCodeAt(e+1);if(!A(i))return n;return(n-55296<<10)+(i-56320)+65536}function O(t){if(t<=65535)return String.fromCharCode(t);t-=65536;return String.fromCharCode((t>>10)+55296,(t&1023)+56320)}function T(t){return t<65536?1:2}const F=/\r\n?|\n/;var B=function(t){t[t["Simple"]=0]="Simple";t[t["TrackDel"]=1]="TrackDel";t[t["TrackBefore"]=2]="TrackBefore";t[t["TrackAfter"]=3]="TrackAfter";return t}(B||(B={}));class N{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){j(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 N(t)}composeDesc(t){return this.empty?t:t.empty?this:$(this,t)}mapDesc(t,e=false){return t.empty?this:q(this,t,e)}mapPos(t,e=-1,n=B.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!=B.Simple&&o>=t&&(n==B.TrackDel&&i<t&&o>t||n==B.TrackBefore&&i<t||n==B.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 N(t)}static create(t){return new N(t)}}class D extends N{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");j(this,((e,n,i,s,r)=>t=t.replace(i,i+(n-e),r)),false);return t}mapDesc(t,e=false){return q(this,t,e,true)}invert(t){let e=this.sections.slice(),n=[];for(let i=0,s=0;i<e.length;i+=2){let r=e[i],l=e[i+1];if(l>=0){e[i]=l;e[i+1]=r;let h=i>>1;while(n.length<h)n.push(m.empty);n.push(r?t.slice(s,s+r):m.empty)}s+=r}return new D(e,n)}compose(t){return this.empty?t:t.empty?this:$(this,t,true)}map(t,e=false){return t.empty?this:q(this,t,e,true)}iterChanges(t,e=false){j(this,t,e)}get desc(){return N.create(this.sections)}filter(t){let e=[],n=[],i=[];let s=new _(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);J(i,t,-1);let r=s.ins==-1?-1:s.off==0?s.ins:0;J(e,t,r);if(r>0)L(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);J(e,t,-1);J(i,t,s.ins==-1?-1:s.off==0?s.ins:0);s.forward(t);l+=t}}return{changes:new D(e,n),filtered:N.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 i=[],s=[],r=0;let l=null;function h(t=false){if(!t&&!i.length)return;if(r<e)J(i,e-r,-1);let n=new D(i,s);l=l?l.compose(n.map(l)):n;i=[];s=[];r=0}function o(t){if(Array.isArray(t)){for(let e of t)o(e)}else if(t instanceof D){if(t.length!=e)throw new RangeError(`Mismatched change set length (got ${t.length}, expected ${e})`);h();l=l?l.compose(t.map(l)):t}else{let{from:l,to:o=l,insert:a}=t;if(l>o||l<0||o>e)throw new RangeError(`Invalid change range ${l} to ${o} (in doc of length ${e})`);let f=!a?m.empty:typeof a=="string"?m.of(a.split(n||F)):a;let c=f.length;if(l==o&&c==0)return;if(l<r)h();if(l>r)J(i,l-r,-1);J(i,o-l,c);L(s,i,f);r=o}}o(t);h(!l);return l}static empty(t){return new D(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let e=[],n=[];for(let i=0;i<t.length;i++){let s=t[i];if(typeof s=="number"){e.push(s,-1)}else if(!Array.isArray(s)||typeof s[0]!="number"||s.some(((t,e)=>e&&typeof t!="string"))){throw new RangeError("Invalid JSON representation of ChangeSet")}else if(s.length==1){e.push(s[0],0)}else{while(n.length<i)n.push(m.empty);n[i]=m.of(s.slice(1));e.push(s[0],n[i].length)}}return new D(e,n)}static createSet(t,e){return new D(t,e)}}function J(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(s>=0&&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 L(t,e,n){if(n.length==0)return;let i=e.length-2>>1;if(i<t.length){t[t.length-1]=t[t.length-1].append(n)}else{while(t.length<i)t.push(m.empty);t.push(n)}}function j(t,e,n){let i=t.inserted;for(let s=0,r=0,l=0;l<t.sections.length;){let h=t.sections[l++],o=t.sections[l++];if(o<0){s+=h;r+=h}else{let a=s,f=r,c=m.empty;for(;;){a+=h;f+=o;if(o&&i)c=c.append(i[l-2>>1]);if(n||l==t.sections.length||t.sections[l+1]<0)break;h=t.sections[l++];o=t.sections[l++]}e(s,a,r,f,c);s=a;r=f}}}function q(t,e,n,i=false){let s=[],r=i?[]:null;let l=new _(t),h=new _(e);for(let o=-1;;){if(l.done&&h.len||h.done&&l.len){throw new Error("Mismatched change set lengths")}else if(l.ins==-1&&h.ins==-1){let t=Math.min(l.len,h.len);J(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;J(s,h.ins,-1);while(t){let e=Math.min(l.len,t);if(l.ins>=0&&o<l.i&&l.len<=e){J(s,0,l.ins);if(r)L(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}}J(s,t,o<l.i?l.ins:0);if(r&&o<l.i)L(r,s,l.text);o=l.i;l.forward(l.len-e)}else if(l.done&&h.done){return r?D.createSet(s,r):N.create(s)}else{throw new Error("Mismatched change set lengths")}}}function $(t,e,n=false){let i=[];let s=n?[]:null;let r=new _(t),l=new _(e);for(let h=false;;){if(r.done&&l.done){return s?D.createSet(i,s):N.create(i)}else if(r.ins==0){J(i,r.len,0,h);r.next()}else if(l.len==0&&!l.done){J(i,0,l.ins,h);if(s)L(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;J(i,t,e,h);if(s&&e)L(s,i,l.text)}else if(l.ins==-1){J(i,r.off?0:r.len,t,h);if(s)L(s,i,r.textBit(t))}else{J(i,r.off?0:r.len,l.off?0:l.ins,h);if(s&&!l.off)L(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 _{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?m.empty:t[e]}textBit(t){let{inserted:e}=this.set,n=this.i-2>>1;return n>=e.length&&!t?m.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 z{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 z(n,i,this.flags)}extend(t,e=t){if(t<=this.anchor&&e>=this.anchor)return V.range(t,e);let n=Math.abs(t-this.anchor)>Math.abs(e-this.anchor)?t:e;return V.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 V.range(t.anchor,t.head)}static create(t,e,n){return new z(t,e,n)}}class V{constructor(t,e){this.ranges=t;this.mainIndex=e}map(t,e=-1){if(t.empty)return this;return V.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 V([this.main],0)}addRange(t,e=true){return V.create([t].concat(this.ranges),e?0:this.mainIndex+1)}replaceRange(t,e=this.mainIndex){let n=this.ranges.slice();n[e]=t;return V.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 V(t.ranges.map((t=>z.fromJSON(t))),t.main)}static single(t,e=t){return new V([V.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 V.normalized(t.slice(),e);n=s.to}return new V(t,e)}static cursor(t,e=0,n,i){return z.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?z.create(e,t,32|16|s):z.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?V.range(l,r):V.range(r,l))}}return new V(t,e)}}function W(t,e){for(let n of t.ranges)if(n.to>e)throw new RangeError("Selection points outside of document")}let U=0;class G{constructor(t,e,n,i,s){this.combine=t;this.compareInput=e;this.compare=n;this.isStatic=i;this.id=U++;this.default=t([]);this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(t={}){return new G(t.combine||(t=>t),t.compareInput||((t,e)=>t===e),t.compare||(!t.combine?H:(t,e)=>t===e),!!t.static,t.enables)}of(t){return new K([],this,0,t)}compute(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new K(t,this,1,e)}computeN(t,e){if(this.isStatic)throw new Error("Can't compute a static facet");return new K(t,this,2,e)}from(t,e){if(!e)e=t=>t;return this.compute([t],(n=>e(n.field(t))))}}function H(t,e){return t==e||t.length==e.length&&t.every(((t,n)=>t===e[n]))}class K{constructor(t,e,n,i){this.dependencies=t;this.facet=e;this.type=n;this.value=i;this.id=U++}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)||X(t,a)){let e=n(t);if(l?!Q(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=ft(e,o);if(this.dependencies.every((n=>n instanceof G?e.facet(n)===t.facet(n):n instanceof tt?e.field(n,false)==t.field(n,false):true))||(l?Q(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 Q(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 X(t,e){let n=false;for(let i of e)if(at(t,i)&1)n=true;return n}function Y(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=ft(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)at(t,e);t.values[l]=h(t);return 1},update(t,n){if(!X(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=X(t,i);let o=s.config.facets[e.id],a=s.facet(e);if(o&&!r&&H(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 Z=G.define({static:true});class tt{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 tt(U++,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(Z).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,Z.of({field:this,create:t})]}get extension(){return this}}const et={lowest:4,low:3,default:2,high:1,highest:0};function nt(t){return e=>new st(e,t)}const it={highest:nt(et.highest),high:nt(et.high),default:nt(et.default),low:nt(et.low),lowest:nt(et.lowest)};class st{constructor(t,e){this.inner=t;this.prec=e}}class rt{of(t){return new lt(this,t)}reconfigure(t){return rt.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class lt{constructor(t,e){this.compartment=t;this.inner=e}}class ht{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 ot(t,e,r)){if(c instanceof tt)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(H(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=>Y(n,e,t)))}}let f=o.map((t=>t(l)));return new ht(t,r,f,l,h,s)}}function ot(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 lt)n.delete(t.compartment)}s.set(t,l);if(Array.isArray(t)){for(let e of t)r(e,l)}else if(t instanceof lt){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 st){r(t.inner,t.prec)}else if(t instanceof tt){i[l].push(t);if(t.provides)r(t.provides,l)}else if(t instanceof K){i[l].push(t);if(t.facet.extensions)r(t.facet.extensions,et.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,et.default);return i.reduce(((t,e)=>t.concat(e)))}function at(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 ft(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const ct=G.define();const ut=G.define({combine:t=>t.some((t=>t)),static:true});const dt=G.define({combine:t=>t.length?t[0]:undefined,static:true});const gt=G.define();const pt=G.define();const mt=G.define();const wt=G.define({combine:t=>t.length?t[0]:false});class xt{constructor(t,e){this.type=t;this.value=e}static define(){return new vt}}class vt{of(t){return new xt(this,t)}}class kt{constructor(t){this.map=t}of(t){return new yt(this,t)}}class yt{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 yt(this.type,e)}is(t){return this.type==t}static define(t={}){return new kt(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}}yt.reconfigure=yt.define();yt.appendConfig=yt.define();class St{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)W(n,e.newLength);if(!s.some((t=>t.type==St.time)))this.annotations=s.concat(St.time.of(Date.now()))}static create(t,e,n,i,s,r){return new St(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(St.userEvent);return!!(e&&(e==t||e.length>t.length&&e.slice(0,t.length)==t&&e[t.length]=="."))}}St.time=xt.define();St.userEvent=xt.define();St.addToHistory=xt.define();St.remote=xt.define();function bt(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 It(t,e,n){var i;let s,r,l;if(n){s=e.changes;r=D.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:yt.mapEffects(t.effects,s).concat(yt.mapEffects(e.effects,r)),annotations:t.annotations.length?t.annotations.concat(e.annotations):e.annotations,scrollIntoView:t.scrollIntoView||e.scrollIntoView}}function Pt(t,e,n){let i=e.selection,s=Rt(e.annotations);if(e.userEvent)s=s.concat(St.userEvent.of(e.userEvent));return{changes:e.changes instanceof D?e.changes:D.of(e.changes||[],n,t.facet(dt)),selection:i&&(i instanceof V?i:V.single(i.anchor,i.head)),effects:Rt(e.effects),annotations:s,scrollIntoView:!!e.scrollIntoView}}function Et(t,e,n){let i=Pt(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=It(i,Pt(t,e[r],s?i.changes.newLength:t.doc.length),s)}let s=St.create(t,i.changes,i.selection,i.effects,i.annotations,i.scrollIntoView);return At(n?Mt(s):s)}function Mt(t){let e=t.startState;let n=true;for(let s of e.facet(gt)){let e=s(t);if(e===false){n=false;break}if(Array.isArray(e))n=n===true?e:bt(n,e)}if(n!==true){let i,s;if(n===false){s=t.changes.invertedDesc;i=D.empty(e.doc.length)}else{let e=t.changes.filter(n);i=e.changes;s=e.filtered.mapDesc(e.changes).invertedDesc}t=St.create(e,i,t.selection&&t.selection.map(s),yt.mapEffects(t.effects,s),t.annotations,t.scrollIntoView)}let i=e.facet(pt);for(let s=i.length-1;s>=0;s--){let n=i[s](t);if(n instanceof St)t=n;else if(Array.isArray(n)&&n.length==1&&n[0]instanceof St)t=n[0];else t=Et(e,Rt(n),false)}return t}function At(t){let e=t.startState,n=e.facet(mt),i=t;for(let s=n.length-1;s>=0;s--){let r=n[s](t);if(r&&Object.keys(r).length)i=It(i,Pt(e,r,t.changes.newLength),true)}return i==t?t:St.create(e,t.changes,t.selection,i.effects,i.annotations,i.scrollIntoView)}const Ct=[];function Rt(t){return t==null?Ct:Array.isArray(t)?t:[t]}var Ot=function(t){t[t["Word"]=0]="Word";t[t["Space"]=1]="Space";t[t["Other"]=2]="Other";return t}(Ot||(Ot={}));const Tt=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Ft;try{Ft=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(ie){}function Bt(t){if(Ft)return Ft.test(t);for(let e=0;e<t.length;e++){let n=t[e];if(/\w/.test(n)||n>"€"&&(n.toUpperCase()!=n.toLowerCase()||Tt.test(n)))return true}return false}function Nt(t){return e=>{if(!/\S/.test(e))return Ot.Space;if(Bt(e))return Ot.Word;for(let n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return Ot.Word;return Ot.Other}}class Dt{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++)at(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}at(this,n);return ft(this,n)}update(...t){return Et(this,t,true)}applyTransaction(t){let e=this.config,{base:n,compartments:i}=e;for(let l of t.effects){if(l.is(rt.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(yt.reconfigure)){e=null;n=l.value}else if(l.is(yt.appendConfig)){e=null;n=Rt(n).concat(l.value)}}let s;if(!e){e=ht.resolve(n,i,this);let t=new Dt(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(ut)?t.newSelection:t.newSelection.asSingle();new Dt(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:V.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=Rt(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=yt.mapEffects(r,o).concat(yt.mapEffects(Rt(n.effects),a))}return{changes:i,selection:V.create(s,e.mainIndex),effects:r}}changes(t=[]){if(t instanceof D)return t;return D.of(t,this.doc.length,this.facet(Dt.lineSeparator))}toText(t){return m.of(t.split(this.facet(Dt.lineSeparator)||F))}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;at(this,e);return ft(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 tt&&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 Dt.create({doc:t.doc,selection:V.fromJSON(t.selection),extensions:e.extensions?i.concat([e.extensions]):i})}static create(t={}){let e=ht.resolve(t.extensions||[],new Map);let n=t.doc instanceof m?t.doc:m.of((t.doc||"").split(e.staticFacet(Dt.lineSeparator)||F));let i=!t.selection?V.single(0):t.selection instanceof V?t.selection:V.single(t.selection.anchor,t.selection.head);W(i,n.length);if(!e.staticFacet(ut))i=i.asSingle();return new Dt(e,n,i,e.dynamicSlots.map((()=>null)),((t,e)=>e.create(t)),null)}get tabSize(){return this.facet(Dt.tabSize)}get lineBreak(){return this.facet(Dt.lineSeparator)||"\n"}get readOnly(){return this.facet(wt)}phrase(t,...e){for(let n of this.facet(Dt.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(ct)){for(let r of s(this,e,n)){if(Object.prototype.hasOwnProperty.call(r,t))i.push(r[t])}}return i}charCategorizer(t){return Nt(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=M(e,r,false);if(s(e.slice(t,r))!=Ot.Word)break;r=t}while(l<i){let t=M(e,l);if(s(e.slice(l,t))!=Ot.Word)break;l=t}return r==l?null:V.range(r+n,l+n)}}Dt.allowMultipleSelections=ut;Dt.tabSize=G.define({combine:t=>t.length?t[0]:4});Dt.lineSeparator=dt;Dt.readOnly=wt;Dt.phrases=G.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]))}});Dt.languageData=ct;Dt.changeFilter=gt;Dt.transactionFilter=pt;Dt.transactionExtender=mt;rt.reconfigure=yt.define();function Jt(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 Lt{eq(t){return this==t}range(t,e=t){return jt.create(t,e,this)}}Lt.prototype.startSide=Lt.prototype.endSide=0;Lt.prototype.point=false;Lt.prototype.mapMode=B.TrackDel;class jt{constructor(t,e,n){this.from=t;this.to=e;this.value=n}static create(t,e,n){return new jt(t,e,n)}}function qt(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class $t{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 $t(i,s,n,l):null,pos:r}}}class _t{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 _t(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(qt);if(this.isEmpty)return e.length?_t.of(e):this;let l=new Ut(this,null,-1).goto(0),h=0,o=[];let a=new Vt;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(jt.create(l.from,l.to,l.value))}l.next()}}return a.finishInner(this.nextLayer.isEmpty&&!o.length?_t.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 _t(n,e,s||_t.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 Gt.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,e=0){return Gt.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=Wt(r,l,n);let o=new Kt(r,h,s);let a=new Kt(l,h,s);n.iterGaps(((t,e,n)=>Qt(o,t,a,e,n,i)));if(n.empty&&n.length==0)Qt(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=Wt(s,r);let h=new Kt(s,l,0).goto(n),o=new Kt(r,l,0).goto(n);for(;;){if(h.to!=o.to||!Xt(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 Kt(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 Vt;for(let i of t instanceof jt?[t]:e?zt(t):t)n.add(i.from,i.to,i.value);return n.finish()}static join(t){if(!t.length)return _t.empty;let e=t[t.length-1];for(let n=t.length-2;n>=0;n--){for(let i=t[n];i!=_t.empty;i=i.nextLayer)e=new _t(i.chunkPos,i.chunk,e,Math.max(i.maxPoint,e.maxPoint))}return e}}_t.empty=new _t([],[],null,-1);function zt(t){if(t.length>1)for(let e=t[0],n=1;n<t.length;n++){let i=t[n];if(qt(e,i)>0)return t.slice().sort(qt);e=i}return t}_t.empty.nextLayer=_t.empty;class Vt{finishChunk(t){this.chunks.push(new $t(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 Vt)).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(_t.empty)}finishInner(t){if(this.from.length)this.finishChunk(false);if(this.chunks.length==0)return t;let e=_t.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);this.from=null;return e}}function Wt(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 Ut{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 Gt{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 Ut(r,e,n,s))}}return i.length==1?i[0]:new Gt(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--)Ht(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--)Ht(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();Ht(this.heap,0)}}}function Ht(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 Kt{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=Gt.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){Yt(this.active,t);Yt(this.activeTo,t);Yt(this.activeRank,t);this.minActive=te(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++;Zt(this.active,e,n);Zt(this.activeTo,e,i);Zt(this.activeRank,e,s);if(t)Zt(t,e,this.cursor.from);this.minActive=te(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)Yt(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 Qt(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,i=e||t.endSide-n.endSide;let s=i<0?t.to+o:n.to,a=Math.min(s,l);if(t.point||n.point){if(!(t.point&&n.point&&(t.point==n.point||t.point.eq(n.point))&&Xt(t.activeForPoint(t.to),n.activeForPoint(n.to))))r.comparePoint(h,a,t.point,n.point)}else{if(a>h&&!Xt(t.active,n.active))r.compareRange(h,a,t.active,n.active)}if(s>l)break;if((e||t.openEnd!=n.openEnd)&&r.boundChange)r.boundChange(s);h=s;if(i<=0)t.next();if(i>=0)n.next()}}function Xt(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 Yt(t,e){for(let n=e,i=t.length-1;n<i;n++)t[n]=t[n+1];t.pop()}function Zt(t,e,n){for(let i=t.length-1;i>=e;i--)t[i+1]=t[i];t[e]=n}function te(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 ee(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=M(t,s)}}return i}function ne(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=M(t,s)}return i===true?-1:t.length}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[6180],{15136:(e,t,r)=>{r.r(t);r.d(t,{main:()=>D});var o=r(44076);var n=r(5592);var s=r(20979);var l=r(25313);var a=r(56104);var i=r(11114);var c=r(72508);var u=r(2129);var p=r(99382);var f=r(36672);var _=r(1904);var A=r(87779);var y=r(13067);var h=r(67374);var d=r(20135);var b=r(61689);var x=r(34072);var j=r(54336);var m=r(19457);var v=r(43017);var g=r(45695);var w=r(53640);var C=r(367);var k=r(68149);var P=r(87456);var S=r(4380);var E=r(61132);var O=r(57996);var R=r(41884);var I=r(51874);var L=r(90288);var M=r(87145);var N=r(90167);var $=r(98547);var J=r(57292);var Q=r(80046);var B=r(54289);var T=r(40779);var U=r(48552);var Y=r(40005);var q=r(70558);var z=r(31747);var G=r(95527);var K=r(50277);var V=r(77767);var F=r(54549);var H=r(75591);async function Z(e,t){try{const r=await window._JUPYTERLAB[e].get(t);const o=r();o.__scope__=e;return o}catch(r){console.warn(`Failed to create module: package: ${e}; module: ${t}`);throw r}}async function D(){var e=o.PageConfig.getOption("browserTest");if(e.toLowerCase()==="true"){var t=document.createElement("div");t.id="browserTest";document.body.appendChild(t);t.textContent="[]";t.style.display="none";var s=[];var l=false;var a=25e3;var i=function(){if(l){return}l=true;t.className="completed"};window.onerror=function(e,r,o,n,l){s.push(String(l));t.textContent=JSON.stringify(s)};console.error=function(e){s.push(String(e));t.textContent=JSON.stringify(s)}}var c=new n.PluginRegistry;var u=r(2870).JupyterLab;var p=[];var f=[];var _=[];var A=[];const y=[];const h=[];const d=[];const b=JSON.parse(o.PageConfig.getOption("federated_extensions"));const x={"@jupyterlab/application:mimedocument":"@jupyterlab/application-extension:mimedocument","@jupyterlab/help-extension:licenses":"@jupyterlab/apputils-extension:licenses-plugin","@jupyterlab/lsp:ILSPCodeExtractorsManager":"@jupyterlab/lsp-extension:code-extractor-manager","@jupyterlab/translation:translator":"@jupyterlab/translation-extension:translator","@jupyterlab/workspaces:commands":"@jupyterlab/workspaces-extension:commands"};const j=o.PageConfig.Extension.disabled.map((e=>{if(x[e]){console.warn(`Plugin ${e} has been renamed to ${x[e]}. Consider updating your config to use the new name.`);return x[e]}return e}));const m=o.PageConfig.Extension.deferred.map((e=>{if(x[e]){console.warn(`Plugin id ${e} has been renamed to ${x[e]}. Consider updating your config to use the new name.`);return x[e]}return e}));const v=e=>{const t=e.indexOf(":");let r="";if(t!==-1){r=e.slice(0,t)}return j.some((t=>t===e||r&&t===r))};const g=e=>{const t=e.indexOf(":");let r="";if(t!==-1){r=e.slice(0,t)}return m.some((t=>t===e||r&&t===r))};const w=[];b.forEach((e=>{if(e.extension){w.push(e.name);y.push(Z(e.name,e.extension))}if(e.mimeExtension){w.push(e.name);h.push(Z(e.name,e.mimeExtension))}if(e.style&&!v(e.name)){d.push(Z(e.name,e.style))}}));const C=[];function k(e){let t;if(e.hasOwnProperty("__esModule")){t=e.default}else{t=e}return Array.isArray(t)?t:[t]}function*P(e){const t=k(e);for(let r of t){const t=v(r.id);C.push({id:r.id,description:r.description,requires:r.requires??[],optional:r.optional??[],provides:r.provides??null,autoStart:r.autoStart,enabled:!t,extension:e.__scope__});if(t){p.push(r.id);continue}if(g(r.id)){f.push(r.id);_.push(r.id)}yield r}}const S=[];if(!w.includes("@jupyterlab/javascript-extension")){try{let e=r(35810);e.__scope__="@jupyterlab/javascript-extension";for(let t of P(e)){S.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/json-extension")){try{let e=r(90626);e.__scope__="@jupyterlab/json-extension";for(let t of P(e)){S.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/mermaid-extension")){try{let e=r(47375);e.__scope__="@jupyterlab/mermaid-extension";for(let t of P(e)){S.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/pdf-extension")){try{let e=r(96050);e.__scope__="@jupyterlab/pdf-extension";for(let t of P(e)){S.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/vega5-extension")){try{let e=r(28878);e.__scope__="@jupyterlab/vega5-extension";for(let t of P(e)){S.push(t)}}catch(Q){console.error(Q)}}const E=await Promise.allSettled(h);E.forEach((e=>{if(e.status==="fulfilled"){for(let t of P(e.value)){S.push(t)}}else{console.error(e.reason)}}));if(!w.includes("@jupyterlab/application-extension")){try{let e=r(45410);e.__scope__="@jupyterlab/application-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/apputils-extension")){try{let e=r(62230);e.__scope__="@jupyterlab/apputils-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/cell-toolbar-extension")){try{let e=r(90958);e.__scope__="@jupyterlab/cell-toolbar-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/celltags-extension")){try{let e=r(58718);e.__scope__="@jupyterlab/celltags-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/codemirror-extension")){try{let e=r(98866);e.__scope__="@jupyterlab/codemirror-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/completer-extension")){try{let e=r(63540);e.__scope__="@jupyterlab/completer-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/console-extension")){try{let e=r(36144);e.__scope__="@jupyterlab/console-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/csvviewer-extension")){try{let e=r(37030);e.__scope__="@jupyterlab/csvviewer-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/debugger-extension")){try{let e=r(55214);e.__scope__="@jupyterlab/debugger-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/docmanager-extension")){try{let e=r(70762);e.__scope__="@jupyterlab/docmanager-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/documentsearch-extension")){try{let e=r(57398);e.__scope__="@jupyterlab/documentsearch-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/extensionmanager-extension")){try{let e=r(90718);e.__scope__="@jupyterlab/extensionmanager-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/filebrowser-extension")){try{let e=r(10330);e.__scope__="@jupyterlab/filebrowser-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/fileeditor-extension")){try{let e=r(52594);e.__scope__="@jupyterlab/fileeditor-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/help-extension")){try{let e=r(46054);e.__scope__="@jupyterlab/help-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/htmlviewer-extension")){try{let e=r(92598);e.__scope__="@jupyterlab/htmlviewer-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/hub-extension")){try{let e=r(72200);e.__scope__="@jupyterlab/hub-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/imageviewer-extension")){try{let e=r(74576);e.__scope__="@jupyterlab/imageviewer-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/inspector-extension")){try{let e=r(35132);e.__scope__="@jupyterlab/inspector-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/launcher-extension")){try{let e=r(46782);e.__scope__="@jupyterlab/launcher-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/logconsole-extension")){try{let e=r(18358);e.__scope__="@jupyterlab/logconsole-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/lsp-extension")){try{let e=r(7180);e.__scope__="@jupyterlab/lsp-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/mainmenu-extension")){try{let e=r(14258);e.__scope__="@jupyterlab/mainmenu-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/markdownviewer-extension")){try{let e=r(63210);e.__scope__="@jupyterlab/markdownviewer-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/markedparser-extension")){try{let e=r(92994);e.__scope__="@jupyterlab/markedparser-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/mathjax-extension")){try{let e=r(9920);e.__scope__="@jupyterlab/mathjax-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/mermaid-extension")){try{let e=r(15928);e.__scope__="@jupyterlab/mermaid-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/metadataform-extension")){try{let e=r(50314);e.__scope__="@jupyterlab/metadataform-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/notebook-extension")){try{let e=r(52858);e.__scope__="@jupyterlab/notebook-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/pluginmanager-extension")){try{let e=r(48138);e.__scope__="@jupyterlab/pluginmanager-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/rendermime-extension")){try{let e=r(77454);e.__scope__="@jupyterlab/rendermime-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/running-extension")){try{let e=r(50528);e.__scope__="@jupyterlab/running-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/services-extension")){try{let e=r(40782);e.__scope__="@jupyterlab/services-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/settingeditor-extension")){try{let e=r(22112);e.__scope__="@jupyterlab/settingeditor-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/shortcuts-extension")){try{let e=r(32397);e.__scope__="@jupyterlab/shortcuts-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/statusbar-extension")){try{let e=r(82844);e.__scope__="@jupyterlab/statusbar-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/terminal-extension")){try{let e=r(25862);e.__scope__="@jupyterlab/terminal-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/theme-dark-extension")){try{let e=r(8494);e.__scope__="@jupyterlab/theme-dark-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/theme-dark-high-contrast-extension")){try{let e=r(69182);e.__scope__="@jupyterlab/theme-dark-high-contrast-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/theme-light-extension")){try{let e=r(77518);e.__scope__="@jupyterlab/theme-light-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/toc-extension")){try{let e=r(32256);e.__scope__="@jupyterlab/toc-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/tooltip-extension")){try{let e=r(28156);e.__scope__="@jupyterlab/tooltip-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/translation-extension")){try{let e=r(23292);e.__scope__="@jupyterlab/translation-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/ui-components-extension")){try{let e=r(59620);e.__scope__="@jupyterlab/ui-components-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}if(!w.includes("@jupyterlab/workspaces-extension")){try{let e=r(20030);e.__scope__="@jupyterlab/workspaces-extension";for(let t of P(e)){A.push(t)}}catch(Q){console.error(Q)}}const O=await Promise.allSettled(y);O.forEach((e=>{if(e.status==="fulfilled"){for(let t of P(e.value)){A.push(t)}}else{console.error(e.reason)}}));(await Promise.allSettled(d)).filter((({status:e})=>e==="rejected")).forEach((({reason:e})=>{console.error(e)}));c.registerPlugins(A);const R=r(90531).IConnectionStatus;const I=r(90531).IServiceManager;const L=await c.resolveOptionalService(R);const M=await c.resolveRequiredService(I);const N=new u({pluginRegistry:c,serviceManager:M,mimeExtensions:S,connectionStatus:L,disabled:{matches:p,patterns:j.map((function(e){return e.raw}))},deferred:{matches:f,patterns:m.map((function(e){return e.raw}))},availablePlugins:C});N.start({ignorePlugins:_,bubblingKeydown:true});var $=(o.PageConfig.getOption("exposeAppInBrowser")||"").toLowerCase()==="true";var J=(o.PageConfig.getOption("devMode")||"").toLowerCase()==="true";if($||J){window.jupyterapp=N}if(e.toLowerCase()==="true"){N.restored.then((function(){i(s)})).catch((function(e){i([`RestoreError: ${e.message}`])}));window.setTimeout((function(){i(s)}),a)}}},78269:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAsElEQVQIHQGlAFr/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7+r3zKmT0/+pk9P/7+r3zAAAAAAAAAAABAAAAAAAAAAA6OPzM+/q9wAAAAAA6OPzMwAAAAAAAAAAAgAAAAAAAAAAGR8NiRQaCgAZIA0AGR8NiQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQyoYJ/SY80UAAAAASUVORK5CYII="}}]);