jupyterlab 4.0.0a34__py3-none-any.whl → 4.0.0a36__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 (480) hide show
  1. jupyterlab/_version.py +1 -1
  2. jupyterlab/browser_check.py +1 -1
  3. jupyterlab/commands.py +6 -6
  4. jupyterlab/extensions/manager.py +2 -2
  5. jupyterlab/extensions/pypi.py +3 -1
  6. jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +123 -113
  7. jupyterlab/galata/@jupyterlab/galata-extension/package.json +14 -14
  8. jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.cb0123713c966aac8a3c.js → remoteEntry.bad0ab5ce64f7f5c8312.js} +6 -6
  9. jupyterlab/galata/__init__.py +0 -1
  10. jupyterlab/labapp.py +6 -6
  11. jupyterlab/node-version-check.js +0 -1
  12. jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +19 -18
  13. jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +24 -22
  14. jupyterlab/schemas/@jupyterlab/apputils-extension/sanitizer.json +6 -0
  15. jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +9 -8
  16. jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +63 -0
  17. jupyterlab/schemas/@jupyterlab/celltags-extension/plugin.json +33 -0
  18. jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +19 -15
  19. jupyterlab/schemas/@jupyterlab/codemirror-extension/plugin.json +14 -0
  20. jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +10 -9
  21. jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +22 -21
  22. jupyterlab/schemas/@jupyterlab/console-extension/tracker.json +3 -92
  23. jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +16 -15
  24. jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +21 -19
  25. jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +21 -20
  26. jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +10 -9
  27. jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +11 -10
  28. jupyterlab/schemas/@jupyterlab/filebrowser-extension/browser.json +13 -2
  29. jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +20 -19
  30. jupyterlab/schemas/@jupyterlab/filebrowser-extension/widget.json +2 -1
  31. jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +33 -30
  32. jupyterlab/schemas/@jupyterlab/fileeditor-extension/plugin.json +48 -119
  33. jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +16 -15
  34. jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +12 -11
  35. jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +9 -8
  36. jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +10 -9
  37. jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +13 -12
  38. jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +14 -13
  39. jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +17 -16
  40. jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +13 -12
  41. jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +17 -16
  42. jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +13 -12
  43. jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +11 -10
  44. jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +47 -40
  45. jupyterlab/schemas/@jupyterlab/notebook-extension/panel.json +1 -1
  46. jupyterlab/schemas/@jupyterlab/notebook-extension/tools.json +143 -0
  47. jupyterlab/schemas/@jupyterlab/notebook-extension/tracker.json +12 -146
  48. jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +17 -16
  49. jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +15 -14
  50. jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +17 -16
  51. jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +10 -9
  52. jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +17 -16
  53. jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +10 -9
  54. jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +18 -17
  55. jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +9 -8
  56. jupyterlab/semver.py +2 -2
  57. jupyterlab/staging/package.json +168 -163
  58. jupyterlab/staging/webpack.config.js +1 -1
  59. jupyterlab/staging/yarn.lock +2537 -2358
  60. jupyterlab/static/1168.6a7f50ce99d9120d558d.js +2 -0
  61. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1581.32450c6144cb4b0a4559.js → jupyterlab/static/1581.41bb01f5d4047061f002.js +3 -3
  62. jupyterlab/static/{9597.d23df3e7b0bf2fa53c0e.js → 1954.8b80dffad1ab65f151b3.js} +2 -2
  63. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2091.bd1d16d1337fa22555ee.js → jupyterlab/static/2091.f770bddee64cc71cbb38.js +2 -2
  64. jupyterlab/static/2800.14c52357e80a857341c2.js +2 -0
  65. jupyterlab/static/2829.d72b2ee221fa5ba98c38.js +2 -0
  66. jupyterlab/static/2990.6dd42ddb50a872f3a914.js +2 -0
  67. jupyterlab/static/2995.960715f713d01070e5a7.js +2 -0
  68. jupyterlab/static/3056.7ac8b30ccd5aad42e0c7.js +2 -0
  69. jupyterlab/static/3308.49c993cd8597acb46935.js +2 -0
  70. jupyterlab/static/3547.f1596a95dc36296cdb06.js +2 -0
  71. jupyterlab/static/3783.d68dff3a9631f0665413.js +2 -0
  72. jupyterlab/static/383.9b32cc3cdf831a212dbe.js +2 -0
  73. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/4008.9030f3b9de5aecde1790.js → jupyterlab/static/4008.b915ce51b76e4eea444a.js +3 -3
  74. jupyterlab/static/{3621.c7d35be08ce3952739f0.js → 4207.216305846d1afcde3718.js} +2 -2
  75. jupyterlab/static/4405.2a2632db9de9492d375b.js +2 -0
  76. jupyterlab/static/49.ced85eba3bfd117cd00f.js +2 -0
  77. jupyterlab/static/4986.04c2fe2a543c02880ba9.js +2 -0
  78. jupyterlab/static/6532.31ea041feb9581e651bc.js +2 -0
  79. jupyterlab/static/6831.86709d4fba398c4eb414.js +2 -0
  80. jupyterlab/static/6888.7fab95080c34bfe2cfd0.js +2 -0
  81. jupyterlab/static/720.c0e1eda90fe360aee794.js +2 -0
  82. jupyterlab/static/7245.ba37c7df026eab813275.js +2 -0
  83. jupyterlab/static/745.bf57c40e3c4951b45c9e.js +2 -0
  84. jupyterlab/static/{7451.3dd436449be9a87731ad.js → 7451.e06be24e1fee9b2e4387.js} +3 -3
  85. jupyterlab/static/{7473.5a991e5d8a3cd593069e.js → 7473.2e5c4257832f1aaa2f7a.js} +2 -2
  86. jupyterlab/static/7763.bd770588e14bb53e5869.js +3 -0
  87. jupyterlab/static/7763.bd770588e14bb53e5869.js.LICENSE.txt +5 -0
  88. jupyterlab/static/812.f31a0b0d1a5719e044c8.js +2 -0
  89. jupyterlab/static/830.8410da9c86cd6835b3ea.js +2 -0
  90. jupyterlab/static/8302.9c4fa45b6f90d0c97e69.js +2 -0
  91. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8768.bf9cf013482344a5bf29.js → jupyterlab/static/8768.a81e5b90356c6d3f905d.js +3 -3
  92. jupyterlab/static/8771.f48f4e16fcd5cc64f473.js +2 -0
  93. jupyterlab/static/8823.bff403d7f8fdfcc8e770.js +2 -0
  94. jupyterlab/static/{9.b85eb270581c06f724c5.js → 9.16e9cdccbe815399d46d.js} +2 -2
  95. jupyterlab/static/9065.c22fad1c8445f09b60ba.js +2 -0
  96. jupyterlab/static/9265.f021a836a4f8c1e4f2f5.js +2 -0
  97. jupyterlab/static/build_log.json +140 -129
  98. jupyterlab/static/index.html +1 -1
  99. jupyterlab/static/jlab_core.96941e5e852fedd23450.js +2 -0
  100. jupyterlab/static/main.20e744f8e1918f54d90d.js +2 -0
  101. jupyterlab/static/package.json +168 -163
  102. jupyterlab/static/third-party-licenses.json +201 -231
  103. jupyterlab/tests/mock_packages/extension/package.json +3 -3
  104. jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
  105. jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
  106. jupyterlab/tests/mock_packages/interop/token/package.json +2 -2
  107. jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
  108. jupyterlab/tests/mock_packages/test-hyphens/MANIFEST.in +1 -1
  109. jupyterlab/tests/mock_packages/test-hyphens/package.json +2 -2
  110. jupyterlab/tests/mock_packages/test-hyphens/pyproject.toml +2 -2
  111. jupyterlab/tests/mock_packages/test-hyphens/setup.py +2 -2
  112. jupyterlab/tests/test_build_api.py +1 -1
  113. jupyterlab/tests/test_jupyterlab.py +1 -1
  114. jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +1 -1
  115. jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +1 -1
  116. jupyterlab/upgrade_extension.py +2 -2
  117. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +19 -18
  118. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +24 -22
  119. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +6 -0
  120. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +9 -8
  121. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +63 -0
  122. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +33 -0
  123. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +19 -15
  124. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +14 -0
  125. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +10 -9
  126. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +22 -21
  127. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +3 -92
  128. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +16 -15
  129. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +21 -19
  130. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +21 -20
  131. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +10 -9
  132. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +11 -10
  133. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +13 -2
  134. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +20 -19
  135. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +2 -1
  136. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +83 -0
  137. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +48 -119
  138. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +16 -15
  139. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +12 -11
  140. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +9 -8
  141. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +10 -9
  142. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +13 -12
  143. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +14 -13
  144. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +17 -16
  145. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +13 -12
  146. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +17 -16
  147. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +13 -12
  148. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +11 -10
  149. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +93 -0
  150. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +1 -1
  151. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +143 -0
  152. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +12 -146
  153. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +17 -16
  154. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +15 -14
  155. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +17 -16
  156. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +10 -9
  157. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +17 -16
  158. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +10 -9
  159. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +18 -17
  160. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +9 -8
  161. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1168.6a7f50ce99d9120d558d.js +2 -0
  162. jupyterlab/static/1581.32450c6144cb4b0a4559.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1581.41bb01f5d4047061f002.js +3 -3
  163. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9597.d23df3e7b0bf2fa53c0e.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1954.8b80dffad1ab65f151b3.js +2 -2
  164. jupyterlab/static/2091.bd1d16d1337fa22555ee.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2091.f770bddee64cc71cbb38.js +2 -2
  165. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2800.14c52357e80a857341c2.js +2 -0
  166. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2829.d72b2ee221fa5ba98c38.js +2 -0
  167. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2990.6dd42ddb50a872f3a914.js +2 -0
  168. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2995.960715f713d01070e5a7.js +2 -0
  169. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3056.7ac8b30ccd5aad42e0c7.js +2 -0
  170. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3308.49c993cd8597acb46935.js +2 -0
  171. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3547.f1596a95dc36296cdb06.js +2 -0
  172. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3783.d68dff3a9631f0665413.js +2 -0
  173. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/383.9b32cc3cdf831a212dbe.js +2 -0
  174. jupyterlab/static/4008.9030f3b9de5aecde1790.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4008.b915ce51b76e4eea444a.js +3 -3
  175. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/3621.c7d35be08ce3952739f0.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4207.216305846d1afcde3718.js +2 -2
  176. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4405.2a2632db9de9492d375b.js +2 -0
  177. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/49.ced85eba3bfd117cd00f.js +2 -0
  178. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4986.04c2fe2a543c02880ba9.js +2 -0
  179. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/6532.31ea041feb9581e651bc.js +2 -0
  180. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/6831.86709d4fba398c4eb414.js +2 -0
  181. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/6888.7fab95080c34bfe2cfd0.js +2 -0
  182. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/720.c0e1eda90fe360aee794.js +2 -0
  183. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7245.ba37c7df026eab813275.js +2 -0
  184. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/745.bf57c40e3c4951b45c9e.js +2 -0
  185. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/7451.3dd436449be9a87731ad.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7451.e06be24e1fee9b2e4387.js +3 -3
  186. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/7473.5a991e5d8a3cd593069e.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7473.2e5c4257832f1aaa2f7a.js +2 -2
  187. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7763.bd770588e14bb53e5869.js +3 -0
  188. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7763.bd770588e14bb53e5869.js.LICENSE.txt +5 -0
  189. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/812.f31a0b0d1a5719e044c8.js +2 -0
  190. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/830.8410da9c86cd6835b3ea.js +2 -0
  191. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8302.9c4fa45b6f90d0c97e69.js +2 -0
  192. jupyterlab/static/8768.bf9cf013482344a5bf29.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8768.a81e5b90356c6d3f905d.js +3 -3
  193. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8771.f48f4e16fcd5cc64f473.js +2 -0
  194. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8823.bff403d7f8fdfcc8e770.js +2 -0
  195. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9.b85eb270581c06f724c5.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9.16e9cdccbe815399d46d.js +2 -2
  196. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9065.c22fad1c8445f09b60ba.js +2 -0
  197. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9265.f021a836a4f8c1e4f2f5.js +2 -0
  198. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/build_log.json +140 -129
  199. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/index.html +1 -1
  200. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/jlab_core.96941e5e852fedd23450.js +2 -0
  201. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/main.20e744f8e1918f54d90d.js +2 -0
  202. jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/package.json +321 -0
  203. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/third-party-licenses.json +201 -231
  204. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +1 -1
  205. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +1 -1
  206. {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/METADATA +6 -6
  207. {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/RECORD +421 -409
  208. jupyterlab/schemas/@jupyterlab/codemirror-extension/commands.json +0 -163
  209. jupyterlab/static/1006.9e412681cc0a06b61bf0.js +0 -2
  210. jupyterlab/static/1168.bd99b385277fda74c7e7.js +0 -2
  211. jupyterlab/static/1954.e3e678023a9794f54585.js +0 -2
  212. jupyterlab/static/25.41aa912787b694d8e5fd.js +0 -2
  213. jupyterlab/static/2800.16d71ffa4e49ede65248.js +0 -2
  214. jupyterlab/static/2990.ae4cac57633852d78ace.js +0 -2
  215. jupyterlab/static/2995.62e4f58854308bee4243.js +0 -2
  216. jupyterlab/static/3308.f1e75f094a71b22133c2.js +0 -2
  217. jupyterlab/static/3547.01d98ea9bac709628521.js +0 -2
  218. jupyterlab/static/49.0032a5d19ef33742cc10.js +0 -2
  219. jupyterlab/static/4986.f7d81e5438193cbc45f7.js +0 -2
  220. jupyterlab/static/6269.3431fb9d9d780c0af4e9.js +0 -2
  221. jupyterlab/static/6831.4fa7fe3986c1b89a11a6.js +0 -2
  222. jupyterlab/static/6888.56ad73d7d649b17bea59.js +0 -2
  223. jupyterlab/static/720.8b67294950536cd212a2.js +0 -2
  224. jupyterlab/static/745.a725095c1dff5725613b.js +0 -2
  225. jupyterlab/static/812.5594afdaab66ef435363.js +0 -2
  226. jupyterlab/static/830.a78d703922e2e43ffc1b.js +0 -2
  227. jupyterlab/static/8765.7390a33662098cb71047.js +0 -2
  228. jupyterlab/static/8771.548ec818cfcd85939fa1.js +0 -2
  229. jupyterlab/static/8823.a0fc337e55dfe2e131ee.js +0 -2
  230. jupyterlab/static/911.f79cede096e683d1ea34.js +0 -3
  231. jupyterlab/static/911.f79cede096e683d1ea34.js.LICENSE.txt +0 -5
  232. jupyterlab/static/9265.056a822009c8b133bf91.js +0 -2
  233. jupyterlab/static/9876.52330d1e634c74729e59.js +0 -2
  234. jupyterlab/static/jlab_core.64dcdf20f2f9401cbce1.js +0 -2
  235. jupyterlab/static/main.6cb176d6b49a21ca2405.js +0 -2
  236. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/commands.json +0 -163
  237. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +0 -80
  238. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +0 -86
  239. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1006.9e412681cc0a06b61bf0.js +0 -2
  240. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1168.bd99b385277fda74c7e7.js +0 -2
  241. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1954.e3e678023a9794f54585.js +0 -2
  242. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/25.41aa912787b694d8e5fd.js +0 -2
  243. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2800.16d71ffa4e49ede65248.js +0 -2
  244. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2990.ae4cac57633852d78ace.js +0 -2
  245. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2995.62e4f58854308bee4243.js +0 -2
  246. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/3308.f1e75f094a71b22133c2.js +0 -2
  247. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/3547.01d98ea9bac709628521.js +0 -2
  248. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/49.0032a5d19ef33742cc10.js +0 -2
  249. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/4986.f7d81e5438193cbc45f7.js +0 -2
  250. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/6269.3431fb9d9d780c0af4e9.js +0 -2
  251. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/6831.4fa7fe3986c1b89a11a6.js +0 -2
  252. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/6888.56ad73d7d649b17bea59.js +0 -2
  253. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/720.8b67294950536cd212a2.js +0 -2
  254. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/745.a725095c1dff5725613b.js +0 -2
  255. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/812.5594afdaab66ef435363.js +0 -2
  256. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/830.a78d703922e2e43ffc1b.js +0 -2
  257. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8765.7390a33662098cb71047.js +0 -2
  258. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8771.548ec818cfcd85939fa1.js +0 -2
  259. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8823.a0fc337e55dfe2e131ee.js +0 -2
  260. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/911.f79cede096e683d1ea34.js +0 -3
  261. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/911.f79cede096e683d1ea34.js.LICENSE.txt +0 -5
  262. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9265.056a822009c8b133bf91.js +0 -2
  263. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9876.52330d1e634c74729e59.js +0 -2
  264. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/jlab_core.64dcdf20f2f9401cbce1.js +0 -2
  265. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/main.6cb176d6b49a21ca2405.js +0 -2
  266. jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/package.json +0 -316
  267. /jupyterlab/static/{1581.32450c6144cb4b0a4559.js.LICENSE.txt → 1581.41bb01f5d4047061f002.js.LICENSE.txt} +0 -0
  268. /jupyterlab/static/{4008.9030f3b9de5aecde1790.js.LICENSE.txt → 4008.b915ce51b76e4eea444a.js.LICENSE.txt} +0 -0
  269. /jupyterlab/static/{7451.3dd436449be9a87731ad.js.LICENSE.txt → 7451.e06be24e1fee9b2e4387.js.LICENSE.txt} +0 -0
  270. /jupyterlab/static/{8768.bf9cf013482344a5bf29.js.LICENSE.txt → 8768.a81e5b90356c6d3f905d.js.LICENSE.txt} +0 -0
  271. /jupyterlab/tests/mock_packages/test-hyphens/{test-hyphens → test_hyphens}/__init__.py +0 -0
  272. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
  273. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
  274. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
  275. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
  276. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
  277. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
  278. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
  279. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
  280. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
  281. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
  282. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
  283. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -0
  284. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
  285. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
  286. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
  287. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
  288. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
  289. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
  290. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
  291. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
  292. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +0 -0
  293. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
  294. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
  295. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
  296. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
  297. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
  298. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
  299. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
  300. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
  301. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
  302. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
  303. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
  304. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
  305. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
  306. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
  307. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
  308. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
  309. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
  310. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
  311. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +0 -0
  312. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
  313. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
  314. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
  315. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
  316. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +0 -0
  317. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
  318. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
  319. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
  320. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
  321. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
  322. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
  323. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
  324. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
  325. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
  326. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
  327. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1036.f6c57d1265adca83594e.js +0 -0
  328. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1036.f6c57d1265adca83594e.js.LICENSE.txt +0 -0
  329. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1085.36072613d5461d9bc753.js +0 -0
  330. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1142.228652acc76ea404048d.js +0 -0
  331. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1294.d1735230fc7e9a21e8ad.js +0 -0
  332. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1410.8dd0e390c69996cecb38.js +0 -0
  333. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1420.78e8c0a87a74a5c616ed.js +0 -0
  334. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1452.40a07727b78492442421.js +0 -0
  335. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1467.3ee02202fa11332e5b99.js +0 -0
  336. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1550.373973a4651e6d0cf8b8.js +0 -0
  337. /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1581.32450c6144cb4b0a4559.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1581.41bb01f5d4047061f002.js.LICENSE.txt +0 -0
  338. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1608.cf6b65b59e4ff19b5622.js +0 -0
  339. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1716.9bf4d1620425b087fc9a.js +0 -0
  340. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1776.5218a3aec719d764977f.js +0 -0
  341. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1861.762ed9052ac12c338de6.js +0 -0
  342. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1903.73f4b592ee795a6b61ab.js +0 -0
  343. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1945.dd876fc4110972ab9979.js +0 -0
  344. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1993.2f82b3bafd40aa9605d3.js +0 -0
  345. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2039.7b8fad64fe512bdd5632.js +0 -0
  346. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2090.7c57efa83d49c74accca.js +0 -0
  347. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2104.fcc8c0f01e052700b3b0.js +0 -0
  348. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2145.2ed879d424a6ee02d531.js +0 -0
  349. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2254.13d594629c684d67a6b2.js +0 -0
  350. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2295.cf513646f24b357692bc.js +0 -0
  351. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2320.24d37d8ae619f877e334.js +0 -0
  352. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2363.d86742077aed696694b9.js +0 -0
  353. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2459.33094feaa394e0b72837.js +0 -0
  354. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2485.2b62703ab935947006af.js +0 -0
  355. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2617.af93dca9ab5f243bf60e.js +0 -0
  356. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2646.7f21306af05485d0bc39.js +0 -0
  357. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2857.008f1a1c91b1fa06999e.js +0 -0
  358. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2909.9a160a86a2172c389238.js +0 -0
  359. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/292.7c2a7b3af0bd14d7f49e.js +0 -0
  360. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2929.686155e4d274cfa9cd32.js +0 -0
  361. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3123.1df15835a1681fb411f4.js +0 -0
  362. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3127.0bd0b2da7c02c81dc7d7.js +0 -0
  363. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3306.19d86a7230d467f0a01a.js +0 -0
  364. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3528.c34d6dc8140ed3d19f4d.js +0 -0
  365. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3549.05e5283aa1815f6c0b86.js +0 -0
  366. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3601.92dd7c517619f0141013.js +0 -0
  367. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
  368. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/378.1bd75509552813ebea37.js +0 -0
  369. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3807.33034141b48b767e6974.js +0 -0
  370. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3923.7ffdf2670160c7be7da5.js +0 -0
  371. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3935.200aeb85f6884cbd976d.js +0 -0
  372. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3935.200aeb85f6884cbd976d.js.LICENSE.txt +0 -0
  373. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3962.68d34fc6c9af390e95f2.js +0 -0
  374. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
  375. /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/4008.9030f3b9de5aecde1790.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4008.b915ce51b76e4eea444a.js.LICENSE.txt +0 -0
  376. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4017.7cf5c0f4ab2e2fe099f4.js +0 -0
  377. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4043.7d4235e5ef237743c246.js +0 -0
  378. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4139.640d2da69a839bbb23a1.js +0 -0
  379. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4155.784ca1752696680bf373.js +0 -0
  380. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4283.5ea107a9413cf350657d.js +0 -0
  381. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4291.7fc9442700a996c261cd.js +0 -0
  382. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4419.8d7204ceb62af06d8422.js +0 -0
  383. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4452.e12b3923387884215888.js +0 -0
  384. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4519.38b6c4e1bfad86478cf2.js +0 -0
  385. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4562.29166c568a222122f128.js +0 -0
  386. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4591.314ddb1d18112749d6d0.js +0 -0
  387. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/46.0fb036ed8ad4b2af0e5e.js +0 -0
  388. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4743.290178067fcbe2b935dd.js +0 -0
  389. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4878.9c8b7dff9f2aa987457d.js +0 -0
  390. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/489.2bb514a4f1aeca4522e4.js +0 -0
  391. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5041.8834f33c4d437bd3d845.js +0 -0
  392. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5157.3a8e834fbef3a8fc2b4f.js +0 -0
  393. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5201.43ed99b05a13cb751923.js +0 -0
  394. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5203.d020c43293395b5d5c55.js +0 -0
  395. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5331.af889dce3fae12a95db2.js +0 -0
  396. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5440.0f50e7c3df2baf685125.js +0 -0
  397. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5521.f65521bcfb0c479b5fba.js +0 -0
  398. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/581.67a15269b8e899ea2588.js +0 -0
  399. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5881.c7ae1a260275cb511eda.js +0 -0
  400. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5959.41c3dbb934f7aa83e2af.js +0 -0
  401. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6163.231924d17191f1a9a738.js +0 -0
  402. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6207.226a2fd91c0e203aee57.js +0 -0
  403. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6243.4fc871a5a7ffb2e327b4.js +0 -0
  404. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6267.d266ae2f83d17cb51279.js +0 -0
  405. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6359.3b09504ed85bb3f71967.js +0 -0
  406. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6443.31e269857ec0085f7934.js +0 -0
  407. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6595.abbc5e7c2fb4b02cd772.js +0 -0
  408. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6815.c467fac9cf7db8d0e236.js +0 -0
  409. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7080.0b3dcc246068147dc7a3.js +0 -0
  410. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7112.a59ee2cd442d601beeeb.js +0 -0
  411. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7173.f506f29f75a4ef3362ad.js +0 -0
  412. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7294.78897ca348581a9dae29.js +0 -0
  413. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7294.78897ca348581a9dae29.js.LICENSE.txt +0 -0
  414. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7317.df1ecbfc7db0b063eedf.js +0 -0
  415. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7318.f2a3b81f6c31efdfa363.js +0 -0
  416. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7363.edc5172d0cfe93aa9ff3.js +0 -0
  417. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7384.921ddca683d28f988f4e.js +0 -0
  418. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7390.186ad933c12e960be502.js +0 -0
  419. /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/7451.3dd436449be9a87731ad.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7451.e06be24e1fee9b2e4387.js.LICENSE.txt +0 -0
  420. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7511.26a3826fcdb9c224c361.js +0 -0
  421. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7669.8e939de0670f120fce13.js +0 -0
  422. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7702.d3ddc7062e198eb6e938.js +0 -0
  423. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
  424. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7731.987cee17c2debd482054.js +0 -0
  425. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7823.94efbaadd84fc03f9d87.js +0 -0
  426. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7827.fee0cdeaf6e306bbef3d.js +0 -0
  427. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7848.e49d7a34ea52aebaf01b.js +0 -0
  428. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7877.dcf82bd8c368d9f16b51.js +0 -0
  429. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7887.313787ace9dbcea19b08.js +0 -0
  430. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/795.f94649e166b50e0e5c10.js +0 -0
  431. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
  432. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8002.0b0117f4610a941dfe76.js +0 -0
  433. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8010.a24689afeaeab57102d3.js +0 -0
  434. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8012.29bb6d58445d67c859f8.js +0 -0
  435. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8285.629ddf7ab87c4102aee2.js +0 -0
  436. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8319.5820120f3fd5db7531d6.js +0 -0
  437. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8347.299c1a8fba5fd34992e6.js +0 -0
  438. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8405.97a74ca186f6f332afe3.js +0 -0
  439. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8493.e3975ff82548a415fac5.js +0 -0
  440. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8498.160275f2a073c621d541.js +0 -0
  441. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8710.d0976e9e521791ab5b19.js +0 -0
  442. /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8768.bf9cf013482344a5bf29.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8768.a81e5b90356c6d3f905d.js.LICENSE.txt +0 -0
  443. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8787.94119f9e3846afa58ae0.js +0 -0
  444. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8805.52c5236ced15d35e3286.js +0 -0
  445. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8875.8da7cb48fb402ac6f8a5.js +0 -0
  446. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
  447. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9030.d0c99a0b0db0c7b0a0cb.js +0 -0
  448. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9055.3d9971cc90ec4423025c.js +0 -0
  449. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9109.fab4c4429f3212218a66.js +0 -0
  450. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9192.1a84f137ac27348644bf.js +0 -0
  451. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9222.f210f5553fdbc1bb5d74.js +0 -0
  452. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9362.36daaf0799b79dc3e343.js +0 -0
  453. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9409.d6502e7a30f5163c83f6.js +0 -0
  454. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/942.cb7b08b587bc7a30269a.js +0 -0
  455. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9421.1ef475b30b23aab2395f.js +0 -0
  456. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9445.a6d51ef124feeae99757.js +0 -0
  457. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9621.9694856bdac57c707675.js +0 -0
  458. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9653.b1366d17fefa13259f3a.js +0 -0
  459. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
  460. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9738.c078f05c0d7cb5bde4a9.js +0 -0
  461. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9747.56b3d4353668e791b7de.js +0 -0
  462. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9747.56b3d4353668e791b7de.js.LICENSE.txt +0 -0
  463. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
  464. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
  465. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
  466. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
  467. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
  468. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
  469. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
  470. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
  471. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
  472. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
  473. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
  474. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/index.out.js +0 -0
  475. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/style.js +0 -0
  476. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
  477. {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
  478. {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/WHEEL +0 -0
  479. {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/entry_points.txt +0 -0
  480. {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,3 @@
1
+ /*! For license information please see 7763.bd770588e14bb53e5869.js.LICENSE.txt */
2
+ (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[7763],{37763:(e,r,t)=>{e.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:false};e[n].call(a.exports,a,a.exports,t);a.loaded=true;return a.exports}t.m=e;t.c=r;t.p="";return t(0)}([function(e,r,t){e.exports=t(1)},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});function n(e){return e&&e.__esModule?e:{default:e}}var a=t(2);var i=n(a);r["default"]=i["default"];e.exports=r["default"]},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t){if(Object.prototype.hasOwnProperty.call(t,n)){e[n]=t[n]}}}return e};r["default"]=p;function a(e){return e&&e.__esModule?e:{default:e}}function i(e,r){var t={};for(var n in e){if(r.indexOf(n)>=0)continue;if(!Object.prototype.hasOwnProperty.call(e,n))continue;t[n]=e[n]}return t}var u=t(3);var o=t(4);var s=a(o);var f=t(14);var l=t(15);var c=a(l);p.propTypes={activeClassName:s["default"].string,activeIndex:s["default"].number,activeStyle:s["default"].object,autoEscape:s["default"].bool,className:s["default"].string,findChunks:s["default"].func,highlightClassName:s["default"].oneOfType([s["default"].object,s["default"].string]),highlightStyle:s["default"].object,highlightTag:s["default"].oneOfType([s["default"].node,s["default"].func,s["default"].string]),sanitize:s["default"].func,searchWords:s["default"].arrayOf(s["default"].oneOfType([s["default"].string,s["default"].instanceOf(RegExp)])).isRequired,textToHighlight:s["default"].string.isRequired,unhighlightTag:s["default"].oneOfType([s["default"].node,s["default"].func,s["default"].string]),unhighlightClassName:s["default"].string,unhighlightStyle:s["default"].object};function p(e){var r=e.activeClassName;var t=r===undefined?"":r;var a=e.activeIndex;var o=a===undefined?-1:a;var s=e.activeStyle;var l=e.autoEscape;var p=e.caseSensitive;var d=p===undefined?false:p;var v=e.className;var h=e.findChunks;var y=e.highlightClassName;var g=y===undefined?"":y;var m=e.highlightStyle;var b=m===undefined?{}:m;var O=e.highlightTag;var x=O===undefined?"mark":O;var w=e.sanitize;var T=e.searchWords;var E=e.textToHighlight;var j=e.unhighlightTag;var k=j===undefined?"span":j;var N=e.unhighlightClassName;var _=N===undefined?"":N;var S=e.unhighlightStyle;var P=i(e,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightTag","unhighlightClassName","unhighlightStyle"]);var C=(0,u.findAll)({autoEscape:l,caseSensitive:d,findChunks:h,sanitize:w,searchWords:T,textToHighlight:E});var I=x;var R=-1;var A="";var D=undefined;var q=function e(r){var t={};for(var n in r){t[n.toLowerCase()]=r[n]}return t};var L=(0,c["default"])(q);return(0,f.createElement)("span",n({className:v},P,{children:C.map((function(e,r){var n=E.substr(e.start,e.end-e.start);if(e.highlight){R++;var a=undefined;if(typeof g==="object"){if(!d){g=L(g);a=g[n.toLowerCase()]}else{a=g[n]}}else{a=g}var i=R===+o;A=a+" "+(i?t:"");D=i===true&&s!=null?Object.assign({},b,s):b;var u={children:n,className:A,key:r,style:D};if(typeof I!=="string"){u.highlightIndex=R}return(0,f.createElement)(I,u)}else{return(0,f.createElement)(k,{children:n,className:_,key:r,style:S})}}))}))}e.exports=r["default"]},function(e,r){e.exports=function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:false};e[n].call(a.exports,a,a.exports,t);a.loaded=true;return a.exports}t.m=e;t.c=r;t.p="";return t(0)}([function(e,r,t){e.exports=t(1)},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:true});var n=t(2);Object.defineProperty(r,"combineChunks",{enumerable:true,get:function e(){return n.combineChunks}});Object.defineProperty(r,"fillInChunks",{enumerable:true,get:function e(){return n.fillInChunks}});Object.defineProperty(r,"findAll",{enumerable:true,get:function e(){return n.findAll}});Object.defineProperty(r,"findChunks",{enumerable:true,get:function e(){return n.findChunks}})},function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:true});var t=r.findAll=function e(r){var t=r.autoEscape,u=r.caseSensitive,o=u===undefined?false:u,s=r.findChunks,f=s===undefined?a:s,l=r.sanitize,c=r.searchWords,p=r.textToHighlight;return i({chunksToHighlight:n({chunks:f({autoEscape:t,caseSensitive:o,sanitize:l,searchWords:c,textToHighlight:p})}),totalLength:p?p.length:0})};var n=r.combineChunks=function e(r){var t=r.chunks;t=t.sort((function(e,r){return e.start-r.start})).reduce((function(e,r){if(e.length===0){return[r]}else{var t=e.pop();if(r.start<=t.end){var n=Math.max(t.end,r.end);e.push({start:t.start,end:n})}else{e.push(t,r)}return e}}),[]);return t};var a=function e(r){var t=r.autoEscape,n=r.caseSensitive,a=r.sanitize,i=a===undefined?u:a,s=r.searchWords,f=r.textToHighlight;f=i(f);return s.filter((function(e){return e})).reduce((function(e,r){r=i(r);if(t){r=o(r)}var a=new RegExp(r,n?"g":"gi");var u=void 0;while(u=a.exec(f)){var s=u.index;var l=a.lastIndex;if(l>s){e.push({start:s,end:l})}if(u.index==a.lastIndex){a.lastIndex++}}return e}),[])};r.findChunks=a;var i=r.fillInChunks=function e(r){var t=r.chunksToHighlight,n=r.totalLength;var a=[];var i=function e(r,t,n){if(t-r>0){a.push({start:r,end:t,highlight:n})}};if(t.length===0){i(0,n,false)}else{var u=0;t.forEach((function(e){i(u,e.start,false);i(e.start,e.end,true);u=e.end}));i(u,n,false)}return a};function u(e){return e}function o(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(e,r,t){(function(r){if(r.env.NODE_ENV!=="production"){var n=typeof Symbol==="function"&&Symbol.for&&Symbol.for("react.element")||60103;var a=function(e){return typeof e==="object"&&e!==null&&e.$$typeof===n};var i=true;e.exports=t(6)(a,i)}else{e.exports=t(13)()}}).call(r,t(5))},function(e,r){var t=e.exports={};var n;var a;function i(){throw new Error("setTimeout has not been defined")}function u(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){n=setTimeout}else{n=i}}catch(e){n=i}try{if(typeof clearTimeout==="function"){a=clearTimeout}else{a=u}}catch(e){a=u}})();function o(e){if(n===setTimeout){return setTimeout(e,0)}if((n===i||!n)&&setTimeout){n=setTimeout;return setTimeout(e,0)}try{return n(e,0)}catch(r){try{return n.call(null,e,0)}catch(r){return n.call(this,e,0)}}}function s(e){if(a===clearTimeout){return clearTimeout(e)}if((a===u||!a)&&clearTimeout){a=clearTimeout;return clearTimeout(e)}try{return a(e)}catch(r){try{return a.call(null,e)}catch(r){return a.call(this,e)}}}var f=[];var l=false;var c;var p=-1;function d(){if(!l||!c){return}l=false;if(c.length){f=c.concat(f)}else{p=-1}if(f.length){v()}}function v(){if(l){return}var e=o(d);l=true;var r=f.length;while(r){c=f;f=[];while(++p<r){if(c){c[p].run()}}p=-1;r=f.length}c=null;l=false;s(e)}t.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1){for(var t=1;t<arguments.length;t++){r[t-1]=arguments[t]}}f.push(new h(e,r));if(f.length===1&&!l){o(v)}};function h(e,r){this.fun=e;this.array=r}h.prototype.run=function(){this.fun.apply(null,this.array)};t.title="browser";t.browser=true;t.env={};t.argv=[];t.version="";t.versions={};function y(){}t.on=y;t.addListener=y;t.once=y;t.off=y;t.removeListener=y;t.removeAllListeners=y;t.emit=y;t.prependListener=y;t.prependOnceListener=y;t.listeners=function(e){return[]};t.binding=function(e){throw new Error("process.binding is not supported")};t.cwd=function(){return"/"};t.chdir=function(e){throw new Error("process.chdir is not supported")};t.umask=function(){return 0}},function(e,r,t){(function(r){"use strict";var n=t(7);var a=t(8);var i=t(9);var u=t(10);var o=t(11);var s=t(12);e.exports=function(e,t){var f=typeof Symbol==="function"&&Symbol.iterator;var l="@@iterator";function c(e){var r=e&&(f&&e[f]||e[l]);if(typeof r==="function"){return r}}var p="<<anonymous>>";var d={array:g("array"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:m(),arrayOf:b,element:O(),instanceOf:x,node:j(),objectOf:T,oneOf:w,oneOfType:E,shape:k,exact:N};function v(e,r){if(e===r){return e!==0||1/e===1/r}else{return e!==e&&r!==r}}function h(e){this.message=e;this.stack=""}h.prototype=Error.prototype;function y(e){if(r.env.NODE_ENV!=="production"){var n={};var u=0}function s(s,f,l,c,d,v,y){c=c||p;v=v||l;if(y!==o){if(t){a(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. "+"Use `PropTypes.checkPropTypes()` to call them. "+"Read more at http://fb.me/use-check-prop-types")}else if(r.env.NODE_ENV!=="production"&&typeof console!=="undefined"){var g=c+":"+l;if(!n[g]&&u<3){i(false,"You are manually calling a React.PropTypes validation "+"function for the `%s` prop on `%s`. This is deprecated "+"and will throw in the standalone `prop-types` package. "+"You may be seeing this warning due to a third-party PropTypes "+"library. See https://fb.me/react-warning-dont-call-proptypes "+"for details.",v,c);n[g]=true;u++}}}if(f[l]==null){if(s){if(f[l]===null){return new h("The "+d+" `"+v+"` is marked as required "+("in `"+c+"`, but its value is `null`."))}return new h("The "+d+" `"+v+"` is marked as required in "+("`"+c+"`, but its value is `undefined`."))}return null}else{return e(f,l,c,d,v)}}var f=s.bind(null,false);f.isRequired=s.bind(null,true);return f}function g(e){function r(r,t,n,a,i,u){var o=r[t];var s=P(o);if(s!==e){var f=C(o);return new h("Invalid "+a+" `"+i+"` of type "+("`"+f+"` supplied to `"+n+"`, expected ")+("`"+e+"`."))}return null}return y(r)}function m(){return y(n.thatReturnsNull)}function b(e){function r(r,t,n,a,i){if(typeof e!=="function"){return new h("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.")}var u=r[t];if(!Array.isArray(u)){var s=P(u);return new h("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an array."))}for(var f=0;f<u.length;f++){var l=e(u,f,n,a,i+"["+f+"]",o);if(l instanceof Error){return l}}return null}return y(r)}function O(){function r(r,t,n,a,i){var u=r[t];if(!e(u)){var o=P(u);return new h("Invalid "+a+" `"+i+"` of type "+("`"+o+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return y(r)}function x(e){function r(r,t,n,a,i){if(!(r[t]instanceof e)){var u=e.name||p;var o=R(r[t]);return new h("Invalid "+a+" `"+i+"` of type "+("`"+o+"` supplied to `"+n+"`, expected ")+("instance of `"+u+"`."))}return null}return y(r)}function w(e){if(!Array.isArray(e)){r.env.NODE_ENV!=="production"?i(false,"Invalid argument supplied to oneOf, expected an instance of array."):void 0;return n.thatReturnsNull}function t(r,t,n,a,i){var u=r[t];for(var o=0;o<e.length;o++){if(v(u,e[o])){return null}}var s=JSON.stringify(e);return new h("Invalid "+a+" `"+i+"` of value `"+u+"` "+("supplied to `"+n+"`, expected one of "+s+"."))}return y(t)}function T(e){function r(r,t,n,a,i){if(typeof e!=="function"){return new h("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside objectOf.")}var u=r[t];var s=P(u);if(s!=="object"){return new h("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an object."))}for(var f in u){if(u.hasOwnProperty(f)){var l=e(u,f,n,a,i+"."+f,o);if(l instanceof Error){return l}}}return null}return y(r)}function E(e){if(!Array.isArray(e)){r.env.NODE_ENV!=="production"?i(false,"Invalid argument supplied to oneOfType, expected an instance of array."):void 0;return n.thatReturnsNull}for(var t=0;t<e.length;t++){var a=e[t];if(typeof a!=="function"){i(false,"Invalid argument supplied to oneOfType. Expected an array of check functions, but "+"received %s at index %s.",I(a),t);return n.thatReturnsNull}}function u(r,t,n,a,i){for(var u=0;u<e.length;u++){var s=e[u];if(s(r,t,n,a,i,o)==null){return null}}return new h("Invalid "+a+" `"+i+"` supplied to "+("`"+n+"`."))}return y(u)}function j(){function e(e,r,t,n,a){if(!_(e[r])){return new h("Invalid "+n+" `"+a+"` supplied to "+("`"+t+"`, expected a ReactNode."))}return null}return y(e)}function k(e){function r(r,t,n,a,i){var u=r[t];var s=P(u);if(s!=="object"){return new h("Invalid "+a+" `"+i+"` of type `"+s+"` "+("supplied to `"+n+"`, expected `object`."))}for(var f in e){var l=e[f];if(!l){continue}var c=l(u,f,n,a,i+"."+f,o);if(c){return c}}return null}return y(r)}function N(e){function r(r,t,n,a,i){var s=r[t];var f=P(s);if(f!=="object"){return new h("Invalid "+a+" `"+i+"` of type `"+f+"` "+("supplied to `"+n+"`, expected `object`."))}var l=u({},r[t],e);for(var c in l){var p=e[c];if(!p){return new h("Invalid "+a+" `"+i+"` key `"+c+"` supplied to `"+n+"`."+"\nBad object: "+JSON.stringify(r[t],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "))}var d=p(s,c,n,a,i+"."+c,o);if(d){return d}}return null}return y(r)}function _(r){switch(typeof r){case"number":case"string":case"undefined":return true;case"boolean":return!r;case"object":if(Array.isArray(r)){return r.every(_)}if(r===null||e(r)){return true}var t=c(r);if(t){var n=t.call(r);var a;if(t!==r.entries){while(!(a=n.next()).done){if(!_(a.value)){return false}}}else{while(!(a=n.next()).done){var i=a.value;if(i){if(!_(i[1])){return false}}}}}else{return false}return true;default:return false}}function S(e,r){if(e==="symbol"){return true}if(r["@@toStringTag"]==="Symbol"){return true}if(typeof Symbol==="function"&&r instanceof Symbol){return true}return false}function P(e){var r=typeof e;if(Array.isArray(e)){return"array"}if(e instanceof RegExp){return"object"}if(S(r,e)){return"symbol"}return r}function C(e){if(typeof e==="undefined"||e===null){return""+e}var r=P(e);if(r==="object"){if(e instanceof Date){return"date"}else if(e instanceof RegExp){return"regexp"}}return r}function I(e){var r=C(e);switch(r){case"array":case"object":return"an "+r;case"boolean":case"date":case"regexp":return"a "+r;default:return r}}function R(e){if(!e.constructor||!e.constructor.name){return p}return e.constructor.name}d.checkPropTypes=s;d.PropTypes=d;return d}}).call(r,t(5))},function(e,r){"use strict";function t(e){return function(){return e}}var n=function e(){};n.thatReturns=t;n.thatReturnsFalse=t(false);n.thatReturnsTrue=t(true);n.thatReturnsNull=t(null);n.thatReturnsThis=function(){return this};n.thatReturnsArgument=function(e){return e};e.exports=n},function(e,r,t){(function(r){"use strict";var t=function e(r){};if(r.env.NODE_ENV!=="production"){t=function e(r){if(r===undefined){throw new Error("invariant requires an error message argument")}}}function n(e,r,n,a,i,u,o,s){t(r);if(!e){var f;if(r===undefined){f=new Error("Minified exception occurred; use the non-minified dev environment "+"for the full error message and additional helpful warnings.")}else{var l=[n,a,i,u,o,s];var c=0;f=new Error(r.replace(/%s/g,(function(){return l[c++]})));f.name="Invariant Violation"}f.framesToPop=1;throw f}}e.exports=n}).call(r,t(5))},function(e,r,t){(function(r){"use strict";var n=t(7);var a=n;if(r.env.NODE_ENV!=="production"){var i=function e(r){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++){n[a-1]=arguments[a]}var i=0;var u="Warning: "+r.replace(/%s/g,(function(){return n[i++]}));if(typeof console!=="undefined"){console.error(u)}try{throw new Error(u)}catch(o){}};a=function e(r,t){if(t===undefined){throw new Error("`warning(condition, format, ...args)` requires a warning "+"message argument")}if(t.indexOf("Failed Composite propType: ")===0){return}if(!r){for(var n=arguments.length,a=Array(n>2?n-2:0),u=2;u<n;u++){a[u-2]=arguments[u]}i.apply(undefined,[t].concat(a))}}}e.exports=a}).call(r,t(5))},function(e,r){"use strict";var t=Object.getOwnPropertySymbols;var n=Object.prototype.hasOwnProperty;var a=Object.prototype.propertyIsEnumerable;function i(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function u(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var r={};for(var t=0;t<10;t++){r["_"+String.fromCharCode(t)]=t}var n=Object.getOwnPropertyNames(r).map((function(e){return r[e]}));if(n.join("")!=="0123456789"){return false}var a={};"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e}));if(Object.keys(Object.assign({},a)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(i){return false}}e.exports=u()?Object.assign:function(e,r){var u;var o=i(e);var s;for(var f=1;f<arguments.length;f++){u=Object(arguments[f]);for(var l in u){if(n.call(u,l)){o[l]=u[l]}}if(t){s=t(u);for(var c=0;c<s.length;c++){if(a.call(u,s[c])){o[s[c]]=u[s[c]]}}}}return o}},function(e,r){"use strict";var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=t},function(e,r,t){(function(r){"use strict";if(r.env.NODE_ENV!=="production"){var n=t(8);var a=t(9);var i=t(11);var u={}}function o(e,t,o,s,f){if(r.env.NODE_ENV!=="production"){for(var l in e){if(e.hasOwnProperty(l)){var c;try{n(typeof e[l]==="function","%s: %s type `%s` is invalid; it must be a function, usually from "+"the `prop-types` package, but received `%s`.",s||"React class",o,l,typeof e[l]);c=e[l](t,l,s,o,null,i)}catch(d){c=d}a(!c||c instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker "+"function must return `null` or an `Error` but returned a %s. "+"You may have forgotten to pass an argument to the type checker "+"creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and "+"shape all require an argument).",s||"React class",o,l,typeof c);if(c instanceof Error&&!(c.message in u)){u[c.message]=true;var p=f?f():"";a(false,"Failed %s type: %s%s",o,c.message,p!=null?p:"")}}}}}e.exports=o}).call(r,t(5))},function(e,r,t){"use strict";var n=t(7);var a=t(8);var i=t(11);e.exports=function(){function e(e,r,t,n,u,o){if(o===i){return}a(false,"Calling PropTypes validators directly is not supported by the `prop-types` package. "+"Use PropTypes.checkPropTypes() to call them. "+"Read more at http://fb.me/use-check-prop-types")}e.isRequired=e;function r(){return e}var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r};t.checkPropTypes=n;t.PropTypes=t;return t}},function(e,r){e.exports=t(28416)},function(e,r){"use strict";var t=function e(r,t){return r===t};function n(e){var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t;var n=void 0;var a=[];var i=void 0;var u=false;var o=function e(t,n){return r(t,a[n])};var s=function r(){for(var t=arguments.length,s=Array(t),f=0;f<t;f++){s[f]=arguments[f]}if(u&&n===this&&s.length===a.length&&s.every(o)){return i}u=true;n=this;a=s;i=e.apply(this,s);return i};return s}e.exports=n}])}}]);
3
+ //# sourceMappingURL=7763.bd770588e14bb53e5869.js.map?v=bd770588e14bb53e5869
@@ -0,0 +1,5 @@
1
+ /*
2
+ object-assign
3
+ (c) Sindre Sorhus
4
+ @license MIT
5
+ */
@@ -0,0 +1,2 @@
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[812],{37796:(e,r,t)=>{t.r(r);t.d(r,{main:()=>K});var o=t(19328);var n=t(95171);var s=t(48435);var l=t(69858);var a=t(48641);var i=t(64331);var c=t(55834);var u=t(28180);var f=t(2542);var A=t(7920);var p=t(38710);var h=t(81554);var y=t(67014);var d=t(77552);var v=t(71821);var b=t(13313);var x=t(23454);var g=t(34802);var j=t(42584);var m=t(54244);var w=t(93814);var C=t(64897);var E=t(94679);var P=t(92121);var O=t(83417);var k=t(83344);var S=t(52109);var _=t(96986);var N=t(70987);var R=t(39721);var J=t(55337);var L=t(32977);var Q=t(95528);var B=t(3268);var I=t(99204);var M=t(38970);var T=t(50168);var U=t(52714);var Y=t(4002);var z=t(57385);var G=t(65540);var V=t(1733);var D=t(30124);async function F(e,r){try{const t=await window._JUPYTERLAB[e].get(r);return t()}catch(t){console.warn(`Failed to create module: package: ${e}; module: ${r}`);throw t}}async function K(){var e=o.PageConfig.getOption("browserTest");if(e.toLowerCase()==="true"){var r=document.createElement("div");r.id="browserTest";document.body.appendChild(r);r.textContent="[]";r.style.display="none";var n=[];var s=false;var l=25e3;var a=function(){if(s){return}s=true;r.className="completed"};window.onerror=function(e,t,o,s,l){n.push(String(l));r.textContent=JSON.stringify(n)};console.error=function(e){n.push(String(e));r.textContent=JSON.stringify(n)}}var i=t(60135).JupyterLab;var c=[];var u=[];var f=[];var A=[];const p=[];const h=[];const y=[];const d=JSON.parse(o.PageConfig.getOption("federated_extensions"));const v=[];d.forEach((e=>{if(e.extension){v.push(e.name);p.push(F(e.name,e.extension))}if(e.mimeExtension){v.push(e.name);h.push(F(e.name,e.mimeExtension))}if(e.style&&!o.PageConfig.Extension.isDisabled(e.name)){y.push(F(e.name,e.style))}}));function*b(e){let r;if(e.hasOwnProperty("__esModule")){r=e.default}else{r=e}let t=Array.isArray(r)?r:[r];for(let n of t){if(o.PageConfig.Extension.isDisabled(n.id)){c.push(n.id);continue}if(o.PageConfig.Extension.isDeferred(n.id)){u.push(n.id);f.push(n.id)}yield n}}const x=[];if(!v.includes("@jupyterlab/javascript-extension")){try{let e=t(62918);for(let r of b(e)){x.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/json-extension")){try{let e=t(26040);for(let r of b(e)){x.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/pdf-extension")){try{let e=t(22795);for(let r of b(e)){x.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/vega5-extension")){try{let e=t(53810);for(let r of b(e)){x.push(r)}}catch(E){console.error(E)}}const g=await Promise.allSettled(h);g.forEach((e=>{if(e.status==="fulfilled"){for(let r of b(e.value)){x.push(r)}}else{console.error(e.reason)}}));if(!v.includes("@jupyterlab/application-extension")){try{let e=t(62884);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/apputils-extension")){try{let e=t(86051);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/cell-toolbar-extension")){try{let e=t(46210);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/celltags-extension")){try{let e=t(22643);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/codemirror-extension")){try{let e=t(51040);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/completer-extension")){try{let e=t(1117);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/console-extension")){try{let e=t(99067);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/csvviewer-extension")){try{let e=t(61423);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/debugger-extension")){try{let e=t(20184);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/docmanager-extension")){try{let e=t(55251);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/documentsearch-extension")){try{let e=t(98497);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/extensionmanager-extension")){try{let e=t(42126);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/filebrowser-extension")){try{let e=t(11707);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/fileeditor-extension")){try{let e=t(1905);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/help-extension")){try{let e=t(13166);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/htmlviewer-extension")){try{let e=t(46437);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/hub-extension")){try{let e=t(52733);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/imageviewer-extension")){try{let e=t(81888);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/inspector-extension")){try{let e=t(20446);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/launcher-extension")){try{let e=t(51717);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/logconsole-extension")){try{let e=t(35333);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/lsp-extension")){try{let e=t(24622);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/mainmenu-extension")){try{let e=t(62902);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/markdownviewer-extension")){try{let e=t(38523);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/markedparser-extension")){try{let e=t(91079);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/mathjax2-extension")){try{let e=t(48327);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/metadataform-extension")){try{let e=t(58297);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/notebook-extension")){try{let e=t(90473);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/rendermime-extension")){try{let e=t(20071);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/running-extension")){try{let e=t(42343);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/settingeditor-extension")){try{let e=t(30845);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/shortcuts-extension")){try{let e=t(41550);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/statusbar-extension")){try{let e=t(76895);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/terminal-extension")){try{let e=t(90192);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/theme-dark-extension")){try{let e=t(20872);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/theme-light-extension")){try{let e=t(23005);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/toc-extension")){try{let e=t(83738);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/tooltip-extension")){try{let e=t(65868);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/translation-extension")){try{let e=t(1047);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}if(!v.includes("@jupyterlab/ui-components-extension")){try{let e=t(87455);for(let r of b(e)){A.push(r)}}catch(E){console.error(E)}}const j=await Promise.allSettled(p);j.forEach((e=>{if(e.status==="fulfilled"){for(let r of b(e.value)){A.push(r)}}else{console.error(e.reason)}}));(await Promise.allSettled(y)).filter((({status:e})=>e==="rejected")).forEach((({reason:e})=>{console.error(e)}));const m=new i({mimeExtensions:x,disabled:{matches:c,patterns:o.PageConfig.Extension.disabled.map((function(e){return e.raw}))},deferred:{matches:u,patterns:o.PageConfig.Extension.deferred.map((function(e){return e.raw}))}});A.forEach((function(e){m.registerPluginModule(e)}));m.start({ignorePlugins:f});var w=(o.PageConfig.getOption("exposeAppInBrowser")||"").toLowerCase()==="true";var C=(o.PageConfig.getOption("devMode")||"").toLowerCase()==="true";if(w||C){window.jupyterapp=m}if(e.toLowerCase()==="true"){m.restored.then((function(){a(n)})).catch((function(e){a([`RestoreError: ${e.message}`])}));window.setTimeout((function(){a(n)}),l)}}},7413:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAsElEQVQIHQGlAFr/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7+r3zKmT0/+pk9P/7+r3zAAAAAAAAAAABAAAAAAAAAAA6OPzM+/q9wAAAAAA6OPzMwAAAAAAAAAAAgAAAAAAAAAAGR8NiRQaCgAZIA0AGR8NiQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQyoYJ/SY80UAAAAASUVORK5CYII="}}]);
2
+ //# sourceMappingURL=812.f31a0b0d1a5719e044c8.js.map?v=f31a0b0d1a5719e044c8
@@ -0,0 +1,2 @@
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[830],{76632:(t,r,e)=>{e.d(r,{Z:()=>j});function n(){this.__data__=[];this.size=0}const o=n;var a=e(52373);function c(t,r){var e=t.length;while(e--){if((0,a.Z)(t[e][0],r)){return e}}return-1}const u=c;var i=Array.prototype;var s=i.splice;function v(t){var r=this.__data__,e=u(r,t);if(e<0){return false}var n=r.length-1;if(e==n){r.pop()}else{s.call(r,e,1)}--this.size;return true}const f=v;function l(t){var r=this.__data__,e=u(r,t);return e<0?undefined:r[e][1]}const Z=l;function p(t){return u(this.__data__,t)>-1}const d=p;function b(t,r){var e=this.__data__,n=u(e,t);if(n<0){++this.size;e.push([t,r])}else{e[n][1]=r}return this}const y=b;function h(t){var r=-1,e=t==null?0:t.length;this.clear();while(++r<e){var n=t[r];this.set(n[0],n[1])}}h.prototype.clear=o;h.prototype["delete"]=f;h.prototype.get=Z;h.prototype.has=d;h.prototype.set=y;const j=h},96686:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(48679);var o=e(56169);var a=(0,n.Z)(o.Z,"Map");const c=a},11412:(t,r,e)=>{e.d(r,{Z:()=>R});var n=e(48679);var o=(0,n.Z)(Object,"create");const a=o;function c(){this.__data__=a?a(null):{};this.size=0}const u=c;function i(t){var r=this.has(t)&&delete this.__data__[t];this.size-=r?1:0;return r}const s=i;var v="__lodash_hash_undefined__";var f=Object.prototype;var l=f.hasOwnProperty;function Z(t){var r=this.__data__;if(a){var e=r[t];return e===v?undefined:e}return l.call(r,t)?r[t]:undefined}const p=Z;var d=Object.prototype;var b=d.hasOwnProperty;function y(t){var r=this.__data__;return a?r[t]!==undefined:b.call(r,t)}const h=y;var j="__lodash_hash_undefined__";function _(t,r){var e=this.__data__;this.size+=this.has(t)?0:1;e[t]=a&&r===undefined?j:r;return this}const g=_;function w(t){var r=-1,e=t==null?0:t.length;this.clear();while(++r<e){var n=t[r];this.set(n[0],n[1])}}w.prototype.clear=u;w.prototype["delete"]=s;w.prototype.get=p;w.prototype.has=h;w.prototype.set=g;const O=w;var A=e(76632);var m=e(96686);function x(){this.size=0;this.__data__={hash:new O,map:new(m.Z||A.Z),string:new O}}const S=x;function z(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}const P=z;function F(t,r){var e=t.__data__;return P(r)?e[typeof r=="string"?"string":"hash"]:e.map}const U=F;function I(t){var r=U(this,t)["delete"](t);this.size-=r?1:0;return r}const E=I;function k(t){return U(this,t).get(t)}const M=k;function T(t){return U(this,t).has(t)}const $=T;function B(t,r){var e=U(this,t),n=e.size;e.set(t,r);this.size+=e.size==n?0:1;return this}const C=B;function D(t){var r=-1,e=t==null?0:t.length;this.clear();while(++r<e){var n=t[r];this.set(n[0],n[1])}}D.prototype.clear=S;D.prototype["delete"]=E;D.prototype.get=M;D.prototype.has=$;D.prototype.set=C;const R=D},81962:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(48679);var o=e(56169);var a=(0,n.Z)(o.Z,"Set");const c=a},86717:(t,r,e)=>{e.d(r,{Z:()=>h});var n=e(76632);function o(){this.__data__=new n.Z;this.size=0}const a=o;function c(t){var r=this.__data__,e=r["delete"](t);this.size=r.size;return e}const u=c;function i(t){return this.__data__.get(t)}const s=i;function v(t){return this.__data__.has(t)}const f=v;var l=e(96686);var Z=e(11412);var p=200;function d(t,r){var e=this.__data__;if(e instanceof n.Z){var o=e.__data__;if(!l.Z||o.length<p-1){o.push([t,r]);this.size=++e.size;return this}e=this.__data__=new Z.Z(o)}e.set(t,r);this.size=e.size;return this}const b=d;function y(t){var r=this.__data__=new n.Z(t);this.size=r.size}y.prototype.clear=a;y.prototype["delete"]=u;y.prototype.get=s;y.prototype.has=f;y.prototype.set=b;const h=y},5876:(t,r,e)=>{e.d(r,{Z:()=>a});var n=e(56169);var o=n.Z.Symbol;const a=o},51456:(t,r,e)=>{e.d(r,{Z:()=>a});var n=e(56169);var o=n.Z.Uint8Array;const a=o},71624:(t,r,e)=>{e.d(r,{Z:()=>l});var n=e(47754);var o=e(11963);var a=e(39350);var c=e(74002);var u=e(9638);var i=e(50226);var s=Object.prototype;var v=s.hasOwnProperty;function f(t,r){var e=(0,a.Z)(t),s=!e&&(0,o.Z)(t),f=!e&&!s&&(0,c.Z)(t),l=!e&&!s&&!f&&(0,i.Z)(t),Z=e||s||f||l,p=Z?(0,n.Z)(t.length,String):[],d=p.length;for(var b in t){if((r||v.call(t,b))&&!(Z&&(b=="length"||f&&(b=="offset"||b=="parent")||l&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||(0,u.Z)(b,d)))){p.push(b)}}return p}const l=f},80758:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t,r){var e=-1,n=t==null?0:t.length,o=Array(n);while(++e<n){o[e]=r(t[e],e,t)}return o}const o=n},21059:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t,r){var e=-1,n=r.length,o=t.length;while(++e<n){t[o+e]=r[e]}return t}const o=n},47701:(t,r,e)=>{e.d(r,{Z:()=>i});var n=e(20192);var o=e(52373);var a=Object.prototype;var c=a.hasOwnProperty;function u(t,r,e){var a=t[r];if(!(c.call(t,r)&&(0,o.Z)(a,e))||e===undefined&&!(r in t)){(0,n.Z)(t,r,e)}}const i=u},20192:(t,r,e)=>{e.d(r,{Z:()=>a});var n=e(14608);function o(t,r,e){if(r=="__proto__"&&n.Z){(0,n.Z)(t,r,{configurable:true,enumerable:true,value:e,writable:true})}else{t[r]=e}}const a=o},99895:(t,r,e)=>{e.d(r,{Z:()=>Zr});var n=e(86717);function o(t,r){var e=-1,n=t==null?0:t.length;while(++e<n){if(r(t[e],e,t)===false){break}}return t}const a=o;var c=e(47701);var u=e(52457);var i=e(88130);function s(t,r){return t&&(0,u.Z)(r,(0,i.Z)(r),t)}const v=s;var f=e(39789);function l(t,r){return t&&(0,u.Z)(r,(0,f.Z)(r),t)}const Z=l;var p=e(42896);var d=e(65935);var b=e(77091);function y(t,r){return(0,u.Z)(t,(0,b.Z)(t),r)}const h=y;var j=e(79213);function _(t,r){return(0,u.Z)(t,(0,j.Z)(t),r)}const g=_;var w=e(72975);var O=e(71677);var A=e(34010);var m=Object.prototype;var x=m.hasOwnProperty;function S(t){var r=t.length,e=new t.constructor(r);if(r&&typeof t[0]=="string"&&x.call(t,"index")){e.index=t.index;e.input=t.input}return e}const z=S;var P=e(51456);function F(t){var r=new t.constructor(t.byteLength);new P.Z(r).set(new P.Z(t));return r}const U=F;function I(t,r){var e=r?U(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.byteLength)}const E=I;var k=/\w*$/;function M(t){var r=new t.constructor(t.source,k.exec(t));r.lastIndex=t.lastIndex;return r}const T=M;var $=e(5876);var B=$.Z?$.Z.prototype:undefined,C=B?B.valueOf:undefined;function D(t){return C?Object(C.call(t)):{}}const R=D;function V(t,r){var e=r?U(t.buffer):t.buffer;return new t.constructor(e,t.byteOffset,t.length)}const N=V;var W="[object Boolean]",L="[object Date]",q="[object Map]",G="[object Number]",H="[object RegExp]",J="[object Set]",K="[object String]",Q="[object Symbol]";var X="[object ArrayBuffer]",Y="[object DataView]",tt="[object Float32Array]",rt="[object Float64Array]",et="[object Int8Array]",nt="[object Int16Array]",ot="[object Int32Array]",at="[object Uint8Array]",ct="[object Uint8ClampedArray]",ut="[object Uint16Array]",it="[object Uint32Array]";function st(t,r,e){var n=t.constructor;switch(r){case X:return U(t);case W:case L:return new n(+t);case Y:return E(t,e);case tt:case rt:case et:case nt:case ot:case at:case ct:case ut:case it:return N(t,e);case q:return new n;case G:case K:return new n(t);case H:return T(t);case J:return new n;case Q:return R(t)}}const vt=st;var ft=e(89122);var lt=Object.create;var Zt=function(){function t(){}return function(r){if(!(0,ft.Z)(r)){return{}}if(lt){return lt(r)}t.prototype=r;var e=new t;t.prototype=undefined;return e}}();const pt=Zt;var dt=e(67290);var bt=e(9794);function yt(t){return typeof t.constructor=="function"&&!(0,bt.Z)(t)?pt((0,dt.Z)(t)):{}}const ht=yt;var jt=e(39350);var _t=e(74002);var gt=e(23195);var wt="[object Map]";function Ot(t){return(0,gt.Z)(t)&&(0,A.Z)(t)==wt}const At=Ot;var mt=e(4827);var xt=e(79730);var St=xt.Z&&xt.Z.isMap;var zt=St?(0,mt.Z)(St):At;const Pt=zt;var Ft="[object Set]";function Ut(t){return(0,gt.Z)(t)&&(0,A.Z)(t)==Ft}const It=Ut;var Et=xt.Z&&xt.Z.isSet;var kt=Et?(0,mt.Z)(Et):It;const Mt=kt;var Tt=1,$t=2,Bt=4;var Ct="[object Arguments]",Dt="[object Array]",Rt="[object Boolean]",Vt="[object Date]",Nt="[object Error]",Wt="[object Function]",Lt="[object GeneratorFunction]",qt="[object Map]",Gt="[object Number]",Ht="[object Object]",Jt="[object RegExp]",Kt="[object Set]",Qt="[object String]",Xt="[object Symbol]",Yt="[object WeakMap]";var tr="[object ArrayBuffer]",rr="[object DataView]",er="[object Float32Array]",nr="[object Float64Array]",or="[object Int8Array]",ar="[object Int16Array]",cr="[object Int32Array]",ur="[object Uint8Array]",ir="[object Uint8ClampedArray]",sr="[object Uint16Array]",vr="[object Uint32Array]";var fr={};fr[Ct]=fr[Dt]=fr[tr]=fr[rr]=fr[Rt]=fr[Vt]=fr[er]=fr[nr]=fr[or]=fr[ar]=fr[cr]=fr[qt]=fr[Gt]=fr[Ht]=fr[Jt]=fr[Kt]=fr[Qt]=fr[Xt]=fr[ur]=fr[ir]=fr[sr]=fr[vr]=true;fr[Nt]=fr[Wt]=fr[Yt]=false;function lr(t,r,e,o,u,s){var l,b=r&Tt,y=r&$t,j=r&Bt;if(e){l=u?e(t,o,u,s):e(t)}if(l!==undefined){return l}if(!(0,ft.Z)(t)){return t}var _=(0,jt.Z)(t);if(_){l=z(t);if(!b){return(0,d.Z)(t,l)}}else{var m=(0,A.Z)(t),x=m==Wt||m==Lt;if((0,_t.Z)(t)){return(0,p.Z)(t,b)}if(m==Ht||m==Ct||x&&!u){l=y||x?{}:ht(t);if(!b){return y?g(t,Z(l,t)):h(t,v(l,t))}}else{if(!fr[m]){return u?t:{}}l=vt(t,m,b)}}s||(s=new n.Z);var S=s.get(t);if(S){return S}s.set(t,l);if(Mt(t)){t.forEach((function(n){l.add(lr(n,r,e,n,t,s))}))}else if(Pt(t)){t.forEach((function(n,o){l.set(o,lr(n,r,e,o,t,s))}))}var P=j?y?O.Z:w.Z:y?f.Z:i.Z;var F=_?undefined:P(t);a(F||t,(function(n,o){if(F){o=n;n=t[o]}(0,c.Z)(l,o,lr(n,r,e,o,t,s))}));return l}const Zr=lr},23791:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(58204);var o=e(35429);function a(t,r){r=(0,n.Z)(r,t);var e=0,a=r.length;while(t!=null&&e<a){t=t[(0,o.Z)(r[e++])]}return e&&e==a?t:undefined}const c=a},72982:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(21059);var o=e(39350);function a(t,r,e){var a=r(t);return(0,o.Z)(t)?a:(0,n.Z)(a,e(t))}const c=a},73832:(t,r,e)=>{e.d(r,{Z:()=>h});var n=e(5876);var o=Object.prototype;var a=o.hasOwnProperty;var c=o.toString;var u=n.Z?n.Z.toStringTag:undefined;function i(t){var r=a.call(t,u),e=t[u];try{t[u]=undefined;var n=true}catch(i){}var o=c.call(t);if(n){if(r){t[u]=e}else{delete t[u]}}return o}const s=i;var v=Object.prototype;var f=v.toString;function l(t){return f.call(t)}const Z=l;var p="[object Null]",d="[object Undefined]";var b=n.Z?n.Z.toStringTag:undefined;function y(t){if(t==null){return t===undefined?d:p}return b&&b in Object(t)?s(t):Z(t)}const h=y},14926:(t,r,e)=>{e.d(r,{Z:()=>v});var n=e(9794);var o=e(4012);var a=(0,o.Z)(Object.keys,Object);const c=a;var u=Object.prototype;var i=u.hasOwnProperty;function s(t){if(!(0,n.Z)(t)){return c(t)}var r=[];for(var e in Object(t)){if(i.call(t,e)&&e!="constructor"){r.push(e)}}return r}const v=s},47754:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t,r){var e=-1,n=Array(t);while(++e<t){n[e]=r(e)}return n}const o=n},4827:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t){return function(r){return t(r)}}const o=n},58204:(t,r,e)=>{e.d(r,{Z:()=>i});var n=e(39350);var o=e(8633);var a=e(66668);var c=e(39191);function u(t,r){if((0,n.Z)(t)){return t}return(0,o.Z)(t,r)?[t]:(0,a.Z)((0,c.Z)(t))}const i=u},42896:(t,r,e)=>{e.d(r,{Z:()=>v});var n=e(56169);t=e.hmd(t);var o=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var a=o&&"object"=="object"&&t&&!t.nodeType&&t;var c=a&&a.exports===o;var u=c?n.Z.Buffer:undefined,i=u?u.allocUnsafe:undefined;function s(t,r){if(r){return t.slice()}var e=t.length,n=i?i(e):new t.constructor(e);t.copy(n);return n}const v=s},65935:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t,r){var e=-1,n=t.length;r||(r=Array(n));while(++e<n){r[e]=t[e]}return r}const o=n},52457:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(47701);var o=e(20192);function a(t,r,e,a){var c=!e;e||(e={});var u=-1,i=r.length;while(++u<i){var s=r[u];var v=a?a(e[s],t[s],s,e,t):undefined;if(v===undefined){v=t[s]}if(c){(0,o.Z)(e,s,v)}else{(0,n.Z)(e,s,v)}}return e}const c=a},14608:(t,r,e)=>{e.d(r,{Z:()=>a});var n=e(48679);var o=function(){try{var t=(0,n.Z)(Object,"defineProperty");t({},"",{});return t}catch(r){}}();const a=o},48277:(t,r,e)=>{e.d(r,{Z:()=>o});var n=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g;const o=n},72975:(t,r,e)=>{e.d(r,{Z:()=>u});var n=e(72982);var o=e(77091);var a=e(88130);function c(t){return(0,n.Z)(t,a.Z,o.Z)}const u=c},71677:(t,r,e)=>{e.d(r,{Z:()=>u});var n=e(72982);var o=e(79213);var a=e(39789);function c(t){return(0,n.Z)(t,a.Z,o.Z)}const u=c},48679:(t,r,e)=>{e.d(r,{Z:()=>A});var n=e(25069);var o=e(56169);var a=o.Z["__core-js_shared__"];const c=a;var u=function(){var t=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function i(t){return!!u&&u in t}const s=i;var v=e(89122);var f=e(48723);var l=/[\\^$.*+?()[\]{}|]/g;var Z=/^\[object .+?Constructor\]$/;var p=Function.prototype,d=Object.prototype;var b=p.toString;var y=d.hasOwnProperty;var h=RegExp("^"+b.call(y).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function j(t){if(!(0,v.Z)(t)||s(t)){return false}var r=(0,n.Z)(t)?h:Z;return r.test((0,f.Z)(t))}const _=j;function g(t,r){return t==null?undefined:t[r]}const w=g;function O(t,r){var e=w(t,r);return _(e)?e:undefined}const A=O},67290:(t,r,e)=>{e.d(r,{Z:()=>a});var n=e(4012);var o=(0,n.Z)(Object.getPrototypeOf,Object);const a=o},77091:(t,r,e)=>{e.d(r,{Z:()=>v});function n(t,r){var e=-1,n=t==null?0:t.length,o=0,a=[];while(++e<n){var c=t[e];if(r(c,e,t)){a[o++]=c}}return a}const o=n;var a=e(39756);var c=Object.prototype;var u=c.propertyIsEnumerable;var i=Object.getOwnPropertySymbols;var s=!i?a.Z:function(t){if(t==null){return[]}t=Object(t);return o(i(t),(function(r){return u.call(t,r)}))};const v=s},79213:(t,r,e)=>{e.d(r,{Z:()=>s});var n=e(21059);var o=e(67290);var a=e(77091);var c=e(39756);var u=Object.getOwnPropertySymbols;var i=!u?c.Z:function(t){var r=[];while(t){(0,n.Z)(r,(0,a.Z)(t));t=(0,o.Z)(t)}return r};const s=i},34010:(t,r,e)=>{e.d(r,{Z:()=>S});var n=e(48679);var o=e(56169);var a=(0,n.Z)(o.Z,"DataView");const c=a;var u=e(96686);var i=(0,n.Z)(o.Z,"Promise");const s=i;var v=e(81962);var f=(0,n.Z)(o.Z,"WeakMap");const l=f;var Z=e(73832);var p=e(48723);var d="[object Map]",b="[object Object]",y="[object Promise]",h="[object Set]",j="[object WeakMap]";var _="[object DataView]";var g=(0,p.Z)(c),w=(0,p.Z)(u.Z),O=(0,p.Z)(s),A=(0,p.Z)(v.Z),m=(0,p.Z)(l);var x=Z.Z;if(c&&x(new c(new ArrayBuffer(1)))!=_||u.Z&&x(new u.Z)!=d||s&&x(s.resolve())!=y||v.Z&&x(new v.Z)!=h||l&&x(new l)!=j){x=function(t){var r=(0,Z.Z)(t),e=r==b?t.constructor:undefined,n=e?(0,p.Z)(e):"";if(n){switch(n){case g:return _;case w:return d;case O:return y;case A:return h;case m:return j}}return r}}const S=x},9638:(t,r,e)=>{e.d(r,{Z:()=>c});var n=9007199254740991;var o=/^(?:0|[1-9]\d*)$/;function a(t,r){var e=typeof t;r=r==null?n:r;return!!r&&(e=="number"||e!="symbol"&&o.test(t))&&(t>-1&&t%1==0&&t<r)}const c=a},8633:(t,r,e)=>{e.d(r,{Z:()=>i});var n=e(39350);var o=e(97828);var a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/;function u(t,r){if((0,n.Z)(t)){return false}var e=typeof t;if(e=="number"||e=="symbol"||e=="boolean"||t==null||(0,o.Z)(t)){return true}return c.test(t)||!a.test(t)||r!=null&&t in Object(r)}const i=u},9794:(t,r,e)=>{e.d(r,{Z:()=>a});var n=Object.prototype;function o(t){var r=t&&t.constructor,e=typeof r=="function"&&r.prototype||n;return t===e}const a=o},79730:(t,r,e)=>{e.d(r,{Z:()=>s});var n=e(48277);t=e.hmd(t);var o=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var a=o&&"object"=="object"&&t&&!t.nodeType&&t;var c=a&&a.exports===o;var u=c&&n.Z.process;var i=function(){try{var t=a&&a.require&&a.require("util").types;if(t){return t}return u&&u.binding&&u.binding("util")}catch(r){}}();const s=i},4012:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t,r){return function(e){return t(r(e))}}const o=n},56169:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(48277);var o=typeof self=="object"&&self&&self.Object===Object&&self;var a=n.Z||o||Function("return this")();const c=a},66668:(t,r,e)=>{e.d(r,{Z:()=>Z});var n=e(11412);var o="Expected a function";function a(t,r){if(typeof t!="function"||r!=null&&typeof r!="function"){throw new TypeError(o)}var e=function(){var n=arguments,o=r?r.apply(this,n):n[0],a=e.cache;if(a.has(o)){return a.get(o)}var c=t.apply(this,n);e.cache=a.set(o,c)||a;return c};e.cache=new(a.Cache||n.Z);return e}a.Cache=n.Z;const c=a;var u=500;function i(t){var r=c(t,(function(t){if(e.size===u){e.clear()}return t}));var e=r.cache;return r}const s=i;var v=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var f=/\\(\\)?/g;var l=s((function(t){var r=[];if(t.charCodeAt(0)===46){r.push("")}t.replace(v,(function(t,e,n,o){r.push(n?o.replace(f,"$1"):e||t)}));return r}));const Z=l},35429:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(97828);var o=1/0;function a(t){if(typeof t=="string"||(0,n.Z)(t)){return t}var r=t+"";return r=="0"&&1/t==-o?"-0":r}const c=a},48723:(t,r,e)=>{e.d(r,{Z:()=>c});var n=Function.prototype;var o=n.toString;function a(t){if(t!=null){try{return o.call(t)}catch(r){}try{return t+""}catch(r){}}return""}const c=a},52373:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t,r){return t===r||t!==t&&r!==r}const o=n},77398:(t,r,e)=>{e.d(r,{Z:()=>a});var n=e(23791);function o(t,r,e){var o=t==null?undefined:(0,n.Z)(t,r);return o===undefined?e:o}const a=o},11963:(t,r,e)=>{e.d(r,{Z:()=>l});var n=e(73832);var o=e(23195);var a="[object Arguments]";function c(t){return(0,o.Z)(t)&&(0,n.Z)(t)==a}const u=c;var i=Object.prototype;var s=i.hasOwnProperty;var v=i.propertyIsEnumerable;var f=u(function(){return arguments}())?u:function(t){return(0,o.Z)(t)&&s.call(t,"callee")&&!v.call(t,"callee")};const l=f},39350:(t,r,e)=>{e.d(r,{Z:()=>o});var n=Array.isArray;const o=n},5710:(t,r,e)=>{e.d(r,{Z:()=>c});var n=e(25069);var o=e(20523);function a(t){return t!=null&&(0,o.Z)(t.length)&&!(0,n.Z)(t)}const c=a},74002:(t,r,e)=>{e.d(r,{Z:()=>l});var n=e(56169);function o(){return false}const a=o;t=e.hmd(t);var c=typeof exports=="object"&&exports&&!exports.nodeType&&exports;var u=c&&"object"=="object"&&t&&!t.nodeType&&t;var i=u&&u.exports===c;var s=i?n.Z.Buffer:undefined;var v=s?s.isBuffer:undefined;var f=v||a;const l=f},25069:(t,r,e)=>{e.d(r,{Z:()=>v});var n=e(73832);var o=e(89122);var a="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",i="[object Proxy]";function s(t){if(!(0,o.Z)(t)){return false}var r=(0,n.Z)(t);return r==c||r==u||r==a||r==i}const v=s},20523:(t,r,e)=>{e.d(r,{Z:()=>a});var n=9007199254740991;function o(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=n}const a=o},89122:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}const o=n},23195:(t,r,e)=>{e.d(r,{Z:()=>o});function n(t){return t!=null&&typeof t=="object"}const o=n},97828:(t,r,e)=>{e.d(r,{Z:()=>u});var n=e(73832);var o=e(23195);var a="[object Symbol]";function c(t){return typeof t=="symbol"||(0,o.Z)(t)&&(0,n.Z)(t)==a}const u=c},50226:(t,r,e)=>{e.d(r,{Z:()=>$});var n=e(73832);var o=e(20523);var a=e(23195);var c="[object Arguments]",u="[object Array]",i="[object Boolean]",s="[object Date]",v="[object Error]",f="[object Function]",l="[object Map]",Z="[object Number]",p="[object Object]",d="[object RegExp]",b="[object Set]",y="[object String]",h="[object WeakMap]";var j="[object ArrayBuffer]",_="[object DataView]",g="[object Float32Array]",w="[object Float64Array]",O="[object Int8Array]",A="[object Int16Array]",m="[object Int32Array]",x="[object Uint8Array]",S="[object Uint8ClampedArray]",z="[object Uint16Array]",P="[object Uint32Array]";var F={};F[g]=F[w]=F[O]=F[A]=F[m]=F[x]=F[S]=F[z]=F[P]=true;F[c]=F[u]=F[j]=F[i]=F[_]=F[s]=F[v]=F[f]=F[l]=F[Z]=F[p]=F[d]=F[b]=F[y]=F[h]=false;function U(t){return(0,a.Z)(t)&&(0,o.Z)(t.length)&&!!F[(0,n.Z)(t)]}const I=U;var E=e(4827);var k=e(79730);var M=k.Z&&k.Z.isTypedArray;var T=M?(0,E.Z)(M):I;const $=T},88130:(t,r,e)=>{e.d(r,{Z:()=>u});var n=e(71624);var o=e(14926);var a=e(5710);function c(t){return(0,a.Z)(t)?(0,n.Z)(t):(0,o.Z)(t)}const u=c},39789:(t,r,e)=>{e.d(r,{Z:()=>p});var n=e(71624);var o=e(89122);var a=e(9794);function c(t){var r=[];if(t!=null){for(var e in Object(t)){r.push(e)}}return r}const u=c;var i=Object.prototype;var s=i.hasOwnProperty;function v(t){if(!(0,o.Z)(t)){return u(t)}var r=(0,a.Z)(t),e=[];for(var n in t){if(!(n=="constructor"&&(r||!s.call(t,n)))){e.push(n)}}return e}const f=v;var l=e(5710);function Z(t){return(0,l.Z)(t)?(0,n.Z)(t,true):f(t)}const p=Z},39756:(t,r,e)=>{e.d(r,{Z:()=>o});function n(){return[]}const o=n},39191:(t,r,e)=>{e.d(r,{Z:()=>Z});var n=e(5876);var o=e(80758);var a=e(39350);var c=e(97828);var u=1/0;var i=n.Z?n.Z.prototype:undefined,s=i?i.toString:undefined;function v(t){if(typeof t=="string"){return t}if((0,a.Z)(t)){return(0,o.Z)(t,v)+""}if((0,c.Z)(t)){return s?s.call(t):""}var r=t+"";return r=="0"&&1/t==-u?"-0":r}const f=v;function l(t){return t==null?"":f(t)}const Z=l}}]);
2
+ //# sourceMappingURL=830.8410da9c86cd6835b3ea.js.map?v=8410da9c86cd6835b3ea
@@ -0,0 +1,2 @@
1
+ "use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[8302],{58302:(e,t,i)=>{i.r(t);i.d(t,{BasicKeyHandler:()=>p,BasicMouseHandler:()=>C,BasicSelectionModel:()=>R,BooleanCellEditor:()=>I,CellEditor:()=>W,CellEditorController:()=>Y,CellGroup:()=>M,CellRenderer:()=>w,DataGrid:()=>J,DataModel:()=>V,DateCellEditor:()=>A,DynamicOptionCellEditor:()=>N,GraphicsContext:()=>F,HyperlinkRenderer:()=>v,InputCellEditor:()=>B,IntegerCellEditor:()=>G,IntegerInputValidator:()=>E,JSONModel:()=>Q,MutableDataModel:()=>K,NumberCellEditor:()=>T,NumberInputValidator:()=>L,OptionCellEditor:()=>P,PassInputValidator:()=>O,RendererMap:()=>j,SectionList:()=>$,SelectionModel:()=>b,TextCellEditor:()=>D,TextInputValidator:()=>k,TextRenderer:()=>y,resolveOption:()=>X});var s=i(44703);var o=i.n(s);var r=i(51439);var n=i.n(r);var l=i(92352);var a=i.n(l);var h=i(6e3);var c=i.n(h);var d=i(16669);var u=i.n(d);var f=i(1512);var _=i.n(f);var m=i(62045);var g=i.n(m);class p{constructor(){this._disposed=false}get isDisposed(){return this._disposed}dispose(){this._disposed=true}onKeyDown(e,t){if(e.editable&&e.selectionModel.cursorRow!==-1&&e.selectionModel.cursorColumn!==-1){const i=String.fromCharCode(t.keyCode);if(/[a-zA-Z0-9-_ ]/.test(i)){const i=e.selectionModel.cursorRow;const s=e.selectionModel.cursorColumn;const o={grid:e,row:i,column:s};e.editorController.edit(o);if((0,r.getKeyboardLayout)().keyForKeydownEvent(t)==="Space"){t.stopPropagation();t.preventDefault()}return}}switch((0,r.getKeyboardLayout)().keyForKeydownEvent(t)){case"ArrowLeft":this.onArrowLeft(e,t);break;case"ArrowRight":this.onArrowRight(e,t);break;case"ArrowUp":this.onArrowUp(e,t);break;case"ArrowDown":this.onArrowDown(e,t);break;case"PageUp":this.onPageUp(e,t);break;case"PageDown":this.onPageDown(e,t);break;case"Escape":this.onEscape(e,t);break;case"Delete":this.onDelete(e,t);break;case"C":this.onKeyC(e,t);break;case"Enter":if(e.selectionModel){e.moveCursor(t.shiftKey?"up":"down");e.scrollToCursor()}break;case"Tab":if(e.selectionModel){e.moveCursor(t.shiftKey?"left":"right");e.scrollToCursor();t.stopPropagation();t.preventDefault()}break}}onArrowLeft(e,t){t.preventDefault();t.stopPropagation();let i=e.selectionModel;let o=t.shiftKey;let r=s.Platform.accelKey(t);if(!i&&r){e.scrollTo(0,e.scrollY);return}if(!i){e.scrollByStep("left");return}let n=i.selectionMode;if(n==="row"&&r){e.scrollTo(0,e.scrollY);return}if(n==="row"){e.scrollByStep("left");return}let l=i.cursorRow;let a=i.cursorColumn;let h=i.currentSelection();let c;let d;let u;let f;let _;let m;let g;if(r&&o){c=h?h.r1:0;d=h?h.r2:0;u=h?h.c1:0;f=0;_=l;m=a;g="current"}else if(o){c=h?h.r1:0;d=h?h.r2:0;u=h?h.c1:0;f=h?h.c2-1:0;_=l;m=a;g="current"}else if(r){c=l;d=l;u=0;f=0;_=c;m=u;g="all"}else{c=l;d=l;u=a-1;f=a-1;_=c;m=u;g="all"}i.select({r1:c,c1:u,r2:d,c2:f,cursorRow:_,cursorColumn:m,clear:g});h=i.currentSelection();if(!h){return}if(o||n==="column"){e.scrollToColumn(h.c2)}else{e.scrollToCursor()}}onArrowRight(e,t){t.preventDefault();t.stopPropagation();let i=e.selectionModel;let o=t.shiftKey;let r=s.Platform.accelKey(t);if(!i&&r){e.scrollTo(e.maxScrollX,e.scrollY);return}if(!i){e.scrollByStep("right");return}let n=i.selectionMode;if(n==="row"&&r){e.scrollTo(e.maxScrollX,e.scrollY);return}if(n==="row"){e.scrollByStep("right");return}let l=i.cursorRow;let a=i.cursorColumn;let h=i.currentSelection();let c;let d;let u;let f;let _;let m;let g;if(r&&o){c=h?h.r1:0;d=h?h.r2:0;u=h?h.c1:0;f=Infinity;_=l;m=a;g="current"}else if(o){c=h?h.r1:0;d=h?h.r2:0;u=h?h.c1:0;f=h?h.c2+1:0;_=l;m=a;g="current"}else if(r){c=l;d=l;u=Infinity;f=Infinity;_=c;m=u;g="all"}else{c=l;d=l;u=a+1;f=a+1;_=c;m=u;g="all"}i.select({r1:c,c1:u,r2:d,c2:f,cursorRow:_,cursorColumn:m,clear:g});h=i.currentSelection();if(!h){return}if(o||n==="column"){e.scrollToColumn(h.c2)}else{e.scrollToCursor()}}onArrowUp(e,t){t.preventDefault();t.stopPropagation();let i=e.selectionModel;let o=t.shiftKey;let r=s.Platform.accelKey(t);if(!i&&r){e.scrollTo(e.scrollX,0);return}if(!i){e.scrollByStep("up");return}let n=i.selectionMode;if(n==="column"&&r){e.scrollTo(e.scrollX,0);return}if(n==="column"){e.scrollByStep("up");return}let l=i.cursorRow;let a=i.cursorColumn;let h=i.currentSelection();let c;let d;let u;let f;let _;let m;let g;if(r&&o){c=h?h.r1:0;d=0;u=h?h.c1:0;f=h?h.c2:0;_=l;m=a;g="current"}else if(o){c=h?h.r1:0;d=h?h.r2-1:0;u=h?h.c1:0;f=h?h.c2:0;_=l;m=a;g="current"}else if(r){c=0;d=0;u=a;f=a;_=c;m=u;g="all"}else{c=l-1;d=l-1;u=a;f=a;_=c;m=u;g="all"}i.select({r1:c,c1:u,r2:d,c2:f,cursorRow:_,cursorColumn:m,clear:g});h=i.currentSelection();if(!h){return}if(o||n==="row"){e.scrollToRow(h.r2)}else{e.scrollToCursor()}}onArrowDown(e,t){t.preventDefault();t.stopPropagation();let i=e.selectionModel;let o=t.shiftKey;let r=s.Platform.accelKey(t);if(!i&&r){e.scrollTo(e.scrollX,e.maxScrollY);return}if(!i){e.scrollByStep("down");return}let n=i.selectionMode;if(n==="column"&&r){e.scrollTo(e.scrollX,e.maxScrollY);return}if(n==="column"){e.scrollByStep("down");return}let l=i.cursorRow;let a=i.cursorColumn;let h=i.currentSelection();let c;let d;let u;let f;let _;let m;let g;if(r&&o){c=h?h.r1:0;d=Infinity;u=h?h.c1:0;f=h?h.c2:0;_=l;m=a;g="current"}else if(o){c=h?h.r1:0;d=h?h.r2+1:0;u=h?h.c1:0;f=h?h.c2:0;_=l;m=a;g="current"}else if(r){c=Infinity;d=Infinity;u=a;f=a;_=c;m=u;g="all"}else{c=l+1;d=l+1;u=a;f=a;_=c;m=u;g="all"}i.select({r1:c,c1:u,r2:d,c2:f,cursorRow:_,cursorColumn:m,clear:g});h=i.currentSelection();if(!h){return}if(o||n==="row"){e.scrollToRow(h.r2)}else{e.scrollToCursor()}}onPageUp(e,t){if(s.Platform.accelKey(t)){return}t.preventDefault();t.stopPropagation();let i=e.selectionModel;if(!i||i.selectionMode==="column"){e.scrollByPage("up");return}let o=Math.floor(e.pageHeight/e.defaultSizes.rowHeight);let r=i.cursorRow;let n=i.cursorColumn;let l=i.currentSelection();let a;let h;let c;let d;let u;let f;let _;if(t.shiftKey){a=l?l.r1:0;h=l?l.r2-o:0;c=l?l.c1:0;d=l?l.c2:0;u=r;f=n;_="current"}else{a=l?l.r1-o:0;h=a;c=n;d=n;u=a;f=n;_="all"}i.select({r1:a,c1:c,r2:h,c2:d,cursorRow:u,cursorColumn:f,clear:_});l=i.currentSelection();if(!l){return}e.scrollToRow(l.r2)}onPageDown(e,t){if(s.Platform.accelKey(t)){return}t.preventDefault();t.stopPropagation();let i=e.selectionModel;if(!i||i.selectionMode==="column"){e.scrollByPage("down");return}let o=Math.floor(e.pageHeight/e.defaultSizes.rowHeight);let r=i.cursorRow;let n=i.cursorColumn;let l=i.currentSelection();let a;let h;let c;let d;let u;let f;let _;if(t.shiftKey){a=l?l.r1:0;h=l?l.r2+o:0;c=l?l.c1:0;d=l?l.c2:0;u=r;f=n;_="current"}else{a=l?l.r1+o:0;h=a;c=n;d=n;u=a;f=n;_="all"}i.select({r1:a,c1:c,r2:h,c2:d,cursorRow:u,cursorColumn:f,clear:_});l=i.currentSelection();if(!l){return}e.scrollToRow(l.r2)}onEscape(e,t){if(e.selectionModel){e.selectionModel.clear()}}onDelete(e,t){if(e.editable&&!e.selectionModel.isEmpty){const t=e.dataModel;let i=t.rowCount("body")-1;let s=t.columnCount("body")-1;for(let o of e.selectionModel.selections()){let e=Math.max(0,Math.min(o.r1,i));let r=Math.max(0,Math.min(o.c1,s));let n=Math.max(0,Math.min(o.r2,i));let l=Math.max(0,Math.min(o.c2,s));for(let i=e;i<=n;++i){for(let e=r;e<=l;++e){t.setData("body",i,e,null)}}}}}onKeyC(e,t){if(t.shiftKey||!s.Platform.accelKey(t)){return}t.preventDefault();t.stopPropagation();e.copyToClipboard()}}class w{}(function(e){function t(e,t){return typeof e==="function"?e(t):e}e.resolveOption=t})(w||(w={}));class y extends w{constructor(e={}){super();this.font=e.font||"12px sans-serif";this.textColor=e.textColor||"#000000";this.backgroundColor=e.backgroundColor||"";this.verticalAlignment=e.verticalAlignment||"center";this.horizontalAlignment=e.horizontalAlignment||"left";this.format=e.format||y.formatGeneric();this.elideDirection=e.elideDirection||"none";this.wrapText=e.wrapText||false}paint(e,t){this.drawBackground(e,t);this.drawText(e,t)}drawBackground(e,t){let i=w.resolveOption(this.backgroundColor,t);if(!i){return}e.fillStyle=i;e.fillRect(t.x,t.y,t.width,t.height)}drawText(e,t){let i=w.resolveOption(this.font,t);if(!i){return}let s=w.resolveOption(this.textColor,t);if(!s){return}let o=this.format;let r=o(t);if(!r){return}let n=w.resolveOption(this.verticalAlignment,t);let l=w.resolveOption(this.horizontalAlignment,t);let a=w.resolveOption(this.elideDirection,t);let h=w.resolveOption(this.wrapText,t);let c=t.height-(n==="center"?1:2);if(c<=0){return}let d=y.measureFontHeight(i);let u;let f;let _;switch(n){case"top":f=t.y+2+d;break;case"center":f=t.y+t.height/2+d/2;break;case"bottom":f=t.y+t.height-2;break;default:throw"unreachable"}switch(l){case"left":u=t.x+8;_=t.width-14;break;case"center":u=t.x+t.width/2;_=t.width;break;case"right":u=t.x+t.width-8;_=t.width-14;break;default:throw"unreachable"}if(d>c){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip()}e.font=i;e.fillStyle=s;e.textAlign=l;e.textBaseline="bottom";if(a==="none"&&!h){e.fillText(r,u,f);return}let m=e.measureText(r).width;if(h&&m>_){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip();const i=r.split(/\s(?=\b)/);let s=f;let o=i.shift();if(i.length===0){let t=e.measureText(o).width;while(t>_&&o!==""){for(let i=o.length;i>0;i--){const r=o.substring(0,i);const n=e.measureText(r).width;if(n<_||r.length===1){const n=o.substring(i,o.length);o=n;t=e.measureText(o).width;e.fillText(r,u,s);s+=d;break}}}}else{while(i.length!==0){const t=i.shift();const r=[o,t].join(" ");const n=e.measureText(r).width;if(n>_){e.fillText(o,u,s);s+=d;o=t}else{o=r}}}e.fillText(o,u,s);return}let g="…";if(a==="right"){while(m>_&&r.length>1){if(r.length>4&&m>=2*_){r=r.substring(0,r.length/2+1)+g}else{r=r.substring(0,r.length-2)+g}m=e.measureText(r).width}}else{while(m>_&&r.length>1){if(r.length>4&&m>=2*_){r=g+r.substring(r.length/2)}else{r=g+r.substring(2)}m=e.measureText(r).width}}e.fillText(r,u,f)}}(function(e){function t(e={}){let t=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return t}return String(e)}}e.formatGeneric=t;function i(e={}){let t=e.digits;let i=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return i}return Number(e).toFixed(t)}}e.formatFixed=i;function s(e={}){let t=e.digits;let i=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return i}return Number(e).toPrecision(t)}}e.formatPrecision=s;function o(e={}){let t=e.digits;let i=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return i}return Number(e).toExponential(t)}}e.formatExponential=o;function r(e={}){let t=e.missing||"";let i=new Intl.NumberFormat(e.locales,e.options);return({value:e})=>{if(e===null||e===undefined){return t}return i.format(e)}}e.formatIntlNumber=r;function n(e={}){let t=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return t}if(e instanceof Date){return e.toDateString()}return new Date(e).toDateString()}}e.formatDate=n;function l(e={}){let t=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return t}if(e instanceof Date){return e.toTimeString()}return new Date(e).toTimeString()}}e.formatTime=l;function a(e={}){let t=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return t}if(e instanceof Date){return e.toISOString()}return new Date(e).toISOString()}}e.formatISODateTime=a;function h(e={}){let t=e.missing||"";return({value:e})=>{if(e===null||e===undefined){return t}if(e instanceof Date){return e.toUTCString()}return new Date(e).toUTCString()}}e.formatUTCDateTime=h;function c(e={}){let t=e.missing||"";let i=new Intl.DateTimeFormat(e.locales,e.options);return({value:e})=>{if(e===null||e===undefined){return t}return i.format(e)}}e.formatIntlDateTime=c;function d(e){let t=x.fontHeightCache[e];if(t!==undefined){return t}x.fontMeasurementGC.font=e;let i=x.fontMeasurementGC.font;x.fontMeasurementNode.style.font=i;document.body.appendChild(x.fontMeasurementNode);t=x.fontMeasurementNode.offsetHeight;document.body.removeChild(x.fontMeasurementNode);x.fontHeightCache[e]=t;x.fontHeightCache[i]=t;return t}e.measureFontHeight=d})(y||(y={}));var x;(function(e){e.fontHeightCache=Object.create(null);e.fontMeasurementNode=(()=>{let e=document.createElement("div");e.style.position="absolute";e.style.top="-99999px";e.style.left="-99999px";e.style.visibility="hidden";e.textContent="M";return e})();e.fontMeasurementGC=(()=>{let e=document.createElement("canvas");e.width=0;e.height=0;return e.getContext("2d")})()})(x||(x={}));class v extends y{constructor(e={}){e.textColor=e.textColor||"navy";e.font=e.font||"bold 12px sans-serif";super(e);this.url=e.url;this.urlName=e.urlName}drawText(e,t){let i=w.resolveOption(this.font,t);if(!i){return}let s=w.resolveOption(this.urlName,t);let o=w.resolveOption(this.textColor,t);if(!o){return}const r=this.format;let n;if(s){n=r({...t,value:s})}else{n=r(t)}if(!n){return}let l=w.resolveOption(this.verticalAlignment,t);let a=w.resolveOption(this.horizontalAlignment,t);let h=w.resolveOption(this.elideDirection,t);let c=w.resolveOption(this.wrapText,t);let d=t.height-(l==="center"?1:2);if(d<=0){return}let u=v.measureFontHeight(i);let f;let _;let m;switch(l){case"top":_=t.y+2+u;break;case"center":_=t.y+t.height/2+u/2;break;case"bottom":_=t.y+t.height-2;break;default:throw"unreachable"}switch(a){case"left":f=t.x+8;m=t.width-14;break;case"center":f=t.x+t.width/2;m=t.width;break;case"right":f=t.x+t.width-8;m=t.width-14;break;default:throw"unreachable"}if(u>d){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip()}e.font=i;e.fillStyle=o;e.textAlign=a;e.textBaseline="bottom";if(h==="none"&&!c){e.fillText(n,f,_);return}let g=e.measureText(n).width;if(c&&g>m){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip();const i=n.split(/\s(?=\b)/);let s=_;let o=i.shift();if(i.length===0){let t=e.measureText(o).width;while(t>m&&o!==""){for(let i=o.length;i>0;i--){const r=o.substring(0,i);const n=e.measureText(r).width;if(n<m||r.length===1){const n=o.substring(i,o.length);o=n;t=e.measureText(o).width;e.fillText(r,f,s);s+=u;break}}}}else{while(i.length!==0){const t=i.shift();const r=[o,t].join(" ");const n=e.measureText(r).width;if(n>m){e.fillText(o,f,s);s+=u;o=t}else{o=r}}}e.fillText(o,f,s);return}let p="…";if(h==="right"){while(g>m&&n.length>1){if(n.length>4&&g>=2*m){n=n.substring(0,n.length/2+1)+p}else{n=n.substring(0,n.length-2)+p}g=e.measureText(n).width}}else{while(g>m&&n.length>1){if(n.length>4&&g>=2*m){n=p+n.substring(n.length/2)}else{n=p+n.substring(2)}g=e.measureText(n).width}}e.fillText(n,f,_)}}var M;(function(e){function t(e,t,i){if(i==="row"){return e.r1>=t.r1&&e.r1<=t.r2||e.r2>=t.r1&&e.r2<=t.r2||t.r1>=e.r1&&t.r1<=e.r2||t.r2>=e.r1&&t.r2<=e.r2}return e.c1>=t.c1&&e.c1<=t.c2||e.c2>=t.c1&&e.c2<=t.c2||t.c1>=e.c1&&t.c1<=e.c2||t.c2>=e.c1&&t.c2<=e.c2}e.areCellGroupsIntersectingAtAxis=t;function i(e,t){return(e.r1>=t.r1&&e.r1<=t.r2||e.r2>=t.r1&&e.r2<=t.r2||t.r1>=e.r1&&t.r1<=e.r2||t.r2>=e.r1&&t.r2<=e.r2)&&(e.c1>=t.c1&&e.c1<=t.c2||e.c2>=t.c1&&e.c2<=t.c2||t.c1>=e.c1&&t.c1<=e.c2||t.c2>=e.c1&&t.c2<=e.c2)}e.areCellGroupsIntersecting=i;function s(e,t,i,s){const o=e.groupCount(t);for(let r=0;r<o;r++){const o=e.group(t,r);if(i>=o.r1&&i<=o.r2&&s>=o.c1&&s<=o.c2){return r}}return-1}e.getGroupIndex=s;function o(e,t,i,o){const r=s(e,t,i,o);if(r===-1){return null}return e.group(t,r)}e.getGroup=o;function r(e,t){let i=[];const s=e.groupCount(t);for(let o=0;o<s;o++){const s=e.group(t,o);i.push(s)}return i}e.getCellGroupsAtRegion=r;function n(e){let t=Number.MAX_VALUE;let i=Number.MIN_VALUE;let s=Number.MAX_VALUE;let o=Number.MIN_VALUE;for(const r of e){t=Math.min(t,r.r1);i=Math.max(i,r.r2);s=Math.min(s,r.c1);o=Math.max(o,r.c2)}return{r1:t,r2:i,c1:s,c2:o}}e.joinCellGroups=n;function l(e,t,s){let o={...t};const l=r(e,s);for(let r=0;r<l.length;r++){const e=l[r];if(i(o,e)){o=n([o,e])}}return o}e.joinCellGroupWithMergedCellGroups=l;function a(e,t,i){let s=[];const o=e.groupCount(t);for(let r=0;r<o;r++){const o=e.group(t,r);if(i>=o.r1&&i<=o.r2){s.push(o)}}return s}e.getCellGroupsAtRow=a;function h(e,t,i){let s=[];const o=e.groupCount(t);for(let r=0;r<o;r++){const o=e.group(t,r);if(i>=o.c1&&i<=o.c2){s.push(o)}}return s}e.getCellGroupsAtColumn=h;function c(t,i,s,o){let r=[];if(s==="row"){for(const s of i){for(let i=o.r1;i<=o.r2;i++){r=r.concat(e.getCellGroupsAtRow(t,s,i))}}}else{for(const s of i){for(let i=o.c1;i<=o.c2;i++){r=r.concat(e.getCellGroupsAtColumn(t,s,i))}}}let n=e.joinCellGroups(r);if(r.length>0){let o=[];for(const s of i){o=o.concat(e.getCellGroupsAtRegion(t,s))}for(let t=0;t<o.length;t++){const i=o[t];if(e.areCellGroupsIntersectingAtAxis(n,i,s)){n=e.joinCellGroups([i,n]);o.splice(t,1);t=0}}}return n}e.joinCellGroupsIntersectingAtAxis=c})(M||(M={}));class C{constructor(){this._disposed=false;this._pressData=null}dispose(){if(this._disposed){return}this.release();this._disposed=true}get isDisposed(){return this._disposed}release(){if(!this._pressData){return}if(this._pressData.type==="select"){this._pressData.timeout=-1}this._pressData.override.dispose();this._pressData=null}onMouseHover(e,t){let i=e.hitTest(t.clientX,t.clientY);let s=S.resizeHandleForHitTest(i);let o=this.cursorForHandle(s);const r=S.createCellConfigObject(e,i);if(r){const t=e.cellRenderers.get(r);if(t instanceof v){o=this.cursorForHandle("hyperlink")}}e.viewport.node.style.cursor=o}onMouseLeave(e,t){e.viewport.node.style.cursor=""}onMouseDown(e,t){let{clientX:i,clientY:o}=t;let r=e.hitTest(i,o);const{region:n,row:a,column:h}=r;if(n==="void"){return}let c=t.shiftKey;let d=s.Platform.accelKey(t);if(e){const t=S.createCellConfigObject(e,r);let i=e.cellRenderers.get(t);if(i instanceof v){let s=w.resolveOption(i.url,t);if(!s){const e=y.formatGeneric();s=e(t)}if(d){window.open(s);const t=this.cursorForHandle("none");e.viewport.node.style.cursor=t;return}}}if(n==="body"){let t=e.selectionModel;if(!t){return}let i=l.Drag.overrideCursor("default");this._pressData={type:"select",region:n,row:a,column:h,override:i,localX:-1,localY:-1,timeout:-1};let s;let o;let r;let u;let f;let _;let m;if(d){s=a;r=a;o=h;u=h;f=a;_=h;m="none"}else if(c){s=t.cursorRow;r=a;o=t.cursorColumn;u=h;f=t.cursorRow;_=t.cursorColumn;m="current"}else{s=a;r=a;o=h;u=h;f=a;_=h;m="all"}t.select({r1:s,c1:o,r2:r,c2:u,cursorRow:f,cursorColumn:_,clear:m});return}let u=S.resizeHandleForHitTest(r);let f=this.cursorForHandle(u);if(u==="left"||u==="right"){const t="column-resize";let s=n==="column-header"?"body":"row-header";let o=u==="left"?h-1:h;let r=e.columnSize(s,o);let a=l.Drag.overrideCursor(f);this._pressData={type:t,region:s,index:o,size:r,clientX:i,override:a};return}if(u==="top"||u==="bottom"){const t="row-resize";let i=n==="row-header"?"body":"column-header";let s=u==="top"?a-1:a;let r=e.rowSize(i,s);let h=l.Drag.overrideCursor(f);this._pressData={type:t,region:i,index:s,size:r,clientY:o,override:h};return}let _=e.selectionModel;if(!_){return}let m=l.Drag.overrideCursor("default");this._pressData={type:"select",region:n,row:a,column:h,override:m,localX:-1,localY:-1,timeout:-1};let g;let p;let x;let C;let b;let H;let R;if(n==="corner-header"){g=0;x=Infinity;p=0;C=Infinity;b=d?0:c?_.cursorRow:0;H=d?0:c?_.cursorColumn:0;R=d?"none":c?"current":"all"}else if(n==="row-header"){g=d?a:c?_.cursorRow:a;x=a;const t={r1:g,c1:0,r2:x,c2:0};const i=M.joinCellGroupsIntersectingAtAxis(e.dataModel,["row-header","body"],"row",t);if(i.r1!=Number.MAX_VALUE){g=i.r1;x=i.r2}p=0;C=Infinity;b=d?a:c?_.cursorRow:a;H=d?0:c?_.cursorColumn:0;R=d?"none":c?"current":"all"}else if(n==="column-header"){g=0;x=Infinity;p=d?h:c?_.cursorColumn:h;C=h;const t={r1:0,c1:p,r2:0,c2:C};const i=M.joinCellGroupsIntersectingAtAxis(e.dataModel,["column-header","body"],"column",t);if(i.c1!=Number.MAX_VALUE){p=i.c1;C=i.c2}b=d?0:c?_.cursorRow:0;H=d?h:c?_.cursorColumn:h;R=d?"none":c?"current":"all"}else{g=d?a:c?_.cursorRow:a;x=a;p=d?h:c?_.cursorColumn:h;C=h;b=d?a:c?_.cursorRow:a;H=d?h:c?_.cursorColumn:h;R=d?"none":c?"current":"all"}_.select({r1:g,c1:p,r2:x,c2:C,cursorRow:b,cursorColumn:H,clear:R})}onMouseMove(e,t){const i=this._pressData;if(!i){return}if(i.type==="row-resize"){let s=t.clientY-i.clientY;e.resizeRow(i.region,i.index,i.size+s);return}if(i.type==="column-resize"){let s=t.clientX-i.clientX;e.resizeColumn(i.region,i.index,i.size+s);return}if(i.region==="corner-header"){return}let s=e.selectionModel;if(!s){return}let{lx:o,ly:r}=e.mapToLocal(t.clientX,t.clientY);i.localX=o;i.localY=r;let n=e.headerWidth;let l=e.headerHeight;let a=e.viewportWidth;let h=e.viewportHeight;let c=e.scrollX;let d=e.scrollY;let u=e.maxScrollY;let f=e.maxScrollY;let _=s.selectionMode;let m=-1;if(i.region==="row-header"||_==="row"){if(r<l&&d>0){m=S.computeTimeout(l-r)}else if(r>=h&&d<f){m=S.computeTimeout(r-h)}}else if(i.region==="column-header"||_==="column"){if(o<n&&c>0){m=S.computeTimeout(n-o)}else if(o>=a&&c<u){m=S.computeTimeout(o-a)}}else{if(o<n&&c>0){m=S.computeTimeout(n-o)}else if(o>=a&&c<u){m=S.computeTimeout(o-a)}else if(r<l&&d>0){m=S.computeTimeout(l-r)}else if(r>=h&&d<f){m=S.computeTimeout(r-h)}}if(m>=0){if(i.timeout<0){i.timeout=m;setTimeout((()=>{S.autoselect(e,i)}),m)}else{i.timeout=m}return}i.timeout=-1;let{vx:g,vy:p}=e.mapToVirtual(t.clientX,t.clientY);g=Math.max(0,Math.min(g,e.bodyWidth-1));p=Math.max(0,Math.min(p,e.bodyHeight-1));let w;let y;let x;let v;let C=s.cursorRow;let b=s.cursorColumn;let H="current";if(i.region==="row-header"||_==="row"){w=i.row;x=e.rowAt("body",p);const t={r1:w,c1:0,r2:x,c2:0};const s=M.joinCellGroupsIntersectingAtAxis(e.dataModel,["row-header","body"],"row",t);if(s.r1!=Number.MAX_VALUE){w=Math.min(w,s.r1);x=Math.max(x,s.r2)}y=0;v=Infinity}else if(i.region==="column-header"||_==="column"){w=0;x=Infinity;y=i.column;v=e.columnAt("body",g);const t={r1:0,c1:y,r2:0,c2:v};const s=M.joinCellGroupsIntersectingAtAxis(e.dataModel,["column-header","body"],"column",t);if(s.c1!=Number.MAX_VALUE){y=s.c1;v=s.c2}}else{w=C;x=e.rowAt("body",p);y=b;v=e.columnAt("body",g)}s.select({r1:w,c1:y,r2:x,c2:v,cursorRow:C,cursorColumn:b,clear:H})}onMouseUp(e,t){this.release()}onMouseDoubleClick(e,t){if(!e.dataModel){this.release();return}let{clientX:i,clientY:s}=t;let o=e.hitTest(i,s);let{region:r,row:n,column:l}=o;if(r==="void"){this.release();return}if(r==="body"){if(e.editable){const t={grid:e,row:n,column:l};e.editorController.edit(t)}}this.release()}onContextMenu(e,t){}onWheel(e,t){if(this._pressData){return}let i=t.deltaX;let s=t.deltaY;switch(t.deltaMode){case 0:break;case 1:{let t=e.defaultSizes;i*=t.columnWidth;s*=t.rowHeight;break}case 2:i*=e.pageWidth;s*=e.pageHeight;break;default:throw"unreachable"}if(i<0&&e.scrollX!==0||i>0&&e.scrollX!==e.maxScrollX||s<0&&e.scrollY!==0||s>0&&e.scrollY!==e.maxScrollY){t.preventDefault();t.stopPropagation();e.scrollBy(i,s)}}cursorForHandle(e){return S.cursorMap[e]}get pressData(){return this._pressData}}var S;(function(e){function t(e,t){const{region:i,row:s,column:o}=t;if(i==="void"){return undefined}const r=e.dataModel.data(i,s,o);const n=e.dataModel.metadata(i,s,o);const l={...t,value:r,metadata:n};return l}e.createCellConfigObject=t;function i(e){let t=e.row;let i=e.column;let s=e.x;let o=e.y;let r=e.width-e.x;let n=e.height-e.y;let l;switch(e.region){case"corner-header":if(i>0&&s<=5){l="left"}else if(r<=6){l="right"}else if(t>0&&o<=5){l="top"}else if(n<=6){l="bottom"}else{l="none"}break;case"column-header":if(i>0&&s<=5){l="left"}else if(r<=6){l="right"}else if(t>0&&o<=5){l="top"}else if(n<=6){l="bottom"}else{l="none"}break;case"row-header":if(i>0&&s<=5){l="left"}else if(r<=6){l="right"}else if(t>0&&o<=5){l="top"}else if(n<=6){l="bottom"}else{l="none"}break;case"body":l="none";break;case"void":l="none";break;default:throw"unreachable"}return l}e.resizeHandleForHitTest=i;function s(e,t){if(t.timeout<0){return}let i=e.selectionModel;if(!i){return}let o=i.currentSelection();if(!o){return}let r=t.localX;let n=t.localY;let l=o.r1;let a=o.c1;let h=o.r2;let c=o.c2;let d=i.cursorRow;let u=i.cursorColumn;let f="current";let _=e.headerWidth;let m=e.headerHeight;let g=e.viewportWidth;let p=e.viewportHeight;let w=i.selectionMode;if(t.region==="row-header"||w==="row"){h+=n<=m?-1:n>=p?1:0}else if(t.region==="column-header"||w==="column"){c+=r<=_?-1:r>=g?1:0}else{h+=n<=m?-1:n>=p?1:0;c+=r<=_?-1:r>=g?1:0}i.select({r1:l,c1:a,r2:h,c2:c,cursorRow:d,cursorColumn:u,clear:f});o=i.currentSelection();if(!o){return}if(t.region==="row-header"||w==="row"){e.scrollToRow(o.r2)}else if(t.region==="column-header"||w=="column"){e.scrollToColumn(o.c2)}else if(w==="cell"){e.scrollToCell(o.r2,o.c2)}setTimeout((()=>{s(e,t)}),t.timeout)}e.autoselect=s;function o(e){return 5+120*(1-Math.min(128,Math.abs(e))/128)}e.computeTimeout=o;e.cursorMap={top:"ns-resize",left:"ew-resize",right:"ew-resize",bottom:"ns-resize",hyperlink:"pointer",none:"default"}})(S||(S={}));class b{constructor(e){this._changed=new d.Signal(this);this._selectionMode="cell";this.dataModel=e.dataModel;this._selectionMode=e.selectionMode||"cell";this.dataModel.changed.connect(this.onDataModelChanged,this)}get changed(){return this._changed}get selectionMode(){return this._selectionMode}set selectionMode(e){if(this._selectionMode===e){return}this._selectionMode=e;this.clear()}isRowSelected(e){return(0,h.some)(this.selections(),(t=>H.containsRow(t,e)))}isColumnSelected(e){return(0,h.some)(this.selections(),(t=>H.containsColumn(t,e)))}isCellSelected(e,t){return(0,h.some)(this.selections(),(i=>H.containsCell(i,e,t)))}onDataModelChanged(e,t){}emitChanged(){this._changed.emit(undefined)}}var H;(function(e){function t(e,t){let{r1:i,r2:s}=e;return t>=i&&t<=s||t>=s&&t<=i}e.containsRow=t;function i(e,t){let{c1:i,c2:s}=e;return t>=i&&t<=s||t>=s&&t<=i}e.containsColumn=i;function s(e,s,o){return t(e,s)&&i(e,o)}e.containsCell=s})(H||(H={}));class R extends b{constructor(){super(...arguments);this._cursorRow=-1;this._cursorColumn=-1;this._cursorRectIndex=-1;this._selections=[]}get isEmpty(){return this._selections.length===0}get cursorRow(){return this._cursorRow}get cursorColumn(){return this._cursorColumn}moveCursorWithinSelections(e){if(this.isEmpty||this.cursorRow===-1||this._cursorColumn===-1){return}const t=this._selections[0];if(this._selections.length===1&&t.r1===t.r2&&t.c1===t.c2){return}if(this._cursorRectIndex===-1){this._cursorRectIndex=this._selections.length-1}let i=this._selections[this._cursorRectIndex];const s=e==="down"?1:e==="up"?-1:0;const o=e==="right"?1:e==="left"?-1:0;let r=this._cursorRow+s;let n=this._cursorColumn+o;const l=Math.min(i.r1,i.r2);const a=Math.max(i.r1,i.r2);const h=Math.min(i.c1,i.c2);const c=Math.max(i.c1,i.c2);const d=()=>{this._cursorRectIndex=(this._cursorRectIndex+1)%this._selections.length;i=this._selections[this._cursorRectIndex];r=Math.min(i.r1,i.r2);n=Math.min(i.c1,i.c2)};const u=()=>{this._cursorRectIndex=this._cursorRectIndex===0?this._selections.length-1:this._cursorRectIndex-1;i=this._selections[this._cursorRectIndex];r=Math.max(i.r1,i.r2);n=Math.max(i.c1,i.c2)};if(r>a){r=l;n+=1;if(n>c){d()}}else if(r<l){r=a;n-=1;if(n<h){u()}}else if(n>c){n=h;r+=1;if(r>a){d()}}else if(n<h){n=c;r-=1;if(r<l){u()}}this._cursorRow=r;this._cursorColumn=n;this.emitChanged()}currentSelection(){return this._selections[this._selections.length-1]||null}*selections(){yield*this._selections}select(e){let t=this.dataModel.rowCount("body");let i=this.dataModel.columnCount("body");if(t<=0||i<=0){return}let{r1:s,c1:o,r2:r,c2:n,cursorRow:l,cursorColumn:a,clear:h}=e;if(h==="all"){this._selections.length=0}else if(h==="current"){this._selections.pop()}s=Math.max(0,Math.min(s,t-1));r=Math.max(0,Math.min(r,t-1));o=Math.max(0,Math.min(o,i-1));n=Math.max(0,Math.min(n,i-1));let c=false;if(this.selectionMode==="row"){o=0;n=i-1;c=this._selections.filter((e=>e.r1===s)).length!==0;this._selections=c?this._selections.filter((e=>e.r1!==s)):this._selections}else if(this.selectionMode==="column"){s=0;r=t-1;c=this._selections.filter((e=>e.c1===o)).length!==0;this._selections=c?this._selections.filter((e=>e.c1!==o)):this._selections}let d=l;let u=a;if(d<0||d<s&&d<r||d>s&&d>r){d=s}if(u<0||u<o&&u<n||u>o&&u>n){u=o}this._cursorRow=d;this._cursorColumn=u;this._cursorRectIndex=this._selections.length;if(!c){this._selections.push({r1:s,c1:o,r2:r,c2:n})}this.emitChanged()}clear(){if(this._selections.length===0){return}this._cursorRow=-1;this._cursorColumn=-1;this._cursorRectIndex=-1;this._selections.length=0;this.emitChanged()}onDataModelChanged(e,t){if(this._selections.length===0){return}if(t.type==="cells-changed"){return}if(t.type==="rows-moved"||t.type==="columns-moved"){return}let i=e.rowCount("body")-1;let s=e.columnCount("body")-1;if(i<0||s<0){this._selections.length=0;this.emitChanged();return}let o=this.selectionMode;let r=0;for(let n=0,l=this._selections.length;n<l;++n){let{r1:e,c1:t,r2:l,c2:a}=this._selections[n];if(i<e&&i<l||s<t&&s<a){continue}if(o==="row"){e=Math.max(0,Math.min(e,i));l=Math.max(0,Math.min(l,i));t=0;a=s}else if(o==="column"){e=0;l=i;t=Math.max(0,Math.min(t,s));a=Math.max(0,Math.min(a,s))}else{e=Math.max(0,Math.min(e,i));l=Math.max(0,Math.min(l,i));t=Math.max(0,Math.min(t,s));a=Math.max(0,Math.min(a,s))}this._selections[r++]={r1:e,c1:t,r2:l,c2:a}}this._selections.length=r;this.emitChanged()}}const z="Invalid input!";class O{validate(e,t){return{valid:true}}}class k{constructor(){this.minLength=Number.NaN;this.maxLength=Number.NaN;this.pattern=null}validate(e,t){if(t===null){return{valid:true}}if(typeof t!=="string"){return{valid:false,message:"Input must be valid text"}}if(!isNaN(this.minLength)&&t.length<this.minLength){return{valid:false,message:`Text length must be greater than ${this.minLength}`}}if(!isNaN(this.maxLength)&&t.length>this.maxLength){return{valid:false,message:`Text length must be less than ${this.maxLength}`}}if(this.pattern&&!this.pattern.test(t)){return{valid:false,message:`Text doesn't match the required pattern`}}return{valid:true}}}class E{constructor(){this.min=Number.NaN;this.max=Number.NaN}validate(e,t){if(t===null){return{valid:true}}if(isNaN(t)||t%1!==0){return{valid:false,message:"Input must be valid integer"}}if(!isNaN(this.min)&&t<this.min){return{valid:false,message:`Input must be greater than ${this.min}`}}if(!isNaN(this.max)&&t>this.max){return{valid:false,message:`Input must be less than ${this.max}`}}return{valid:true}}}class L{constructor(){this.min=Number.NaN;this.max=Number.NaN}validate(e,t){if(t===null){return{valid:true}}if(isNaN(t)){return{valid:false,message:"Input must be valid number"}}if(!isNaN(this.min)&&t<this.min){return{valid:false,message:`Input must be greater than ${this.min}`}}if(!isNaN(this.max)&&t>this.max){return{valid:false,message:`Input must be less than ${this.max}`}}return{valid:true}}}class W{constructor(){this.inputChanged=new d.Signal(this);this.validityNotification=null;this._disposed=false;this._validInput=true;this._gridWheelEventHandler=null;this.inputChanged.connect((()=>{this.validate()}))}get isDisposed(){return this._disposed}dispose(){if(this._disposed){return}if(this._gridWheelEventHandler){this.cell.grid.node.removeEventListener("wheel",this._gridWheelEventHandler);this._gridWheelEventHandler=null}this._closeValidityNotification();this._disposed=true;this.cell.grid.node.removeChild(this.viewportOccluder)}edit(e,t){this.cell=e;this.onCommit=t&&t.onCommit;this.onCancel=t&&t.onCancel;this.validator=t&&t.validator?t.validator:this.createValidatorBasedOnType();this._gridWheelEventHandler=()=>{this._closeValidityNotification();this.updatePosition()};e.grid.node.addEventListener("wheel",this._gridWheelEventHandler);this._addContainer();this.updatePosition();this.startEditing()}cancel(){if(this._disposed){return}this.dispose();if(this.onCancel){this.onCancel()}}get validInput(){return this._validInput}validate(){let e;try{e=this.getInput()}catch(t){console.log(`Input error: ${t.message}`);this.setValidity(false,t.message||z);return}if(this.validator){const t=this.validator.validate(this.cell,e);if(t.valid){this.setValidity(true)}else{this.setValidity(false,t.message||z)}}else{this.setValidity(true)}}setValidity(e,t=""){this._validInput=e;this._closeValidityNotification();if(e){this.editorContainer.classList.remove("lm-mod-invalid")}else{this.editorContainer.classList.add("lm-mod-invalid");if(t!==""){this.validityNotification=new W.Notification({target:this.editorContainer,message:t,placement:"bottom",timeout:5e3});this.validityNotification.show()}}}createValidatorBasedOnType(){const e=this.cell;const t=e.grid.dataModel.metadata("body",e.row,e.column);switch(t&&t.type){case"string":{const e=new k;if(typeof t.format==="string"){const i=t.format;switch(i){case"email":e.pattern=new RegExp("^([a-z0-9_.-]+)@([da-z.-]+).([a-z.]{2,6})$");break;case"uuid":e.pattern=new RegExp("[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}");break}}if(t.constraint){if(t.constraint.minLength!==undefined){e.minLength=t.constraint.minLength}if(t.constraint.maxLength!==undefined){e.maxLength=t.constraint.maxLength}if(typeof t.constraint.pattern==="string"){e.pattern=new RegExp(t.constraint.pattern)}}return e}case"number":{const e=new L;if(t.constraint){if(t.constraint.minimum!==undefined){e.min=t.constraint.minimum}if(t.constraint.maximum!==undefined){e.max=t.constraint.maximum}}return e}case"integer":{const e=new E;if(t.constraint){if(t.constraint.minimum!==undefined){e.min=t.constraint.minimum}if(t.constraint.maximum!==undefined){e.max=t.constraint.maximum}}return e}}return undefined}getCellInfo(e){const{grid:t,row:i,column:s}=e;let o,r,n,l,a;const h=M.getGroup(t.dataModel,"body",i,s);if(h){r=t.headerWidth-t.scrollX+t.columnOffset("body",h.c1);n=t.headerHeight-t.scrollY+t.rowOffset("body",h.r1);l=0;a=0;for(let e=h.r1;e<=h.r2;e++){a+=t.rowSize("body",e)}for(let e=h.c1;e<=h.c2;e++){l+=t.columnSize("body",e)}o=t.dataModel.data("body",h.r1,h.c1)}else{r=t.headerWidth-t.scrollX+t.columnOffset("body",s);n=t.headerHeight-t.scrollY+t.rowOffset("body",i);l=t.columnSize("body",s);a=t.rowSize("body",i);o=t.dataModel.data("body",i,s)}return{grid:t,row:i,column:s,data:o,x:r,y:n,width:l,height:a}}updatePosition(){const e=this.cell.grid;const t=this.getCellInfo(this.cell);const i=e.headerHeight;const s=e.headerWidth;this.viewportOccluder.style.top=i+"px";this.viewportOccluder.style.left=s+"px";this.viewportOccluder.style.width=e.viewportWidth-s+"px";this.viewportOccluder.style.height=e.viewportHeight-i+"px";this.viewportOccluder.style.position="absolute";this.editorContainer.style.left=t.x-1-s+"px";this.editorContainer.style.top=t.y-1-i+"px";this.editorContainer.style.width=t.width+1+"px";this.editorContainer.style.height=t.height+1+"px";this.editorContainer.style.visibility="visible";this.editorContainer.style.position="absolute"}commit(e="none"){this.validate();if(!this._validInput){return false}let t;try{t=this.getInput()}catch(i){console.log(`Input error: ${i.message}`);return false}this.dispose();if(this.onCommit){this.onCommit({cell:this.cell,value:t,cursorMovement:e})}return true}_addContainer(){this.viewportOccluder=document.createElement("div");this.viewportOccluder.className="lm-DataGrid-cellEditorOccluder";this.cell.grid.node.appendChild(this.viewportOccluder);this.editorContainer=document.createElement("div");this.editorContainer.className="lm-DataGrid-cellEditorContainer";this.viewportOccluder.appendChild(this.editorContainer);this.editorContainer.addEventListener("mouseleave",(e=>{this.viewportOccluder.style.pointerEvents=this._validInput?"none":"auto"}));this.editorContainer.addEventListener("mouseenter",(e=>{this.viewportOccluder.style.pointerEvents="none"}))}_closeValidityNotification(){if(this.validityNotification){this.validityNotification.close();this.validityNotification=null}}}class B extends W{handleEvent(e){switch(e.type){case"keydown":this._onKeyDown(e);break;case"blur":this._onBlur(e);break;case"input":this._onInput(e);break}}dispose(){if(this.isDisposed){return}this._unbindEvents();super.dispose()}startEditing(){this.createWidget();const e=this.cell;const t=this.getCellInfo(e);this.input.value=this.deserialize(t.data);this.editorContainer.appendChild(this.input);this.input.focus();this.input.select();this.bindEvents()}deserialize(e){if(e===null||e===undefined){return""}return e.toString()}createWidget(){const e=document.createElement("input");e.classList.add("lm-DataGrid-cellEditorWidget");e.classList.add("lm-DataGrid-cellEditorInput");e.spellcheck=false;e.type=this.inputType;this.input=e}bindEvents(){this.input.addEventListener("keydown",this);this.input.addEventListener("blur",this);this.input.addEventListener("input",this)}_unbindEvents(){this.input.removeEventListener("keydown",this);this.input.removeEventListener("blur",this);this.input.removeEventListener("input",this)}_onKeyDown(e){switch((0,r.getKeyboardLayout)().keyForKeydownEvent(e)){case"Enter":this.commit(e.shiftKey?"up":"down");break;case"Tab":this.commit(e.shiftKey?"left":"right");e.stopPropagation();e.preventDefault();break;case"Escape":this.cancel();break}}_onBlur(e){if(this.isDisposed){return}if(!this.commit()){e.preventDefault();e.stopPropagation();this.input.focus()}}_onInput(e){this.inputChanged.emit(void 0)}}class D extends B{constructor(){super(...arguments);this.inputType="text"}getInput(){return this.input.value}}class T extends B{constructor(){super(...arguments);this.inputType="number"}startEditing(){super.startEditing();this.input.step="any";const e=this.cell;const t=e.grid.dataModel.metadata("body",e.row,e.column);const i=t.constraint;if(i){if(i.minimum){this.input.min=i.minimum}if(i.maximum){this.input.max=i.maximum}}}getInput(){let e=this.input.value;if(e.trim()===""){return null}const t=parseFloat(e);if(isNaN(t)){throw new Error("Invalid input")}return t}}class G extends B{constructor(){super(...arguments);this.inputType="number"}startEditing(){super.startEditing();this.input.step="1";const e=this.cell;const t=e.grid.dataModel.metadata("body",e.row,e.column);const i=t.constraint;if(i){if(i.minimum){this.input.min=i.minimum}if(i.maximum){this.input.max=i.maximum}}}getInput(){let e=this.input.value;if(e.trim()===""){return null}let t=parseInt(e);if(isNaN(t)){throw new Error("Invalid input")}return t}}class A extends W{handleEvent(e){switch(e.type){case"keydown":this._onKeyDown(e);break;case"blur":this._onBlur(e);break}}dispose(){if(this.isDisposed){return}this._unbindEvents();super.dispose()}startEditing(){this._createWidget();const e=this.cell;const t=this.getCellInfo(e);this._input.value=this._deserialize(t.data);this.editorContainer.appendChild(this._input);this._input.focus();this._bindEvents()}getInput(){return this._input.value}_deserialize(e){if(e===null||e===undefined){return""}return e.toString()}_createWidget(){const e=document.createElement("input");e.type="date";e.pattern="d{4}-d{2}-d{2}";e.classList.add("lm-DataGrid-cellEditorWidget");e.classList.add("lm-DataGrid-cellEditorInput");this._input=e}_bindEvents(){this._input.addEventListener("keydown",this);this._input.addEventListener("blur",this)}_unbindEvents(){this._input.removeEventListener("keydown",this);this._input.removeEventListener("blur",this)}_onKeyDown(e){switch((0,r.getKeyboardLayout)().keyForKeydownEvent(e)){case"Enter":this.commit(e.shiftKey?"up":"down");break;case"Tab":this.commit(e.shiftKey?"left":"right");e.stopPropagation();e.preventDefault();break;case"Escape":this.cancel();break}}_onBlur(e){if(this.isDisposed){return}if(!this.commit()){e.preventDefault();e.stopPropagation();this._input.focus()}}}class I extends W{handleEvent(e){switch(e.type){case"keydown":this._onKeyDown(e);break;case"mousedown":this._input.focus();e.stopPropagation();e.preventDefault();break;case"blur":this._onBlur(e);break}}dispose(){if(this.isDisposed){return}this._unbindEvents();super.dispose()}startEditing(){this._createWidget();const e=this.cell;const t=this.getCellInfo(e);this._input.checked=this._deserialize(t.data);this.editorContainer.appendChild(this._input);this._input.focus();this._bindEvents()}getInput(){return this._input.checked}_deserialize(e){if(e===null||e===undefined){return false}return e==true}_createWidget(){const e=document.createElement("input");e.classList.add("lm-DataGrid-cellEditorWidget");e.classList.add("lm-DataGrid-cellEditorCheckbox");e.type="checkbox";e.spellcheck=false;this._input=e}_bindEvents(){this._input.addEventListener("keydown",this);this._input.addEventListener("mousedown",this);this._input.addEventListener("blur",this)}_unbindEvents(){this._input.removeEventListener("keydown",this);this._input.removeEventListener("mousedown",this);this._input.removeEventListener("blur",this)}_onKeyDown(e){switch((0,r.getKeyboardLayout)().keyForKeydownEvent(e)){case"Enter":this.commit(e.shiftKey?"up":"down");break;case"Tab":this.commit(e.shiftKey?"left":"right");e.stopPropagation();e.preventDefault();break;case"Escape":this.cancel();break}}_onBlur(e){if(this.isDisposed){return}if(!this.commit()){e.preventDefault();e.stopPropagation();this._input.focus()}}}class P extends W{constructor(){super(...arguments);this._isMultiSelect=false}dispose(){if(this.isDisposed){return}super.dispose();if(this._isMultiSelect){document.body.removeChild(this._select)}}startEditing(){const e=this.cell;const t=this.getCellInfo(e);const i=e.grid.dataModel.metadata("body",e.row,e.column);this._isMultiSelect=i.type==="array";this._createWidget();if(this._isMultiSelect){this._select.multiple=true;const e=this._deserialize(t.data);for(let t=0;t<this._select.options.length;++t){const i=this._select.options.item(t);i.selected=e.indexOf(i.value)!==-1}document.body.appendChild(this._select)}else{this._select.value=this._deserialize(t.data);this.editorContainer.appendChild(this._select)}this._select.focus();this._bindEvents();this.updatePosition()}getInput(){if(this._isMultiSelect){const e=[];for(let t=0;t<this._select.selectedOptions.length;++t){e.push(this._select.selectedOptions.item(t).value)}return e}else{return this._select.value}}updatePosition(){super.updatePosition();if(!this._isMultiSelect){return}const e=this.getCellInfo(this.cell);this._select.style.position="absolute";const t=this.editorContainer.getBoundingClientRect();this._select.style.left=t.left+"px";this._select.style.top=t.top+e.height+"px";this._select.style.width=t.width+"px";this._select.style.maxHeight="60px";this.editorContainer.style.visibility="hidden"}_deserialize(e){if(e===null||e===undefined){return""}if(this._isMultiSelect){const t=[];if(Array.isArray(e)){for(let i of e){t.push(i.toString())}}return t}else{return e.toString()}}_createWidget(){const e=this.cell;const t=e.grid.dataModel.metadata("body",e.row,e.column);const i=t.constraint.enum;const s=document.createElement("select");s.classList.add("lm-DataGrid-cellEditorWidget");for(let o of i){const e=document.createElement("option");e.value=o;e.text=o;s.appendChild(e)}this._select=s}_bindEvents(){this._select.addEventListener("keydown",this._onKeyDown.bind(this));this._select.addEventListener("blur",this._onBlur.bind(this))}_onKeyDown(e){switch((0,r.getKeyboardLayout)().keyForKeydownEvent(e)){case"Enter":this.commit(e.shiftKey?"up":"down");break;case"Tab":this.commit(e.shiftKey?"left":"right");e.stopPropagation();e.preventDefault();break;case"Escape":this.cancel();break}}_onBlur(e){if(this.isDisposed){return}if(!this.commit()){e.preventDefault();e.stopPropagation();this._select.focus()}}}class N extends W{handleEvent(e){switch(e.type){case"keydown":this._onKeyDown(e);break;case"blur":this._onBlur(e);break}}dispose(){if(this.isDisposed){return}this._unbindEvents();super.dispose()}startEditing(){this._createWidget();const e=this.cell;const t=this.getCellInfo(e);this._input.value=this._deserialize(t.data);this.editorContainer.appendChild(this._input);this._input.focus();this._input.select();this._bindEvents()}getInput(){return this._input.value}_deserialize(e){if(e===null||e===undefined){return""}return e.toString()}_createWidget(){const e=this.cell;const t=e.grid;const i=t.dataModel;const s=i.rowCount("body");const o="cell-editor-list";const r=document.createElement("datalist");r.id=o;const n=document.createElement("input");n.classList.add("lm-DataGrid-cellEditorWidget");n.classList.add("lm-DataGrid-cellEditorInput");const l=new Set;for(let a=0;a<s;++a){const t=i.data("body",a,e.column);if(t){l.add(t)}}l.forEach((e=>{const t=document.createElement("option");t.value=e;t.text=e;r.appendChild(t)}));this.editorContainer.appendChild(r);n.setAttribute("list",o);this._input=n}_bindEvents(){this._input.addEventListener("keydown",this);this._input.addEventListener("blur",this)}_unbindEvents(){this._input.removeEventListener("keydown",this);this._input.removeEventListener("blur",this)}_onKeyDown(e){switch((0,r.getKeyboardLayout)().keyForKeydownEvent(e)){case"Enter":this.commit(e.shiftKey?"up":"down");break;case"Tab":this.commit(e.shiftKey?"left":"right");e.stopPropagation();e.preventDefault();break;case"Escape":this.cancel();break}}_onBlur(e){if(this.isDisposed){return}if(!this.commit()){e.preventDefault();e.stopPropagation();this._input.focus()}}}(function(e){class t extends f.Widget{constructor(e){super({node:t.createNode()});this._message="";this.addClass("lm-DataGrid-notification");this.setFlag(f.Widget.Flag.DisallowLayout);this._target=e.target;this._message=e.message||"";this._placement=e.placement||"bottom";f.Widget.attach(this,document.body);if(e.timeout&&e.timeout>0){setTimeout((()=>{this.close()}),e.timeout)}}handleEvent(e){switch(e.type){case"mousedown":this._evtMouseDown(e);break;case"contextmenu":e.preventDefault();e.stopPropagation();break}}get placement(){return this._placement}set placement(e){if(this._placement===e){return}this._placement=e;this.update()}get message(){return this._message}set message(e){if(this._message===e){return}this._message=e;this.update()}get messageNode(){return this.node.getElementsByClassName("lm-DataGrid-notificationMessage")[0]}onBeforeAttach(e){this.node.addEventListener("mousedown",this);this.update()}onAfterDetach(e){this.node.removeEventListener("mousedown",this)}onUpdateRequest(e){const t=this._target.getBoundingClientRect();const i=this.node.style;switch(this._placement){case"bottom":i.left=t.left+"px";i.top=t.bottom+"px";break;case"top":i.left=t.left+"px";i.height=t.top+"px";i.top="0";i.alignItems="flex-end";i.justifyContent="flex-end";break;case"left":i.left="0";i.width=t.left+"px";i.top=t.top+"px";i.alignItems="flex-end";i.justifyContent="flex-end";break;case"right":i.left=t.right+"px";i.top=t.top+"px";break}this.messageNode.innerHTML=this._message}_evtMouseDown(e){if(e.button!==0){return}e.preventDefault();e.stopPropagation();this.close()}}e.Notification=t;(function(e){function t(){const e=document.createElement("div");const t=document.createElement("div");t.className="lm-DataGrid-notificationContainer";const i=document.createElement("span");i.className="lm-DataGrid-notificationMessage";t.appendChild(i);e.appendChild(t);return e}e.createNode=t})(t=e.Notification||(e.Notification={}))})(W||(W={}));function X(e,t){return typeof e==="function"?e(t):e}class Y{constructor(){this._editor=null;this._cell=null;this._typeBasedOverrides=new Map;this._metadataBasedOverrides=new Map}setEditor(e,t){if(typeof e==="string"){this._typeBasedOverrides.set(e,t)}else{const i=this._metadataIdentifierToKey(e);this._metadataBasedOverrides.set(i,[e,t])}}edit(e,t){const i=e.grid;if(!i.editable){console.error("Grid cannot be edited!");return false}this.cancel();this._cell=e;t=t||{};t.onCommit=t.onCommit||this._onCommit.bind(this);t.onCancel=t.onCancel||this._onCancel.bind(this);if(t.editor){this._editor=t.editor;t.editor.edit(e,t);return true}const s=this._getEditor(e);if(s){this._editor=s;s.edit(e,t);return true}return false}cancel(){if(this._editor){this._editor.cancel();this._editor=null}this._cell=null}_onCommit(e){const t=this._cell;if(!t){return}const i=t.grid;const s=i.dataModel;let o=t.row;let r=t.column;const n=M.getGroup(i.dataModel,"body",o,r);if(n){o=n.r1;r=n.c1}s.setData("body",o,r,e.value);i.viewport.node.focus();if(e.cursorMovement!=="none"){i.moveCursor(e.cursorMovement);i.scrollToCursor()}}_onCancel(){if(!this._cell){return}this._cell.grid.viewport.node.focus()}_getDataTypeKey(e){const t=e.grid.dataModel?e.grid.dataModel.metadata("body",e.row,e.column):null;if(!t){return"default"}let i="";if(t){i=t.type}if(t.constraint&&t.constraint.enum){if(t.constraint.enum==="dynamic"){i+=":dynamic-option"}else{i+=":option"}}return i}_objectToKey(e){let t="";for(let i in e){const s=e[i];if(typeof s==="object"){t+=`${i}:${this._objectToKey(s)}`}else{t+=`[${i}:${s}]`}}return t}_metadataIdentifierToKey(e){return this._objectToKey(e)}_metadataMatchesIdentifier(e,t){for(let i in t){if(!e.hasOwnProperty(i)){return false}const s=t[i];const o=e[i];if(typeof s==="object"){if(!this._metadataMatchesIdentifier(o,s)){return false}}else if(o!==s){return false}}return true}_getMetadataBasedEditor(e){let t;const i=e.grid.dataModel.metadata("body",e.row,e.column);if(i){this._metadataBasedOverrides.forEach((s=>{if(!t){let[o,r]=s;if(this._metadataMatchesIdentifier(i,o)){t=X(r,e)}}}))}return t}_getEditor(e){const t=this._getDataTypeKey(e);if(this._typeBasedOverrides.has(t)){const i=this._typeBasedOverrides.get(t);return X(i,e)}else if(this._metadataBasedOverrides.size>0){const t=this._getMetadataBasedEditor(e);if(t){return t}}switch(t){case"string":return new D;case"number":return new T;case"integer":return new G;case"boolean":return new I;case"date":return new A;case"string:option":case"number:option":case"integer:option":case"date:option":case"array:option":return new P;case"string:dynamic-option":case"number:dynamic-option":case"integer:dynamic-option":case"date:dynamic-option":return new N}if(this._typeBasedOverrides.has("default")){const t=this._typeBasedOverrides.get("default");return X(t,e)}const i=e.grid.dataModel.data("body",e.row,e.column);if(!i||typeof i!=="object"){return new D}return undefined}}class V{constructor(){this._changed=new d.Signal(this)}get changed(){return this._changed}groupCount(e){return 0}metadata(e,t,i){return V.emptyMetadata}group(e,t){return null}emitChanged(e){this._changed.emit(e)}}class K extends V{}(function(e){e.emptyMetadata=Object.freeze({})})(V||(V={}));class F{constructor(e){this._disposed=false;this._context=e;this._state=q.State.create(e)}dispose(){if(this._disposed){return}this._disposed=true;while(this._state.next){this._state=this._state.next;this._context.restore()}}get isDisposed(){return this._disposed}get fillStyle(){return this._context.fillStyle}set fillStyle(e){if(this._state.fillStyle!==e){this._state.fillStyle=e;this._context.fillStyle=e}}get strokeStyle(){return this._context.strokeStyle}set strokeStyle(e){if(this._state.strokeStyle!==e){this._state.strokeStyle=e;this._context.strokeStyle=e}}get font(){return this._context.font}set font(e){if(this._state.font!==e){this._state.font=e;this._context.font=e}}get textAlign(){return this._context.textAlign}set textAlign(e){if(this._state.textAlign!==e){this._state.textAlign=e;this._context.textAlign=e}}get textBaseline(){return this._context.textBaseline}set textBaseline(e){if(this._state.textBaseline!==e){this._state.textBaseline=e;this._context.textBaseline=e}}get lineCap(){return this._context.lineCap}set lineCap(e){if(this._state.lineCap!==e){this._state.lineCap=e;this._context.lineCap=e}}get lineDashOffset(){return this._context.lineDashOffset}set lineDashOffset(e){if(this._state.lineDashOffset!==e){this._state.lineDashOffset=e;this._context.lineDashOffset=e}}get lineJoin(){return this._context.lineJoin}set lineJoin(e){if(this._state.lineJoin!==e){this._state.lineJoin=e;this._context.lineJoin=e}}get lineWidth(){return this._context.lineWidth}set lineWidth(e){if(this._state.lineWidth!==e){this._state.lineWidth=e;this._context.lineWidth=e}}get miterLimit(){return this._context.miterLimit}set miterLimit(e){if(this._state.miterLimit!==e){this._state.miterLimit=e;this._context.miterLimit=e}}get shadowBlur(){return this._context.shadowBlur}set shadowBlur(e){if(this._state.shadowBlur!==e){this._state.shadowBlur=e;this._context.shadowBlur=e}}get shadowColor(){return this._context.shadowColor}set shadowColor(e){if(this._state.shadowColor!==e){this._state.shadowColor=e;this._context.shadowColor=e}}get shadowOffsetX(){return this._context.shadowOffsetX}set shadowOffsetX(e){if(this._state.shadowOffsetX!==e){this._state.shadowOffsetX=e;this._context.shadowOffsetX=e}}get shadowOffsetY(){return this._context.shadowOffsetY}set shadowOffsetY(e){if(this._state.shadowOffsetY!==e){this._state.shadowOffsetY=e;this._context.shadowOffsetY=e}}get imageSmoothingEnabled(){return this._context.imageSmoothingEnabled}set imageSmoothingEnabled(e){if(this._state.imageSmoothingEnabled!==e){this._state.imageSmoothingEnabled=e;this._context.imageSmoothingEnabled=e}}get globalAlpha(){return this._context.globalAlpha}set globalAlpha(e){if(this._state.globalAlpha!==e){this._state.globalAlpha=e;this._context.globalAlpha=e}}get globalCompositeOperation(){return this._context.globalCompositeOperation}set globalCompositeOperation(e){if(this._state.globalCompositeOperation!==e){this._state.globalCompositeOperation=e;this._context.globalCompositeOperation=e}}getLineDash(){return this._context.getLineDash()}setLineDash(e){this._context.setLineDash(e)}rotate(e){this._context.rotate(e)}scale(e,t){this._context.scale(e,t)}transform(e,t,i,s,o,r){this._context.transform(e,t,i,s,o,r)}translate(e,t){this._context.translate(e,t)}setTransform(e,t,i,s,o,r){this._context.setTransform(e,t,i,s,o,r)}save(){this._state=q.State.push(this._state);this._context.save()}restore(){if(!this._state.next){return}this._state=q.State.pop(this._state);this._context.restore()}beginPath(){return this._context.beginPath()}closePath(){this._context.closePath()}isPointInPath(e,t,i){let s;if(arguments.length===2){s=this._context.isPointInPath(e,t)}else{s=this._context.isPointInPath(e,t,i)}return s}arc(e,t,i,s,o,r){if(arguments.length===5){this._context.arc(e,t,i,s,o)}else{this._context.arc(e,t,i,s,o,r)}}arcTo(e,t,i,s,o){this._context.arcTo(e,t,i,s,o)}bezierCurveTo(e,t,i,s,o,r){this._context.bezierCurveTo(e,t,i,s,o,r)}ellipse(e,t,i,s,o,r,n,l){if(arguments.length===7){this._context.ellipse(e,t,i,s,o,r,n)}else{this._context.ellipse(e,t,i,s,o,r,n,l)}}lineTo(e,t){this._context.lineTo(e,t)}moveTo(e,t){this._context.moveTo(e,t)}quadraticCurveTo(e,t,i,s){this._context.quadraticCurveTo(e,t,i,s)}rect(e,t,i,s){this._context.rect(e,t,i,s)}clip(e){if(arguments.length===0){this._context.clip()}else{this._context.clip(e)}}fill(e){if(arguments.length===0){this._context.fill()}else{this._context.fill(e)}}stroke(){this._context.stroke()}clearRect(e,t,i,s){return this._context.clearRect(e,t,i,s)}fillRect(e,t,i,s){this._context.fillRect(e,t,i,s)}fillText(e,t,i,s){if(arguments.length===3){this._context.fillText(e,t,i)}else{this._context.fillText(e,t,i,s)}}strokeRect(e,t,i,s){this._context.strokeRect(e,t,i,s)}strokeText(e,t,i,s){if(arguments.length===3){this._context.strokeText(e,t,i)}else{this._context.strokeText(e,t,i,s)}}measureText(e){return this._context.measureText(e)}createLinearGradient(e,t,i,s){return this._context.createLinearGradient(e,t,i,s)}createRadialGradient(e,t,i,s,o,r){return this._context.createRadialGradient(e,t,i,s,o,r)}createPattern(e,t){return this._context.createPattern(e,t)}createImageData(){return this._context.createImageData.apply(this._context,arguments)}getImageData(e,t,i,s){return this._context.getImageData(e,t,i,s)}putImageData(){this._context.putImageData.apply(this._context,arguments)}drawImage(){this._context.drawImage.apply(this._context,arguments)}drawFocusIfNeeded(e){this._context.drawFocusIfNeeded(e)}}var q;(function(e){let t=-1;const i=[];class s{static create(e){let o=t<0?new s:i[t--];o.next=null;o.fillStyle=e.fillStyle;o.font=e.font;o.globalAlpha=e.globalAlpha;o.globalCompositeOperation=e.globalCompositeOperation;o.imageSmoothingEnabled=e.imageSmoothingEnabled;o.lineCap=e.lineCap;o.lineDashOffset=e.lineDashOffset;o.lineJoin=e.lineJoin;o.lineWidth=e.lineWidth;o.miterLimit=e.miterLimit;o.shadowBlur=e.shadowBlur;o.shadowColor=e.shadowColor;o.shadowOffsetX=e.shadowOffsetX;o.shadowOffsetY=e.shadowOffsetY;o.strokeStyle=e.strokeStyle;o.textAlign=e.textAlign;o.textBaseline=e.textBaseline;return o}static push(e){let o=t<0?new s:i[t--];o.next=e;o.fillStyle=e.fillStyle;o.font=e.font;o.globalAlpha=e.globalAlpha;o.globalCompositeOperation=e.globalCompositeOperation;o.imageSmoothingEnabled=e.imageSmoothingEnabled;o.lineCap=e.lineCap;o.lineDashOffset=e.lineDashOffset;o.lineJoin=e.lineJoin;o.lineWidth=e.lineWidth;o.miterLimit=e.miterLimit;o.shadowBlur=e.shadowBlur;o.shadowColor=e.shadowColor;o.shadowOffsetX=e.shadowOffsetX;o.shadowOffsetY=e.shadowOffsetY;o.strokeStyle=e.strokeStyle;o.textAlign=e.textAlign;o.textBaseline=e.textBaseline;return o}static pop(e){e.fillStyle="";e.strokeStyle="";i[++t]=e;return e.next}}e.State=s})(q||(q={}));class j{constructor(e={},t){this._changed=new d.Signal(this);this._values={...e};this._fallback=t||new y}get changed(){return this._changed}get(e){let t=this._values[e.region];if(typeof t==="function"){try{t=t(e)}catch(i){t=undefined;console.error(i)}}return t||this._fallback}update(e={},t){this._values={...this._values,...e};this._fallback=t||this._fallback;this._changed.emit(undefined)}}class ${constructor(e){this._count=0;this._length=0;this._sections=[];this._minimumSize=e.minimumSize||2;this._defaultSize=Math.max(this._minimumSize,Math.floor(e.defaultSize))}get length(){return this._length}get count(){return this._count}get minimumSize(){return this._minimumSize}set minimumSize(e){e=Math.max(2,Math.floor(e));if(this._minimumSize===e){return}this._minimumSize=e;if(e>this._defaultSize){this.defaultSize=e}}get defaultSize(){return this._defaultSize}set defaultSize(e){e=Math.max(this._minimumSize,Math.floor(e));if(this._defaultSize===e){return}let t=e-this._defaultSize;this._defaultSize=e;this._length+=t*(this._count-this._sections.length);if(this._sections.length===0){return}for(let i=0,s=this._sections.length;i<s;++i){let t=this._sections[i-1];let s=this._sections[i];if(t){let i=s.index-t.index-1;s.offset=t.offset+t.size+i*e}else{s.offset=s.index*e}}}clampSize(e){return Math.max(this._minimumSize,Math.floor(e))}indexOf(e){if(e<0||e>=this._length||this._count===0){return-1}if(this._sections.length===0){return Math.floor(e/this._defaultSize)}let t=h.ArrayExt.lowerBound(this._sections,e,U.offsetCmp);if(t<this._sections.length&&this._sections[t].offset<=e){return this._sections[t].index}if(t===0){return Math.floor(e/this._defaultSize)}let i=this._sections[t-1];let s=e-(i.offset+i.size);return i.index+Math.floor(s/this._defaultSize)+1}offsetOf(e){if(e<0||e>=this._count){return-1}if(this._sections.length===0){return e*this._defaultSize}let t=h.ArrayExt.lowerBound(this._sections,e,U.indexCmp);if(t<this._sections.length&&this._sections[t].index===e){return this._sections[t].offset}if(t===0){return e*this._defaultSize}let i=this._sections[t-1];let s=e-i.index-1;return i.offset+i.size+s*this._defaultSize}extentOf(e){if(e<0||e>=this._count){return-1}if(this._sections.length===0){return(e+1)*this._defaultSize-1}let t=h.ArrayExt.lowerBound(this._sections,e,U.indexCmp);if(t<this._sections.length&&this._sections[t].index===e){return this._sections[t].offset+this._sections[t].size-1}if(t===0){return(e+1)*this._defaultSize-1}let i=this._sections[t-1];let s=e-i.index;return i.offset+i.size+s*this._defaultSize-1}sizeOf(e){if(e<0||e>=this._count){return-1}if(this._sections.length===0){return this._defaultSize}let t=h.ArrayExt.lowerBound(this._sections,e,U.indexCmp);if(t<this._sections.length&&this._sections[t].index===e){return this._sections[t].size}return this._defaultSize}resize(e,t){if(e<0||e>=this._count){return}t=Math.max(this._minimumSize,Math.floor(t));let i=h.ArrayExt.lowerBound(this._sections,e,U.indexCmp);let s;if(i<this._sections.length&&this._sections[i].index===e){let e=this._sections[i];s=t-e.size;e.size=t}else if(i===0){let o=e*this._defaultSize;h.ArrayExt.insert(this._sections,i,{index:e,offset:o,size:t});s=t-this._defaultSize}else{let o=this._sections[i-1];let r=e-o.index-1;let n=o.offset+o.size+r*this._defaultSize;h.ArrayExt.insert(this._sections,i,{index:e,offset:n,size:t});s=t-this._defaultSize}this._length+=s;for(let o=i+1,r=this._sections.length;o<r;++o){this._sections[o].offset+=s}}insert(e,t){if(t<=0){return}e=Math.max(0,Math.min(e,this._count));let i=t*this._defaultSize;this._count+=t;this._length+=i;if(this._sections.length===0){return}let s=h.ArrayExt.lowerBound(this._sections,e,U.indexCmp);for(let o=this._sections.length;s<o;++s){let e=this._sections[s];e.index+=t;e.offset+=i}}remove(e,t){if(e<0||e>=this._count||t<=0){return}t=Math.min(this._count-e,t);if(this._sections.length===0){this._count-=t;this._length-=t*this._defaultSize;return}if(t===this._count){this._length=0;this._count=0;this._sections.length=0;return}let i=h.ArrayExt.lowerBound(this._sections,e,U.indexCmp);let s=h.ArrayExt.lowerBound(this._sections,e+t,U.indexCmp);let o=this._sections.splice(i,s-i);let r=(t-o.length)*this._defaultSize;for(let n=0,l=o.length;n<l;++n){r+=o[n].size}this._count-=t;this._length-=r;for(let n=i,l=this._sections.length;n<l;++n){let e=this._sections[n];e.index-=t;e.offset-=r}}move(e,t,i){if(e<0||e>=this._count||t<=0){return}if(this._sections.length===0){return}t=Math.min(t,this._count-e);i=Math.min(Math.max(0,i),this._count-t);if(e===i){return}let s=Math.min(e,i);let o=h.ArrayExt.lowerBound(this._sections,s,U.indexCmp);if(o===this._sections.length){return}let r=Math.max(e+t-1,i+t-1);let n=h.ArrayExt.upperBound(this._sections,r,U.indexCmp)-1;if(n<o){return}let l=i<e?e:e+t;let a=l-s;let c=r-l+1;let d=a*this._defaultSize;let u=c*this._defaultSize;for(let h=o;h<=n;++h){let e=this._sections[h];if(e.index<l){d+=e.size-this._defaultSize}else{u+=e.size-this._defaultSize}}let f=h.ArrayExt.lowerBound(this._sections,l,U.indexCmp);if(o<=f&&f<=n){h.ArrayExt.rotate(this._sections,f-o,o,n)}for(let h=o;h<=n;++h){let e=this._sections[h];if(e.index<l){e.index+=c;e.offset+=u}else{e.index-=a;e.offset-=d}}}reset(){this._sections.length=0;this._length=this._count*this._defaultSize}clear(){this._count=0;this._length=0;this._sections.length=0}}var U;(function(e){function t(e,t){if(t<e.offset){return 1}if(e.offset+e.size<=t){return-1}return 0}e.offsetCmp=t;function i(e,t){return e.index-t}e.indexCmp=i})(U||(U={}));class J extends f.Widget{constructor(e={}){super();this._scrollX=0;this._scrollY=0;this._viewportWidth=0;this._viewportHeight=0;this._mousedown=false;this._keyHandler=null;this._mouseHandler=null;this._vScrollBarMinWidth=0;this._hScrollBarMinHeight=0;this._dpiRatio=Math.ceil(window.devicePixelRatio);this._dataModel=null;this._selectionModel=null;this._editingEnabled=false;this.addClass("lm-DataGrid");this._style=e.style||J.defaultStyle;this._stretchLastRow=e.stretchLastRow||false;this._stretchLastColumn=e.stretchLastColumn||false;this._headerVisibility=e.headerVisibility||"all";this._cellRenderers=e.cellRenderers||new j;this._copyConfig=e.copyConfig||J.defaultCopyConfig;this._cellRenderers.changed.connect(this._onRenderersChanged,this);let t=e.defaultSizes||J.defaultSizes;let i=e.minimumSizes||J.minimumSizes;this._rowSections=new $({defaultSize:t.rowHeight,minimumSize:i.rowHeight});this._columnSections=new $({defaultSize:t.columnWidth,minimumSize:i.columnWidth});this._rowHeaderSections=new $({defaultSize:t.rowHeaderWidth,minimumSize:i.rowHeaderWidth});this._columnHeaderSections=new $({defaultSize:t.columnHeaderHeight,minimumSize:i.columnHeaderHeight});this._canvas=Z.createCanvas();this._buffer=Z.createCanvas();this._overlay=Z.createCanvas();this._canvasGC=this._canvas.getContext("2d");this._bufferGC=this._buffer.getContext("2d");this._overlayGC=this._overlay.getContext("2d");this._canvas.style.position="absolute";this._canvas.style.top="0px";this._canvas.style.left="0px";this._canvas.style.width="0px";this._canvas.style.height="0px";this._overlay.style.position="absolute";this._overlay.style.top="0px";this._overlay.style.left="0px";this._overlay.style.width="0px";this._overlay.style.height="0px";this._viewport=new f.Widget;this._viewport.node.tabIndex=-1;this._viewport.node.style.outline="none";this._vScrollBar=new f.ScrollBar({orientation:"vertical"});this._hScrollBar=new f.ScrollBar({orientation:"horizontal"});this._scrollCorner=new f.Widget;this._editorController=new Y;this._viewport.addClass("lm-DataGrid-viewport");this._vScrollBar.addClass("lm-DataGrid-scrollBar");this._hScrollBar.addClass("lm-DataGrid-scrollBar");this._scrollCorner.addClass("lm-DataGrid-scrollCorner");this._viewport.node.appendChild(this._canvas);this._viewport.node.appendChild(this._overlay);m.MessageLoop.installMessageHook(this._viewport,this);m.MessageLoop.installMessageHook(this._hScrollBar,this);m.MessageLoop.installMessageHook(this._vScrollBar,this);this._vScrollBar.hide();this._hScrollBar.hide();this._scrollCorner.hide();this._vScrollBar.thumbMoved.connect(this._onThumbMoved,this);this._hScrollBar.thumbMoved.connect(this._onThumbMoved,this);this._vScrollBar.pageRequested.connect(this._onPageRequested,this);this._hScrollBar.pageRequested.connect(this._onPageRequested,this);this._vScrollBar.stepRequested.connect(this._onStepRequested,this);this._hScrollBar.stepRequested.connect(this._onStepRequested,this);f.GridLayout.setCellConfig(this._viewport,{row:0,column:0});f.GridLayout.setCellConfig(this._vScrollBar,{row:0,column:1});f.GridLayout.setCellConfig(this._hScrollBar,{row:1,column:0});f.GridLayout.setCellConfig(this._scrollCorner,{row:1,column:1});let s=new f.GridLayout({rowCount:2,columnCount:2,rowSpacing:0,columnSpacing:0,fitPolicy:"set-no-constraint"});s.setRowStretch(0,1);s.setRowStretch(1,0);s.setColumnStretch(0,1);s.setColumnStretch(1,0);s.addWidget(this._viewport);s.addWidget(this._vScrollBar);s.addWidget(this._hScrollBar);s.addWidget(this._scrollCorner);this.layout=s}dispose(){this._releaseMouse();if(this._keyHandler){this._keyHandler.dispose()}if(this._mouseHandler){this._mouseHandler.dispose()}this._keyHandler=null;this._mouseHandler=null;this._dataModel=null;this._selectionModel=null;this._rowSections.clear();this._columnSections.clear();this._rowHeaderSections.clear();this._columnHeaderSections.clear();super.dispose()}get dataModel(){return this._dataModel}set dataModel(e){if(this._dataModel===e){return}this._releaseMouse();this.selectionModel=null;if(this._dataModel){this._dataModel.changed.disconnect(this._onDataModelChanged,this)}if(e){e.changed.connect(this._onDataModelChanged,this)}this._dataModel=e;this._rowSections.clear();this._columnSections.clear();this._rowHeaderSections.clear();this._columnHeaderSections.clear();if(e){this._rowSections.insert(0,e.rowCount("body"));this._columnSections.insert(0,e.columnCount("body"));this._rowHeaderSections.insert(0,e.columnCount("row-header"));this._columnHeaderSections.insert(0,e.rowCount("column-header"))}this._scrollX=0;this._scrollY=0;this._syncViewport()}get selectionModel(){return this._selectionModel}set selectionModel(e){if(this._selectionModel===e){return}this._releaseMouse();if(e&&e.dataModel!==this._dataModel){throw new Error("SelectionModel.dataModel !== DataGrid.dataModel")}if(this._selectionModel){this._selectionModel.changed.disconnect(this._onSelectionsChanged,this)}if(e){e.changed.connect(this._onSelectionsChanged,this)}this._selectionModel=e;this.repaintOverlay()}get keyHandler(){return this._keyHandler}set keyHandler(e){this._keyHandler=e}get mouseHandler(){return this._mouseHandler}set mouseHandler(e){if(this._mouseHandler===e){return}this._releaseMouse();this._mouseHandler=e}get style(){return this._style}set style(e){if(this._style===e){return}this._style={...e};this.repaintContent();this.repaintOverlay()}get cellRenderers(){return this._cellRenderers}set cellRenderers(e){if(this._cellRenderers===e){return}this._cellRenderers.changed.disconnect(this._onRenderersChanged,this);e.changed.connect(this._onRenderersChanged,this);this._cellRenderers=e;this.repaintContent()}get headerVisibility(){return this._headerVisibility}set headerVisibility(e){if(this._headerVisibility===e){return}this._headerVisibility=e;this._syncViewport()}get defaultSizes(){let e=this._rowSections.defaultSize;let t=this._columnSections.defaultSize;let i=this._rowHeaderSections.defaultSize;let s=this._columnHeaderSections.defaultSize;return{rowHeight:e,columnWidth:t,rowHeaderWidth:i,columnHeaderHeight:s}}set defaultSizes(e){this._rowSections.defaultSize=e.rowHeight;this._columnSections.defaultSize=e.columnWidth;this._rowHeaderSections.defaultSize=e.rowHeaderWidth;this._columnHeaderSections.defaultSize=e.columnHeaderHeight;this._syncViewport()}get minimumSizes(){let e=this._rowSections.minimumSize;let t=this._columnSections.minimumSize;let i=this._rowHeaderSections.minimumSize;let s=this._columnHeaderSections.minimumSize;return{rowHeight:e,columnWidth:t,rowHeaderWidth:i,columnHeaderHeight:s}}set minimumSizes(e){this._rowSections.minimumSize=e.rowHeight;this._columnSections.minimumSize=e.columnWidth;this._rowHeaderSections.minimumSize=e.rowHeaderWidth;this._columnHeaderSections.minimumSize=e.columnHeaderHeight;this._syncViewport()}get copyConfig(){return this._copyConfig}set copyConfig(e){this._copyConfig=e}get stretchLastRow(){return this._stretchLastRow}set stretchLastRow(e){if(e===this._stretchLastRow){return}this._stretchLastRow=e;this._syncViewport()}get stretchLastColumn(){return this._stretchLastColumn}set stretchLastColumn(e){if(e===this._stretchLastColumn){return}this._stretchLastColumn=e;this._syncViewport()}get headerWidth(){if(this._headerVisibility==="none"){return 0}if(this._headerVisibility==="column"){return 0}return this._rowHeaderSections.length}get headerHeight(){if(this._headerVisibility==="none"){return 0}if(this._headerVisibility==="row"){return 0}return this._columnHeaderSections.length}get bodyWidth(){return this._columnSections.length}get bodyHeight(){return this._rowSections.length}get totalWidth(){return this.headerWidth+this.bodyWidth}get totalHeight(){return this.headerHeight+this.bodyHeight}get viewportWidth(){return this._viewportWidth}get viewportHeight(){return this._viewportHeight}get pageWidth(){return Math.max(0,this.viewportWidth-this.headerWidth)}get pageHeight(){return Math.max(0,this.viewportHeight-this.headerHeight)}get scrollX(){return this._hScrollBar.value}get scrollY(){return this._vScrollBar.value}get maxScrollX(){return Math.max(0,this.bodyWidth-this.pageWidth-1)}get maxScrollY(){return Math.max(0,this.bodyHeight-this.pageHeight-1)}get viewport(){return this._viewport}get editorController(){return this._editorController}set editorController(e){this._editorController=e}get editingEnabled(){return this._editingEnabled}set editingEnabled(e){this._editingEnabled=e}get editable(){return this._editingEnabled&&this._selectionModel!==null&&this._editorController!==null&&this.dataModel instanceof K}get canvasGC(){return this._canvasGC}get rowSections(){return this._rowSections}get columnSections(){return this._columnSections}get rowHeaderSections(){return this._rowHeaderSections}get columnHeaderSections(){return this._columnHeaderSections}scrollToRow(e){let t=this._rowSections.count;if(t===0){return}e=Math.floor(e);e=Math.max(0,Math.min(e,t-1));let i=this._rowSections.offsetOf(e);let s=this._rowSections.extentOf(e);let o=this._scrollY;let r=this._scrollY+this.pageHeight-1;let n=0;if(i<o){n=i-o-10}else if(s>r){n=s-r+10}if(n===0){return}this.scrollBy(0,n)}scrollToColumn(e){let t=this._columnSections.count;if(t===0){return}e=Math.floor(e);e=Math.max(0,Math.min(e,t-1));let i=this._columnSections.offsetOf(e);let s=this._columnSections.extentOf(e);let o=this._scrollX;let r=this._scrollX+this.pageWidth-1;let n=0;if(i<o){n=i-o-10}else if(s>r){n=s-r+10}if(n===0){return}this.scrollBy(n,0)}scrollToCell(e,t){let i=this._rowSections.count;let s=this._columnSections.count;if(i===0||s===0){return}e=Math.floor(e);t=Math.floor(t);e=Math.max(0,Math.min(e,i-1));t=Math.max(0,Math.min(t,s-1));let o=this._columnSections.offsetOf(t);let r=this._columnSections.extentOf(t);let n=this._rowSections.offsetOf(e);let l=this._rowSections.extentOf(e);let a=this._scrollX;let h=this._scrollX+this.pageWidth-1;let c=this._scrollY;let d=this._scrollY+this.pageHeight-1;let u=0;let f=0;if(o<a){u=o-a-10}else if(r>h){u=r-h+10}if(n<c){f=n-c-10}else if(l>d){f=l-d+10}if(u===0&&f===0){return}this.scrollBy(u,f)}moveCursor(e){if(!this.dataModel||!this._selectionModel||this._selectionModel.isEmpty){return}const t=this._selectionModel.selections();const i=t.next()&&!t.next();if(i){const t=this._selectionModel.currentSelection();if(t.r1===t.r2&&t.c1===t.c2){const i=e==="down"?1:e==="up"?-1:0;const s=e==="right"?1:e==="left"?-1:0;let o=t.r1+i;let r=t.c1+s;const n=this.dataModel.rowCount("body");const l=this.dataModel.columnCount("body");if(o>=n){o=0;r+=1}else if(o===-1){o=n-1;r-=1}if(r>=l){r=0;o+=1;if(o>=n){o=0}}else if(r===-1){r=l-1;o-=1;if(o===-1){o=n-1}}this._selectionModel.select({r1:o,c1:r,r2:o,c2:r,cursorRow:o,cursorColumn:r,clear:"all"});return}}this._selectionModel.moveCursorWithinSelections(e)}scrollToCursor(){if(!this._selectionModel){return}let e=this._selectionModel.cursorRow;let t=this._selectionModel.cursorColumn;this.scrollToCell(e,t)}scrollBy(e,t){this.scrollTo(this.scrollX+e,this.scrollY+t)}scrollByPage(e){let t=0;let i=0;switch(e){case"up":i=-this.pageHeight;break;case"down":i=this.pageHeight;break;case"left":t=-this.pageWidth;break;case"right":t=this.pageWidth;break;default:throw"unreachable"}this.scrollTo(this.scrollX+t,this.scrollY+i)}scrollByStep(e){let t;let i;let s=this.scrollX;let o=this.scrollY;let r=this._rowSections;let n=this._columnSections;switch(e){case"up":t=r.indexOf(o-1);o=t<0?o:r.offsetOf(t);break;case"down":t=r.indexOf(o);o=t<0?o:r.offsetOf(t)+r.sizeOf(t);break;case"left":i=n.indexOf(s-1);s=i<0?s:n.offsetOf(i);break;case"right":i=n.indexOf(s);s=i<0?s:n.offsetOf(i)+n.sizeOf(i);break;default:throw"unreachable"}this.scrollTo(s,o)}scrollTo(e,t){e=Math.max(0,Math.min(Math.floor(e),this.maxScrollX));t=Math.max(0,Math.min(Math.floor(t),this.maxScrollY));this._hScrollBar.value=e;this._vScrollBar.value=t;m.MessageLoop.postMessage(this._viewport,Z.ScrollRequest)}rowCount(e){let t;if(e==="body"){t=this._rowSections.count}else{t=this._columnHeaderSections.count}return t}columnCount(e){let t;if(e==="body"){t=this._columnSections.count}else{t=this._rowHeaderSections.count}return t}rowAt(e,t){if(t<0){return-1}if(e==="column-header"){return this._columnHeaderSections.indexOf(t)}let i=this._rowSections.indexOf(t);if(i>=0){return i}if(!this._stretchLastRow){return-1}let s=this.bodyHeight;let o=this.pageHeight;if(o<=s){return-1}if(t>=o){return-1}return this._rowSections.count-1}columnAt(e,t){if(t<0){return-1}if(e==="row-header"){return this._rowHeaderSections.indexOf(t)}let i=this._columnSections.indexOf(t);if(i>=0){return i}if(!this._stretchLastColumn){return-1}let s=this.bodyWidth;let o=this.pageWidth;if(o<=s){return-1}if(t>=o){return-1}return this._columnSections.count-1}rowOffset(e,t){let i;if(e==="body"){i=this._rowSections.offsetOf(t)}else{i=this._columnHeaderSections.offsetOf(t)}return i}columnOffset(e,t){let i;if(e==="body"){i=this._columnSections.offsetOf(t)}else{i=this._rowHeaderSections.offsetOf(t)}return i}rowSize(e,t){if(e==="column-header"){return this._columnHeaderSections.sizeOf(t)}let i=this._rowSections.sizeOf(t);if(i<0){return i}if(!this._stretchLastRow){return i}if(t<this._rowSections.count-1){return i}let s=this.bodyHeight;let o=this.pageHeight;if(o<=s){return i}return i+(o-s)}columnSize(e,t){if(e==="row-header"){return this._rowHeaderSections.sizeOf(t)}let i=this._columnSections.sizeOf(t);if(i<0){return i}if(!this._stretchLastColumn){return i}if(t<this._columnSections.count-1){return i}let s=this.bodyWidth;let o=this.pageWidth;if(o<=s){return i}return i+(o-s)}resizeRow(e,t,i){let s=new Z.RowResizeRequest(e,t,i);m.MessageLoop.postMessage(this._viewport,s)}resizeColumn(e,t,i){let s=new Z.ColumnResizeRequest(e,t,i);m.MessageLoop.postMessage(this._viewport,s)}resetRows(e){switch(e){case"all":this._rowSections.reset();this._columnHeaderSections.reset();break;case"body":this._rowSections.reset();break;case"column-header":this._columnHeaderSections.reset();break;default:throw"unreachable"}this.repaintContent();this.repaintOverlay()}resetColumns(e){switch(e){case"all":this._columnSections.reset();this._rowHeaderSections.reset();break;case"body":this._columnSections.reset();break;case"row-header":this._rowHeaderSections.reset();break;default:throw"unreachable"}this.repaintContent();this.repaintOverlay()}fitColumnNames(e="all",t=15,i){if(this.dataModel){let s=i===undefined||i<0?undefined:i;if(e==="row-header"||e==="all"){if(s!==undefined){const e=this.dataModel.columnCount("row-header");if(s-e<0){this._fitRowColumnHeaders(this.dataModel,t,s);s=0}else{this._fitRowColumnHeaders(this.dataModel,t,e);s=s-e}}else{this._fitRowColumnHeaders(this.dataModel,t)}}if(e==="body"||e==="all"){if(s!==undefined){const e=this.dataModel.columnCount("body");if(s-e<0){this._fitBodyColumnHeaders(this.dataModel,t,s)}else{this._fitBodyColumnHeaders(this.dataModel,t,Math.min(s,e))}}else{this._fitBodyColumnHeaders(this.dataModel,t)}}}}mapToLocal(e,t){let i=this._viewport.node.getBoundingClientRect();let{left:s,top:o}=i;s=Math.floor(s);o=Math.floor(o);let r=e-s;let n=t-o;return{lx:r,ly:n}}mapToVirtual(e,t){let{lx:i,ly:s}=this.mapToLocal(e,t);let o=i+this.scrollX-this.headerWidth;let r=s+this.scrollY-this.headerHeight;return{vx:o,vy:r}}hitTest(e,t){let{lx:i,ly:s}=this.mapToLocal(e,t);let o=this.headerWidth;let r=this.headerHeight;let n=this.bodyWidth;let l=this.bodyHeight;let a=this.pageHeight;let h=this.pageWidth;if(this._stretchLastColumn&&h>n){n=h}if(this._stretchLastRow&&a>l){l=a}if(i>=0&&i<o&&s>=0&&s<r){let e=i;let t=s;let o=this.rowAt("column-header",t);let r=this.columnAt("row-header",e);let n=this.columnOffset("row-header",r);let l=this.rowOffset("column-header",o);let a=this.columnSize("row-header",r);let h=this.rowSize("column-header",o);let c=e-n;let d=t-l;return{region:"corner-header",row:o,column:r,x:c,y:d,width:a,height:h}}if(s>=0&&s<r&&i>=0&&i<o+n){let e=i+this._scrollX-o;let t=s;let r=this.rowAt("column-header",t);let n=this.columnAt("body",e);let l=this.columnOffset("body",n);let a=this.rowOffset("column-header",r);let h=this.columnSize("body",n);let c=this.rowSize("column-header",r);let d=e-l;let u=t-a;return{region:"column-header",row:r,column:n,x:d,y:u,width:h,height:c}}if(i>=0&&i<o&&s>=0&&s<r+l){let e=i;let t=s+this._scrollY-r;let o=this.rowAt("body",t);let n=this.columnAt("row-header",e);let l=this.columnOffset("row-header",n);let a=this.rowOffset("body",o);let h=this.columnSize("row-header",n);let c=this.rowSize("body",o);let d=e-l;let u=t-a;return{region:"row-header",row:o,column:n,x:d,y:u,width:h,height:c}}if(i>=o&&i<o+n&&s>=r&&s<r+l){let e=i+this._scrollX-o;let t=s+this._scrollY-r;let n=this.rowAt("body",t);let l=this.columnAt("body",e);let a=this.columnOffset("body",l);let h=this.rowOffset("body",n);let c=this.columnSize("body",l);let d=this.rowSize("body",n);let u=e-a;let f=t-h;return{region:"body",row:n,column:l,x:u,y:f,width:c,height:d}}let c=-1;let d=-1;let u=-1;let f=-1;let _=-1;let m=-1;return{region:"void",row:c,column:d,x:u,y:f,width:_,height:m}}copyToClipboard(){let e=this._dataModel;if(!e){return}let t=this._selectionModel;if(!t){return}let i=Array.from(t.selections());if(i.length===0){return}if(i.length>1){alert("Cannot copy multiple grid selections.");return}let o=e.rowCount("body");let r=e.columnCount("body");if(o===0||r===0){return}let{r1:n,c1:l,r2:a,c2:h}=i[0];n=Math.max(0,Math.min(n,o-1));l=Math.max(0,Math.min(l,r-1));a=Math.max(0,Math.min(a,o-1));h=Math.max(0,Math.min(h,r-1));if(a<n)[n,a]=[a,n];if(h<l)[l,h]=[h,l];let c=e.columnCount("row-header");let d=e.rowCount("column-header");let u=this._copyConfig.separator;let f=this._copyConfig.format;let _=this._copyConfig.headers;let m=this._copyConfig.warningThreshold;let g=a-n+1;let p=h-l+1;switch(_){case"none":c=0;d=0;break;case"row":d=0;p+=c;break;case"column":c=0;g+=d;break;case"all":g+=d;p+=c;break;default:throw"unreachable"}let w=g*p;if(w>m){let e=`Copying ${w} cells may take a while. Continue?`;if(!window.confirm(e)){return}}let y={region:"body",row:0,column:0,value:null,metadata:{}};let x=new Array(g);for(let s=0;s<g;++s){let t=new Array(p);for(let i=0;i<p;++i){let o;let r;let a;if(s<d&&i<c){o="corner-header";r=s;a=i}else if(s<d){o="column-header";r=s;a=i-c+l}else if(i<c){o="row-header";r=s-d+n;a=i}else{o="body";r=s-d+n;a=i-c+l}y.region=o;y.row=r;y.column=a;y.value=e.data(o,r,a);y.metadata=e.metadata(o,r,a);t[i]=f(y)}x[s]=t}let v=x.map((e=>e.join(u)));let M=v.join("\n");s.ClipboardExt.copyText(M)}processMessage(e){if(e.type==="child-shown"||e.type==="child-hidden"){return}if(e.type==="fit-request"){let e=s.ElementExt.sizeLimits(this._vScrollBar.node);let t=s.ElementExt.sizeLimits(this._hScrollBar.node);this._vScrollBarMinWidth=e.minWidth;this._hScrollBarMinHeight=t.minHeight}super.processMessage(e)}messageHook(e,t){if(e===this._viewport){this._processViewportMessage(t);return true}if(e===this._hScrollBar&&t.type==="activate-request"){this.activate();return false}if(e===this._vScrollBar&&t.type==="activate-request"){this.activate();return false}return true}handleEvent(e){switch(e.type){case"keydown":this._evtKeyDown(e);break;case"mousedown":this._evtMouseDown(e);break;case"mousemove":this._evtMouseMove(e);break;case"mouseup":this._evtMouseUp(e);break;case"dblclick":this._evtMouseDoubleClick(e);break;case"mouseleave":this._evtMouseLeave(e);break;case"contextmenu":this._evtContextMenu(e);break;case"wheel":this._evtWheel(e);break;case"resize":this._refreshDPI();break}}onActivateRequest(e){this.viewport.node.focus({preventScroll:true})}onBeforeAttach(e){window.addEventListener("resize",this);this.node.addEventListener("wheel",this);this._viewport.node.addEventListener("keydown",this);this._viewport.node.addEventListener("mousedown",this);this._viewport.node.addEventListener("mousemove",this);this._viewport.node.addEventListener("dblclick",this);this._viewport.node.addEventListener("mouseleave",this);this._viewport.node.addEventListener("contextmenu",this);this.repaintContent();this.repaintOverlay()}onAfterDetach(e){window.removeEventListener("resize",this);this.node.removeEventListener("wheel",this);this._viewport.node.removeEventListener("keydown",this);this._viewport.node.removeEventListener("mousedown",this);this._viewport.node.removeEventListener("mousemove",this);this._viewport.node.removeEventListener("mouseleave",this);this._viewport.node.removeEventListener("dblclick",this);this._viewport.node.removeEventListener("contextmenu",this);this._releaseMouse()}onBeforeShow(e){this.repaintContent();this.repaintOverlay()}onResize(e){if(this._editorController){this._editorController.cancel()}this._syncScrollState()}repaintContent(){let e=new Z.PaintRequest("all",0,0,0,0);m.MessageLoop.postMessage(this._viewport,e)}repaintRegion(e,t,i,s,o){let r=new Z.PaintRequest(e,t,i,s,o);m.MessageLoop.postMessage(this._viewport,r)}repaintOverlay(){m.MessageLoop.postMessage(this._viewport,Z.OverlayPaintRequest)}_resizeCanvasIfNeeded(e,t){e=e*this._dpiRatio;t=t*this._dpiRatio;let i=(Math.ceil((e+1)/512)+1)*512;let s=(Math.ceil((t+1)/512)+1)*512;let o=this._canvas.width;let r=this._canvas.height;if(o>=e&&r>=t&&o<=i&&r<=s){return}let n=i-512;let l=s-512;this._canvasGC.setTransform(1,0,0,1,0,0);this._bufferGC.setTransform(1,0,0,1,0,0);this._overlayGC.setTransform(1,0,0,1,0,0);if(o<e){this._buffer.width=n}else if(o>i){this._buffer.width=i}if(r<t){this._buffer.height=l}else if(r>s){this._buffer.height=s}let a=o>0&&r>0&&e>0&&t>0;if(a){this._bufferGC.drawImage(this._canvas,0,0)}if(o<e){this._canvas.width=n;this._canvas.style.width=`${n/this._dpiRatio}px`}else if(o>i){this._canvas.width=i;this._canvas.style.width=`${i/this._dpiRatio}px`}if(r<t){this._canvas.height=l;this._canvas.style.height=`${l/this._dpiRatio}px`}else if(r>s){this._canvas.height=s;this._canvas.style.height=`${s/this._dpiRatio}px`}if(a){this._canvasGC.drawImage(this._buffer,0,0)}if(a){this._bufferGC.drawImage(this._overlay,0,0)}if(o<e){this._overlay.width=n;this._overlay.style.width=`${n/this._dpiRatio}px`}else if(o>i){this._overlay.width=i;this._overlay.style.width=`${i/this._dpiRatio}px`}if(r<t){this._overlay.height=l;this._overlay.style.height=`${l/this._dpiRatio}px`}else if(r>s){this._overlay.height=s;this._overlay.style.height=`${s/this._dpiRatio}px`}if(a){this._overlayGC.drawImage(this._buffer,0,0)}}_syncScrollState(){let e=this.bodyWidth;let t=this.bodyHeight;let i=this.pageWidth;let s=this.pageHeight;let o=!this._vScrollBar.isHidden;let r=!this._hScrollBar.isHidden;let n=this._vScrollBarMinWidth;let l=this._hScrollBarMinHeight;let a=i+(o?n:0);let h=s+(r?l:0);let c=h<t-1;let d=a<e-1;if(c&&!d){d=a-n<e-1}if(d&&!c){c=h-l<t-1}if(c!==o||d!==r){this._vScrollBar.setHidden(!c);this._hScrollBar.setHidden(!d);this._scrollCorner.setHidden(!c||!d);m.MessageLoop.sendMessage(this,f.Widget.Msg.FitRequest)}this._vScrollBar.maximum=this.maxScrollY;this._vScrollBar.page=this.pageHeight;this._hScrollBar.maximum=this.maxScrollX;this._hScrollBar.page=this.pageWidth;this._scrollTo(this._scrollX,this._scrollY)}_syncViewport(){this.repaintContent();this.repaintOverlay();this._syncScrollState()}_processViewportMessage(e){switch(e.type){case"resize":this._onViewportResize(e);break;case"scroll-request":this._onViewportScrollRequest(e);break;case"paint-request":this._onViewportPaintRequest(e);break;case"overlay-paint-request":this._onViewportOverlayPaintRequest(e);break;case"row-resize-request":this._onViewportRowResizeRequest(e);break;case"column-resize-request":this._onViewportColumnResizeRequest(e);break}}_onViewportResize(e){if(!this._viewport.isVisible){return}let{width:t,height:i}=e;if(t===-1){t=this._viewport.node.offsetWidth}if(i===-1){i=this._viewport.node.offsetHeight}t=Math.round(t);i=Math.round(i);let s=this._viewportWidth;let o=this._viewportHeight;this._viewportWidth=t;this._viewportHeight=i;this._resizeCanvasIfNeeded(t,i);if(t===0||i===0){return}if(s===0||o===0){this.paintContent(0,0,t,i);this._paintOverlay();return}if(this._stretchLastColumn&&this.pageWidth>this.bodyWidth){let e=this._columnSections.offsetOf(this._columnSections.count-1);let o=Math.min(this.headerWidth+e,s);this.paintContent(o,0,t-o,i)}else if(t>s){this.paintContent(s,0,t-s+1,i)}if(this._stretchLastRow&&this.pageHeight>this.bodyHeight){let e=this._rowSections.offsetOf(this._rowSections.count-1);let s=Math.min(this.headerHeight+e,o);this.paintContent(0,s,t,i-s)}else if(i>o){this.paintContent(0,o,t,i-o+1)}this._paintOverlay()}_onViewportScrollRequest(e){this._scrollTo(this._hScrollBar.value,this._vScrollBar.value)}_onViewportPaintRequest(e){if(!this._viewport.isVisible){return}if(this._viewportWidth===0||this._viewportHeight===0){return}let t=0;let i=0;let s=this._viewportWidth-1;let o=this._viewportHeight-1;let r=this._scrollX;let n=this._scrollY;let l=this.headerWidth;let a=this.headerHeight;let h=this._rowSections;let c=this._columnSections;let d=this._rowHeaderSections;let u=this._columnHeaderSections;let{region:f,r1:_,c1:m,r2:g,c2:p}=e;let w;let y;let x;let v;switch(f){case"all":w=t;y=i;x=s;v=o;break;case"body":_=Math.max(0,Math.min(_,h.count));m=Math.max(0,Math.min(m,c.count));g=Math.max(0,Math.min(g,h.count));p=Math.max(0,Math.min(p,c.count));w=c.offsetOf(m)-r+l;y=h.offsetOf(_)-n+a;x=c.extentOf(p)-r+l;v=h.extentOf(g)-n+a;break;case"row-header":_=Math.max(0,Math.min(_,h.count));m=Math.max(0,Math.min(m,d.count));g=Math.max(0,Math.min(g,h.count));p=Math.max(0,Math.min(p,d.count));w=d.offsetOf(m);y=h.offsetOf(_)-n+a;x=d.extentOf(p);v=h.extentOf(g)-n+a;break;case"column-header":_=Math.max(0,Math.min(_,u.count));m=Math.max(0,Math.min(m,c.count));g=Math.max(0,Math.min(g,u.count));p=Math.max(0,Math.min(p,c.count));w=c.offsetOf(m)-r+l;y=u.offsetOf(_);x=c.extentOf(p)-r+l;v=u.extentOf(g);break;case"corner-header":_=Math.max(0,Math.min(_,u.count));m=Math.max(0,Math.min(m,d.count));g=Math.max(0,Math.min(g,u.count));p=Math.max(0,Math.min(p,d.count));w=d.offsetOf(m);y=u.offsetOf(_);x=d.extentOf(p);v=u.extentOf(g);break;default:throw"unreachable"}if(x<t||v<i||w>s||y>o){return}w=Math.max(t,Math.min(w,s));y=Math.max(i,Math.min(y,o));x=Math.max(t,Math.min(x,s));v=Math.max(i,Math.min(v,o));this.paintContent(w,y,x-w+1,v-y+1)}_onViewportOverlayPaintRequest(e){if(!this._viewport.isVisible){return}if(this._viewportWidth===0||this._viewportHeight===0){return}this._paintOverlay()}_onViewportRowResizeRequest(e){if(e.region==="body"){this._resizeRow(e.index,e.size)}else{this._resizeColumnHeader(e.index,e.size)}}_onViewportColumnResizeRequest(e){if(e.region==="body"){this._resizeColumn(e.index,e.size)}else{this._resizeRowHeader(e.index,e.size)}}_onThumbMoved(e){m.MessageLoop.postMessage(this._viewport,Z.ScrollRequest)}_onPageRequested(e,t){if(e===this._vScrollBar){this.scrollByPage(t==="decrement"?"up":"down")}else{this.scrollByPage(t==="decrement"?"left":"right")}}_onStepRequested(e,t){if(e===this._vScrollBar){this.scrollByStep(t==="decrement"?"up":"down")}else{this.scrollByStep(t==="decrement"?"left":"right")}}_onDataModelChanged(e,t){switch(t.type){case"rows-inserted":this._onRowsInserted(t);break;case"columns-inserted":this._onColumnsInserted(t);break;case"rows-removed":this._onRowsRemoved(t);break;case"columns-removed":this._onColumnsRemoved(t);break;case"rows-moved":this._onRowsMoved(t);break;case"columns-moved":this._onColumnsMoved(t);break;case"cells-changed":this._onCellsChanged(t);break;case"model-reset":this._onModelReset(t);break;default:throw"unreachable"}}_onSelectionsChanged(e){this.repaintOverlay()}_onRowsInserted(e){let{region:t,index:i,span:s}=e;if(s<=0){return}let o;if(t==="body"){o=this._rowSections}else{o=this._columnHeaderSections}if(this._scrollY===this.maxScrollY&&this.maxScrollY>0){o.insert(i,s);this._scrollY=this.maxScrollY}else{o.insert(i,s)}this._syncViewport()}_onColumnsInserted(e){let{region:t,index:i,span:s}=e;if(s<=0){return}let o;if(t==="body"){o=this._columnSections}else{o=this._rowHeaderSections}if(this._scrollX===this.maxScrollX&&this.maxScrollX>0){o.insert(i,s);this._scrollX=this.maxScrollX}else{o.insert(i,s)}this._syncViewport()}_onRowsRemoved(e){let{region:t,index:i,span:s}=e;if(s<=0){return}let o;if(t==="body"){o=this._rowSections}else{o=this._columnHeaderSections}if(i<0||i>=o.count){return}if(this._scrollY===this.maxScrollY&&this.maxScrollY>0){o.remove(i,s);this._scrollY=this.maxScrollY}else{o.remove(i,s)}this._syncViewport()}_onColumnsRemoved(e){let{region:t,index:i,span:s}=e;if(s<=0){return}let o;if(t==="body"){o=this._columnSections}else{o=this._rowHeaderSections}if(i<0||i>=o.count){return}if(this._scrollX===this.maxScrollX&&this.maxScrollX>0){o.remove(i,s);this._scrollX=this.maxScrollX}else{o.remove(i,s)}this._syncViewport()}_onRowsMoved(e){let{region:t,index:i,span:s,destination:o}=e;if(s<=0){return}let r;if(t==="body"){r=this._rowSections}else{r=this._columnHeaderSections}if(i<0||i>=r.count){return}s=Math.min(s,r.count-i);o=Math.min(Math.max(0,o),r.count-s);if(i===o){return}let n=Math.min(i,o);let l=Math.max(i+s-1,o+s-1);r.move(i,s,o);if(t==="body"){this.repaintRegion("body",n,0,l,Infinity);this.repaintRegion("row-header",n,0,l,Infinity)}else{this.repaintRegion("column-header",n,0,l,Infinity);this.repaintRegion("corner-header",n,0,l,Infinity)}this._syncViewport()}_onColumnsMoved(e){let{region:t,index:i,span:s,destination:o}=e;if(s<=0){return}let r;if(t==="body"){r=this._columnSections}else{r=this._rowHeaderSections}if(i<0||i>=r.count){return}s=Math.min(s,r.count-i);o=Math.min(Math.max(0,o),r.count-s);if(i===o){return}r.move(i,s,o);let n=Math.min(i,o);let l=Math.max(i+s-1,o+s-1);if(t==="body"){this.repaintRegion("body",0,n,Infinity,l);this.repaintRegion("column-header",0,n,Infinity,l)}else{this.repaintRegion("row-header",0,n,Infinity,l);this.repaintRegion("corner-header",0,n,Infinity,l)}this._syncViewport()}_onCellsChanged(e){let{region:t,row:i,column:s,rowSpan:o,columnSpan:r}=e;if(o<=0&&r<=0){return}let n=i;let l=s;let a=n+o-1;let h=l+r-1;this.repaintRegion(t,n,l,a,h)}_onModelReset(e){let t=this._rowSections.count;let i=this._columnSections.count;let s=this._rowHeaderSections.count;let o=this._columnHeaderSections.count;let r=this._dataModel.rowCount("body")-t;let n=this._dataModel.columnCount("body")-i;let l=this._dataModel.columnCount("row-header")-s;let a=this._dataModel.rowCount("column-header")-o;if(r>0){this._rowSections.insert(t,r)}else if(r<0){this._rowSections.remove(t+r,-r)}if(n>0){this._columnSections.insert(i,n)}else if(n<0){this._columnSections.remove(i+n,-n)}if(l>0){this._rowHeaderSections.insert(s,l)}else if(l<0){this._rowHeaderSections.remove(s+l,-l)}if(a>0){this._columnHeaderSections.insert(o,a)}else if(a<0){this._columnHeaderSections.remove(o+a,-a)}this._syncViewport()}_onRenderersChanged(){this.repaintContent()}_evtKeyDown(e){if(this._mousedown){e.preventDefault();e.stopPropagation()}else if(this._keyHandler){this._keyHandler.onKeyDown(this,e)}}_evtMouseDown(e){if(e.button!==0){return}this.activate();e.preventDefault();e.stopPropagation();document.addEventListener("keydown",this,true);document.addEventListener("mouseup",this,true);document.addEventListener("mousedown",this,true);document.addEventListener("mousemove",this,true);document.addEventListener("contextmenu",this,true);this._mousedown=true;if(this._mouseHandler){this._mouseHandler.onMouseDown(this,e)}}_evtMouseMove(e){if(this._mousedown){e.preventDefault();e.stopPropagation()}if(!this._mouseHandler){return}if(this._mousedown){this._mouseHandler.onMouseMove(this,e)}else{this._mouseHandler.onMouseHover(this,e)}}_evtMouseUp(e){if(e.button!==0){return}e.preventDefault();e.stopPropagation();if(this._mouseHandler){this._mouseHandler.onMouseUp(this,e)}this._releaseMouse()}_evtMouseDoubleClick(e){if(e.button!==0){return}e.preventDefault();e.stopPropagation();if(this._mouseHandler){this._mouseHandler.onMouseDoubleClick(this,e)}this._releaseMouse()}_evtMouseLeave(e){if(this._mousedown){e.preventDefault();e.stopPropagation()}else if(this._mouseHandler){this._mouseHandler.onMouseLeave(this,e)}}_evtContextMenu(e){if(this._mousedown){e.preventDefault();e.stopPropagation()}else if(this._mouseHandler){this._mouseHandler.onContextMenu(this,e)}}_evtWheel(e){if(s.Platform.accelKey(e)){return}if(!this._mouseHandler){return}this._mouseHandler.onWheel(this,e)}_releaseMouse(){this._mousedown=false;if(this._mouseHandler){this._mouseHandler.release()}document.removeEventListener("keydown",this,true);document.removeEventListener("mouseup",this,true);document.removeEventListener("mousedown",this,true);document.removeEventListener("mousemove",this,true);document.removeEventListener("contextmenu",this,true)}_refreshDPI(){let e=Math.ceil(window.devicePixelRatio);if(this._dpiRatio===e){return}this._dpiRatio=e;this.repaintContent();this.repaintOverlay();this._resizeCanvasIfNeeded(this._viewportWidth,this._viewportHeight);this._canvas.style.width=`${this._canvas.width/this._dpiRatio}px`;this._canvas.style.height=`${this._canvas.height/this._dpiRatio}px`;this._overlay.style.width=`${this._overlay.width/this._dpiRatio}px`;this._overlay.style.height=`${this._overlay.height/this._dpiRatio}px`}_resizeRow(e,t){let i=this._rowSections;if(e<0||e>=i.count){return}let s=i.sizeOf(e);let o=i.clampSize(t);if(s===o){return}i.resize(e,o);let r=this._viewportWidth;let n=this._viewportHeight;if(!this._viewport.isVisible||r===0||n===0){this._syncScrollState();return}let l=o-s;let a=this.headerHeight;let h=i.offsetOf(e)+a-this._scrollY;if(a>=n||h>=n){this._syncScrollState();return}if(h+s<=a){this._scrollY+=l;this._syncScrollState();return}let c=Math.max(a,h);if(h+s>=n||h+o>=n){this.paintContent(0,c,r,n-c);this._paintOverlay();this._syncScrollState();return}let d=0;let u=r;let f=0;let _;let m;let g;if(h+o<=a){_=a-l;m=n-_;g=a}else{_=h+s;m=n-_;g=_+l}this._blitContent(this._canvas,d,_,u,m,f,g);if(o>0&&h+o>a){this.paintContent(0,c,r,h+o-c)}if(this._stretchLastRow&&this.pageHeight>this.bodyHeight){let e=this._rowSections.count-1;let t=a+this._rowSections.offsetOf(e);this.paintContent(0,t,r,n-t)}else if(l<0){this.paintContent(0,n+l,r,-l)}for(const p of["body","row-header"]){const t=M.getCellGroupsAtRow(this.dataModel,p,e);let i={region:p,xMin:0,xMax:0,yMin:0,yMax:0};let s=undefined;switch(p){case"body":i.xMin=this.headerWidth;i.xMax=this.headerWidth+this.bodyWidth;i.yMin=this.headerHeight;i.yMax=this.headerHeight+this.bodyHeight;s=this._style.backgroundColor;break;case"row-header":i.xMin=0;i.xMax=this.headerWidth;i.yMin=this.headerHeight;i.yMax=this.headerHeight+this.bodyHeight;s=this._style.headerBackgroundColor;break}this._paintMergedCells(t,i,s)}this._paintOverlay();this._syncScrollState()}_resizeColumn(e,t){let i=this._columnSections;if(e<0||e>=i.count){return}let s=i.sizeOf(e);let o=i.clampSize(t);if(s===o){return}i.resize(e,o);let r=this._viewportWidth;let n=this._viewportHeight;if(!this._viewport.isVisible||r===0||n===0){this._syncScrollState();return}let l=o-s;let a=this.headerWidth;let h=i.offsetOf(e)+a-this._scrollX;if(a>=r||h>=r){this._syncScrollState();return}if(h+s<=a){this._scrollX+=l;this._syncScrollState();return}let c=Math.max(a,h);if(h+s>=r||h+o>=r){this.paintContent(c,0,r-c,n);this._paintOverlay();this._syncScrollState();return}let d=0;let u=n;let f=0;let _;let m;let g;if(h+o<=a){_=a-l;m=r-_;g=a}else{_=h+s;m=r-_;g=_+l}this._blitContent(this._canvas,_,d,m,u,g,f);if(o>0&&h+o>a){this.paintContent(c,0,h+o-c,n)}if(this._stretchLastColumn&&this.pageWidth>this.bodyWidth){let e=this._columnSections.count-1;let t=a+this._columnSections.offsetOf(e);this.paintContent(t,0,r-t,n)}else if(l<0){this.paintContent(r+l,0,-l,n)}for(const p of["body","column-header"]){const t=M.getCellGroupsAtColumn(this.dataModel,p,e);let i={region:p,xMin:0,xMax:0,yMin:0,yMax:0};let s=undefined;switch(p){case"body":i.xMin=this.headerWidth;i.xMax=this.headerWidth+this.bodyWidth;i.yMin=this.headerHeight;i.yMax=this.headerHeight+this.bodyHeight;s=this._style.backgroundColor;break;case"column-header":i.xMin=this.headerWidth;i.xMax=this.headerWidth+this.bodyWidth;i.yMin=0;i.yMax=this.headerHeight;s=this._style.headerBackgroundColor;break}this._paintMergedCells(t,i,s)}this._paintOverlay();this._syncScrollState()}_resizeRowHeader(e,t){let i=this._rowHeaderSections;if(e<0||e>=i.count){return}let s=i.sizeOf(e);let o=i.clampSize(t);if(s===o){return}i.resize(e,o);let r=this._viewportWidth;let n=this._viewportHeight;if(!this._viewport.isVisible||r===0||n===0){this._syncScrollState();return}let l=o-s;let a=i.offsetOf(e);if(a>=r){this._syncScrollState();return}if(a+s>=r||a+o>=r){this.paintContent(a,0,r-a,n);this._paintOverlay();this._syncScrollState();return}let h=a+s;let c=0;let d=r-h;let u=n;let f=h+l;let _=0;this._blitContent(this._canvas,h,c,d,u,f,_);if(o>0){this.paintContent(a,0,o,n)}if(this._stretchLastColumn&&this.pageWidth>this.bodyWidth){let e=this._columnSections.count-1;let t=this.headerWidth+this._columnSections.offsetOf(e);this.paintContent(t,0,r-t,n)}else if(l<0){this.paintContent(r+l,0,-l,n)}for(const m of["corner-header","row-header"]){const t=M.getCellGroupsAtColumn(this.dataModel,m,e);let i={region:m,xMin:0,xMax:0,yMin:0,yMax:0};switch(m){case"corner-header":i.xMin=0;i.xMax=this.headerWidth;i.yMin=0;i.yMax=this.headerHeight;break;case"row-header":i.xMin=0;i.xMax=this.headerWidth;i.yMin=this.headerHeight;i.yMax=this.headerHeight+this.bodyHeight;break}this._paintMergedCells(t,i,this._style.headerBackgroundColor)}this._paintOverlay();this._syncScrollState()}_resizeColumnHeader(e,t){let i=this._columnHeaderSections;if(e<0||e>=i.count){return}let s=i.sizeOf(e);let o=i.clampSize(t);if(s===o){return}i.resize(e,o);let r=this._viewportWidth;let n=this._viewportHeight;if(!this._viewport.isVisible||r===0||n===0){this._syncScrollState();return}this._paintOverlay();let l=o-s;let a=i.offsetOf(e);if(a>=n){this._syncScrollState();return}if(a+s>=n||a+o>=n){this.paintContent(0,a,r,n-a);this._paintOverlay();this._syncScrollState();return}let h=0;let c=a+s;let d=r;let u=n-c;let f=0;let _=c+l;this._blitContent(this._canvas,h,c,d,u,f,_);if(o>0){this.paintContent(0,a,r,o)}if(this._stretchLastRow&&this.pageHeight>this.bodyHeight){let e=this._rowSections.count-1;let t=this.headerHeight+this._rowSections.offsetOf(e);this.paintContent(0,t,r,n-t)}else if(l<0){this.paintContent(0,n+l,r,-l)}for(const m of["corner-header","column-header"]){const t=M.getCellGroupsAtRow(this.dataModel,m,e);let i={region:m,xMin:0,xMax:0,yMin:0,yMax:0};switch(m){case"corner-header":i.xMin=0;i.xMax=this.headerWidth;i.yMin=0;i.yMax=this.headerHeight;break;case"column-header":i.xMin=this.headerWidth;i.xMax=this.headerWidth+this.bodyWidth;i.yMin=0;i.yMax=this.headerHeight;break}this._paintMergedCells(t,i,this._style.headerBackgroundColor)}this._paintOverlay();this._syncScrollState()}_scrollTo(e,t){if(!this.dataModel){return}e=Math.max(0,Math.min(Math.floor(e),this.maxScrollX));t=Math.max(0,Math.min(Math.floor(t),this.maxScrollY));this._hScrollBar.value=e;this._vScrollBar.value=t;let i=e-this._scrollX;let s=t-this._scrollY;if(i===0&&s===0){return}if(!this._viewport.isVisible){this._scrollX=e;this._scrollY=t;return}let o=this._viewportWidth;let r=this._viewportHeight;if(o===0||r===0){this._scrollX=e;this._scrollY=t;return}let n=this.headerWidth;let l=this.headerHeight;let a=o-n;let h=r-l;if(a<=0&&h<=0){this._scrollX=e;this._scrollY=t;return}let c=0;if(i!==0&&a>0){if(Math.abs(i)>=a){c=a*r}else{c=Math.abs(i)*r}}let d=0;if(s!==0&&h>0){if(Math.abs(s)>=h){d=o*h}else{d=o*Math.abs(s)}}if(c+d>=o*r){this._scrollX=e;this._scrollY=t;this.paintContent(0,0,o,r);this._paintOverlay();return}this._scrollY=t;if(s!==0&&h>0){if(Math.abs(s)>=h){this.paintContent(0,l,o,h)}else{const e=0;const t=s<0?l:l+s;const i=o;const n=h-Math.abs(s);this._blitContent(this._canvas,e,t,i,n,e,t-s);this.paintContent(0,s<0?l:r-s,o,Math.abs(s));for(const s of["body","row-header"]){const e=M.getCellGroupsAtRegion(this.dataModel,s);let t={region:s,xMin:0,xMax:0,yMin:0,yMax:0};let i=undefined;switch(s){case"body":t.xMin=this.headerWidth;t.xMax=this.headerWidth+this.bodyWidth;t.yMin=this.headerHeight;t.yMax=this.headerHeight+this.bodyHeight;i=this._style.backgroundColor;break;case"row-header":t.xMin=0;t.xMax=this.headerWidth;t.yMin=this.headerHeight;t.yMax=this.headerHeight+this.bodyHeight;i=this._style.headerBackgroundColor;break}this._paintMergedCells(e,t,i)}}}this._scrollX=e;if(i!==0&&a>0){if(Math.abs(i)>=a){this.paintContent(n,0,a,r)}else{const e=i<0?n:n+i;const t=0;const s=a-Math.abs(i);const l=r;this._blitContent(this._canvas,e,t,s,l,e-i,t);this.paintContent(i<0?n:o-i,0,Math.abs(i),r);for(const i of["body","column-header"]){const e=M.getCellGroupsAtRegion(this.dataModel,i);let t={region:i,xMin:0,xMax:0,yMin:0,yMax:0};let s=undefined;switch(i){case"body":t.xMin=this.headerWidth;t.xMax=this.headerWidth+this.bodyWidth;t.yMin=this.headerHeight;t.yMax=this.headerHeight+this.bodyHeight;s=this._style.backgroundColor;break;case"column-header":t.xMin=this.headerWidth;t.xMax=this.headerWidth+this.bodyWidth;t.yMin=0;t.yMax=this.headerHeight;s=this._style.headerBackgroundColor;break}this._paintMergedCells(e,t,s)}}}this._paintOverlay()}_blitContent(e,t,i,s,o,r,n){t*=this._dpiRatio;i*=this._dpiRatio;s*=this._dpiRatio;o*=this._dpiRatio;r*=this._dpiRatio;n*=this._dpiRatio;this._canvasGC.save();this._canvasGC.setTransform(1,0,0,1,0,0);this._canvasGC.drawImage(e,t,i,s,o,r,n,s,o);this._canvasGC.restore()}paintContent(e,t,i,s){this._canvasGC.setTransform(this._dpiRatio,0,0,this._dpiRatio,0,0);this._bufferGC.setTransform(this._dpiRatio,0,0,this._dpiRatio,0,0);this._canvasGC.clearRect(e,t,i,s);this._drawVoidRegion(e,t,i,s);this._drawBodyRegion(e,t,i,s);this._drawRowHeaderRegion(e,t,i,s);this._drawColumnHeaderRegion(e,t,i,s);this.drawCornerHeaderRegion(e,t,i,s)}_fitBodyColumnHeaders(e,t,i){const s=i===undefined?e.columnCount("body"):i;for(let o=0;o<s;o++){const i=e.rowCount("column-header");let s=0;for(let t=0;t<i;t++){const i=e.data("column-header",t,o);let r={x:0,y:0,width:0,height:0,region:"column-header",row:0,column:o,value:null,metadata:V.emptyMetadata};const n=this.cellRenderers.get(r);const l=this.canvasGC;l.font=w.resolveOption(n.font,r);const a=l.measureText(i).width;s=Math.max(s,a)}this.resizeColumn("body",o,s+t)}}_fitRowColumnHeaders(e,t,i){const s=i===undefined?e.columnCount("row-header"):i;for(let o=0;o<s;o++){const i=e.rowCount("column-header");let s=0;for(let t=0;t<i;t++){const i=e.data("corner-header",t,o);let r={x:0,y:0,width:0,height:0,region:"column-header",row:0,column:o,value:null,metadata:V.emptyMetadata};const n=this.cellRenderers.get(r);const l=this.canvasGC;l.font=w.resolveOption(n.font,r);const a=l.measureText(i).width;s=Math.max(s,a)}this.resizeColumn("row-header",o,s+t)}}_paintOverlay(){this._overlayGC.setTransform(this._dpiRatio,0,0,this._dpiRatio,0,0);this._overlayGC.clearRect(0,0,this._overlay.width,this._overlay.height);this._drawBodySelections();this._drawRowHeaderSelections();this._drawColumnHeaderSelections();this._drawCursor();this._drawShadows()}_drawVoidRegion(e,t,i,s){let o=this._style.voidColor;if(!o){return}this._canvasGC.fillStyle=o;this._canvasGC.fillRect(e,t,i,s)}_drawBodyRegion(e,t,i,s){let o=this._columnSections.length-this._scrollX;let r=this._rowSections.length-this._scrollY;if(o<=0||r<=0){return}let n=this.headerWidth;let l=this.headerHeight;if(e+i<=n){return}if(t+s<=l){return}if(e>=n+o){return}if(t>=l+r){return}let a=this.bodyHeight;let h=this.bodyWidth;let c=this.pageHeight;let d=this.pageWidth;let u=Math.max(e,n);let f=Math.max(t,l);let _=Math.min(e+i-1,n+o-1);let m=Math.min(t+s-1,l+r-1);let g=this._rowSections.indexOf(f-l+this._scrollY);let p=this._columnSections.indexOf(u-n+this._scrollX);let w=this._rowSections.indexOf(m-l+this._scrollY);let y=this._columnSections.indexOf(_-n+this._scrollX);let x=this._rowSections.count-1;let v=this._columnSections.count-1;if(w<0){w=x}if(y<0){y=v}let C=this._columnSections.offsetOf(p)+n-this._scrollX;let S=this._rowSections.offsetOf(g)+l-this._scrollY;let b=0;let H=0;let R=new Array(w-g+1);let z=new Array(y-p+1);for(let M=g;M<=w;++M){let e=this._rowSections.sizeOf(M);R[M-g]=e;H+=e}for(let M=p;M<=y;++M){let e=this._columnSections.sizeOf(M);z[M-p]=e;b+=e}if(this._stretchLastRow&&c>a&&w===x){let e=this.pageHeight-this.bodyHeight;R[R.length-1]+=e;H+=e;m+=e}if(this._stretchLastColumn&&d>h&&y===v){let e=this.pageWidth-this.bodyWidth;z[z.length-1]+=e;b+=e;_+=e}let O={region:"body",xMin:u,yMin:f,xMax:_,yMax:m,x:C,y:S,width:b,height:H,row:g,column:p,rowSizes:R,columnSizes:z};this._drawBackground(O,this._style.backgroundColor);this._drawRowBackground(O,this._style.rowBackgroundColor);this._drawColumnBackground(O,this._style.columnBackgroundColor);this._drawCells(O);this._drawHorizontalGridLines(O,this._style.horizontalGridLineColor||this._style.gridLineColor);this._drawVerticalGridLines(O,this._style.verticalGridLineColor||this._style.gridLineColor);const k=M.getCellGroupsAtRegion(this.dataModel,O.region).filter((e=>this.cellGroupInteresectsRegion(e,O)));this._paintMergedCells(k,O,this._style.backgroundColor)}_drawRowHeaderRegion(e,t,i,s){let o=this.headerWidth;let r=this.bodyHeight-this._scrollY;if(o<=0||r<=0){return}let n=0;let l=this.headerHeight;if(e+i<=n){return}if(t+s<=l){return}if(e>=n+o){return}if(t>=l+r){return}let a=this.bodyHeight;let h=this.pageHeight;let c=e;let d=Math.max(t,l);let u=Math.min(e+i-1,n+o-1);let f=Math.min(t+s-1,l+r-1);let _=this._rowSections.indexOf(d-l+this._scrollY);let m=this._rowHeaderSections.indexOf(c);let g=this._rowSections.indexOf(f-l+this._scrollY);let p=this._rowHeaderSections.indexOf(u);let w=this._rowSections.count-1;let y=this._rowHeaderSections.count-1;if(g<0){g=w}if(p<0){p=y}let x=this._rowHeaderSections.offsetOf(m);let v=this._rowSections.offsetOf(_)+l-this._scrollY;let C=0;let S=0;let b=new Array(g-_+1);let H=new Array(p-m+1);for(let M=_;M<=g;++M){let e=this._rowSections.sizeOf(M);b[M-_]=e;S+=e}for(let M=m;M<=p;++M){let e=this._rowHeaderSections.sizeOf(M);H[M-m]=e;C+=e}if(this._stretchLastRow&&h>a&&g===w){let e=this.pageHeight-this.bodyHeight;b[b.length-1]+=e;S+=e;f+=e}let R={region:"row-header",xMin:c,yMin:d,xMax:u,yMax:f,x,y:v,width:C,height:S,row:_,column:m,rowSizes:b,columnSizes:H};this._drawBackground(R,this._style.headerBackgroundColor);this._drawCells(R);this._drawHorizontalGridLines(R,this._style.headerHorizontalGridLineColor||this._style.headerGridLineColor);this._drawVerticalGridLines(R,this._style.headerVerticalGridLineColor||this._style.headerGridLineColor);const z=M.getCellGroupsAtRegion(this.dataModel,R.region).filter((e=>this.cellGroupInteresectsRegion(e,R)));this._paintMergedCells(z,R,this._style.headerBackgroundColor)}_drawColumnHeaderRegion(e,t,i,s){let o=this.bodyWidth-this._scrollX;let r=this.headerHeight;if(o<=0||r<=0){return}let n=this.headerWidth;let l=0;if(e+i<=n){return}if(t+s<=l){return}if(e>=n+o){return}if(t>=l+r){return}let a=this.bodyWidth;let h=this.pageWidth;let c=Math.max(e,n);let d=t;let u=Math.min(e+i-1,n+o-1);let f=Math.min(t+s-1,l+r-1);let _=this._columnHeaderSections.indexOf(d);let m=this._columnSections.indexOf(c-n+this._scrollX);let g=this._columnHeaderSections.indexOf(f);let p=this._columnSections.indexOf(u-n+this._scrollX);let w=this._columnHeaderSections.count-1;let y=this._columnSections.count-1;if(g<0){g=w}if(p<0){p=y}let x=this._columnSections.offsetOf(m)+n-this._scrollX;let v=this._columnHeaderSections.offsetOf(_);let C=0;let S=0;let b=new Array(g-_+1);let H=new Array(p-m+1);for(let M=_;M<=g;++M){let e=this._columnHeaderSections.sizeOf(M);b[M-_]=e;S+=e}for(let M=m;M<=p;++M){let e=this._columnSections.sizeOf(M);H[M-m]=e;C+=e}if(this._stretchLastColumn&&h>a&&p===y){let e=this.pageWidth-this.bodyWidth;H[H.length-1]+=e;C+=e;u+=e}let R={region:"column-header",xMin:c,yMin:d,xMax:u,yMax:f,x,y:v,width:C,height:S,row:_,column:m,rowSizes:b,columnSizes:H};this._drawBackground(R,this._style.headerBackgroundColor);this._drawCells(R);this._drawHorizontalGridLines(R,this._style.headerHorizontalGridLineColor||this._style.headerGridLineColor);this._drawVerticalGridLines(R,this._style.headerVerticalGridLineColor||this._style.headerGridLineColor);const z=M.getCellGroupsAtRegion(this.dataModel,R.region).filter((e=>this.cellGroupInteresectsRegion(e,R)));this._paintMergedCells(z,R,this._style.headerBackgroundColor)}drawCornerHeaderRegion(e,t,i,s){let o=this.headerWidth;let r=this.headerHeight;if(o<=0||r<=0){return}let n=0;let l=0;if(e+i<=n){return}if(t+s<=l){return}if(e>=n+o){return}if(t>=l+r){return}let a=e;let h=t;let c=Math.min(e+i-1,n+o-1);let d=Math.min(t+s-1,l+r-1);let u=this._columnHeaderSections.indexOf(h);let f=this._rowHeaderSections.indexOf(a);let _=this._columnHeaderSections.indexOf(d);let m=this._rowHeaderSections.indexOf(c);if(_<0){_=this._columnHeaderSections.count-1}if(m<0){m=this._rowHeaderSections.count-1}let g=this._rowHeaderSections.offsetOf(f);let p=this._columnHeaderSections.offsetOf(u);let w=0;let y=0;let x=new Array(_-u+1);let v=new Array(m-f+1);for(let M=u;M<=_;++M){let e=this._columnHeaderSections.sizeOf(M);x[M-u]=e;y+=e}for(let M=f;M<=m;++M){let e=this._rowHeaderSections.sizeOf(M);v[M-f]=e;w+=e}let C={region:"corner-header",xMin:a,yMin:h,xMax:c,yMax:d,x:g,y:p,width:w,height:y,row:u,column:f,rowSizes:x,columnSizes:v};this._drawBackground(C,this._style.headerBackgroundColor);this._drawCells(C);this._drawHorizontalGridLines(C,this._style.headerHorizontalGridLineColor||this._style.headerGridLineColor);this._drawVerticalGridLines(C,this._style.headerVerticalGridLineColor||this._style.headerGridLineColor);const S=M.getCellGroupsAtRegion(this.dataModel,C.region).filter((e=>this.cellGroupInteresectsRegion(e,C)));this._paintMergedCells(S,C,this._style.headerBackgroundColor)}_drawBackground(e,t){if(!t){return}let{xMin:i,yMin:s,xMax:o,yMax:r}=e;this._canvasGC.fillStyle=t;this._canvasGC.fillRect(i,s,o-i+1,r-s+1)}_drawRowBackground(e,t){if(!t){return}let i=Math.max(e.xMin,e.x);let s=Math.min(e.x+e.width-1,e.xMax);for(let o=e.y,r=0,n=e.rowSizes.length;r<n;++r){let n=e.rowSizes[r];if(n===0){continue}let l=t(e.row+r);if(l){let t=Math.max(e.yMin,o);let r=Math.min(o+n-1,e.yMax);this._canvasGC.fillStyle=l;this._canvasGC.fillRect(i,t,s-i+1,r-t+1)}o+=n}}_drawColumnBackground(e,t){if(!t){return}let i=Math.max(e.yMin,e.y);let s=Math.min(e.y+e.height-1,e.yMax);for(let o=e.x,r=0,n=e.columnSizes.length;r<n;++r){let n=e.columnSizes[r];if(n===0){continue}let l=t(e.column+r);if(l){let t=Math.max(e.xMin,o);let r=Math.min(o+n-1,e.xMax);this._canvasGC.fillStyle=l;this._canvasGC.fillRect(t,i,r-t+1,s-i+1)}o+=n}}_getColumnSize(e,t){if(e==="corner-header"){return this._rowHeaderSections.sizeOf(t)}return this.columnSize(e,t)}_getRowSize(e,t){if(e==="corner-header"){return this._columnHeaderSections.sizeOf(t)}return this.rowSize(e,t)}_drawCells(e){if(!this._dataModel){return}let t={x:0,y:0,width:0,height:0,region:e.region,row:0,column:0,value:null,metadata:V.emptyMetadata};let i=-1;this._bufferGC.save();let s=new F(this._bufferGC);let o=0;for(let n=e.x,l=0,a=e.columnSizes.length;l<a;++l){let a=e.columnSizes[l];if(a===0){continue}let h=e.column+l;t.x=n;t.width=a;t.column=h;for(let l=e.y,c=0,d=e.rowSizes.length;c<d;++c){o=e.rowSizes[c];if(o===0){continue}let d=e.row+c;i=M.getGroupIndex(this.dataModel,t.region,d,h);if(i!==-1){l+=o;continue}s.clearRect(n,l,a,o);let u;try{u=this._dataModel.data(e.region,d,h)}catch(r){u=undefined;console.error(r)}let f;try{f=this._dataModel.metadata(e.region,d,h)}catch(r){f=V.emptyMetadata;console.error(r)}t.y=l;t.height=o;t.width=a;t.row=d;t.value=u;t.metadata=f;let _=this._cellRenderers.get(t);s.save();try{_.paint(s,t)}catch(r){console.error(r)}s.restore();let m=Math.max(e.xMin,t.x);let g=Math.min(t.x+t.width-1,e.xMax);let p=Math.max(e.yMin,t.y);let w=Math.min(t.y+t.height-1,e.yMax);this._blitContent(this._buffer,m,p,g-m+1,w-p+1,m,p);l+=o}s.restore();n+=a}s.dispose();this._bufferGC.restore()}cellGroupInteresectsRegion(e,t){const i=t.row;const s=t.row+t.rowSizes.length;const o=t.column;const r=t.column+t.columnSizes.length;const n=Math.min(e.r2,s)-Math.max(e.r1,i);const l=Math.min(e.c2,r)-Math.max(e.c1,o);return n>=0&&l>=0}_paintMergedCells(e,t,i){if(!this._dataModel){return}let s={x:0,y:0,width:0,height:0,region:t.region,row:0,column:0,value:null,metadata:V.emptyMetadata};if(i){this._canvasGC.fillStyle=i}this._canvasGC.lineWidth=1;this._bufferGC.save();let o=new F(this._bufferGC);for(const n of e){let e=0;for(let i=n.c1;i<=n.c2;i++){e+=this._getColumnSize(t.region,i)}let l=0;for(let i=n.r1;i<=n.r2;i++){l+=this._getRowSize(t.region,i)}let a;try{a=this._dataModel.data(t.region,n.r1,n.c1)}catch(r){a=undefined;console.error(r)}let h;try{h=this._dataModel.metadata(t.region,n.r1,n.c1)}catch(r){h=V.emptyMetadata;console.error(r)}let c=0;let d=0;switch(t.region){case"body":c=this._columnSections.offsetOf(n.c1)+this.headerWidth-this._scrollX;d=this._rowSections.offsetOf(n.r1)+this.headerHeight-this._scrollY;break;case"column-header":c=this._columnSections.offsetOf(n.c1)+this.headerWidth-this._scrollX;d=this._rowSections.offsetOf(n.r1);break;case"row-header":c=this._columnSections.offsetOf(n.c1);d=this._rowSections.offsetOf(n.r1)+this.headerHeight-this._scrollY;break;case"corner-header":c=this._columnSections.offsetOf(n.c1);d=this._rowSections.offsetOf(n.r1);break}s.x=c;s.y=d;s.width=e;s.height=l;s.region=t.region;s.row=n.r1;s.column=n.c1;s.value=a;s.metadata=h;const u=Math.max(t.xMin,c);const f=Math.min(c+e-2,t.xMax);const _=Math.max(t.yMin,d);const m=Math.min(d+l-2,t.yMax);if(f<=u||m<=_){continue}if(i){this._canvasGC.fillRect(u,_,f-u+1,m-_+1)}let g=this._cellRenderers.get(s);o.clearRect(s.x,s.y,e,l);o.save();try{g.paint(o,s)}catch(r){console.error(r)}o.restore();this._blitContent(this._buffer,u,_,f-u+1,m-_+1,u,_)}o.dispose();this._bufferGC.restore()}_drawHorizontalGridLines(e,t){if(!t){return}const i=Math.max(e.xMin,e.x);const s=Math.min(e.x+e.width,e.xMax+1);this._canvasGC.beginPath();this._canvasGC.lineWidth=1;const o=this.bodyHeight;const r=this.pageHeight;let n=e.rowSizes.length;if(this._stretchLastRow&&r>o){if(e.row+n===this._rowSections.count){n-=1}}for(let l=e.y,a=0;a<n;++a){let t=e.rowSizes[a];if(t===0){continue}let o=l+t-1;if(o>=e.yMin&&o<=e.yMax){this._canvasGC.moveTo(i,o+.5);this._canvasGC.lineTo(s,o+.5)}l+=t}this._canvasGC.strokeStyle=t;this._canvasGC.stroke()}_drawVerticalGridLines(e,t){if(!t){return}const i=Math.max(e.yMin,e.y);const s=Math.min(e.y+e.height,e.yMax+1);this._canvasGC.beginPath();this._canvasGC.lineWidth=1;const o=this.bodyWidth;const r=this.pageWidth;let n=e.columnSizes.length;if(this._stretchLastColumn&&r>o){if(e.column+n===this._columnSections.count){n-=1}}for(let l=e.x,a=0;a<n;++a){let t=e.columnSizes[a];if(t===0){continue}let o=l+t-1;if(o>=e.xMin&&o<=e.xMax){this._canvasGC.moveTo(o+.5,i);this._canvasGC.lineTo(o+.5,s)}l+=t}this._canvasGC.strokeStyle=t;this._canvasGC.stroke()}_drawBodySelections(){let e=this._selectionModel;if(!e||e.isEmpty){return}let t=this._style.selectionFillColor;let i=this._style.selectionBorderColor;if(!t&&!i){return}let s=this._scrollX;let o=this._scrollY;let r=this._rowSections.indexOf(o);let n=this._columnSections.indexOf(s);if(r<0||n<0){return}let l=this.bodyWidth;let a=this.bodyHeight;let h=this.pageWidth;let c=this.pageHeight;let d=this.headerWidth;let u=this.headerHeight;let f=this._rowSections.indexOf(o+c);let _=this._columnSections.indexOf(s+h);let m=this._rowSections.count-1;let g=this._columnSections.count-1;f=f<0?m:f;_=_<0?g:_;let p=this._overlayGC;p.save();p.beginPath();p.rect(d,u,h,c);p.clip();if(t){p.fillStyle=t}if(i){p.strokeStyle=i;p.lineWidth=1}for(let w of e.selections()){if(w.r1<r&&w.r2<r){continue}if(w.r1>f&&w.r2>f){continue}if(w.c1<n&&w.c2<n){continue}if(w.c1>_&&w.c2>_){continue}let e=Math.max(0,Math.min(w.r1,m));let y=Math.max(0,Math.min(w.c1,g));let x=Math.max(0,Math.min(w.r2,m));let v=Math.max(0,Math.min(w.c2,g));let C;if(e>x){C=e;e=x;x=C}if(y>v){C=y;y=v;v=C}const S=M.joinCellGroupWithMergedCellGroups(this.dataModel,{r1:e,r2:x,c1:y,c2:v},"body");e=S.r1;x=S.r2;y=S.c1;v=S.c2;let b=this._columnSections.offsetOf(y)-s+d;let H=this._rowSections.offsetOf(e)-o+u;let R=this._columnSections.extentOf(v)-s+d;let z=this._rowSections.extentOf(x)-o+u;if(this._stretchLastColumn&&h>l&&v===g){R=d+h-1}if(this._stretchLastRow&&c>a&&x===m){z=u+c-1}b=Math.max(d-1,b);H=Math.max(u-1,H);R=Math.min(d+h+1,R);z=Math.min(u+c+1,z);if(R<b||z<H){continue}if(t){p.fillRect(b,H,R-b+1,z-H+1)}if(i){p.strokeRect(b-.5,H-.5,R-b+1,z-H+1)}}p.restore()}_drawRowHeaderSelections(){let e=this._selectionModel;if(!e||e.isEmpty||e.selectionMode=="column"){return}if(this.headerWidth===0||this.pageHeight===0){return}let t=this._style.headerSelectionFillColor;let i=this._style.headerSelectionBorderColor;if(!t&&!i){return}let s=this._scrollY;let o=this.bodyHeight;let r=this.pageHeight;let n=this.headerWidth;let l=this.headerHeight;let a=this._rowSections;let h=this._overlayGC;h.save();h.beginPath();h.rect(0,l,n,r);h.clip();if(t){h.fillStyle=t}if(i){h.strokeStyle=i;h.lineWidth=1}let c=a.count-1;let d=a.indexOf(s);let u=a.indexOf(s+r-1);u=u<0?c:u;for(let f=d;f<=u;++f){if(!e.isRowSelected(f)){continue}let d=a.offsetOf(f)-s+l;let u=a.sizeOf(f);if(this._stretchLastRow&&r>o&&f===c){u=l+r-d}if(u===0){continue}if(t){h.fillRect(0,d,n,u)}if(i){h.beginPath();h.moveTo(n-.5,d-1);h.lineTo(n-.5,d+u);h.stroke()}}h.restore()}_drawColumnHeaderSelections(){let e=this._selectionModel;if(!e||e.isEmpty||e.selectionMode=="row"){return}if(this.headerHeight===0||this.pageWidth===0){return}let t=this._style.headerSelectionFillColor;let i=this._style.headerSelectionBorderColor;if(!t&&!i){return}let s=this._scrollX;let o=this.bodyWidth;let r=this.pageWidth;let n=this.headerWidth;let l=this.headerHeight;let a=this._columnSections;let h=this._overlayGC;h.save();h.beginPath();h.rect(n,0,r,l);h.clip();if(t){h.fillStyle=t}if(i){h.strokeStyle=i;h.lineWidth=1}let c=a.count-1;let d=a.indexOf(s);let u=a.indexOf(s+r-1);u=u<0?c:u;for(let f=d;f<=u;++f){if(!e.isColumnSelected(f)){continue}let d=a.offsetOf(f)-s+n;let u=a.sizeOf(f);if(this._stretchLastColumn&&r>o&&f===c){u=n+r-d}if(u===0){continue}if(t){h.fillRect(d,0,u,l)}if(i){h.beginPath();h.moveTo(d-1,l-.5);h.lineTo(d+u,l-.5);h.stroke()}}h.restore()}_drawCursor(){let e=this._selectionModel;if(!e||e.isEmpty||e.selectionMode!=="cell"){return}let t=this._style.cursorFillColor;let i=this._style.cursorBorderColor;if(!t&&!i){return}let s=e.cursorRow;let o=e.cursorColumn;let r=this._rowSections.count-1;let n=this._columnSections.count-1;if(s<0||s>r){return}if(o<0||o>n){return}let l=s;let a=o;const h=M.joinCellGroupWithMergedCellGroups(this.dataModel,{r1:s,r2:l,c1:o,c2:a},"body");s=h.r1;l=h.r2;o=h.c1;a=h.c2;let c=this._scrollX;let d=this._scrollY;let u=this.bodyWidth;let f=this.bodyHeight;let _=this.pageWidth;let m=this.pageHeight;let g=this.headerWidth;let p=this.headerHeight;let w=this._viewportWidth;let y=this._viewportHeight;let x=this._columnSections.offsetOf(o)-c+g;let v=this._columnSections.extentOf(a)-c+g;let C=this._rowSections.offsetOf(s)-d+p;let S=this._rowSections.extentOf(l)-d+p;if(this._stretchLastColumn&&_>u&&o===n){v=w-1}if(this._stretchLastRow&&m>f&&s===r){S=y-1}if(v<x||S<C){return}if(x-1>=w||C-1>=y||v+1<g||S+1<p){return}let b=this._overlayGC;b.save();b.beginPath();b.rect(g,p,_,m);b.clip();b.clearRect(x,C,v-x+1,S-C+1);if(t){b.fillStyle=t;b.fillRect(x,C,v-x+1,S-C+1)}if(i){b.strokeStyle=i;b.lineWidth=2;b.strokeRect(x,C,v-x,S-C)}b.restore()}_drawShadows(){let e=this._style.scrollShadow;if(!e){return}let t=this._scrollX;let i=this._scrollY;let s=this.maxScrollX;let o=this.maxScrollY;let r=this.headerWidth;let n=this.headerHeight;let l=this.pageWidth;let a=this.pageHeight;let h=this._viewportWidth;let c=this._viewportHeight;let d=this.bodyWidth;let u=this.bodyHeight;if(this._stretchLastRow&&a>u){u=a}if(this._stretchLastColumn&&l>d){d=l}let f=this._overlayGC;f.save();if(i>0){let i=0;let s=n;let o=0;let a=s+e.size;let h=f.createLinearGradient(i,s,o,a);h.addColorStop(0,e.color1);h.addColorStop(.5,e.color2);h.addColorStop(1,e.color3);let c=0;let u=n;let _=r+Math.min(l,d-t);let m=e.size;f.fillStyle=h;f.fillRect(c,u,_,m)}if(t>0){let t=r;let s=0;let o=t+e.size;let l=0;let h=f.createLinearGradient(t,s,o,l);h.addColorStop(0,e.color1);h.addColorStop(.5,e.color2);h.addColorStop(1,e.color3);let c=r;let d=0;let _=e.size;let m=n+Math.min(a,u-i);f.fillStyle=h;f.fillRect(c,d,_,m)}if(i<o){let i=0;let s=c;let o=0;let n=c-e.size;let a=f.createLinearGradient(i,s,o,n);a.addColorStop(0,e.color1);a.addColorStop(.5,e.color2);a.addColorStop(1,e.color3);let h=0;let u=c-e.size;let _=r+Math.min(l,d-t);let m=e.size;f.fillStyle=a;f.fillRect(h,u,_,m)}if(t<s){let t=h;let s=0;let o=h-e.size;let r=0;let l=f.createLinearGradient(t,s,o,r);l.addColorStop(0,e.color1);l.addColorStop(.5,e.color2);l.addColorStop(1,e.color3);let c=h-e.size;let d=0;let _=e.size;let m=n+Math.min(a,u-i);f.fillStyle=l;f.fillRect(c,d,_,m)}f.restore()}}(function(e){function t(e){if(e.value===null||e.value===undefined){return""}return String(e.value)}e.copyFormatGeneric=t;e.defaultStyle={voidColor:"#F3F3F3",backgroundColor:"#FFFFFF",gridLineColor:"rgba(20, 20, 20, 0.15)",headerBackgroundColor:"#F3F3F3",headerGridLineColor:"rgba(20, 20, 20, 0.25)",selectionFillColor:"rgba(49, 119, 229, 0.2)",selectionBorderColor:"rgba(0, 107, 247, 1.0)",cursorBorderColor:"rgba(0, 107, 247, 1.0)",headerSelectionFillColor:"rgba(20, 20, 20, 0.1)",headerSelectionBorderColor:"rgba(0, 107, 247, 1.0)",scrollShadow:{size:10,color1:"rgba(0, 0, 0, 0.20)",color2:"rgba(0, 0, 0, 0.05)",color3:"rgba(0, 0, 0, 0.00)"}};e.defaultSizes={rowHeight:20,columnWidth:64,rowHeaderWidth:64,columnHeaderHeight:20};e.minimumSizes={rowHeight:20,columnWidth:10,rowHeaderWidth:10,columnHeaderHeight:20};e.defaultCopyConfig={separator:"\t",format:t,headers:"none",warningThreshold:1e6}})(J||(J={}));var Z;(function(e){e.ScrollRequest=new m.ConflatableMessage("scroll-request");e.OverlayPaintRequest=new m.ConflatableMessage("overlay-paint-request");function t(){let e=document.createElement("canvas");e.width=0;e.height=0;return e}e.createCanvas=t;function i(e,t){const i=M.getCellGroupsAtRegion(e,t);return i.length>0}e.regionHasMergedCells=i;class s extends m.ConflatableMessage{constructor(e,t,i,s,o){super("paint-request");this._region=e;this._r1=t;this._c1=i;this._r2=s;this._c2=o}get region(){return this._region}get r1(){return this._r1}get c1(){return this._c1}get r2(){return this._r2}get c2(){return this._c2}conflate(e){if(this._region==="all"){return true}if(e._region==="all"){this._region="all";return true}if(this._region!==e._region){return false}this._r1=Math.min(this._r1,e._r1);this._c1=Math.min(this._c1,e._c1);this._r2=Math.max(this._r2,e._r2);this._c2=Math.max(this._c2,e._c2);return true}}e.PaintRequest=s;class o extends m.ConflatableMessage{constructor(e,t,i){super("row-resize-request");this._region=e;this._index=t;this._size=i}get region(){return this._region}get index(){return this._index}get size(){return this._size}conflate(e){if(this._region!==e._region||this._index!==e._index){return false}this._size=e._size;return true}}e.RowResizeRequest=o;class r extends m.ConflatableMessage{constructor(e,t,i){super("column-resize-request");this._region=e;this._index=t;this._size=i}get region(){return this._region}get index(){return this._index}get size(){return this._size}conflate(e){if(this._region!==e._region||this._index!==e._index){return false}this._size=e._size;return true}}e.ColumnResizeRequest=r})(Z||(Z={}));class Q extends V{constructor(e){super();let t=ee.splitFields(e.schema);this._data=e.data;this._bodyFields=t.bodyFields;this._headerFields=t.headerFields;this._missingValues=ee.createMissingMap(e.schema)}rowCount(e){if(e==="body"){return this._data.length}return 1}columnCount(e){if(e==="body"){return this._bodyFields.length}return this._headerFields.length}data(e,t,i){let s;let o;switch(e){case"body":s=this._bodyFields[i];o=this._data[t][s.name];break;case"column-header":s=this._bodyFields[i];o=s.title||s.name;break;case"row-header":s=this._headerFields[i];o=this._data[t][s.name];break;case"corner-header":s=this._headerFields[i];o=s.title||s.name;break;default:throw"unreachable"}let r=this._missingValues!==null&&typeof o==="string"&&this._missingValues[o]===true;return r?null:o}metadata(e,t,i){if(e==="body"||e==="column-header"){return this._bodyFields[i]}return this._headerFields[i]}}var ee;(function(e){function t(e){let t;if(e.primaryKey===undefined){t=[]}else if(typeof e.primaryKey==="string"){t=[e.primaryKey]}else{t=e.primaryKey}let i=[];let s=[];for(let o of e.fields){if(t.indexOf(o.name)===-1){i.push(o)}else{s.push(o)}}return{bodyFields:i,headerFields:s}}e.splitFields=t;function i(e){if(!e.missingValues||e.missingValues.length===0){return null}let t=Object.create(null);for(let i of e.missingValues){t[i]=true}return t}e.createMissingMap=i})(ee||(ee={}))}}]);
2
+ //# sourceMappingURL=8302.9c4fa45b6f90d0c97e69.js.map?v=9c4fa45b6f90d0c97e69