jupyterlab 4.0.12__py3-none-any.whl → 4.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (559) hide show
  1. jupyterlab/_version.py +1 -1
  2. jupyterlab/browser_check.py +1 -1
  3. jupyterlab/commands.py +122 -24
  4. jupyterlab/extensions/manager.py +146 -40
  5. jupyterlab/extensions/pypi.py +121 -143
  6. jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +133 -95
  7. jupyterlab/galata/@jupyterlab/galata-extension/package.json +13 -13
  8. jupyterlab/galata/@jupyterlab/galata-extension/static/{lib_extension_index_js.6258249575a3de76958a.js → lib_extension_index_js.193465adc9aa81a6b29f.js} +11 -7
  9. jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.b8fefd648959729a91e4.js → remoteEntry.9126d8bd4815ede2d14b.js} +4 -4
  10. jupyterlab/handlers/announcements.py +1 -1
  11. jupyterlab/handlers/plugin_manager_handler.py +64 -0
  12. jupyterlab/labapp.py +70 -12
  13. jupyterlab/labextensions.py +58 -3
  14. jupyterlab/schemas/@jupyterlab/application-extension/commands.json +181 -1
  15. jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +14 -14
  16. jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +18 -18
  17. jupyterlab/schemas/@jupyterlab/apputils-extension/themes.json +23 -1
  18. jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +8 -8
  19. jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +8 -8
  20. jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +13 -13
  21. jupyterlab/schemas/@jupyterlab/completer-extension/inline-completer.json +64 -0
  22. jupyterlab/schemas/@jupyterlab/completer-extension/manager.json +2 -1
  23. jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +10 -8
  24. jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +16 -16
  25. jupyterlab/schemas/@jupyterlab/console-extension/tracker.json +0 -5
  26. jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +14 -14
  27. jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +19 -19
  28. jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +15 -15
  29. jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +10 -9
  30. jupyterlab/schemas/@jupyterlab/documentsearch-extension/plugin.json +13 -1
  31. jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +9 -9
  32. jupyterlab/schemas/@jupyterlab/filebrowser-extension/browser.json +6 -0
  33. jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +17 -17
  34. jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +27 -27
  35. jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +11 -11
  36. jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +11 -11
  37. jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +8 -8
  38. jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +8 -8
  39. jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +12 -12
  40. jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +10 -10
  41. jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +13 -13
  42. jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +11 -10
  43. jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -12
  44. jupyterlab/schemas/@jupyterlab/mainmenu-extension/plugin.json +4 -4
  45. jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +11 -11
  46. jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +5 -5
  47. jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +9 -9
  48. jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +35 -35
  49. jupyterlab/schemas/@jupyterlab/notebook-extension/panel.json +6 -1
  50. jupyterlab/schemas/@jupyterlab/notebook-extension/tracker.json +68 -46
  51. jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +13 -13
  52. jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +13 -12
  53. jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +11 -10
  54. jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +8 -8
  55. jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +14 -14
  56. jupyterlab/schemas/@jupyterlab/terminal-extension/plugin.json +6 -0
  57. jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +8 -8
  58. jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +14 -14
  59. jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +8 -10
  60. jupyterlab/semver.py +3 -3
  61. jupyterlab/staging/index.js +22 -3
  62. jupyterlab/staging/package.json +164 -145
  63. jupyterlab/staging/templates/partial.html +4 -0
  64. jupyterlab/staging/webpack.config.js +3 -4
  65. jupyterlab/staging/yarn.lock +2389 -1258
  66. jupyterlab/static/1166.08f9e1fd722f61c9b69c.js +1 -0
  67. jupyterlab/static/{1581.e988a625b879002dcc04.js → 1581.391504688eef08096360.js} +3 -3
  68. jupyterlab/static/1760.9a71f4501e9bbaa4c4d8.js +1 -0
  69. jupyterlab/static/{2473.cb9caf61d1e34a747cc0.js → 1851.0c7fca4c761a84e91876.js} +1 -1
  70. jupyterlab/static/1917.05d73322caab1f77e3bf.js +1 -0
  71. jupyterlab/static/1929.96e62233aa6f2a8363d4.js +1 -0
  72. jupyterlab/static/226.5dc3528c008170b37b21.js +1 -0
  73. jupyterlab/static/2551.b07d561a12360c38c589.js +1 -0
  74. jupyterlab/static/2579.b19edefeb9ee4daed4bd.js +1 -0
  75. jupyterlab/static/2655.f5b7c82c80d51a0f7ab7.js +1 -0
  76. jupyterlab/static/2727.6925b8cf1c5363f40138.js +1 -0
  77. jupyterlab/static/2755.696bab6bdca0d9a78131.js +1 -0
  78. jupyterlab/static/2995.0448b3ed572d9cc5fcc7.js +1 -0
  79. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/3056.8a73f6aacd8ca45f84f9.js → jupyterlab/static/3056.6ed9d97c166cf2573275.js +1 -1
  80. jupyterlab/static/3308.764d71af7e591cdb1345.js +1 -0
  81. jupyterlab/static/367.835aef5c5efbd38183af.js +1 -0
  82. jupyterlab/static/3711.150292a21fd47be1c05f.js +1 -0
  83. jupyterlab/static/406.81906f96059e31e907a2.js +1 -0
  84. jupyterlab/static/4086.3087c0abed5ca45b823b.js +1 -0
  85. jupyterlab/static/4136.4b9f72f85f49f979ebb8.js +2 -0
  86. jupyterlab/static/4136.4b9f72f85f49f979ebb8.js.LICENSE.txt +9 -0
  87. jupyterlab/static/4765.093b4f8b3cee1251db8d.js +1 -0
  88. jupyterlab/static/526.601d8ddd8347cd7790b9.js +1 -0
  89. jupyterlab/static/5794.3cb2bcd1a3e23d0c084e.js +1 -0
  90. jupyterlab/static/6001.963601fcecb8b4c1d1f1.js +1 -0
  91. jupyterlab/static/627.7e292370f4d61d9e8648.js +5148 -0
  92. jupyterlab/static/627.7e292370f4d61d9e8648.js.LICENSE.txt +14 -0
  93. jupyterlab/static/6436.8d9ba427de4ab1053871.js +1 -0
  94. jupyterlab/static/6515.56c63929fb079a820cbc.js +1 -0
  95. jupyterlab/static/6770.fd7084bb2f4b7622401d.js +1 -0
  96. jupyterlab/static/6778.345e6ac9818e30317310.js +1 -0
  97. jupyterlab/static/6898.742a7062fa979fb68a80.js +1 -0
  98. jupyterlab/static/7161.353c3ab960df72e6f1ea.js +1 -0
  99. jupyterlab/static/7178.5f3dd740449b44efad2d.js +2 -0
  100. jupyterlab/static/7272.72081c10e0f645b0631a.js +1 -0
  101. jupyterlab/static/7313.4a8a9a1eee6f7ef15ee1.js +2 -0
  102. jupyterlab/static/7426.c83966ccc62601d391bd.js +2 -0
  103. jupyterlab/static/7426.c83966ccc62601d391bd.js.LICENSE.txt +17 -0
  104. jupyterlab/static/7629.1f295461ebf56a48c197.js +1 -0
  105. jupyterlab/static/7734.b08c15e9f538f44d0f52.js +1 -0
  106. jupyterlab/static/7946.7fe46d47492e459b7cb5.js +1 -0
  107. jupyterlab/static/812.647390901579c6a720cf.js +1 -0
  108. jupyterlab/static/8152.5baac73844a065f34284.js +1 -0
  109. jupyterlab/static/8302.5c5e5a2da7fe74b12a1d.js +1 -0
  110. jupyterlab/static/8322.288af285dac9cb9a8800.js +1 -0
  111. jupyterlab/static/8462.74d5f5afd4f9d7825eed.js +1 -0
  112. jupyterlab/static/8738.782816e9072ac38762b4.js +1 -0
  113. jupyterlab/static/881.972f79365eed0f77378e.js +1 -0
  114. jupyterlab/static/9395.b59dceae72715c9f885c.js +1 -0
  115. jupyterlab/static/9440.04751e25c9cde059ff37.js +1 -0
  116. jupyterlab/static/9545.f0f7a2959bdd17ee3448.js +1 -0
  117. jupyterlab/static/9579.4b1b079b6b7cd2924338.js +1465 -0
  118. jupyterlab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +19 -0
  119. jupyterlab/static/9870.70b2b59cc96c3a97c489.js +1 -0
  120. jupyterlab/static/9984.6ba5355e0d5487d5ac63.js +1 -0
  121. jupyterlab/static/build_log.json +133 -97
  122. jupyterlab/static/index.html +1 -1
  123. jupyterlab/static/index.out.js +97 -3
  124. jupyterlab/static/jlab_core.570a5c21bdeb57ca2ec8.js +1 -0
  125. jupyterlab/static/main.d277e1577010c7e39fdb.js +1 -0
  126. jupyterlab/static/package.json +164 -145
  127. jupyterlab/static/style.js +2 -0
  128. jupyterlab/static/third-party-licenses.json +481 -103
  129. jupyterlab/style.js +2 -0
  130. jupyterlab/tests/conftest.py +8 -0
  131. jupyterlab/tests/mock_packages/extension/package.json +3 -3
  132. jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
  133. jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
  134. jupyterlab/tests/mock_packages/interop/token/package.json +1 -1
  135. jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
  136. jupyterlab/tests/test_custom_css_handler.py +37 -0
  137. jupyterlab/tests/test_extensions.py +30 -1
  138. jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +2 -0
  139. jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +1 -0
  140. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +181 -1
  141. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +14 -14
  142. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +18 -18
  143. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +23 -1
  144. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +8 -8
  145. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +8 -8
  146. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +13 -13
  147. jupyterlab-4.1.0.data/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +64 -0
  148. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +2 -1
  149. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +10 -8
  150. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +16 -16
  151. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -5
  152. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +14 -14
  153. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +19 -19
  154. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +15 -15
  155. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +10 -9
  156. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +13 -1
  157. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +9 -9
  158. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +6 -0
  159. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +17 -17
  160. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +27 -27
  161. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +11 -11
  162. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +11 -11
  163. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +8 -8
  164. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +8 -8
  165. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +12 -12
  166. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +10 -10
  167. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +13 -13
  168. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +11 -10
  169. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -12
  170. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +4 -4
  171. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +11 -11
  172. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +5 -5
  173. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +9 -9
  174. jupyterlab-4.1.0.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +93 -0
  175. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +6 -1
  176. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +68 -46
  177. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +13 -13
  178. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +13 -12
  179. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +11 -10
  180. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +8 -8
  181. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +14 -14
  182. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +6 -0
  183. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +8 -8
  184. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +14 -14
  185. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +8 -10
  186. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/1166.08f9e1fd722f61c9b69c.js +1 -0
  187. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js → jupyterlab-4.1.0.data/data/share/jupyter/lab/static/1581.391504688eef08096360.js +3 -3
  188. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/1760.9a71f4501e9bbaa4c4d8.js +1 -0
  189. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/2473.cb9caf61d1e34a747cc0.js → jupyterlab-4.1.0.data/data/share/jupyter/lab/static/1851.0c7fca4c761a84e91876.js +1 -1
  190. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/1917.05d73322caab1f77e3bf.js +1 -0
  191. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/1929.96e62233aa6f2a8363d4.js +1 -0
  192. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/226.5dc3528c008170b37b21.js +1 -0
  193. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/2551.b07d561a12360c38c589.js +1 -0
  194. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/2579.b19edefeb9ee4daed4bd.js +1 -0
  195. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/2655.f5b7c82c80d51a0f7ab7.js +1 -0
  196. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/2727.6925b8cf1c5363f40138.js +1 -0
  197. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/2755.696bab6bdca0d9a78131.js +1 -0
  198. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/2995.0448b3ed572d9cc5fcc7.js +1 -0
  199. jupyterlab/static/3056.8a73f6aacd8ca45f84f9.js → jupyterlab-4.1.0.data/data/share/jupyter/lab/static/3056.6ed9d97c166cf2573275.js +1 -1
  200. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/3308.764d71af7e591cdb1345.js +1 -0
  201. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/367.835aef5c5efbd38183af.js +1 -0
  202. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/3711.150292a21fd47be1c05f.js +1 -0
  203. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/406.81906f96059e31e907a2.js +1 -0
  204. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/4086.3087c0abed5ca45b823b.js +1 -0
  205. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js +2 -0
  206. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js.LICENSE.txt +9 -0
  207. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/4765.093b4f8b3cee1251db8d.js +1 -0
  208. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/526.601d8ddd8347cd7790b9.js +1 -0
  209. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/5794.3cb2bcd1a3e23d0c084e.js +1 -0
  210. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/6001.963601fcecb8b4c1d1f1.js +1 -0
  211. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js +5148 -0
  212. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js.LICENSE.txt +14 -0
  213. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/6436.8d9ba427de4ab1053871.js +1 -0
  214. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/6515.56c63929fb079a820cbc.js +1 -0
  215. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/6770.fd7084bb2f4b7622401d.js +1 -0
  216. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/6778.345e6ac9818e30317310.js +1 -0
  217. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/6898.742a7062fa979fb68a80.js +1 -0
  218. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7161.353c3ab960df72e6f1ea.js +1 -0
  219. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js +2 -0
  220. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7272.72081c10e0f645b0631a.js +1 -0
  221. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js +2 -0
  222. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js +2 -0
  223. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js.LICENSE.txt +17 -0
  224. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7629.1f295461ebf56a48c197.js +1 -0
  225. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7734.b08c15e9f538f44d0f52.js +1 -0
  226. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7946.7fe46d47492e459b7cb5.js +1 -0
  227. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/812.647390901579c6a720cf.js +1 -0
  228. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/8152.5baac73844a065f34284.js +1 -0
  229. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/8302.5c5e5a2da7fe74b12a1d.js +1 -0
  230. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/8322.288af285dac9cb9a8800.js +1 -0
  231. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/8462.74d5f5afd4f9d7825eed.js +1 -0
  232. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/8738.782816e9072ac38762b4.js +1 -0
  233. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/881.972f79365eed0f77378e.js +1 -0
  234. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/9395.b59dceae72715c9f885c.js +1 -0
  235. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/9440.04751e25c9cde059ff37.js +1 -0
  236. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/9545.f0f7a2959bdd17ee3448.js +1 -0
  237. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js +1465 -0
  238. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +19 -0
  239. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/9870.70b2b59cc96c3a97c489.js +1 -0
  240. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/9984.6ba5355e0d5487d5ac63.js +1 -0
  241. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/build_log.json +133 -97
  242. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/index.html +1 -1
  243. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/index.out.js +97 -3
  244. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/jlab_core.570a5c21bdeb57ca2ec8.js +1 -0
  245. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/main.d277e1577010c7e39fdb.js +1 -0
  246. jupyterlab-4.1.0.data/data/share/jupyter/lab/static/package.json +350 -0
  247. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/style.js +2 -0
  248. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/third-party-licenses.json +481 -103
  249. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +2 -0
  250. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +1 -0
  251. {jupyterlab-4.0.12.dist-info → jupyterlab-4.1.0.dist-info}/METADATA +21 -20
  252. jupyterlab-4.1.0.dist-info/RECORD +872 -0
  253. jupyterlab/static/141.f110448d494068ebcc87.js +0 -2
  254. jupyterlab/static/2254.55c69210925ec9b28dd9.js +0 -1
  255. jupyterlab/static/2995.9791e1071c5f095421bf.js +0 -1
  256. jupyterlab/static/3127.75e12687687a3de3b59d.js +0 -1
  257. jupyterlab/static/3308.b85a46b26730c1cd5395.js +0 -1
  258. jupyterlab/static/4523.87224ea442d42316dda0.js +0 -1
  259. jupyterlab/static/812.063be439e3d9e318bdbd.js +0 -1
  260. jupyterlab/static/830.8ddf7d2d91f66a8e4d36.js +0 -1
  261. jupyterlab/static/8302.4c190e10b00fe083570e.js +0 -1
  262. jupyterlab/static/8768.4a80caab00174c50eb10.js +0 -2
  263. jupyterlab/static/9065.5305259c65dfa1c99874.js +0 -1
  264. jupyterlab/static/jlab_core.826ed748f0a8a70a419e.js +0 -1
  265. jupyterlab/static/main.7bc3df3894cb324b8f85.js +0 -1
  266. jupyterlab-4.0.12.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +0 -93
  267. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/141.f110448d494068ebcc87.js +0 -2
  268. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/2254.55c69210925ec9b28dd9.js +0 -1
  269. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/2995.9791e1071c5f095421bf.js +0 -1
  270. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/3127.75e12687687a3de3b59d.js +0 -1
  271. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/3308.b85a46b26730c1cd5395.js +0 -1
  272. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/4523.87224ea442d42316dda0.js +0 -1
  273. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/812.063be439e3d9e318bdbd.js +0 -1
  274. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/830.8ddf7d2d91f66a8e4d36.js +0 -1
  275. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/8302.4c190e10b00fe083570e.js +0 -1
  276. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/8768.4a80caab00174c50eb10.js +0 -2
  277. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/9065.5305259c65dfa1c99874.js +0 -1
  278. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/jlab_core.826ed748f0a8a70a419e.js +0 -1
  279. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/main.7bc3df3894cb324b8f85.js +0 -1
  280. jupyterlab-4.0.12.data/data/share/jupyter/lab/static/package.json +0 -331
  281. jupyterlab-4.0.12.dist-info/RECORD +0 -786
  282. /jupyterlab/static/{1581.e988a625b879002dcc04.js.LICENSE.txt → 1581.391504688eef08096360.js.LICENSE.txt} +0 -0
  283. /jupyterlab/static/{141.f110448d494068ebcc87.js.LICENSE.txt → 7178.5f3dd740449b44efad2d.js.LICENSE.txt} +0 -0
  284. /jupyterlab/static/{8768.4a80caab00174c50eb10.js.LICENSE.txt → 7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt} +0 -0
  285. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
  286. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
  287. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/applications/jupyterlab.desktop +0 -0
  288. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
  289. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
  290. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
  291. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
  292. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
  293. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
  294. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
  295. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
  296. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
  297. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
  298. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -0
  299. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
  300. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
  301. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
  302. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
  303. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
  304. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
  305. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
  306. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
  307. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
  308. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +0 -0
  309. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
  310. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
  311. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
  312. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
  313. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
  314. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
  315. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
  316. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
  317. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
  318. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
  319. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
  320. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
  321. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
  322. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
  323. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
  324. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
  325. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
  326. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
  327. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
  328. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
  329. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
  330. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
  331. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
  332. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
  333. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
  334. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +0 -0
  335. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
  336. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
  337. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
  338. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
  339. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
  340. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
  341. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
  342. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
  343. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
  344. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1036.0d1f109c3d842497fd51.js +0 -0
  345. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1036.0d1f109c3d842497fd51.js.LICENSE.txt +0 -0
  346. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1085.0b67f0736d85ec41fdd4.js +0 -0
  347. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1142.d5442a459b18907c1f91.js +0 -0
  348. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1168.0a95b9c93afe61ceb527.js +0 -0
  349. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1294.9d27be1098bc8abebe3f.js +0 -0
  350. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1410.e2302ff5f564d6e596bb.js +0 -0
  351. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1420.e8486ed074346bc629ca.js +0 -0
  352. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1448.c391061d8a8344f9d177.js +0 -0
  353. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1452.4cc17f31511d1f9c6052.js +0 -0
  354. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1467.dcd89539f6477c1367af.js +0 -0
  355. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1550.09375e869bc25429b07a.js +0 -0
  356. /jupyterlab-4.0.12.data/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js.LICENSE.txt → /jupyterlab-4.1.0.data/data/share/jupyter/lab/static/1581.391504688eef08096360.js.LICENSE.txt +0 -0
  357. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1608.61240f3db67d3d952790.js +0 -0
  358. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1716.a6bbe1ae8a1986a73623.js +0 -0
  359. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1776.4f9305d35480467b23c9.js +0 -0
  360. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1861.4fc7b4afe2b09eb6b5c0.js +0 -0
  361. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1903.3b452e8ec30e57dbaba5.js +0 -0
  362. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1945.0fbbfe93a4aedd91875c.js +0 -0
  363. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1954.07d96e4020ed6e543d25.js +0 -0
  364. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1993.f8c5682f95ffa75cbaf6.js +0 -0
  365. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
  366. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2039.aa079dac5c520f93b234.js +0 -0
  367. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2090.abc86741318f76c3d726.js +0 -0
  368. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2091.600b1c32af186f6405f9.js +0 -0
  369. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2104.296346db0067b4883fbf.js +0 -0
  370. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2145.be9ec610f29703694fcf.js +0 -0
  371. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2295.cda0f7182bf2a1a03c5a.js +0 -0
  372. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2320.04abae549b19363c2fdd.js +0 -0
  373. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2363.6eef078cb37c32d7fbc3.js +0 -0
  374. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2459.9f9cb02561de1bec73ff.js +0 -0
  375. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2485.dab750ed66209df61fe1.js +0 -0
  376. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2617.9c299e26785f7646cb39.js +0 -0
  377. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2646.0864fb63d7ab1ed16893.js +0 -0
  378. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
  379. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2800.680b1fa0a4c66c69bb1e.js +0 -0
  380. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2857.27a6e85f5c4c092ab8a2.js +0 -0
  381. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2909.e190307f7f84c7691068.js +0 -0
  382. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/292.3f7844a129f16ec1ffbc.js +0 -0
  383. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2929.b88233153dbf33f40b29.js +0 -0
  384. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2953.92ff8f12bad6ee06859c.js +0 -0
  385. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/2990.ea15322a41d3f133989b.js +0 -0
  386. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
  387. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3123.85cea4be2e2ed3f9654f.js +0 -0
  388. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
  389. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3306.8bdc49ad1a7ca593a838.js +0 -0
  390. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3520.3495b98946de6960ace8.js +0 -0
  391. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3528.3b5ef5f31d460b5fcd01.js +0 -0
  392. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3547.bd90e90bfe79911486e8.js +0 -0
  393. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3549.24f2fe646d8128bc9db0.js +0 -0
  394. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
  395. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3601.5c17c015d71b69ddcab3.js +0 -0
  396. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
  397. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3724.a4657dc16be2ffc49282.js +0 -0
  398. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
  399. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/378.6d0f0fc4c8a2eb80ac43.js +0 -0
  400. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3783.93d5366ab28a19e1f0f9.js +0 -0
  401. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3807.08a8fd824036c30b3746.js +0 -0
  402. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/383.db345dbeef5ef774e50c.js +0 -0
  403. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3871.ba96e5b53bb16df56618.js +0 -0
  404. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3923.f29c06abdcb560130471.js +0 -0
  405. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js +0 -0
  406. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js.LICENSE.txt +0 -0
  407. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3962.50786e3ed9a01329a4a0.js +0 -0
  408. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
  409. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
  410. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
  411. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js +0 -0
  412. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js.LICENSE.txt +0 -0
  413. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4017.096a74a538e031b6d346.js +0 -0
  414. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4043.aa012978c41d1d1b2f14.js +0 -0
  415. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4139.303ee7374c742287be85.js +0 -0
  416. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4155.5a8d6736017097028d78.js +0 -0
  417. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4283.f6092d8b7f2e53118d1b.js +0 -0
  418. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4291.e5d8997127541f75fdaf.js +0 -0
  419. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4405.43dab120fea32f30bbb9.js +0 -0
  420. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4419.93938494f456cd76a7e3.js +0 -0
  421. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4452.2f8819684b96ecff5231.js +0 -0
  422. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4519.6b784d052db42e93eff2.js +0 -0
  423. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4562.72444a09f5f092646490.js +0 -0
  424. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4591.428531724f49fe824ffa.js +0 -0
  425. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/46.fb119c5e5b1e0c72a00f.js +0 -0
  426. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4743.d4e9658ea25301e15a94.js +0 -0
  427. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
  428. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4878.73004381601237a3ef9c.js +0 -0
  429. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/49.7233f68f95d10b85a83e.js +0 -0
  430. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/4986.a497cdda4b7152902568.js +0 -0
  431. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5041.cdc120bda0a0dec4cfc2.js +0 -0
  432. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5157.9c77dc27a251d4135876.js +0 -0
  433. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5201.8866042bae350659528a.js +0 -0
  434. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5203.c002d40ac647dc6e1d61.js +0 -0
  435. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5331.0cd3f010bb08983ec3fd.js +0 -0
  436. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5440.2541fcda12b661665148.js +0 -0
  437. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5521.ce4a0274596e0325374c.js +0 -0
  438. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5746.e4434ef2027bcc5ed0c9.js +0 -0
  439. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/581.2b878ed37172aced15b5.js +0 -0
  440. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5881.3946238aa4afdcf4f964.js +0 -0
  441. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5959.a6b1fd3b03d3649ea8b1.js +0 -0
  442. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
  443. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6059.d83e7323b2ee1aa16009.js +0 -0
  444. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6163.f5b51a9f0df4846ba40f.js +0 -0
  445. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6207.a8079c8d8a61039dd530.js +0 -0
  446. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6243.2efd673d1304c43b7b78.js +0 -0
  447. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6267.1def2916929e185ab9fc.js +0 -0
  448. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6359.4b994bfd6b1dea2d6fe3.js +0 -0
  449. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6443.e6b52d3732b3e8513a71.js +0 -0
  450. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6532.bb7137729a2d6d4e6ddf.js +0 -0
  451. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6560.f42276a0b1b92aea515b.js +0 -0
  452. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6595.6a1d7e1abbf186dd119b.js +0 -0
  453. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6686.3c518aa6e5f9785fb486.js +0 -0
  454. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6815.0b699f0c162a24b0dbe3.js +0 -0
  455. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/6888.9d3914817f3290827a64.js +0 -0
  456. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7080.1330328bb6f46b4da81e.js +0 -0
  457. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7112.d5120c85ebd17620dda0.js +0 -0
  458. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7173.e28f63dbd553818e07d3.js +0 -0
  459. /jupyterlab-4.0.12.data/data/share/jupyter/lab/static/141.f110448d494068ebcc87.js.LICENSE.txt → /jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js.LICENSE.txt +0 -0
  460. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
  461. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7245.c0cae8787dcd00b991b7.js +0 -0
  462. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js +0 -0
  463. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js.LICENSE.txt +0 -0
  464. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
  465. /jupyterlab-4.0.12.data/data/share/jupyter/lab/static/8768.4a80caab00174c50eb10.js.LICENSE.txt → /jupyterlab-4.1.0.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt +0 -0
  466. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7317.af8a7da0f881a22752c1.js +0 -0
  467. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7318.397bf8e913e825b2be27.js +0 -0
  468. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7363.abe8e31a91e113753bae.js +0 -0
  469. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7384.60351e008d8f687e8fcc.js +0 -0
  470. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7390.8253478b90f756692702.js +0 -0
  471. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/745.85516a9bb83bcd94d00d.js +0 -0
  472. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js +0 -0
  473. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js.LICENSE.txt +0 -0
  474. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7472.58ba8647a489d019c2ef.js +0 -0
  475. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7473.5012397d10d3b945ecaa.js +0 -0
  476. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7508.b902347f820c70cd386a.js +0 -0
  477. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7511.b381a696cf806983c654.js +0 -0
  478. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7517.f3e5d420f4af90d442dd.js +0 -0
  479. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7669.343e259c4c8269479f5b.js +0 -0
  480. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7702.c479c69f7a532f7b3fd5.js +0 -0
  481. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
  482. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7731.26db150e967313b7a7e2.js +0 -0
  483. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js +0 -0
  484. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js.LICENSE.txt +0 -0
  485. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7775.3e0dee729369fe3d5008.js +0 -0
  486. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7823.817687f13e9a6781fdd3.js +0 -0
  487. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7827.e36d073d947bf02a05e3.js +0 -0
  488. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7848.e83aa4b90ae87209abb8.js +0 -0
  489. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/786.8a99ee7dbd7bd0eb9dce.js +0 -0
  490. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7877.a4c46a784149533b91d4.js +0 -0
  491. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/7887.128a155df5d25e88c0ce.js +0 -0
  492. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/795.47ab66037ef33f808f09.js +0 -0
  493. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
  494. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8002.25f64485372af5158c83.js +0 -0
  495. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8010.1cf8237e9def8404f355.js +0 -0
  496. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8012.40cb006f0c180ebafa91.js +0 -0
  497. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8285.1eac7b7582569be1c3a8.js +0 -0
  498. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8319.80fcbc832e1eb20b71e7.js +0 -0
  499. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8347.573b699e3590729bfa8a.js +0 -0
  500. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8405.154ba4b17a2dec22a355.js +0 -0
  501. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8493.fc635229db38e6fc6aa2.js +0 -0
  502. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8498.27a245b23921914bf5c2.js +0 -0
  503. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8512.1af96655287fd124877b.js +0 -0
  504. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8678.dcd3dab9025b13eb9be8.js +0 -0
  505. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
  506. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8710.5fc5ecb762fb4494db02.js +0 -0
  507. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8771.327a202178f82f3b15b8.js +0 -0
  508. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8787.4d36d28dcf94bf59cbfe.js +0 -0
  509. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8805.0f14a91b024b59c039a7.js +0 -0
  510. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8823.2ff947bcd96cc0723058.js +0 -0
  511. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8875.88988caaba1e33edad5b.js +0 -0
  512. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
  513. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
  514. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
  515. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9.0e0cba0ccc2a4b670600.js +0 -0
  516. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9030.260bc05e28eccff70ae8.js +0 -0
  517. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9041.df39043656c7233552e4.js +0 -0
  518. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9055.bd710a8db8883a836b59.js +0 -0
  519. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9109.fa3ee74a5c0f378f4d51.js +0 -0
  520. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9192.db4337a516b7f38d1f89.js +0 -0
  521. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9222.1c2a8e69a2de57dd1984.js +0 -0
  522. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9230.58b8c42b730e1a56e69b.js +0 -0
  523. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9265.bc2b66a4502cdfcfc14f.js +0 -0
  524. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9362.823dcfac216f8057452d.js +0 -0
  525. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9409.34c33ed11e2d6f318480.js +0 -0
  526. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/942.93c8de61ea9ea08ec097.js +0 -0
  527. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9421.022dc7b4e9a2c80c32c2.js +0 -0
  528. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9445.fe5e9e5b728de8d15873.js +0 -0
  529. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9621.9cbfa52c42927bb398b4.js +0 -0
  530. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9653.d93c93e084cd5e93cd2d.js +0 -0
  531. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
  532. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9738.c0234a1f7f6ac262f560.js +0 -0
  533. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js +0 -0
  534. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js.LICENSE.txt +0 -0
  535. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js +0 -0
  536. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js.LICENSE.txt +0 -0
  537. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
  538. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
  539. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
  540. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
  541. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
  542. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
  543. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
  544. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
  545. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
  546. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
  547. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
  548. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
  549. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
  550. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
  551. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
  552. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
  553. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
  554. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
  555. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
  556. {jupyterlab-4.0.12.data → jupyterlab-4.1.0.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
  557. {jupyterlab-4.0.12.dist-info → jupyterlab-4.1.0.dist-info}/WHEEL +0 -0
  558. {jupyterlab-4.0.12.dist-info → jupyterlab-4.1.0.dist-info}/entry_points.txt +0 -0
  559. {jupyterlab-4.0.12.dist-info → jupyterlab-4.1.0.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
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:()=>M,BasicSelectionModel:()=>R,BooleanCellEditor:()=>I,CellEditor:()=>W,CellEditorController:()=>V,CellGroup:()=>C,CellRenderer:()=>w,DataGrid:()=>J,DataModel:()=>Y,DateCellEditor:()=>A,DynamicOptionCellEditor:()=>N,GraphicsContext:()=>F,HyperlinkRenderer:()=>v,InputCellEditor:()=>T,IntegerCellEditor:()=>G,IntegerInputValidator:()=>E,JSONModel:()=>Q,MutableDataModel:()=>K,NumberCellEditor:()=>D,NumberInputValidator:()=>L,OptionCellEditor:()=>P,PassInputValidator:()=>O,RendererMap:()=>j,SectionList:()=>$,SelectionModel:()=>b,TextCellEditor:()=>B,TextInputValidator:()=>k,TextRenderer:()=>y,resolveOption:()=>X});var s=i(36044);var o=i.n(s);var r=i(71720);var n=i.n(r);var l=i(21299);var a=i.n(l);var h=i(58740);var c=i.n(h);var d=i(71372);var u=i.n(d);var f=i(85448);var _=i.n(f);var m=i(28821);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.horizontalPadding=e.horizontalPadding||8;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)}getText(e){return this.format(e)}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.getText(t);if(!o){return}let r=w.resolveOption(this.verticalAlignment,t);let n=w.resolveOption(this.horizontalAlignment,t);let l=w.resolveOption(this.elideDirection,t);let a=w.resolveOption(this.wrapText,t);let h=t.height-(r==="center"?1:2);if(h<=0){return}let c=y.measureFontHeight(i);let d;let u;let f;switch(r){case"top":u=t.y+2+c;break;case"center":u=t.y+t.height/2+c/2;break;case"bottom":u=t.y+t.height-2;break;default:throw"unreachable"}switch(n){case"left":d=t.x+this.horizontalPadding;f=t.width-14;break;case"center":d=t.x+t.width/2;f=t.width;break;case"right":d=t.x+t.width-this.horizontalPadding;f=t.width-14;break;default:throw"unreachable"}if(c>h){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip()}e.font=i;e.fillStyle=s;e.textAlign=n;e.textBaseline="bottom";if(l==="none"&&!a){e.fillText(o,d,u);return}let _=e.measureText(o).width;if(a&&_>f){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip();const i=o.split(/\s(?=\b)/);let s=u;let r=i.shift();if(i.length===0){let t=e.measureText(r).width;while(t>f&&r!==""){for(let i=r.length;i>0;i--){const o=r.substring(0,i);const n=e.measureText(o).width;if(n<f||o.length===1){const n=r.substring(i,r.length);r=n;t=e.measureText(r).width;e.fillText(o,d,s);s+=c;break}}}}else{while(i.length!==0){const t=i.shift();const o=[r,t].join(" ");const n=e.measureText(o).width;if(n>f){e.fillText(r,d,s);s+=c;r=t}else{r=o}}}e.fillText(r,d,s);return}const m="…";while(_>f&&o.length>1){const t=[...o];if(l==="right"){if(t.length>4&&_>=2*f){o=t.slice(0,Math.floor(t.length/2+1)).join("")+m}else{o=t.slice(0,t.length-2).join("")+m}}else{if(t.length>4&&_>=2*f){o=m+t.slice(Math.floor(t.length/2)).join("")}else{o=m+t.slice(2).join("")}}_=e.measureText(o).width}e.fillText(o,d,u)}}(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}getText(e){let t=w.resolveOption(this.urlName,e);if(t){return this.format({...e,value:t})}return this.format(e)}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.getText(t);if(!o){return}let r=w.resolveOption(this.verticalAlignment,t);let n=w.resolveOption(this.horizontalAlignment,t);let l=w.resolveOption(this.elideDirection,t);let a=w.resolveOption(this.wrapText,t);let h=t.height-(r==="center"?1:2);if(h<=0){return}let c=v.measureFontHeight(i);let d;let u;let f;switch(r){case"top":u=t.y+2+c;break;case"center":u=t.y+t.height/2+c/2;break;case"bottom":u=t.y+t.height-2;break;default:throw"unreachable"}switch(n){case"left":d=t.x+8;f=t.width-14;break;case"center":d=t.x+t.width/2;f=t.width;break;case"right":d=t.x+t.width-8;f=t.width-14;break;default:throw"unreachable"}if(c>h){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip()}e.font=i;e.fillStyle=s;e.textAlign=n;e.textBaseline="bottom";if(l==="none"&&!a){e.fillText(o,d,u);return}let _=e.measureText(o).width;if(a&&_>f){e.beginPath();e.rect(t.x,t.y,t.width,t.height-1);e.clip();const i=o.split(/\s(?=\b)/);let s=u;let r=i.shift();if(i.length===0){let t=e.measureText(r).width;while(t>f&&r!==""){for(let i=r.length;i>0;i--){const o=r.substring(0,i);const n=e.measureText(o).width;if(n<f||o.length===1){const n=r.substring(i,r.length);r=n;t=e.measureText(r).width;e.fillText(o,d,s);s+=c;break}}}}else{while(i.length!==0){const t=i.shift();const o=[r,t].join(" ");const n=e.measureText(o).width;if(n>f){e.fillText(r,d,s);s+=c;r=t}else{r=o}}}e.fillText(r,d,s);return}let m="…";if(l==="right"){while(_>f&&o.length>1){if(o.length>4&&_>=2*f){o=o.substring(0,o.length/2+1)+m}else{o=o.substring(0,o.length-2)+m}_=e.measureText(o).width}}else{while(_>f&&o.length>1){if(o.length>4&&_>=2*f){o=m+o.substring(o.length/2)}else{o=m+o.substring(2)}_=e.measureText(o).width}}e.fillText(o,d,u)}}var C;(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})(C||(C={}));class M{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 M;let b;let H;let R;if(n==="corner-header"){g=0;x=Infinity;p=0;M=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=C.joinCellGroupsIntersectingAtAxis(e.dataModel,["row-header","body"],"row",t);if(i.r1!=Number.MAX_VALUE){g=i.r1;x=i.r2}p=0;M=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;M=h;const t={r1:0,c1:p,r2:0,c2:M};const i=C.joinCellGroupsIntersectingAtAxis(e.dataModel,["column-header","body"],"column",t);if(i.c1!=Number.MAX_VALUE){p=i.c1;M=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;M=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:M,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 M=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=C.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=C.joinCellGroupsIntersectingAtAxis(e.dataModel,["column-header","body"],"column",t);if(s.c1!=Number.MAX_VALUE){y=s.c1;v=s.c2}}else{w=M;x=e.rowAt("body",p);y=b;v=e.columnAt("body",g)}s.select({r1:w,c1:y,r2:x,c2:v,cursorRow:M,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==="column-header"||r==="corner-header"){const t=S.resizeHandleForHitTest(o);if(t==="left"||t==="right"){let i=t==="left"?l-1:l;let s=r==="column-header"?"body":"row-header";if(i<0){if(r==="column-header"){i=e.dataModel.columnCount("row-header")-1;s="row-header"}else{return}}e.resizeColumn(s,i,null)}}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=C.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 T 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 B extends T{constructor(){super(...arguments);this.inputType="text"}getInput(){return this.input.value}}class D extends T{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 T{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 V{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=C.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 B;case"number":return new D;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 B}return undefined}}class Y{constructor(){this._changed=new d.Signal(this)}get changed(){return this._changed}groupCount(e){return 0}metadata(e,t,i){return Y.emptyMetadata}group(e,t){return null}emitChanged(e){this._changed.emit(e)}}class K extends Y{}(function(e){e.emptyMetadata=Object.freeze({})})(Y||(Y={}));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 V;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 C=v.join("\n");s.ClipboardExt.copyText(C)}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)}_getMaxWidthInColumn(e,t){const i=this.dataModel;if(!i){return null}const s=t=="row-header"?"corner-header":"column-header";return Math.max(this._getMaxWidthInArea(i,e,s,"column-header"),this._getMaxWidthInArea(i,e,t,"body"))}_getMaxWidthInArea(e,t,i,s){const o=e.rowCount(s);const r=Array.from({length:Math.min(o,1e6)},((s,o)=>J._getConfig(e,o,t,i)));if(o>1e5){r.sort((e=>-this._getTextToRender(e).length))}let n=0;for(let l=0;l<o&&l<1e5;++l){const e=this._getCellTextWidth(r[l]);n=Math.max(n,e)}return n}static _getConfig(e,t,i,s){return{x:0,y:0,width:0,height:0,region:s,row:t,column:i,value:J._getCellValue(e,s,t,i),metadata:J._getCellMetadata(e,s,t,i)}}_getTextToRender(e){const t=this.cellRenderers.get(e);return t.getText(e)}_getCellTextWidth(e){const t=this.cellRenderers.get(e);const i=this.canvasGC;i.font=w.resolveOption(t.font,e);i.fillStyle=w.resolveOption(t.textColor,e);i.textAlign=w.resolveOption(t.horizontalAlignment,e);i.textBaseline="bottom";const s=this._getTextToRender(e);return i.measureText(s).width+2*t.horizontalPadding}_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=C.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}const s=t!==null&&t!==void 0?t:this._getMaxWidthInColumn(e,"body");if(!s||s==0){return}let o=i.sizeOf(e);let r=i.clampSize(s);if(o===r){return}i.resize(e,r);let n=this._viewportWidth;let l=this._viewportHeight;if(!this._viewport.isVisible||n===0||l===0){this._syncScrollState();return}let a=r-o;let h=this.headerWidth;let c=i.offsetOf(e)+h-this._scrollX;if(h>=n||c>=n){this._syncScrollState();return}if(c+o<=h){this._scrollX+=a;this._syncScrollState();return}let d=Math.max(h,c);if(c+o>=n||c+r>=n){this.paintContent(d,0,n-d,l);this._paintOverlay();this._syncScrollState();return}let u=0;let f=l;let _=0;let m;let g;let p;if(c+r<=h){m=h-a;g=n-m;p=h}else{m=c+o;g=n-m;p=m+a}this._blitContent(this._canvas,m,u,g,f,p,_);if(r>0&&c+r>h){this.paintContent(d,0,c+r-d,l)}if(this._stretchLastColumn&&this.pageWidth>this.bodyWidth){let e=this._columnSections.count-1;let t=h+this._columnSections.offsetOf(e);this.paintContent(t,0,n-t,l)}else if(a<0){this.paintContent(n+a,0,-a,l)}for(const w of["body","column-header"]){const t=C.getCellGroupsAtColumn(this.dataModel,w,e);let i={region:w,xMin:0,xMax:0,yMin:0,yMax:0};let s=undefined;switch(w){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}const s=t!==null&&t!==void 0?t:this._getMaxWidthInColumn(e,"row-header");if(!s||s==0){return}let o=i.sizeOf(e);let r=i.clampSize(s);if(o===r){return}i.resize(e,r);let n=this._viewportWidth;let l=this._viewportHeight;if(!this._viewport.isVisible||n===0||l===0){this._syncScrollState();return}let a=r-o;let h=i.offsetOf(e);if(h>=n){this._syncScrollState();return}if(h+o>=n||h+r>=n){this.paintContent(h,0,n-h,l);this._paintOverlay();this._syncScrollState();return}let c=h+o;let d=0;let u=n-c;let f=l;let _=c+a;let m=0;this._blitContent(this._canvas,c,d,u,f,_,m);if(r>0){this.paintContent(h,0,r,l)}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,n-t,l)}else if(a<0){this.paintContent(n+a,0,-a,l)}for(const g of["corner-header","row-header"]){const t=C.getCellGroupsAtColumn(this.dataModel,g,e);let i={region:g,xMin:0,xMax:0,yMin:0,yMax:0};switch(g){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=C.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=C.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=C.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=J._getConfig(e,t,o,"column-header");const r=this._getCellTextWidth(i);s=Math.max(s,r)}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=J._getConfig(e,t,o,"corner-header");const r=this._getCellTextWidth(i);s=Math.max(s,r)}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 M=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 C=g;C<=w;++C){let e=this._rowSections.sizeOf(C);R[C-g]=e;H+=e}for(let C=p;C<=y;++C){let e=this._columnSections.sizeOf(C);z[C-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:M,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=C.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 M=0;let S=0;let b=new Array(g-_+1);let H=new Array(p-m+1);for(let C=_;C<=g;++C){let e=this._rowSections.sizeOf(C);b[C-_]=e;S+=e}for(let C=m;C<=p;++C){let e=this._rowHeaderSections.sizeOf(C);H[C-m]=e;M+=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:M,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=C.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 M=0;let S=0;let b=new Array(g-_+1);let H=new Array(p-m+1);for(let C=_;C<=g;++C){let e=this._columnHeaderSections.sizeOf(C);b[C-_]=e;S+=e}for(let C=m;C<=p;++C){let e=this._columnSections.sizeOf(C);H[C-m]=e;M+=e}if(this._stretchLastColumn&&h>a&&p===y){let e=this.pageWidth-this.bodyWidth;H[H.length-1]+=e;M+=e;u+=e}let R={region:"column-header",xMin:c,yMin:d,xMax:u,yMax:f,x,y:v,width:M,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=C.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 C=u;C<=_;++C){let e=this._columnHeaderSections.sizeOf(C);x[C-u]=e;y+=e}for(let C=f;C<=m;++C){let e=this._rowHeaderSections.sizeOf(C);v[C-f]=e;w+=e}let M={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(M,this._style.headerBackgroundColor);this._drawCells(M);this._drawHorizontalGridLines(M,this._style.headerHorizontalGridLineColor||this._style.headerGridLineColor);this._drawVerticalGridLines(M,this._style.headerVerticalGridLineColor||this._style.headerGridLineColor);const S=C.getCellGroupsAtRegion(this.dataModel,M.region).filter((e=>this.cellGroupInteresectsRegion(e,M)));this._paintMergedCells(S,M,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:Y.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=C.getGroupIndex(this.dataModel,t.region,d,h);if(i!==-1){l+=o;continue}s.clearRect(n,l,a,o);let u=J._getCellValue(this.dataModel,e.region,d,h);let f=J._getCellMetadata(this.dataModel,e.region,d,h);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}static _getCellValue(e,t,i,s){try{return e.data(t,i,s)}catch(o){console.error(o);return null}}static _getCellMetadata(e,t,i,s){try{return e.metadata(t,i,s)}catch(o){console.error(o);return Y.emptyMetadata}}_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:Y.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=J._getCellValue(this.dataModel,t.region,n.r1,n.c1);let h=J._getCellMetadata(this.dataModel,t.region,n.r1,n.c2);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 M;if(e>x){M=e;e=x;x=M}if(y>v){M=y;y=v;v=M}const S=C.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=C.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 M=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<M){return}if(x-1>=w||M-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,M,v-x+1,S-M+1);if(t){b.fillStyle=t;b.fillRect(x,M,v-x+1,S-M+1)}if(i){b.strokeStyle=i;b.lineWidth=2;b.strokeRect(x,M,v-x,S-M)}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=C.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 Y{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={}))}}]);
@@ -1,2 +0,0 @@
1
- /*! For license information please see 8768.4a80caab00174c50eb10.js.LICENSE.txt */
2
- (self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[8768],{48768:(r,e,t)=>{"use strict";t.r(e);t.d(e,{ADDITIONAL_PROPERTIES_KEY:()=>Bt,ADDITIONAL_PROPERTY_FLAG:()=>zt,ALL_OF_KEY:()=>Vt,ANY_OF_KEY:()=>Yt,CONST_KEY:()=>qt,DEFAULT_KEY:()=>Kt,DEFINITIONS_KEY:()=>Jt,DEPENDENCIES_KEY:()=>Ht,ENUM_KEY:()=>Gt,ERRORS_KEY:()=>Qt,ErrorSchemaBuilder:()=>hi,ID_KEY:()=>Xt,ITEMS_KEY:()=>rn,NAME_KEY:()=>en,ONE_OF_KEY:()=>tn,PROPERTIES_KEY:()=>nn,REF_KEY:()=>un,REQUIRED_KEY:()=>on,RJSF_ADDITONAL_PROPERTIES_FLAG:()=>fn,SUBMIT_BTN_OPTIONS_KEY:()=>an,TranslatableString:()=>Bi,UI_FIELD_KEY:()=>sn,UI_OPTIONS_KEY:()=>ln,UI_WIDGET_KEY:()=>cn,allowAdditionalItems:()=>Nt,ariaDescribedByIds:()=>ki,asNumber:()=>Ut,canExpand:()=>pn,createSchemaUtils:()=>ai,dataURItoBlob:()=>ui,deepEquals:()=>dn,descriptionId:()=>Ei,englishStringTranslator:()=>si,enumOptionsDeselectValue:()=>li,enumOptionsIndexForValue:()=>pi,enumOptionsIsSelected:()=>vi,enumOptionsSelectValue:()=>di,enumOptionsValueForIndex:()=>ci,errorId:()=>Ii,examplesId:()=>Zi,findSchemaDefinition:()=>yn,getClosestMatchingOption:()=>Cn,getDefaultFormState:()=>Hn,getDisplayLabel:()=>Xn,getFirstMatchingOption:()=>bn,getInputProps:()=>mi,getMatchingOption:()=>mn,getSchemaType:()=>xn,getSubmitButtonOptions:()=>gi,getTemplate:()=>xi,getUiOptions:()=>vn,getWidget:()=>Ai,guessType:()=>gn,hasWidget:()=>_i,helpId:()=>Pi,isConstant:()=>zn,isCustomWidget:()=>Gn,isFilesArray:()=>Qn,isFixedItems:()=>Rn,isMultiSelect:()=>Vn,isObject:()=>Dt,isSelect:()=>Bn,localToUTC:()=>Ni,mergeDefaultsWithFormData:()=>$n,mergeObjects:()=>Ln,mergeSchemas:()=>wn,mergeValidationData:()=>ri,optionId:()=>Di,optionsList:()=>Fi,orderProperties:()=>Mi,pad:()=>Wi,parseDateString:()=>Ci,rangeSpec:()=>yi,replaceStringParameters:()=>fi,retrieveSchema:()=>Tn,sanitizeDataForNewSchema:()=>ti,schemaRequiresTrueValue:()=>Ri,shouldRender:()=>$i,titleId:()=>Ti,toConstant:()=>Ui,toDateString:()=>Li,toIdSchema:()=>ni,toPathSchema:()=>ii,utcToLocal:()=>zi});var n=t(86717);var i=t(11412);var o="__lodash_hash_undefined__";function a(r){this.__data__.set(r,o);return this}const u=a;function f(r){return this.__data__.has(r)}const s=f;function c(r){var e=-1,t=r==null?0:r.length;this.__data__=new i.Z;while(++e<t){this.add(r[e])}}c.prototype.add=c.prototype.push=u;c.prototype.has=s;const l=c;function v(r,e){var t=-1,n=r==null?0:r.length;while(++t<n){if(e(r[t],t,r)){return true}}return false}const p=v;function d(r,e){return r.has(e)}const h=d;var y=1,m=2;function b(r,e,t,n,i,o){var a=t&y,u=r.length,f=e.length;if(u!=f&&!(a&&f>u)){return false}var s=o.get(r);var c=o.get(e);if(s&&c){return s==e&&c==r}var v=-1,d=true,b=t&m?new l:undefined;o.set(r,e);o.set(e,r);while(++v<u){var g=r[v],x=e[v];if(n){var w=a?n(x,g,v,e,r,o):n(g,x,v,r,e,o)}if(w!==undefined){if(w){continue}d=false;break}if(b){if(!p(e,(function(r,e){if(!h(b,e)&&(g===r||i(g,r,t,n,o))){return b.push(e)}}))){d=false;break}}else if(!(g===x||i(g,x,t,n,o))){d=false;break}}o["delete"](r);o["delete"](e);return d}const g=b;var x=t(5876);var w=t(51456);var j=t(52373);function O(r){var e=-1,t=Array(r.size);r.forEach((function(r,n){t[++e]=[n,r]}));return t}const A=O;function _(r){var e=-1,t=Array(r.size);r.forEach((function(r){t[++e]=r}));return t}const S=_;var E=1,I=2;var Z="[object Boolean]",P="[object Date]",T="[object Error]",k="[object Map]",D="[object Number]",N="[object RegExp]",U="[object Set]",F="[object String]",M="[object Symbol]";var W="[object ArrayBuffer]",C="[object DataView]";var R=x.Z?x.Z.prototype:undefined,$=R?R.valueOf:undefined;function L(r,e,t,n,i,o,a){switch(t){case C:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset){return false}r=r.buffer;e=e.buffer;case W:if(r.byteLength!=e.byteLength||!o(new w.Z(r),new w.Z(e))){return false}return true;case Z:case P:case D:return(0,j.Z)(+r,+e);case T:return r.name==e.name&&r.message==e.message;case N:case F:return r==e+"";case k:var u=A;case U:var f=n&E;u||(u=S);if(r.size!=e.size&&!f){return false}var s=a.get(r);if(s){return s==e}n|=I;a.set(r,e);var c=g(u(r),u(e),n,i,o,a);a["delete"](r);return c;case M:if($){return $.call(r)==$.call(e)}}return false}const z=L;var B=t(72975);var V=1;var Y=Object.prototype;var q=Y.hasOwnProperty;function K(r,e,t,n,i,o){var a=t&V,u=(0,B.Z)(r),f=u.length,s=(0,B.Z)(e),c=s.length;if(f!=c&&!a){return false}var l=f;while(l--){var v=u[l];if(!(a?v in e:q.call(e,v))){return false}}var p=o.get(r);var d=o.get(e);if(p&&d){return p==e&&d==r}var h=true;o.set(r,e);o.set(e,r);var y=a;while(++l<f){v=u[l];var m=r[v],b=e[v];if(n){var g=a?n(b,m,v,e,r,o):n(m,b,v,r,e,o)}if(!(g===undefined?m===b||i(m,b,t,n,o):g)){h=false;break}y||(y=v=="constructor")}if(h&&!y){var x=r.constructor,w=e.constructor;if(x!=w&&("constructor"in r&&"constructor"in e)&&!(typeof x=="function"&&x instanceof x&&typeof w=="function"&&w instanceof w)){h=false}}o["delete"](r);o["delete"](e);return h}const J=K;var H=t(34010);var G=t(39350);var Q=t(74002);var X=t(50226);var rr=1;var er="[object Arguments]",tr="[object Array]",nr="[object Object]";var ir=Object.prototype;var or=ir.hasOwnProperty;function ar(r,e,t,i,o,a){var u=(0,G.Z)(r),f=(0,G.Z)(e),s=u?tr:(0,H.Z)(r),c=f?tr:(0,H.Z)(e);s=s==er?nr:s;c=c==er?nr:c;var l=s==nr,v=c==nr,p=s==c;if(p&&(0,Q.Z)(r)){if(!(0,Q.Z)(e)){return false}u=true;l=false}if(p&&!l){a||(a=new n.Z);return u||(0,X.Z)(r)?g(r,e,t,i,o,a):z(r,e,s,t,i,o,a)}if(!(t&rr)){var d=l&&or.call(r,"__wrapped__"),h=v&&or.call(e,"__wrapped__");if(d||h){var y=d?r.value():r,m=h?e.value():e;a||(a=new n.Z);return o(y,m,t,i,a)}}if(!p){return false}a||(a=new n.Z);return J(r,e,t,i,o,a)}const ur=ar;var fr=t(23195);function sr(r,e,t,n,i){if(r===e){return true}if(r==null||e==null||!(0,fr.Z)(r)&&!(0,fr.Z)(e)){return r!==r&&e!==e}return ur(r,e,t,n,sr,i)}const cr=sr;function lr(r,e,t){t=typeof t=="function"?t:undefined;var n=t?t(r,e):undefined;return n===undefined?cr(r,e,undefined,t):!!n}const vr=lr;var pr=t(77398);var dr=t(12964);var hr=t(89038);var yr=t(28461);var mr=t(19055);var br=t(89122);var gr=t(73832);var xr="[object String]";function wr(r){return typeof r=="string"||!(0,G.Z)(r)&&(0,fr.Z)(r)&&(0,gr.Z)(r)==xr}const jr=wr;function Or(r,e,t,n){var i=-1,o=r==null?0:r.length;if(n&&o){t=r[++i]}while(++i<o){t=e(t,r[i],i,r)}return t}const Ar=Or;function _r(r){return function(e,t,n){var i=-1,o=Object(e),a=n(e),u=a.length;while(u--){var f=a[r?u:++i];if(t(o[f],f,o)===false){break}}return e}}const Sr=_r;var Er=Sr();const Ir=Er;var Zr=t(88130);function Pr(r,e){return r&&Ir(r,e,Zr.Z)}const Tr=Pr;var kr=t(5710);function Dr(r,e){return function(t,n){if(t==null){return t}if(!(0,kr.Z)(t)){return r(t,n)}var i=t.length,o=e?i:-1,a=Object(t);while(e?o--:++o<i){if(n(a[o],o,a)===false){break}}return t}}const Nr=Dr;var Ur=Nr(Tr);const Fr=Ur;var Mr=1,Wr=2;function Cr(r,e,t,i){var o=t.length,a=o,u=!i;if(r==null){return!a}r=Object(r);while(o--){var f=t[o];if(u&&f[2]?f[1]!==r[f[0]]:!(f[0]in r)){return false}}while(++o<a){f=t[o];var s=f[0],c=r[s],l=f[1];if(u&&f[2]){if(c===undefined&&!(s in r)){return false}}else{var v=new n.Z;if(i){var p=i(c,l,s,r,e,v)}if(!(p===undefined?cr(l,c,Mr|Wr,i,v):p)){return false}}}return true}const Rr=Cr;function $r(r){return r===r&&!(0,br.Z)(r)}const Lr=$r;function zr(r){var e=(0,Zr.Z)(r),t=e.length;while(t--){var n=e[t],i=r[n];e[t]=[n,i,Lr(i)]}return e}const Br=zr;function Vr(r,e){return function(t){if(t==null){return false}return t[r]===e&&(e!==undefined||r in Object(t))}}const Yr=Vr;function qr(r){var e=Br(r);if(e.length==1&&e[0][2]){return Yr(e[0][0],e[0][1])}return function(t){return t===r||Rr(t,r,e)}}const Kr=qr;var Jr=t(26627);var Hr=t(8633);var Gr=t(35429);var Qr=1,Xr=2;function re(r,e){if((0,Hr.Z)(r)&&Lr(e)){return Yr((0,Gr.Z)(r),e)}return function(t){var n=(0,pr.Z)(t,r);return n===undefined&&n===e?(0,Jr.Z)(t,r):cr(e,n,Qr|Xr)}}const ee=re;var te=t(63305);function ne(r){return function(e){return e==null?undefined:e[r]}}const ie=ne;var oe=t(23791);function ae(r){return function(e){return(0,oe.Z)(e,r)}}const ue=ae;function fe(r){return(0,Hr.Z)(r)?ie((0,Gr.Z)(r)):ue(r)}const se=fe;function ce(r){if(typeof r=="function"){return r}if(r==null){return te.Z}if(typeof r=="object"){return(0,G.Z)(r)?ee(r[0],r[1]):Kr(r)}return se(r)}const le=ce;function ve(r,e,t,n,i){i(r,(function(r,i,o){t=n?(n=false,r):e(t,r,i,o)}));return t}const pe=ve;function de(r,e,t){var n=(0,G.Z)(r)?Ar:pe,i=arguments.length<3;return n(r,le(e,4),t,i,Fr)}const he=de;var ye=t(47754);function me(r){return typeof r=="function"?r:te.Z}const be=me;var ge=/\s/;function xe(r){var e=r.length;while(e--&&ge.test(r.charAt(e))){}return e}const we=xe;var je=/^\s+/;function Oe(r){return r?r.slice(0,we(r)+1).replace(je,""):r}const Ae=Oe;var _e=t(97828);var Se=0/0;var Ee=/^[-+]0x[0-9a-f]+$/i;var Ie=/^0b[01]+$/i;var Ze=/^0o[0-7]+$/i;var Pe=parseInt;function Te(r){if(typeof r=="number"){return r}if((0,_e.Z)(r)){return Se}if((0,br.Z)(r)){var e=typeof r.valueOf=="function"?r.valueOf():r;r=(0,br.Z)(e)?e+"":e}if(typeof r!="string"){return r===0?r:+r}r=Ae(r);var t=Ie.test(r);return t||Ze.test(r)?Pe(r.slice(2),t?2:8):Ee.test(r)?Se:+r}const ke=Te;var De=1/0,Ne=17976931348623157e292;function Ue(r){if(!r){return r===0?r:0}r=ke(r);if(r===De||r===-De){var e=r<0?-1:1;return e*Ne}return r===r?r:0}const Fe=Ue;function Me(r){var e=Fe(r),t=e%1;return e===e?t?e-t:e:0}const We=Me;var Ce=9007199254740991;var Re=4294967295;var $e=Math.min;function Le(r,e){r=We(r);if(r<1||r>Ce){return[]}var t=Re,n=$e(r,Re);e=be(e);r-=Re;var i=(0,ye.Z)(n,e);while(++t<r){e(t)}return i}const ze=Le;var Be=t(97684);var Ve=t(19830);var Ye=t.n(Ve);var qe=t(45505);var Ke=t(31356);var Je=t(16749);function He(r,e){return(0,Je.Z)((0,Ke.Z)(r,e,te.Z),r+"")}const Ge=He;function Qe(r,e,t,n){var i=r.length,o=t+(n?1:-1);while(n?o--:++o<i){if(e(r[o],o,r)){return o}}return-1}const Xe=Qe;function rt(r){return r!==r}const et=rt;function tt(r,e,t){var n=t-1,i=r.length;while(++n<i){if(r[n]===e){return n}}return-1}const nt=tt;function it(r,e,t){return e===e?nt(r,e,t):Xe(r,et,t)}const ot=it;function at(r,e){var t=r==null?0:r.length;return!!t&&ot(r,e,0)>-1}const ut=at;function ft(r,e,t){var n=-1,i=r==null?0:r.length;while(++n<i){if(t(e,r[n])){return true}}return false}const st=ft;var ct=t(81962);function lt(){}const vt=lt;var pt=1/0;var dt=!(ct.Z&&1/S(new ct.Z([,-0]))[1]==pt)?vt:function(r){return new ct.Z(r)};const ht=dt;var yt=200;function mt(r,e,t){var n=-1,i=ut,o=r.length,a=true,u=[],f=u;if(t){a=false;i=st}else if(o>=yt){var s=e?null:ht(r);if(s){return S(s)}a=false;i=h;f=new l}else{f=e?[]:u}r:while(++n<o){var c=r[n],v=e?e(c):c;c=t||c!==0?c:0;if(a&&v===v){var p=f.length;while(p--){if(f[p]===v){continue r}}if(e){f.push(v)}u.push(c)}else if(!i(f,v,t)){if(f!==u){f.push(v)}u.push(c)}}return u}const bt=mt;function gt(r){return(0,fr.Z)(r)&&(0,kr.Z)(r)}const xt=gt;var wt=Ge((function(r){return bt((0,qe.Z)(r,1,xt,true))}));const jt=wt;function Ot(r,e){return cr(r,e)}const At=Ot;var _t=t(99895);var St=1,Et=4;function It(r){return(0,_t.Z)(r,St|Et)}const Zt=It;var Pt=t(85893);var Tt=t(28416);var kt=t(59864);function Dt(r){if(typeof File!=="undefined"&&r instanceof File){return false}if(typeof Date!=="undefined"&&r instanceof Date){return false}return typeof r==="object"&&r!==null&&!Array.isArray(r)}function Nt(r){if(r.additionalItems===true){console.warn("additionalItems=true is currently not supported")}return Dt(r.additionalItems)}function Ut(r){if(r===""){return undefined}if(r===null){return null}if(/\.$/.test(r)){return r}if(/\.0$/.test(r)){return r}if(/\.\d*0$/.test(r)){return r}var e=Number(r);var t=typeof e==="number"&&!Number.isNaN(e);return t?e:r}function Ft(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||false;n.configurable=true;if("value"in n)n.writable=true;Object.defineProperty(r,Lt(n.key),n)}}function Mt(r,e,t){if(e)Ft(r.prototype,e);if(t)Ft(r,t);Object.defineProperty(r,"prototype",{writable:false});return r}function Wt(){Wt=Object.assign?Object.assign.bind():function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t){if(Object.prototype.hasOwnProperty.call(t,n)){r[n]=t[n]}}}return r};return Wt.apply(this,arguments)}function Ct(r){if(r==null)throw new TypeError("Cannot destructure "+r)}function Rt(r,e){if(r==null)return{};var t={};var n=Object.keys(r);var i,o;for(o=0;o<n.length;o++){i=n[o];if(e.indexOf(i)>=0)continue;t[i]=r[i]}return t}function $t(r,e){if(typeof r!=="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==undefined){var n=t.call(r,e||"default");if(typeof n!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(r)}function Lt(r){var e=$t(r,"string");return typeof e==="symbol"?e:String(e)}var zt="__additional_property";var Bt="additionalProperties";var Vt="allOf";var Yt="anyOf";var qt="const";var Kt="default";var Jt="definitions";var Ht="dependencies";var Gt="enum";var Qt="__errors";var Xt="$id";var rn="items";var en="$name";var tn="oneOf";var nn="properties";var on="required";var an="submitButtonOptions";var un="$ref";var fn="__rjsf_additionalProperties";var sn="ui:field";var cn="ui:widget";var ln="ui:options";function vn(r){if(r===void 0){r={}}return Object.keys(r).filter((function(r){return r.indexOf("ui:")===0})).reduce((function(e,t){var n;var i=r[t];if(t===cn&&Dt(i)){console.error("Setting options via ui:widget object is no longer supported, use ui:options instead");return e}if(t===ln&&Dt(i)){return Wt({},e,i)}return Wt({},e,(n={},n[t.substring(3)]=i,n))}),{})}function pn(r,e,t){if(e===void 0){e={}}if(!r.additionalProperties){return false}var n=vn(e),i=n.expandable,o=i===void 0?true:i;if(o===false){return o}if(r.maxProperties!==undefined&&t){return Object.keys(t).length<r.maxProperties}return true}function dn(r,e){return vr(r,e,(function(r,e){if(typeof r==="function"&&typeof e==="function"){return true}return undefined}))}function hn(r,e){var t=e[r];var n=(0,yr.Z)(e,[r]);return[n,t]}function yn(r,e){if(e===void 0){e={}}var t=r||"";if(t.startsWith("#")){t=decodeURIComponent(t.substring(1))}else{throw new Error("Could not find a definition for "+r+".")}var n=hr.get(e,t);if(n===undefined){throw new Error("Could not find a definition for "+r+".")}if(n[un]){var i=hn(un,n),o=i[0],a=i[1];var u=yn(a,e);if(Object.keys(o).length>0){return Wt({},o,u)}return u}return n}function mn(r,e,t,n){if(e===undefined){return 0}for(var i=0;i<t.length;i++){var o=t[i];if(o.properties){var a={anyOf:Object.keys(o.properties).map((function(r){return{required:[r]}}))};var u=void 0;if(o.anyOf){var f=Wt({},(Ct(o),o));if(!f.allOf){f.allOf=[]}else{f.allOf=f.allOf.slice()}f.allOf.push(a);u=f}else{u=Object.assign({},o,a)}delete u.required;if(r.isValid(u,e,n)){return i}}else if(r.isValid(o,e,n)){return i}}return 0}function bn(r,e,t,n){return mn(r,e,t,n)}function gn(r){if(Array.isArray(r)){return"array"}if(typeof r==="string"){return"string"}if(r==null){return"null"}if(typeof r==="boolean"){return"boolean"}if(!isNaN(r)){return"number"}if(typeof r==="object"){return"object"}return"string"}function xn(r){var e=r.type;if(!e&&r["const"]){return gn(r["const"])}if(!e&&r["enum"]){return"string"}if(!e&&(r.properties||r.additionalProperties)){return"object"}if(Array.isArray(e)&&e.length===2&&e.includes("null")){e=e.find((function(r){return r!=="null"}))}return e}function wn(r,e){var t=Object.assign({},r);return Object.keys(e).reduce((function(t,n){var i=r?r[n]:{},o=e[n];if(r&&n in r&&Dt(o)){t[n]=wn(i,o)}else if(r&&e&&(xn(r)==="object"||xn(e)==="object")&&n===on&&Array.isArray(i)&&Array.isArray(o)){t[n]=jt(i,o)}else{t[n]=o}return t}),t)}var jn=["if","then","else"],On=["$ref"],An=["allOf"],_n=["dependencies"],Sn=["oneOf"];function En(r,e,t,n){var i=e["if"],o=e.then,a=e["else"],u=Rt(e,jn);var f=r.isValid(i,n,t)?o:a;if(f&&typeof f!=="boolean"){return Tn(r,wn(u,Tn(r,f,t,n)),t,n)}return Tn(r,u,t,n)}function In(r,e,t,n){if(t===void 0){t={}}if(un in e){return Zn(r,e,t,n)}if(Ht in e){var i=kn(r,e,t,n);return Tn(r,i,t,n)}if(Vt in e){return Wt({},e,{allOf:e.allOf.map((function(e){return Tn(r,e,t,n)}))})}return e}function Zn(r,e,t,n){var i=yn(e.$ref,t);var o=Rt(e,On);return Tn(r,Wt({},i,o),t,n)}function Pn(r,e,t,n){var i=Wt({},e,{properties:Wt({},e.properties)});var o=n&&Dt(n)?n:{};Object.keys(o).forEach((function(e){if(e in i.properties){return}var n={};if(typeof i.additionalProperties!=="boolean"){if(un in i.additionalProperties){n=Tn(r,{$ref:(0,pr.Z)(i.additionalProperties,[un])},t,o)}else if("type"in i.additionalProperties){n=Wt({},i.additionalProperties)}else if(Yt in i.additionalProperties||tn in i.additionalProperties){n=Wt({type:"object"},i.additionalProperties)}else{n={type:gn((0,pr.Z)(o,[e]))}}}else{n={type:gn((0,pr.Z)(o,[e]))}}i.properties[e]=n;(0,Be.Z)(i.properties,[e,zt],true)}));return i}function Tn(r,e,t,n){if(t===void 0){t={}}if(!Dt(e)){return{}}var i=In(r,e,t,n);if("if"in e){return En(r,e,t,n)}var o=n||{};if(Vt in e){try{i=Ye()(i,{deep:false})}catch(s){console.warn("could not merge subschemas in allOf:\n"+s);var a=i,u=Rt(a,An);return u}}var f=Bt in i&&i.additionalProperties!==false;if(f){return Pn(r,i,t,o)}return i}function kn(r,e,t,n){var i=e.dependencies,o=Rt(e,_n);var a=o;if(Array.isArray(a.oneOf)){a=a.oneOf[bn(r,n,a.oneOf,t)]}else if(Array.isArray(a.anyOf)){a=a.anyOf[bn(r,n,a.anyOf,t)]}return Dn(r,i,a,t,n)}function Dn(r,e,t,n,i){var o=t;for(var a in e){if((0,pr.Z)(i,[a])===undefined){continue}if(o.properties&&!(a in o.properties)){continue}var u=hn(a,e),f=u[0],s=u[1];if(Array.isArray(s)){o=Nn(o,s)}else if(Dt(s)){o=Un(r,o,n,a,s,i)}return Dn(r,f,o,n,i)}return o}function Nn(r,e){if(!e){return r}var t=Array.isArray(r.required)?Array.from(new Set([].concat(r.required,e))):e;return Wt({},r,{required:t})}function Un(r,e,t,n,i,o){var a=Tn(r,i,t,o),u=a.oneOf,f=Rt(a,Sn);e=wn(e,f);if(u===undefined){return e}var s=u.map((function(e){if(typeof e==="boolean"||!(un in e)){return e}return Zn(r,e,t,o)}));return Fn(r,e,t,n,s,o)}function Fn(r,e,t,n,i,o){var a=i.filter((function(e){if(typeof e==="boolean"||!e||!e.properties){return false}var t=e.properties[n];if(t){var i;var a={type:"object",properties:(i={},i[n]=t,i)};var u=r.validateFormData(o,a),f=u.errors;return f.length===0}return false}));if(a.length!==1){console.warn("ignoring oneOf in dependencies because there isn't exactly one subschema that is valid");return e}var u=a[0];var f=hn(n,u.properties),s=f[0];var c=Wt({},u,{properties:s});return wn(e,Tn(r,c,t,o))}var Mn={type:"object",properties:{__not_really_there__:{type:"number"}}};function Wn(r,e,t,n){if(n===void 0){n={}}var i=0;if(t){if((0,br.Z)(t.properties)){i+=he(t.properties,(function(t,i,o){var a=(0,pr.Z)(n,o);if(typeof i==="boolean"){return t}if((0,mr.Z)(i,un)){var u=Tn(r,i,e,a);return t+Wn(r,e,u,a||{})}if((0,mr.Z)(i,tn)&&a){return t+Cn(r,e,a,(0,pr.Z)(i,tn))}if(i.type==="object"){return t+Wn(r,e,i,a||{})}if(i.type===gn(a)){var f=t+1;if(i["default"]){f+=a===i["default"]?1:-1}else if(i["const"]){f+=a===i["const"]?1:-1}return f}return t}),0)}else if(jr(t.type)&&t.type===gn(n)){i+=1}}return i}function Cn(r,e,t,n,i){if(i===void 0){i=-1}var o=n.reduce((function(n,i,o){var a=[Mn,i];var u=bn(r,t,a,e);if(u===1){n.push(o)}return n}),[]);if(o.length===1){return o[0]}if(!o.length){ze(n.length,(function(r){return o.push(r)}))}var a=o.reduce((function(i,o){var a=i.bestScore;var u=n[o];if((0,mr.Z)(u,un)){u=Tn(r,u,e,t)}var f=Wn(r,e,u,t);if(f>a){return{bestIndex:o,bestScore:f}}return i}),{bestIndex:i,bestScore:0}),u=a.bestIndex;return u}function Rn(r){return Array.isArray(r.items)&&r.items.length>0&&r.items.every((function(r){return Dt(r)}))}function $n(r,e){if(Array.isArray(e)){var t=Array.isArray(r)?r:[];var n=e.map((function(r,e){if(t[e]){return $n(t[e],r)}return r}));return n}if(Dt(e)){var i=Object.assign({},r);return Object.keys(e).reduce((function(t,n){t[n]=$n(r?(0,pr.Z)(r,n):{},(0,pr.Z)(e,n));return t}),i)}return e}function Ln(r,e,t){if(t===void 0){t=false}return Object.keys(e).reduce((function(n,i){var o=r?r[i]:{},a=e[i];if(r&&i in r&&Dt(a)){n[i]=Ln(o,a,t)}else if(t&&Array.isArray(o)&&Array.isArray(a)){var u=a;if(t==="preventDuplicates"){u=a.reduce((function(r,e){if(!o.includes(e)){r.push(e)}return r}),[])}n[i]=o.concat(u)}else{n[i]=a}return n}),Object.assign({},r))}function zn(r){return Array.isArray(r["enum"])&&r["enum"].length===1||qt in r}function Bn(r,e,t){if(t===void 0){t={}}var n=Tn(r,e,t,undefined);var i=n.oneOf||n.anyOf;if(Array.isArray(n["enum"])){return true}if(Array.isArray(i)){return i.every((function(r){return typeof r!=="boolean"&&zn(r)}))}return false}function Vn(r,e,t){if(!e.uniqueItems||!e.items||typeof e.items==="boolean"){return false}return Bn(r,e.items,t)}var Yn;(function(r){r[r["Ignore"]=0]="Ignore";r[r["Invert"]=1]="Invert";r[r["Fallback"]=2]="Fallback"})(Yn||(Yn={}));function qn(r,e,t){if(e===void 0){e=Yn.Ignore}if(t===void 0){t=-1}if(t>=0){if(Array.isArray(r.items)&&t<r.items.length){var n=r.items[t];if(typeof n!=="boolean"){return n}}}else if(r.items&&!Array.isArray(r.items)&&typeof r.items!=="boolean"){return r.items}if(e!==Yn.Ignore&&Dt(r.additionalItems)){return r.additionalItems}return{}}function Kn(r,e,t,n,i){if(i===void 0){i=[]}if(n){r[e]=t}else if(Dt(t)){if(!(0,dr.Z)(t)||i.includes(e)){r[e]=t}}else if(t!==undefined){r[e]=t}}function Jn(r,e,t,n,i,o){if(n===void 0){n={}}if(o===void 0){o=false}var a=Dt(i)?i:{};var u=Dt(e)?e:{};var f=t;if(Dt(f)&&Dt(u["default"])){f=Ln(f,u["default"])}else if(Kt in u){f=u["default"]}else if(un in u){var s=yn(u[un],n);return Jn(r,s,f,n,a,o)}else if(Ht in u){var c=kn(r,u,n,a);return Jn(r,c,f,n,a,o)}else if(Rn(u)){f=u.items.map((function(e,i){return Jn(r,e,Array.isArray(t)?t[i]:undefined,n,a,o)}))}else if(tn in u){if(u.oneOf.length===0){return undefined}u=u.oneOf[Cn(r,n,(0,dr.Z)(a)?undefined:a,u.oneOf,0)]}else if(Yt in u){if(u.anyOf.length===0){return undefined}u=u.anyOf[Cn(r,n,(0,dr.Z)(a)?undefined:a,u.anyOf,0)]}if(typeof f==="undefined"){f=u["default"]}switch(xn(u)){case"object":{var l=Object.keys(u.properties||{}).reduce((function(e,t){var i=Jn(r,(0,pr.Z)(u,[nn,t]),(0,pr.Z)(f,[t]),n,(0,pr.Z)(a,[t]),o===true);Kn(e,t,i,o,u.required);return e}),{});if(u.additionalProperties&&Dt(f)){var v=Dt(u.additionalProperties)?u.additionalProperties:{};Object.keys(f).filter((function(r){return!u.properties||!u.properties[r]})).forEach((function(e){var t=Jn(r,v,(0,pr.Z)(f,[e]),n,(0,pr.Z)(a,[e]),o===true);Kn(l,e,t,o)}))}return l}case"array":if(Array.isArray(f)){f=f.map((function(e,t){var i=qn(u,Yn.Fallback,t);return Jn(r,i,e,n)}))}if(Array.isArray(i)){var p=qn(u);f=i.map((function(e,t){return Jn(r,p,(0,pr.Z)(f,[t]),n,e)}))}if(u.minItems){if(!Vn(r,u,n)){var d=Array.isArray(f)?f.length:0;if(u.minItems>d){var h=f||[];var y=qn(u,Yn.Invert);var m=y["default"];var b=new Array(u.minItems-d).fill(Jn(r,y,m,n));return h.concat(b)}}return f?f:[]}}return f}function Hn(r,e,t,n,i){if(i===void 0){i=false}if(!Dt(e)){throw new Error("Invalid schema: "+e)}var o=Tn(r,e,n,t);var a=Jn(r,o,undefined,n,t,i);if(typeof t==="undefined"||t===null||typeof t==="number"&&isNaN(t)){return a}if(Dt(t)){return $n(a,t)}if(Array.isArray(t)){return $n(a,t)}return t}function Gn(r){if(r===void 0){r={}}return"widget"in vn(r)&&vn(r)["widget"]!=="hidden"}function Qn(r,e,t,n){if(t===void 0){t={}}if(t[cn]==="files"){return true}if(e.items){var i=Tn(r,e.items,n);return i.type==="string"&&i.format==="data-url"}return false}function Xn(r,e,t,n){if(t===void 0){t={}}var i=vn(t);var o=i.label,a=o===void 0?true:o;var u=!!a;var f=xn(e);if(f==="array"){u=Vn(r,e,n)||Qn(r,e,t,n)||Gn(t)}if(f==="object"){u=false}if(f==="boolean"&&!t[cn]){u=false}if(t[sn]){u=false}return u}function ri(r,e,t){if(!t){return e}var n=e.errors,i=e.errorSchema;var o=r.toErrorList(t);var a=t;if(!(0,dr.Z)(i)){a=Ln(i,t,true);o=[].concat(n).concat(o)}return{errorSchema:a,errors:o}}var ei=Symbol("no Value");function ti(r,e,t,n,i){if(i===void 0){i={}}var o;if((0,mr.Z)(t,nn)){var a={};if((0,mr.Z)(n,nn)){var u=(0,pr.Z)(n,nn,{});Object.keys(u).forEach((function(r){if((0,mr.Z)(i,r)){a[r]=undefined}}))}var f=Object.keys((0,pr.Z)(t,nn,{}));var s={};f.forEach((function(o){var u=(0,pr.Z)(i,o);var f=(0,pr.Z)(n,[nn,o],{});var c=(0,pr.Z)(t,[nn,o],{});if((0,mr.Z)(f,un)){f=Tn(r,f,e,u)}if((0,mr.Z)(c,un)){c=Tn(r,c,e,u)}var l=(0,pr.Z)(f,"type");var v=(0,pr.Z)(c,"type");if(!l||l===v){if((0,mr.Z)(a,o)){delete a[o]}if(v==="object"||v==="array"&&Array.isArray(u)){var p=ti(r,e,c,f,u);if(p!==undefined||v==="array"){s[o]=p}}else{var d=(0,pr.Z)(c,"default",ei);var h=(0,pr.Z)(f,"default",ei);if(d!==ei&&d!==u){if(h===u){a[o]=d}else if((0,pr.Z)(c,"readOnly")===true){a[o]=undefined}}var y=(0,pr.Z)(c,"const",ei);var m=(0,pr.Z)(f,"const",ei);if(y!==ei&&y!==u){a[o]=m===u?y:undefined}}}}));o=Wt({},i,a,s)}else if((0,pr.Z)(n,"type")==="array"&&(0,pr.Z)(t,"type")==="array"&&Array.isArray(i)){var c=(0,pr.Z)(n,"items");var l=(0,pr.Z)(t,"items");if(typeof c==="object"&&typeof l==="object"&&!Array.isArray(c)&&!Array.isArray(l)){if((0,mr.Z)(c,un)){c=Tn(r,c,e,i)}if((0,mr.Z)(l,un)){l=Tn(r,l,e,i)}var v=(0,pr.Z)(c,"type");var p=(0,pr.Z)(l,"type");if(!v||v===p){var d=(0,pr.Z)(t,"maxItems",-1);if(p==="object"){o=i.reduce((function(t,n){var i=ti(r,e,l,c,n);if(i!==undefined&&(d<0||t.length<d)){t.push(i)}return t}),[])}else{o=d>0&&i.length>d?i.slice(0,d):i}}}else if(typeof c==="boolean"&&typeof l==="boolean"&&c===l){o=i}}return o}function ni(r,e,t,n,i,o,a){if(o===void 0){o="root"}if(a===void 0){a="_"}if(un in e||Ht in e||Vt in e){var u=Tn(r,e,n,i);return ni(r,u,t,n,i,o,a)}if(rn in e&&!(0,pr.Z)(e,[rn,un])){return ni(r,(0,pr.Z)(e,rn),t,n,i,o,a)}var f=t||o;var s={$id:f};if(e.type==="object"&&nn in e){for(var c in e.properties){var l=(0,pr.Z)(e,[nn,c]);var v=s[Xt]+a+c;s[c]=ni(r,Dt(l)?l:{},v,n,(0,pr.Z)(i,[c]),o,a)}}return s}function ii(r,e,t,n,i){var o;if(t===void 0){t=""}if(un in e||Ht in e||Vt in e){var a=Tn(r,e,n,i);return ii(r,a,t,n,i)}var u=(o={},o[en]=t.replace(/^\./,""),o);if(tn in e){var f=Cn(r,n,i,e.oneOf,0);var s=e.oneOf[f];return ii(r,s,t,n,i)}if(Yt in e){var c=Cn(r,n,i,e.anyOf,0);var l=e.anyOf[c];return ii(r,l,t,n,i)}if(Bt in e&&e[Bt]!==false){(0,Be.Z)(u,fn,true)}if(rn in e&&Array.isArray(i)){i.forEach((function(i,o){u[o]=ii(r,e.items,t+"."+o,n,i)}))}else if(nn in e){for(var v in e.properties){var p=(0,pr.Z)(e,[nn,v]);u[v]=ii(r,p,t+"."+v,n,(0,pr.Z)(i,[v]))}}return u}var oi=function(){function r(r,e){this.rootSchema=void 0;this.validator=void 0;this.rootSchema=e;this.validator=r}var e=r.prototype;e.getValidator=function r(){return this.validator};e.doesSchemaUtilsDiffer=function r(e,t){if(!e||!t){return false}return this.validator!==e||!dn(this.rootSchema,t)};e.getDefaultFormState=function r(e,t,n){if(n===void 0){n=false}return Hn(this.validator,e,t,this.rootSchema,n)};e.getDisplayLabel=function r(e,t){return Xn(this.validator,e,t,this.rootSchema)};e.getClosestMatchingOption=function r(e,t,n){return Cn(this.validator,this.rootSchema,e,t,n)};e.getFirstMatchingOption=function r(e,t){return bn(this.validator,e,t,this.rootSchema)};e.getMatchingOption=function r(e,t){return mn(this.validator,e,t,this.rootSchema)};e.isFilesArray=function r(e,t){return Qn(this.validator,e,t,this.rootSchema)};e.isMultiSelect=function r(e){return Vn(this.validator,e,this.rootSchema)};e.isSelect=function r(e){return Bn(this.validator,e,this.rootSchema)};e.mergeValidationData=function r(e,t){return ri(this.validator,e,t)};e.retrieveSchema=function r(e,t){return Tn(this.validator,e,this.rootSchema,t)};e.sanitizeDataForNewSchema=function r(e,t,n){return ti(this.validator,this.rootSchema,e,t,n)};e.toIdSchema=function r(e,t,n,i,o){if(i===void 0){i="root"}if(o===void 0){o="_"}return ni(this.validator,e,t,this.rootSchema,n,i,o)};e.toPathSchema=function r(e,t,n){return ii(this.validator,e,t,this.rootSchema,n)};return r}();function ai(r,e){return new oi(r,e)}function ui(r){var e=r.split(",");var t=e[0].split(";");var n=t[0].replace("data:","");var i=t.filter((function(r){return r.split("=")[0]==="name"}));var o;if(i.length!==1){o="unknown"}else{o=decodeURI(i[0].split("=")[1])}try{var a=atob(e[1]);var u=[];for(var f=0;f<a.length;f++){u.push(a.charCodeAt(f))}var s=new window.Blob([new Uint8Array(u)],{type:n});return{blob:s,name:o}}catch(c){return{blob:{size:0,type:c.message},name:r}}}function fi(r,e){var t=r;if(Array.isArray(e)){var n=t.split(/(%\d)/);e.forEach((function(r,e){var t=n.findIndex((function(r){return r==="%"+(e+1)}));if(t>=0){n[t]=r}}));t=n.join("")}return t}function si(r,e){return fi(r,e)}function ci(r,e,t){if(e===void 0){e=[]}if(Array.isArray(r)){return r.map((function(r){return ci(r,e)})).filter((function(r){return r}))}var n=r===""||r===null?-1:Number(r);var i=e[n];return i?i.value:t}function li(r,e,t){if(t===void 0){t=[]}var n=ci(r,t);if(Array.isArray(e)){return e.filter((function(r){return!At(r,n)}))}return At(n,e)?undefined:e}function vi(r,e){if(Array.isArray(e)){return e.some((function(e){return At(e,r)}))}return At(e,r)}function pi(r,e,t){if(e===void 0){e=[]}if(t===void 0){t=false}var n=e.map((function(e,t){return vi(e.value,r)?String(t):undefined})).filter((function(r){return typeof r!=="undefined"}));if(!t){return n[0]}return n}function di(r,e,t){if(t===void 0){t=[]}var n=ci(r,t);if(n){var i=t.findIndex((function(r){return n===r.value}));var o=t.map((function(r){var e=r.value;return e}));var a=e.slice(0,i).concat(n,e.slice(i));return a.sort((function(r,e){return Number(o.indexOf(r)>o.indexOf(e))}))}return e}var hi=function(){function r(r){this.errorSchema={};this.resetAllErrors(r)}var e=r.prototype;e.getOrCreateErrorBlock=function r(e){var t=Array.isArray(e)&&e.length>0||typeof e==="string";var n=t?(0,pr.Z)(this.errorSchema,e):this.errorSchema;if(!n&&e){n={};(0,Be.Z)(this.errorSchema,e,n)}return n};e.resetAllErrors=function r(e){this.errorSchema=e?Zt(e):{};return this};e.addErrors=function r(e,t){var n=this.getOrCreateErrorBlock(t);var i=(0,pr.Z)(n,Qt);if(!Array.isArray(i)){i=[];n[Qt]=i}if(Array.isArray(e)){var o;(o=i).push.apply(o,e)}else{i.push(e)}return this};e.setErrors=function r(e,t){var n=this.getOrCreateErrorBlock(t);var i=Array.isArray(e)?[].concat(e):[e];(0,Be.Z)(n,Qt,i);return this};e.clearErrors=function r(e){var t=this.getOrCreateErrorBlock(e);(0,Be.Z)(t,Qt,[]);return this};Mt(r,[{key:"ErrorSchema",get:function r(){return this.errorSchema}}]);return r}();function yi(r){var e={};if(r.multipleOf){e.step=r.multipleOf}if(r.minimum||r.minimum===0){e.min=r.minimum}if(r.maximum||r.maximum===0){e.max=r.maximum}return e}function mi(r,e,t,n){if(t===void 0){t={}}if(n===void 0){n=true}var i=Wt({type:e||"text"},yi(r));if(t.inputType){i.type=t.inputType}else if(!e){if(r.type==="number"){i.type="number";if(n&&i.step===undefined){i.step="any"}}else if(r.type==="integer"){i.type="number";if(i.step===undefined){i.step=1}}}if(t.autocomplete){i.autoComplete=t.autocomplete}return i}var bi={props:{disabled:false},submitText:"Submit",norender:false};function gi(r){if(r===void 0){r={}}var e=vn(r);if(e&&e[an]){var t=e[an];return Wt({},bi,t)}return bi}function xi(r,e,t){if(t===void 0){t={}}var n=e.templates;if(r==="ButtonTemplates"){return n[r]}return t[r]||n[r]}var wi=["options"];var ji={boolean:{checkbox:"CheckboxWidget",radio:"RadioWidget",select:"SelectWidget",hidden:"HiddenWidget"},string:{text:"TextWidget",password:"PasswordWidget",email:"EmailWidget",hostname:"TextWidget",ipv4:"TextWidget",ipv6:"TextWidget",uri:"URLWidget","data-url":"FileWidget",radio:"RadioWidget",select:"SelectWidget",textarea:"TextareaWidget",hidden:"HiddenWidget",date:"DateWidget",datetime:"DateTimeWidget","date-time":"DateTimeWidget","alt-date":"AltDateWidget","alt-datetime":"AltDateTimeWidget",color:"ColorWidget",file:"FileWidget"},number:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},integer:{text:"TextWidget",select:"SelectWidget",updown:"UpDownWidget",range:"RangeWidget",radio:"RadioWidget",hidden:"HiddenWidget"},array:{select:"SelectWidget",checkboxes:"CheckboxesWidget",files:"FileWidget",hidden:"HiddenWidget"}};function Oi(r){var e=(0,pr.Z)(r,"MergedWidget");if(!e){var t=r.defaultProps&&r.defaultProps.options||{};e=function e(n){var i=n.options,o=Rt(n,wi);return(0,Pt.jsx)(r,Wt({options:Wt({},t,i)},o))};(0,Be.Z)(r,"MergedWidget",e)}return e}function Ai(r,e,t){if(t===void 0){t={}}var n=xn(r);if(typeof e==="function"||e&&kt.isForwardRef((0,Tt.createElement)(e))||kt.isMemo(e)){return Oi(e)}if(typeof e!=="string"){throw new Error("Unsupported widget definition: "+typeof e)}if(e in t){var i=t[e];return Ai(r,i,t)}if(typeof n==="string"){if(!(n in ji)){throw new Error("No widget for type '"+n+"'")}if(e in ji[n]){var o=t[ji[n][e]];return Ai(r,o,t)}}throw new Error("No widget '"+e+"' for type '"+n+"'")}function _i(r,e,t){if(t===void 0){t={}}try{Ai(r,e,t);return true}catch(i){var n=i;if(n.message&&(n.message.startsWith("No widget")||n.message.startsWith("Unsupported widget"))){return false}throw i}}function Si(r,e){var t=jr(r)?r:r[Xt];return t+"__"+e}function Ei(r){return Si(r,"description")}function Ii(r){return Si(r,"error")}function Zi(r){return Si(r,"examples")}function Pi(r){return Si(r,"help")}function Ti(r){return Si(r,"title")}function ki(r,e){if(e===void 0){e=false}var t=e?" "+Zi(r):"";return Ii(r)+" "+Ei(r)+" "+Pi(r)+t}function Di(r,e){return r+"-"+e}function Ni(r){return r?new Date(r).toJSON():undefined}function Ui(r){if(Gt in r&&Array.isArray(r["enum"])&&r["enum"].length===1){return r["enum"][0]}if(qt in r){return r["const"]}throw new Error("schema cannot be inferred as a constant")}function Fi(r){var e=r;if(e.enumNames&&"production"!=="production"){}if(r["enum"]){return r["enum"].map((function(r,t){var n=e.enumNames&&e.enumNames[t]||String(r);return{label:n,value:r}}))}var t=r.oneOf||r.anyOf;return t&&t.map((function(r){var e=r;var t=Ui(e);var n=e.title||String(t);return{schema:e,label:n,value:t}}))}function Mi(r,e){if(!Array.isArray(e)){return r}var t=function r(e){return e.reduce((function(r,e){r[e]=true;return r}),{})};var n=function r(e){return e.length>1?"properties '"+e.join("', '")+"'":"property '"+e[0]+"'"};var i=t(r);var o=e.filter((function(r){return r==="*"||i[r]}));var a=t(o);var u=r.filter((function(r){return!a[r]}));var f=o.indexOf("*");if(f===-1){if(u.length){throw new Error("uiSchema order list does not contain "+n(u))}return o}if(f!==o.lastIndexOf("*")){throw new Error("uiSchema order list contains more than one wildcard item")}var s=[].concat(o);s.splice.apply(s,[f,1].concat(u));return s}function Wi(r,e){var t=String(r);while(t.length<e){t="0"+t}return t}function Ci(r,e){if(e===void 0){e=true}if(!r){return{year:-1,month:-1,day:-1,hour:e?-1:0,minute:e?-1:0,second:e?-1:0}}var t=new Date(r);if(Number.isNaN(t.getTime())){throw new Error("Unable to parse date "+r)}return{year:t.getUTCFullYear(),month:t.getUTCMonth()+1,day:t.getUTCDate(),hour:e?t.getUTCHours():0,minute:e?t.getUTCMinutes():0,second:e?t.getUTCSeconds():0}}function Ri(r){if(r["const"]){return true}if(r["enum"]&&r["enum"].length===1&&r["enum"][0]===true){return true}if(r.anyOf&&r.anyOf.length===1){return Ri(r.anyOf[0])}if(r.oneOf&&r.oneOf.length===1){return Ri(r.oneOf[0])}if(r.allOf){var e=function r(e){return Ri(e)};return r.allOf.some(e)}return false}function $i(r,e,t){var n=r.props,i=r.state;return!dn(n,e)||!dn(i,t)}function Li(r,e){if(e===void 0){e=true}var t=r.year,n=r.month,i=r.day,o=r.hour,a=o===void 0?0:o,u=r.minute,f=u===void 0?0:u,s=r.second,c=s===void 0?0:s;var l=Date.UTC(t,n-1,i,a,f,c);var v=new Date(l).toJSON();return e?v:v.slice(0,10)}function zi(r){if(!r){return""}var e=new Date(r);var t=Wi(e.getFullYear(),4);var n=Wi(e.getMonth()+1,2);var i=Wi(e.getDate(),2);var o=Wi(e.getHours(),2);var a=Wi(e.getMinutes(),2);var u=Wi(e.getSeconds(),2);var f=Wi(e.getMilliseconds(),3);return t+"-"+n+"-"+i+"T"+o+":"+a+":"+u+"."+f}var Bi;(function(r){r["ArrayItemTitle"]="Item";r["MissingItems"]="Missing items definition";r["YesLabel"]="Yes";r["NoLabel"]="No";r["CloseLabel"]="Close";r["ErrorsLabel"]="Errors";r["NewStringDefault"]="New Value";r["AddButton"]="Add";r["AddItemButton"]="Add Item";r["MoveDownButton"]="Move down";r["MoveUpButton"]="Move up";r["RemoveButton"]="Remove";r["NowLabel"]="Now";r["ClearLabel"]="Clear";r["AriaDateLabel"]="Select a date";r["DecrementAriaLabel"]="Decrease value by 1";r["IncrementAriaLabel"]="Increase value by 1";r["UnknownFieldType"]="Unknown field type %1";r["OptionPrefix"]="Option %1";r["TitleOptionPrefix"]="%1 option %2";r["KeyLabel"]="%1 Key";r["UnsupportedField"]="Unsupported field schema.";r["UnsupportedFieldWithId"]="Unsupported field schema for field <code>%1</code>.";r["UnsupportedFieldWithReason"]="Unsupported field schema: <em>%1</em>.";r["UnsupportedFieldWithIdAndReason"]="Unsupported field schema for field <code>%1</code>: <em>%2</em>.";r["FilesInfo"]="<strong>%1</strong> (%2, %3 bytes)"})(Bi||(Bi={}))},21252:(r,e,t)=>{"use strict";var n=t(14653),i=t(59158),o=t(79882);var a=Math.pow(2,31)-1;function u(r,e){var t=1,n;if(r===0){return e}if(e===0){return r}while(r%2===0&&e%2===0){r=r/2;e=e/2;t=t*2}while(r%2===0){r=r/2}while(e){while(e%2===0){e=e/2}if(r>e){n=e;e=r;r=n}e=e-r}return t*r}function f(r,e){var t=0,n;if(r===0){return e}if(e===0){return r}while((r&1)===0&&(e&1)===0){r>>>=1;e>>>=1;t++}while((r&1)===0){r>>>=1}while(e){while((e&1)===0){e>>>=1}if(r>e){n=e;e=r;r=n}e=e-r}return r<<t}function s(){var r=arguments.length,e,t,s,c,l,v,p;e=new Array(r);for(p=0;p<r;p++){e[p]=arguments[p]}if(i(e)){if(r===2){l=e[0];v=e[1];if(l<0){l=-l}if(v<0){v=-v}if(l<=a&&v<=a){return f(l,v)}else{return u(l,v)}}s=e}else if(!n(e[0])){throw new TypeError("gcd()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.")}else if(r>1){s=e[0];t=e[1];if(!o(t)){throw new TypeError("gcd()::invalid input argument. Accessor must be a function. Value: `"+t+"`.")}}else{s=e[0]}c=s.length;if(c<2){return null}if(t){l=new Array(c);for(p=0;p<c;p++){l[p]=t(s[p],p)}s=l}if(r<3){if(!i(s)){throw new TypeError("gcd()::invalid input argument. Accessed array values must be integers. Value: `"+s+"`.")}}for(p=0;p<c;p++){l=s[p];if(l<0){s[p]=-l}}l=s[0];for(p=1;p<c;p++){v=s[p];if(v<=a&&l<=a){l=f(l,v)}else{l=u(l,v)}}return l}r.exports=s},61735:(r,e,t)=>{"use strict";var n=t(21252),i=t(14653),o=t(59158),a=t(79882);function u(){var r=arguments.length,e,t,u,f,s,c,l;e=new Array(r);for(l=0;l<r;l++){e[l]=arguments[l]}if(o(e)){if(r===2){s=e[0];c=e[1];if(s<0){s=-s}if(c<0){c=-c}if(s===0||c===0){return 0}return s/n(s,c)*c}u=e}else if(!i(e[0])){throw new TypeError("lcm()::invalid input argument. Must provide an array of integers. Value: `"+e[0]+"`.")}else if(r>1){u=e[0];t=e[1];if(!a(t)){throw new TypeError("lcm()::invalid input argument. Accessor must be a function. Value: `"+t+"`.")}}else{u=e[0]}f=u.length;if(f<2){return null}if(t){s=new Array(f);for(l=0;l<f;l++){s[l]=t(u[l],l)}u=s}if(r<3){if(!o(u)){throw new TypeError("lcm()::invalid input argument. Accessed array values must be integers. Value: `"+u+"`.")}}for(l=0;l<f;l++){s=u[l];if(s<0){u[l]=-s}}s=u[0];for(l=1;l<f;l++){c=u[l];if(s===0||c===0){return 0}s=s/n(s,c)*c}return s}r.exports=u},36602:(r,e,t)=>{var n=t(18446);var i=t(89734);var o=t(44908);var a=t(87185);var u=t(91747);var f=t(33856);var s=t(68630);var c=t(51584);var l=r=>Array.isArray(r)?r:[r];var v=r=>r===undefined;var p=r=>s(r)||Array.isArray(r)?Object.keys(r):[];var d=(r,e)=>r.hasOwnProperty(e);var h=r=>i(o(r));var y=r=>v(r)||Array.isArray(r)&&r.length===0;var m=(r,e,t,n)=>e&&d(e,t)&&r&&d(r,t)&&n(r[t],e[t]);var b=(r,e)=>v(r)&&e===0||v(e)&&r===0||n(r,e);var g=(r,e)=>v(r)&&e===false||v(e)&&r===false||n(r,e);var x=r=>v(r)||n(r,{})||r===true;var w=r=>v(r)||n(r,{});var j=r=>v(r)||s(r)||r===true||r===false;function O(r,e){if(y(r)&&y(e)){return true}else{return n(h(r),h(e))}}function A(r,e){r=l(r);e=l(e);return n(h(r),h(e))}function _(r,e,t,i){var a=o(p(r).concat(p(e)));if(w(r)&&w(e)){return true}else if(w(r)&&p(e).length){return false}else if(w(e)&&p(r).length){return false}return a.every((function(t){var o=r[t];var a=e[t];if(Array.isArray(o)&&Array.isArray(a)){return n(h(r),h(e))}else if(Array.isArray(o)&&!Array.isArray(a)){return false}else if(Array.isArray(a)&&!Array.isArray(o)){return false}return m(r,e,t,i)}))}function S(r,e,t,i){if(s(r)&&s(e)){return i(r,e)}else if(Array.isArray(r)&&Array.isArray(e)){return _(r,e,t,i)}else{return n(r,e)}}function E(r,e,t,n){var i=a(r,n);var o=a(e,n);var u=f(i,o,n);return u.length===Math.max(i.length,o.length)}var I={title:n,uniqueItems:g,minLength:b,minItems:b,minProperties:b,required:O,enum:O,type:A,items:S,anyOf:E,allOf:E,oneOf:E,properties:_,patternProperties:_,dependencies:_};var Z=["properties","patternProperties","dependencies","uniqueItems","minLength","minItems","minProperties","required"];var P=["additionalProperties","additionalItems","contains","propertyNames","not"];function T(r,e,t){t=u(t,{ignore:[]});if(x(r)&&x(e)){return true}if(!j(r)||!j(e)){throw new Error("Either of the values are not a JSON schema.")}if(r===e){return true}if(c(r)&&c(e)){return r===e}if(r===undefined&&e===false||e===undefined&&r===false){return false}if(v(r)&&!v(e)||!v(r)&&v(e)){return false}var i=o(Object.keys(r).concat(Object.keys(e)));if(t.ignore.length){i=i.filter((r=>t.ignore.indexOf(r)===-1))}if(!i.length){return true}function a(r,e){return T(r,e,t)}return i.every((function(i){var o=r[i];var u=e[i];if(P.indexOf(i)!==-1){return T(o,u,t)}var f=I[i];if(!f){f=n}if(n(o,u)){return true}if(Z.indexOf(i)===-1){if(!d(r,i)&&d(e,i)||d(r,i)&&!d(e,i)){return o===u}}var s=f(o,u,i,a);if(!c(s)){throw new Error("Comparer must return true or false")}return s}))}r.exports=T},68906:(r,e,t)=>{const n=t(85564);const i=t(42348);const o=t(68630);const a=t(44908);const u=t(87185);const f=t(82569);function s(r){for(const e in r){if(v(r,e)&&y(r[e])){delete r[e]}}return r}const c=r=>a(i(r.map(p)));const l=(r,e)=>r.map((r=>r&&r[e]));const v=(r,e)=>Object.prototype.hasOwnProperty.call(r,e);const p=r=>{if(o(r)||Array.isArray(r)){return Object.keys(r)}else{return[]}};const d=r=>r!==undefined;const h=r=>o(r)||r===true||r===false;const y=r=>!p(r).length&&r!==false&&r!==true;const m=(r,...e)=>f.apply(null,[r].concat(n(e)));r.exports={allUniqueKeys:c,deleteUndefinedProps:s,getValues:l,has:v,isEmptySchema:y,isSchema:h,keys:p,notUndefined:d,uniqWith:u,withoutArr:m}},51016:(r,e,t)=>{const n=t(36602);const i=t(84486);const{allUniqueKeys:o,deleteUndefinedProps:a,has:u,isSchema:f,notUndefined:s,uniqWith:c}=t(68906);function l(r){i(r,(function(e,t){if(e===false){r.splice(t,1)}}))}function v(r,e){return r.map((function(r){if(!r){return undefined}if(Array.isArray(r.items)){const t=r.items[e];if(f(t)){return t}else if(u(r,"additionalItems")){return r.additionalItems}}else{return r.items}return undefined}))}function p(r){return r.map((function(r){if(!r){return undefined}if(Array.isArray(r.items)){return r.additionalItems}return r.items}))}function d(r,e,t){const i=o(t);return i.reduce((function(t,i){const o=v(r,i);const a=c(o.filter(s),n);t[i]=e(a,i);return t}),[])}r.exports={keywords:["items","additionalItems"],resolver(r,e,t){const n=r.map((r=>r.items));const i=n.filter(s);const o={};if(i.every(f)){o.items=t.items(n)}else{o.items=d(r,t.items,n)}let u;if(i.every(Array.isArray)){u=r.map((r=>r.additionalItems))}else if(i.some(Array.isArray)){u=p(r)}if(u){o.additionalItems=t.additionalItems(u)}if(o.additionalItems===false&&Array.isArray(o.items)){l(o.items)}return a(o)}}},11915:(r,e,t)=>{const n=t(36602);const i=t(84486);const{allUniqueKeys:o,deleteUndefinedProps:a,getValues:u,keys:f,notUndefined:s,uniqWith:c,withoutArr:l}=t(68906);function v(r){i(r,(function(e,t){if(e===false){delete r[t]}}))}function p(r,e){const t=o(r);return t.reduce((function(t,i){const o=u(r,i);const a=c(o.filter(s),n);t[i]=e(a,i);return t}),{})}r.exports={keywords:["properties","patternProperties","additionalProperties"],resolver(r,e,t,n){if(!n.ignoreAdditionalProperties){r.forEach((function(e){const n=r.filter((r=>r!==e));const i=f(e.properties);const o=f(e.patternProperties);const a=o.map((r=>new RegExp(r)));n.forEach((function(r){const n=f(r.properties);const o=n.filter((r=>a.some((e=>e.test(r)))));const u=l(n,i,o);u.forEach((function(n){r.properties[n]=t.properties([r.properties[n],e.additionalProperties],n)}))}))}));r.forEach((function(e){const t=r.filter((r=>r!==e));const n=f(e.patternProperties);if(e.additionalProperties===false){t.forEach((function(r){const e=f(r.patternProperties);const t=l(e,n);t.forEach((e=>delete r.patternProperties[e]))}))}}))}const i={additionalProperties:t.additionalProperties(r.map((r=>r.additionalProperties))),patternProperties:p(r.map((r=>r.patternProperties)),t.patternProperties),properties:p(r.map((r=>r.properties)),t.properties)};if(i.additionalProperties===false){v(i.properties)}return a(i)}}},19830:(r,e,t)=>{const n=t(50361);const i=t(36602);const o=t(61735);const a=t(66913);const u=t(85564);const f=t(42348);const s=t(25325);const c=t(33856);const l=t(18446);const v=t(68630);const p=t(45604);const d=t(89734);const h=t(44908);const y=t(87185);const m=t(11915);const b=t(51016);const g=(r,e)=>r.indexOf(e)!==-1;const x=r=>v(r)||r===true||r===false;const w=r=>r===false;const j=r=>r===true;const O=(r,e,t)=>t(r);const A=r=>d(h(f(r)));const _=r=>r!==undefined;const S=r=>h(f(r.map(M)));const E=r=>r[0];const I=r=>A(r);const Z=r=>Math.max.apply(Math,r);const P=r=>Math.min.apply(Math,r);const T=r=>r.some(j);const k=r=>y(u(r),l);function D(r){return function(e,t){return i({[r]:e},{[r]:t})}}function N(r){let{allOf:e=[],...t}=r;t=v(r)?t:r;return[t,...e.map(N)]}function U(r,e){return r.map((r=>r&&r[e]))}function F(r,e){return r.map((function(r,t){try{return e(r,t)}catch(n){return undefined}})).filter(_)}function M(r){if(v(r)||Array.isArray(r)){return Object.keys(r)}else{return[]}}function W(r,e){e=e||[];if(!r.length){return e}const t=r.slice(0).shift();const n=r.slice(1);if(e.length){return W(n,u(e.map((r=>t.map((e=>[e].concat(r)))))))}return W(n,t.map((r=>r)))}function C(r,e){let t;try{t=r.map((function(r){return JSON.stringify(r,null,2)})).join("\n")}catch(n){t=r.join(", ")}throw new Error('Could not resolve values for path:"'+e.join(".")+'". They are probably incompatible. Values: \n'+t)}function R(r,e,t,n,o,a){if(r.length){const u=o.complexResolvers[e];if(!u||!u.resolver){throw new Error("No resolver found for "+e)}const f=t.map((e=>r.reduce(((r,t)=>{if(e[t]!==undefined)r[t]=e[t];return r}),{})));const s=y(f,i);const c=u.keywords.reduce(((r,e)=>({...r,[e]:(r,t=[])=>n(r,null,a.concat(e,t))})),{});const l=u.resolver(s,a.concat(e),c,o);if(!v(l)){C(s,a.concat(e))}return l}}function $(r){return{required:r}}const L=["properties","patternProperties","definitions","dependencies"];const z=["anyOf","oneOf"];const B=["additionalProperties","additionalItems","contains","propertyNames","not","items"];const V={type(r){if(r.some(Array.isArray)){const e=r.map((function(r){return Array.isArray(r)?r:[r]}));const t=s.apply(null,e);if(t.length===1){return t[0]}else if(t.length>1){return h(t)}}},dependencies(r,e,t){const n=S(r);return n.reduce((function(e,n){const o=U(r,n);let a=y(o.filter(_),l);const u=a.filter(Array.isArray);if(u.length){if(u.length===a.length){e[n]=A(a)}else{const r=a.filter(x);const i=u.map($);e[n]=t(r.concat(i),n)}return e}a=y(a,i);e[n]=t(a,n);return e}),{})},oneOf(r,e,t){const o=W(n(r));const a=F(o,t);const u=y(a,i);if(u.length){return u}},not(r){return{anyOf:r}},pattern(r){return r.map((r=>"(?="+r+")")).join("")},multipleOf(r){let e=r.slice(0);let t=1;while(e.some((r=>!Number.isInteger(r)))){e=e.map((r=>r*10));t=t*10}return o(e)/t},enum(r){const e=c.apply(null,r.concat(l));if(e.length){return d(e)}}};V.$id=E;V.$ref=E;V.$schema=E;V.additionalItems=O;V.additionalProperties=O;V.anyOf=V.oneOf;V.contains=O;V.default=E;V.definitions=V.dependencies;V.description=E;V.examples=k;V.exclusiveMaximum=P;V.exclusiveMinimum=Z;V.items=b;V.maximum=P;V.maxItems=P;V.maxLength=P;V.maxProperties=P;V.minimum=Z;V.minItems=Z;V.minLength=Z;V.minProperties=Z;V.properties=m;V.propertyNames=O;V.required=I;V.title=E;V.uniqueItems=T;const Y={properties:m,items:b};function q(r,e,t){t=t||[];e=a(e,{ignoreAdditionalProperties:false,resolvers:V,complexResolvers:Y,deep:true});const i=Object.entries(e.complexResolvers);function o(r,a,u){r=n(r.filter(_));u=u||[];const f=v(a)?a:{};if(!r.length){return}if(r.some(w)){return false}if(r.every(j)){return true}r=r.filter(v);const s=S(r);if(e.deep&&g(s,"allOf")){return q({allOf:r},e,t)}const c=i.map((([r,e])=>s.filter((r=>e.keywords.includes(r)))));c.forEach((r=>p(s,r)));s.forEach((function(t){const n=U(r,t);const i=y(n.filter(_),D(t));if(i.length===1&&g(z,t)){f[t]=i[0].map((r=>o([r],r)))}else if(i.length===1&&!g(L,t)&&!g(B,t)){f[t]=i[0]}else{const r=e.resolvers[t]||e.resolvers.defaultResolver;if(!r)throw new Error("No resolver found for key "+t+". You can provide a resolver for this keyword in the options, or provide a default resolver.");const n=(r,e=[])=>o(r,null,u.concat(t,e));f[t]=r(i,u.concat(t),n,e);if(f[t]===undefined){C(i,u.concat(t))}else if(f[t]===undefined){delete f[t]}}}));return i.reduce(((t,[n,i],a)=>({...t,...R(c[a],n,r,o,e,u)})),f)}const u=f(N(r));const s=o(u);return s}q.options={resolvers:V};r.exports=q},89038:(r,e)=>{var t=/~/;var n=/~[01]/g;function i(r){switch(r){case"~1":return"/";case"~0":return"~"}throw new Error("Invalid tilde escape: "+r)}function o(r){if(!t.test(r))return r;return r.replace(n,i)}function a(r,e,t){var n;var i;for(var a=1,u=e.length;a<u;){if(e[a]==="constructor"||e[a]==="prototype"||e[a]==="__proto__")return r;n=o(e[a++]);i=u>a;if(typeof r[n]==="undefined"){if(Array.isArray(r)&&n==="-"){n=r.length}if(i){if(e[a]!==""&&e[a]<Infinity||e[a]==="-")r[n]=[];else r[n]={}}}if(!i)break;r=r[n]}var f=r[n];if(t===undefined)delete r[n];else r[n]=t;return f}function u(r){if(typeof r==="string"){r=r.split("/");if(r[0]==="")return r;throw new Error("Invalid JSON pointer.")}else if(Array.isArray(r)){for(const e of r){if(typeof e!=="string"&&typeof e!=="number"){throw new Error("Invalid JSON pointer. Must be of type string or number.")}}return r}throw new Error("Invalid JSON pointer.")}function f(r,e){if(typeof r!=="object")throw new Error("Invalid input object.");e=u(e);var t=e.length;if(t===1)return r;for(var n=1;n<t;){r=r[o(e[n++])];if(t===n)return r;if(typeof r!=="object"||r===null)return undefined}}function s(r,e,t){if(typeof r!=="object")throw new Error("Invalid input object.");e=u(e);if(e.length===0)throw new Error("Invalid JSON pointer for set.");return a(r,e,t)}function c(r){var e=u(r);return{get:function(r){return f(r,e)},set:function(r,t){return s(r,e,t)}}}e.get=f;e.set=s;e.compile=c},18552:(r,e,t)=>{var n=t(10852),i=t(55639);var o=n(i,"DataView");r.exports=o},1989:(r,e,t)=>{var n=t(51789),i=t(80401),o=t(57667),a=t(21327),u=t(81866);function f(r){var e=-1,t=r==null?0:r.length;this.clear();while(++e<t){var n=r[e];this.set(n[0],n[1])}}f.prototype.clear=n;f.prototype["delete"]=i;f.prototype.get=o;f.prototype.has=a;f.prototype.set=u;r.exports=f},38407:(r,e,t)=>{var n=t(27040),i=t(14125),o=t(82117),a=t(67518),u=t(54705);function f(r){var e=-1,t=r==null?0:r.length;this.clear();while(++e<t){var n=r[e];this.set(n[0],n[1])}}f.prototype.clear=n;f.prototype["delete"]=i;f.prototype.get=o;f.prototype.has=a;f.prototype.set=u;r.exports=f},57071:(r,e,t)=>{var n=t(10852),i=t(55639);var o=n(i,"Map");r.exports=o},83369:(r,e,t)=>{var n=t(24785),i=t(11285),o=t(96e3),a=t(49916),u=t(95265);function f(r){var e=-1,t=r==null?0:r.length;this.clear();while(++e<t){var n=r[e];this.set(n[0],n[1])}}f.prototype.clear=n;f.prototype["delete"]=i;f.prototype.get=o;f.prototype.has=a;f.prototype.set=u;r.exports=f},53818:(r,e,t)=>{var n=t(10852),i=t(55639);var o=n(i,"Promise");r.exports=o},58525:(r,e,t)=>{var n=t(10852),i=t(55639);var o=n(i,"Set");r.exports=o},88668:(r,e,t)=>{var n=t(83369),i=t(90619),o=t(72385);function a(r){var e=-1,t=r==null?0:r.length;this.__data__=new n;while(++e<t){this.add(r[e])}}a.prototype.add=a.prototype.push=i;a.prototype.has=o;r.exports=a},46384:(r,e,t)=>{var n=t(38407),i=t(37465),o=t(63779),a=t(67599),u=t(44758),f=t(34309);function s(r){var e=this.__data__=new n(r);this.size=e.size}s.prototype.clear=i;s.prototype["delete"]=o;s.prototype.get=a;s.prototype.has=u;s.prototype.set=f;r.exports=s},62705:(r,e,t)=>{var n=t(55639);var i=n.Symbol;r.exports=i},11149:(r,e,t)=>{var n=t(55639);var i=n.Uint8Array;r.exports=i},70577:(r,e,t)=>{var n=t(10852),i=t(55639);var o=n(i,"WeakMap");r.exports=o},96874:r=>{function e(r,e,t){switch(t.length){case 0:return r.call(e);case 1:return r.call(e,t[0]);case 2:return r.call(e,t[0],t[1]);case 3:return r.call(e,t[0],t[1],t[2])}return r.apply(e,t)}r.exports=e},77412:r=>{function e(r,e){var t=-1,n=r==null?0:r.length;while(++t<n){if(e(r[t],t,r)===false){break}}return r}r.exports=e},34963:r=>{function e(r,e){var t=-1,n=r==null?0:r.length,i=0,o=[];while(++t<n){var a=r[t];if(e(a,t,r)){o[i++]=a}}return o}r.exports=e},47443:(r,e,t)=>{var n=t(42118);function i(r,e){var t=r==null?0:r.length;return!!t&&n(r,e,0)>-1}r.exports=i},1196:r=>{function e(r,e,t){var n=-1,i=r==null?0:r.length;while(++n<i){if(t(e,r[n])){return true}}return false}r.exports=e},14636:(r,e,t)=>{var n=t(22545),i=t(35694),o=t(1469),a=t(44144),u=t(65776),f=t(36719);var s=Object.prototype;var c=s.hasOwnProperty;function l(r,e){var t=o(r),s=!t&&i(r),l=!t&&!s&&a(r),v=!t&&!s&&!l&&f(r),p=t||s||l||v,d=p?n(r.length,String):[],h=d.length;for(var y in r){if((e||c.call(r,y))&&!(p&&(y=="length"||l&&(y=="offset"||y=="parent")||v&&(y=="buffer"||y=="byteLength"||y=="byteOffset")||u(y,h)))){d.push(y)}}return d}r.exports=l},29932:r=>{function e(r,e){var t=-1,n=r==null?0:r.length,i=Array(n);while(++t<n){i[t]=e(r[t],t,r)}return i}r.exports=e},62488:r=>{function e(r,e){var t=-1,n=e.length,i=r.length;while(++t<n){r[i+t]=e[t]}return r}r.exports=e},82908:r=>{function e(r,e){var t=-1,n=r==null?0:r.length;while(++t<n){if(e(r[t],t,r)){return true}}return false}r.exports=e},86556:(r,e,t)=>{var n=t(89465),i=t(77813);function o(r,e,t){if(t!==undefined&&!i(r[e],t)||t===undefined&&!(e in r)){n(r,e,t)}}r.exports=o},34865:(r,e,t)=>{var n=t(89465),i=t(77813);var o=Object.prototype;var a=o.hasOwnProperty;function u(r,e,t){var o=r[e];if(!(a.call(r,e)&&i(o,t))||t===undefined&&!(e in r)){n(r,e,t)}}r.exports=u},18470:(r,e,t)=>{var n=t(77813);function i(r,e){var t=r.length;while(t--){if(n(r[t][0],e)){return t}}return-1}r.exports=i},44037:(r,e,t)=>{var n=t(98363),i=t(3674);function o(r,e){return r&&n(e,i(e),r)}r.exports=o},63886:(r,e,t)=>{var n=t(98363),i=t(81704);function o(r,e){return r&&n(e,i(e),r)}r.exports=o},89465:(r,e,t)=>{var n=t(38777);function i(r,e,t){if(e=="__proto__"&&n){n(r,e,{configurable:true,enumerable:true,value:t,writable:true})}else{r[e]=t}}r.exports=i},85990:(r,e,t)=>{var n=t(46384),i=t(77412),o=t(34865),a=t(44037),u=t(63886),f=t(64626),s=t(278),c=t(18805),l=t(78133),v=t(58234),p=t(46904),d=t(64160),h=t(43824),y=t(29148),m=t(38517),b=t(1469),g=t(44144),x=t(56688),w=t(13218),j=t(72928),O=t(3674),A=t(81704);var _=1,S=2,E=4;var I="[object Arguments]",Z="[object Array]",P="[object Boolean]",T="[object Date]",k="[object Error]",D="[object Function]",N="[object GeneratorFunction]",U="[object Map]",F="[object Number]",M="[object Object]",W="[object RegExp]",C="[object Set]",R="[object String]",$="[object Symbol]",L="[object WeakMap]";var z="[object ArrayBuffer]",B="[object DataView]",V="[object Float32Array]",Y="[object Float64Array]",q="[object Int8Array]",K="[object Int16Array]",J="[object Int32Array]",H="[object Uint8Array]",G="[object Uint8ClampedArray]",Q="[object Uint16Array]",X="[object Uint32Array]";var rr={};rr[I]=rr[Z]=rr[z]=rr[B]=rr[P]=rr[T]=rr[V]=rr[Y]=rr[q]=rr[K]=rr[J]=rr[U]=rr[F]=rr[M]=rr[W]=rr[C]=rr[R]=rr[$]=rr[H]=rr[G]=rr[Q]=rr[X]=true;rr[k]=rr[D]=rr[L]=false;function er(r,e,t,Z,P,T){var k,U=e&_,F=e&S,W=e&E;if(t){k=P?t(r,Z,P,T):t(r)}if(k!==undefined){return k}if(!w(r)){return r}var C=b(r);if(C){k=h(r);if(!U){return s(r,k)}}else{var R=d(r),$=R==D||R==N;if(g(r)){return f(r,U)}if(R==M||R==I||$&&!P){k=F||$?{}:m(r);if(!U){return F?l(r,u(k,r)):c(r,a(k,r))}}else{if(!rr[R]){return P?r:{}}k=y(r,R,U)}}T||(T=new n);var L=T.get(r);if(L){return L}T.set(r,k);if(j(r)){r.forEach((function(n){k.add(er(n,e,t,n,r,T))}))}else if(x(r)){r.forEach((function(n,i){k.set(i,er(n,e,t,i,r,T))}))}var z=W?F?p:v:F?A:O;var B=C?undefined:z(r);i(B||r,(function(n,i){if(B){i=n;n=r[i]}o(k,i,er(n,e,t,i,r,T))}));return k}r.exports=er},3118:(r,e,t)=>{var n=t(13218);var i=Object.create;var o=function(){function r(){}return function(e){if(!n(e)){return{}}if(i){return i(e)}r.prototype=e;var t=new r;r.prototype=undefined;return t}}();r.exports=o},20731:(r,e,t)=>{var n=t(88668),i=t(47443),o=t(1196),a=t(29932),u=t(7518),f=t(74757);var s=200;function c(r,e,t,c){var l=-1,v=i,p=true,d=r.length,h=[],y=e.length;if(!d){return h}if(t){e=a(e,u(t))}if(c){v=o;p=false}else if(e.length>=s){v=f;p=false;e=new n(e)}r:while(++l<d){var m=r[l],b=t==null?m:t(m);m=c||m!==0?m:0;if(p&&b===b){var g=y;while(g--){if(e[g]===b){continue r}}h.push(m)}else if(!v(e,b,c)){h.push(m)}}return h}r.exports=c},89881:(r,e,t)=>{var n=t(47816),i=t(99291);var o=i(n);r.exports=o},41848:r=>{function e(r,e,t,n){var i=r.length,o=t+(n?1:-1);while(n?o--:++o<i){if(e(r[o],o,r)){return o}}return-1}r.exports=e},21078:(r,e,t)=>{var n=t(62488),i=t(37285);function o(r,e,t,a,u){var f=-1,s=r.length;t||(t=i);u||(u=[]);while(++f<s){var c=r[f];if(e>0&&t(c)){if(e>1){o(c,e-1,t,a,u)}else{n(u,c)}}else if(!a){u[u.length]=c}}return u}r.exports=o},28483:(r,e,t)=>{var n=t(25063);var i=n();r.exports=i},47816:(r,e,t)=>{var n=t(28483),i=t(3674);function o(r,e){return r&&n(r,e,i)}r.exports=o},97786:(r,e,t)=>{var n=t(71811),i=t(40327);function o(r,e){e=n(e,r);var t=0,o=e.length;while(r!=null&&t<o){r=r[i(e[t++])]}return t&&t==o?r:undefined}r.exports=o},68866:(r,e,t)=>{var n=t(62488),i=t(1469);function o(r,e,t){var o=e(r);return i(r)?o:n(o,t(r))}r.exports=o},44239:(r,e,t)=>{var n=t(62705),i=t(89607),o=t(2333);var a="[object Null]",u="[object Undefined]";var f=n?n.toStringTag:undefined;function s(r){if(r==null){return r===undefined?u:a}return f&&f in Object(r)?i(r):o(r)}r.exports=s},13:r=>{function e(r,e){return r!=null&&e in Object(r)}r.exports=e},42118:(r,e,t)=>{var n=t(41848),i=t(62722),o=t(42351);function a(r,e,t){return e===e?o(r,e,t):n(r,i,t)}r.exports=a},74221:r=>{function e(r,e,t,n){var i=t-1,o=r.length;while(++i<o){if(n(r[i],e)){return i}}return-1}r.exports=e},47556:(r,e,t)=>{var n=t(88668),i=t(47443),o=t(1196),a=t(29932),u=t(7518),f=t(74757);var s=Math.min;function c(r,e,t){var c=t?o:i,l=r[0].length,v=r.length,p=v,d=Array(v),h=Infinity,y=[];while(p--){var m=r[p];if(p&&e){m=a(m,u(e))}h=s(m.length,h);d[p]=!t&&(e||l>=120&&m.length>=120)?new n(p&&m):undefined}m=r[0];var b=-1,g=d[0];r:while(++b<l&&y.length<h){var x=m[b],w=e?e(x):x;x=t||x!==0?x:0;if(!(g?f(g,w):c(y,w,t))){p=v;while(--p){var j=d[p];if(!(j?f(j,w):c(r[p],w,t))){continue r}}if(g){g.push(w)}y.push(x)}}return y}r.exports=c},9454:(r,e,t)=>{var n=t(44239),i=t(37005);var o="[object Arguments]";function a(r){return i(r)&&n(r)==o}r.exports=a},90939:(r,e,t)=>{var n=t(2492),i=t(37005);function o(r,e,t,a,u){if(r===e){return true}if(r==null||e==null||!i(r)&&!i(e)){return r!==r&&e!==e}return n(r,e,t,a,o,u)}r.exports=o},2492:(r,e,t)=>{var n=t(46384),i=t(67114),o=t(18351),a=t(16096),u=t(64160),f=t(1469),s=t(44144),c=t(36719);var l=1;var v="[object Arguments]",p="[object Array]",d="[object Object]";var h=Object.prototype;var y=h.hasOwnProperty;function m(r,e,t,h,m,b){var g=f(r),x=f(e),w=g?p:u(r),j=x?p:u(e);w=w==v?d:w;j=j==v?d:j;var O=w==d,A=j==d,_=w==j;if(_&&s(r)){if(!s(e)){return false}g=true;O=false}if(_&&!O){b||(b=new n);return g||c(r)?i(r,e,t,h,m,b):o(r,e,w,t,h,m,b)}if(!(t&l)){var S=O&&y.call(r,"__wrapped__"),E=A&&y.call(e,"__wrapped__");if(S||E){var I=S?r.value():r,Z=E?e.value():e;b||(b=new n);return m(I,Z,t,h,b)}}if(!_){return false}b||(b=new n);return a(r,e,t,h,m,b)}r.exports=m},25588:(r,e,t)=>{var n=t(64160),i=t(37005);var o="[object Map]";function a(r){return i(r)&&n(r)==o}r.exports=a},2958:(r,e,t)=>{var n=t(46384),i=t(90939);var o=1,a=2;function u(r,e,t,u){var f=t.length,s=f,c=!u;if(r==null){return!s}r=Object(r);while(f--){var l=t[f];if(c&&l[2]?l[1]!==r[l[0]]:!(l[0]in r)){return false}}while(++f<s){l=t[f];var v=l[0],p=r[v],d=l[1];if(c&&l[2]){if(p===undefined&&!(v in r)){return false}}else{var h=new n;if(u){var y=u(p,d,v,r,e,h)}if(!(y===undefined?i(d,p,o|a,u,h):y)){return false}}}return true}r.exports=u},62722:r=>{function e(r){return r!==r}r.exports=e},28458:(r,e,t)=>{var n=t(23560),i=t(15346),o=t(13218),a=t(80346);var u=/[\\^$.*+?()[\]{}|]/g;var f=/^\[object .+?Constructor\]$/;var s=Function.prototype,c=Object.prototype;var l=s.toString;var v=c.hasOwnProperty;var p=RegExp("^"+l.call(v).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(r){if(!o(r)||i(r)){return false}var e=n(r)?p:f;return e.test(a(r))}r.exports=d},29221:(r,e,t)=>{var n=t(64160),i=t(37005);var o="[object Set]";function a(r){return i(r)&&n(r)==o}r.exports=a},38749:(r,e,t)=>{var n=t(44239),i=t(41780),o=t(37005);var a="[object Arguments]",u="[object Array]",f="[object Boolean]",s="[object Date]",c="[object Error]",l="[object Function]",v="[object Map]",p="[object Number]",d="[object Object]",h="[object RegExp]",y="[object Set]",m="[object String]",b="[object WeakMap]";var g="[object ArrayBuffer]",x="[object DataView]",w="[object Float32Array]",j="[object Float64Array]",O="[object Int8Array]",A="[object Int16Array]",_="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",I="[object Uint16Array]",Z="[object Uint32Array]";var P={};P[w]=P[j]=P[O]=P[A]=P[_]=P[S]=P[E]=P[I]=P[Z]=true;P[a]=P[u]=P[g]=P[f]=P[x]=P[s]=P[c]=P[l]=P[v]=P[p]=P[d]=P[h]=P[y]=P[m]=P[b]=false;function T(r){return o(r)&&i(r.length)&&!!P[n(r)]}r.exports=T},67206:(r,e,t)=>{var n=t(91573),i=t(16432),o=t(6557),a=t(1469),u=t(39601);function f(r){if(typeof r=="function"){return r}if(r==null){return o}if(typeof r=="object"){return a(r)?i(r[0],r[1]):n(r)}return u(r)}r.exports=f},280:(r,e,t)=>{var n=t(25726),i=t(86916);var o=Object.prototype;var a=o.hasOwnProperty;function u(r){if(!n(r)){return i(r)}var e=[];for(var t in Object(r)){if(a.call(r,t)&&t!="constructor"){e.push(t)}}return e}r.exports=u},35014:(r,e,t)=>{var n=t(13218),i=t(25726),o=t(33498);var a=Object.prototype;var u=a.hasOwnProperty;function f(r){if(!n(r)){return o(r)}var e=i(r),t=[];for(var a in r){if(!(a=="constructor"&&(e||!u.call(r,a)))){t.push(a)}}return t}r.exports=f},69199:(r,e,t)=>{var n=t(89881),i=t(98612);function o(r,e){var t=-1,o=i(r)?Array(r.length):[];n(r,(function(r,n,i){o[++t]=e(r,n,i)}));return o}r.exports=o},91573:(r,e,t)=>{var n=t(2958),i=t(1499),o=t(42634);function a(r){var e=i(r);if(e.length==1&&e[0][2]){return o(e[0][0],e[0][1])}return function(t){return t===r||n(t,r,e)}}r.exports=a},16432:(r,e,t)=>{var n=t(90939),i=t(27361),o=t(79095),a=t(15403),u=t(89162),f=t(42634),s=t(40327);var c=1,l=2;function v(r,e){if(a(r)&&u(e)){return f(s(r),e)}return function(t){var a=i(t,r);return a===undefined&&a===e?o(t,r):n(e,a,c|l)}}r.exports=v},42980:(r,e,t)=>{var n=t(46384),i=t(86556),o=t(28483),a=t(59783),u=t(13218),f=t(81704),s=t(36390);function c(r,e,t,l,v){if(r===e){return}o(e,(function(o,f){v||(v=new n);if(u(o)){a(r,e,f,t,c,l,v)}else{var p=l?l(s(r,f),o,f+"",r,e,v):undefined;if(p===undefined){p=o}i(r,f,p)}}),f)}r.exports=c},59783:(r,e,t)=>{var n=t(86556),i=t(64626),o=t(77133),a=t(278),u=t(38517),f=t(35694),s=t(1469),c=t(29246),l=t(44144),v=t(23560),p=t(13218),d=t(68630),h=t(36719),y=t(36390),m=t(59881);function b(r,e,t,b,g,x,w){var j=y(r,t),O=y(e,t),A=w.get(O);if(A){n(r,t,A);return}var _=x?x(j,O,t+"",r,e,w):undefined;var S=_===undefined;if(S){var E=s(O),I=!E&&l(O),Z=!E&&!I&&h(O);_=O;if(E||I||Z){if(s(j)){_=j}else if(c(j)){_=a(j)}else if(I){S=false;_=i(O,true)}else if(Z){S=false;_=o(O,true)}else{_=[]}}else if(d(O)||f(O)){_=j;if(f(j)){_=m(j)}else if(!p(j)||v(j)){_=u(O)}}else{S=false}}if(S){w.set(O,_);g(_,O,b,x,w);w["delete"](O)}n(r,t,_)}r.exports=b},82689:(r,e,t)=>{var n=t(29932),i=t(97786),o=t(67206),a=t(69199),u=t(71131),f=t(7518),s=t(85022),c=t(6557),l=t(1469);function v(r,e,t){if(e.length){e=n(e,(function(r){if(l(r)){return function(e){return i(e,r.length===1?r[0]:r)}}return r}))}else{e=[c]}var v=-1;e=n(e,f(o));var p=a(r,(function(r,t,i){var o=n(e,(function(e){return e(r)}));return{criteria:o,index:++v,value:r}}));return u(p,(function(r,e){return s(r,e,t)}))}r.exports=v},40371:r=>{function e(r){return function(e){return e==null?undefined:e[r]}}r.exports=e},79152:(r,e,t)=>{var n=t(97786);function i(r){return function(e){return n(e,r)}}r.exports=i},65464:(r,e,t)=>{var n=t(29932),i=t(42118),o=t(74221),a=t(7518),u=t(278);var f=Array.prototype;var s=f.splice;function c(r,e,t,f){var c=f?o:i,l=-1,v=e.length,p=r;if(r===e){e=u(e)}if(t){p=n(r,a(t))}while(++l<v){var d=0,h=e[l],y=t?t(h):h;while((d=c(p,y,d,f))>-1){if(p!==r){s.call(p,d,1)}s.call(r,d,1)}}return r}r.exports=c},5976:(r,e,t)=>{var n=t(6557),i=t(45357),o=t(30061);function a(r,e){return o(i(r,e,n),r+"")}r.exports=a},56560:(r,e,t)=>{var n=t(75703),i=t(38777),o=t(6557);var a=!i?o:function(r,e){return i(r,"toString",{configurable:true,enumerable:false,value:n(e),writable:true})};r.exports=a},71131:r=>{function e(r,e){var t=r.length;r.sort(e);while(t--){r[t]=r[t].value}return r}r.exports=e},22545:r=>{function e(r,e){var t=-1,n=Array(r);while(++t<r){n[t]=e(t)}return n}r.exports=e},80531:(r,e,t)=>{var n=t(62705),i=t(29932),o=t(1469),a=t(33448);var u=1/0;var f=n?n.prototype:undefined,s=f?f.toString:undefined;function c(r){if(typeof r=="string"){return r}if(o(r)){return i(r,c)+""}if(a(r)){return s?s.call(r):""}var e=r+"";return e=="0"&&1/r==-u?"-0":e}r.exports=c},7518:r=>{function e(r){return function(e){return r(e)}}r.exports=e},45652:(r,e,t)=>{var n=t(88668),i=t(47443),o=t(1196),a=t(74757),u=t(23593),f=t(21814);var s=200;function c(r,e,t){var c=-1,l=i,v=r.length,p=true,d=[],h=d;if(t){p=false;l=o}else if(v>=s){var y=e?null:u(r);if(y){return f(y)}p=false;l=a;h=new n}else{h=e?[]:d}r:while(++c<v){var m=r[c],b=e?e(m):m;m=t||m!==0?m:0;if(p&&b===b){var g=h.length;while(g--){if(h[g]===b){continue r}}if(e){h.push(b)}d.push(m)}else if(!l(h,b,t)){if(h!==d){h.push(b)}d.push(m)}}return d}r.exports=c},74757:r=>{function e(r,e){return r.has(e)}r.exports=e},24387:(r,e,t)=>{var n=t(29246);function i(r){return n(r)?r:[]}r.exports=i},54290:(r,e,t)=>{var n=t(6557);function i(r){return typeof r=="function"?r:n}r.exports=i},71811:(r,e,t)=>{var n=t(1469),i=t(15403),o=t(55514),a=t(79833);function u(r,e){if(n(r)){return r}return i(r,e)?[r]:o(a(r))}r.exports=u},74318:(r,e,t)=>{var n=t(11149);function i(r){var e=new r.constructor(r.byteLength);new n(e).set(new n(r));return e}r.exports=i},64626:(r,e,t)=>{r=t.nmd(r);var n=t(55639);var i=true&&e&&!e.nodeType&&e;var o=i&&"object"=="object"&&r&&!r.nodeType&&r;var a=o&&o.exports===i;var u=a?n.Buffer:undefined,f=u?u.allocUnsafe:undefined;function s(r,e){if(e){return r.slice()}var t=r.length,n=f?f(t):new r.constructor(t);r.copy(n);return n}r.exports=s},57157:(r,e,t)=>{var n=t(74318);function i(r,e){var t=e?n(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.byteLength)}r.exports=i},93147:r=>{var e=/\w*$/;function t(r){var t=new r.constructor(r.source,e.exec(r));t.lastIndex=r.lastIndex;return t}r.exports=t},40419:(r,e,t)=>{var n=t(62705);var i=n?n.prototype:undefined,o=i?i.valueOf:undefined;function a(r){return o?Object(o.call(r)):{}}r.exports=a},77133:(r,e,t)=>{var n=t(74318);function i(r,e){var t=e?n(r.buffer):r.buffer;return new r.constructor(t,r.byteOffset,r.length)}r.exports=i},26393:(r,e,t)=>{var n=t(33448);function i(r,e){if(r!==e){var t=r!==undefined,i=r===null,o=r===r,a=n(r);var u=e!==undefined,f=e===null,s=e===e,c=n(e);if(!f&&!c&&!a&&r>e||a&&u&&s&&!f&&!c||i&&u&&s||!t&&s||!o){return 1}if(!i&&!a&&!c&&r<e||c&&t&&o&&!i&&!a||f&&t&&o||!u&&o||!s){return-1}}return 0}r.exports=i},85022:(r,e,t)=>{var n=t(26393);function i(r,e,t){var i=-1,o=r.criteria,a=e.criteria,u=o.length,f=t.length;while(++i<u){var s=n(o[i],a[i]);if(s){if(i>=f){return s}var c=t[i];return s*(c=="desc"?-1:1)}}return r.index-e.index}r.exports=i},278:r=>{function e(r,e){var t=-1,n=r.length;e||(e=Array(n));while(++t<n){e[t]=r[t]}return e}r.exports=e},98363:(r,e,t)=>{var n=t(34865),i=t(89465);function o(r,e,t,o){var a=!t;t||(t={});var u=-1,f=e.length;while(++u<f){var s=e[u];var c=o?o(t[s],r[s],s,t,r):undefined;if(c===undefined){c=r[s]}if(a){i(t,s,c)}else{n(t,s,c)}}return t}r.exports=o},18805:(r,e,t)=>{var n=t(98363),i=t(99551);function o(r,e){return n(r,i(r),e)}r.exports=o},78133:(r,e,t)=>{var n=t(98363),i=t(51442);function o(r,e){return n(r,i(r),e)}r.exports=o},14429:(r,e,t)=>{var n=t(55639);var i=n["__core-js_shared__"];r.exports=i},21463:(r,e,t)=>{var n=t(5976),i=t(16612);function o(r){return n((function(e,t){var n=-1,o=t.length,a=o>1?t[o-1]:undefined,u=o>2?t[2]:undefined;a=r.length>3&&typeof a=="function"?(o--,a):undefined;if(u&&i(t[0],t[1],u)){a=o<3?undefined:a;o=1}e=Object(e);while(++n<o){var f=t[n];if(f){r(e,f,n,a)}}return e}))}r.exports=o},99291:(r,e,t)=>{var n=t(98612);function i(r,e){return function(t,i){if(t==null){return t}if(!n(t)){return r(t,i)}var o=t.length,a=e?o:-1,u=Object(t);while(e?a--:++a<o){if(i(u[a],a,u)===false){break}}return t}}r.exports=i},25063:r=>{function e(r){return function(e,t,n){var i=-1,o=Object(e),a=n(e),u=a.length;while(u--){var f=a[r?u:++i];if(t(o[f],f,o)===false){break}}return e}}r.exports=e},23593:(r,e,t)=>{var n=t(58525),i=t(50308),o=t(21814);var a=1/0;var u=!(n&&1/o(new n([,-0]))[1]==a)?i:function(r){return new n(r)};r.exports=u},92052:(r,e,t)=>{var n=t(42980),i=t(13218);function o(r,e,t,a,u,f){if(i(r)&&i(e)){f.set(e,r);n(r,e,undefined,o,f);f["delete"](e)}return r}r.exports=o},38777:(r,e,t)=>{var n=t(10852);var i=function(){try{var r=n(Object,"defineProperty");r({},"",{});return r}catch(e){}}();r.exports=i},67114:(r,e,t)=>{var n=t(88668),i=t(82908),o=t(74757);var a=1,u=2;function f(r,e,t,f,s,c){var l=t&a,v=r.length,p=e.length;if(v!=p&&!(l&&p>v)){return false}var d=c.get(r);var h=c.get(e);if(d&&h){return d==e&&h==r}var y=-1,m=true,b=t&u?new n:undefined;c.set(r,e);c.set(e,r);while(++y<v){var g=r[y],x=e[y];if(f){var w=l?f(x,g,y,e,r,c):f(g,x,y,r,e,c)}if(w!==undefined){if(w){continue}m=false;break}if(b){if(!i(e,(function(r,e){if(!o(b,e)&&(g===r||s(g,r,t,f,c))){return b.push(e)}}))){m=false;break}}else if(!(g===x||s(g,x,t,f,c))){m=false;break}}c["delete"](r);c["delete"](e);return m}r.exports=f},18351:(r,e,t)=>{var n=t(62705),i=t(11149),o=t(77813),a=t(67114),u=t(68776),f=t(21814);var s=1,c=2;var l="[object Boolean]",v="[object Date]",p="[object Error]",d="[object Map]",h="[object Number]",y="[object RegExp]",m="[object Set]",b="[object String]",g="[object Symbol]";var x="[object ArrayBuffer]",w="[object DataView]";var j=n?n.prototype:undefined,O=j?j.valueOf:undefined;function A(r,e,t,n,j,A,_){switch(t){case w:if(r.byteLength!=e.byteLength||r.byteOffset!=e.byteOffset){return false}r=r.buffer;e=e.buffer;case x:if(r.byteLength!=e.byteLength||!A(new i(r),new i(e))){return false}return true;case l:case v:case h:return o(+r,+e);case p:return r.name==e.name&&r.message==e.message;case y:case b:return r==e+"";case d:var S=u;case m:var E=n&s;S||(S=f);if(r.size!=e.size&&!E){return false}var I=_.get(r);if(I){return I==e}n|=c;_.set(r,e);var Z=a(S(r),S(e),n,j,A,_);_["delete"](r);return Z;case g:if(O){return O.call(r)==O.call(e)}}return false}r.exports=A},16096:(r,e,t)=>{var n=t(58234);var i=1;var o=Object.prototype;var a=o.hasOwnProperty;function u(r,e,t,o,u,f){var s=t&i,c=n(r),l=c.length,v=n(e),p=v.length;if(l!=p&&!s){return false}var d=l;while(d--){var h=c[d];if(!(s?h in e:a.call(e,h))){return false}}var y=f.get(r);var m=f.get(e);if(y&&m){return y==e&&m==r}var b=true;f.set(r,e);f.set(e,r);var g=s;while(++d<l){h=c[d];var x=r[h],w=e[h];if(o){var j=s?o(w,x,h,e,r,f):o(x,w,h,r,e,f)}if(!(j===undefined?x===w||u(x,w,t,o,f):j)){b=false;break}g||(g=h=="constructor")}if(b&&!g){var O=r.constructor,A=e.constructor;if(O!=A&&("constructor"in r&&"constructor"in e)&&!(typeof O=="function"&&O instanceof O&&typeof A=="function"&&A instanceof A)){b=false}}f["delete"](r);f["delete"](e);return b}r.exports=u},31957:(r,e,t)=>{var n=typeof t.g=="object"&&t.g&&t.g.Object===Object&&t.g;r.exports=n},58234:(r,e,t)=>{var n=t(68866),i=t(99551),o=t(3674);function a(r){return n(r,o,i)}r.exports=a},46904:(r,e,t)=>{var n=t(68866),i=t(51442),o=t(81704);function a(r){return n(r,o,i)}r.exports=a},45050:(r,e,t)=>{var n=t(37019);function i(r,e){var t=r.__data__;return n(e)?t[typeof e=="string"?"string":"hash"]:t.map}r.exports=i},1499:(r,e,t)=>{var n=t(89162),i=t(3674);function o(r){var e=i(r),t=e.length;while(t--){var o=e[t],a=r[o];e[t]=[o,a,n(a)]}return e}r.exports=o},10852:(r,e,t)=>{var n=t(28458),i=t(47801);function o(r,e){var t=i(r,e);return n(t)?t:undefined}r.exports=o},85924:(r,e,t)=>{var n=t(5569);var i=n(Object.getPrototypeOf,Object);r.exports=i},89607:(r,e,t)=>{var n=t(62705);var i=Object.prototype;var o=i.hasOwnProperty;var a=i.toString;var u=n?n.toStringTag:undefined;function f(r){var e=o.call(r,u),t=r[u];try{r[u]=undefined;var n=true}catch(f){}var i=a.call(r);if(n){if(e){r[u]=t}else{delete r[u]}}return i}r.exports=f},99551:(r,e,t)=>{var n=t(34963),i=t(70479);var o=Object.prototype;var a=o.propertyIsEnumerable;var u=Object.getOwnPropertySymbols;var f=!u?i:function(r){if(r==null){return[]}r=Object(r);return n(u(r),(function(e){return a.call(r,e)}))};r.exports=f},51442:(r,e,t)=>{var n=t(62488),i=t(85924),o=t(99551),a=t(70479);var u=Object.getOwnPropertySymbols;var f=!u?a:function(r){var e=[];while(r){n(e,o(r));r=i(r)}return e};r.exports=f},64160:(r,e,t)=>{var n=t(18552),i=t(57071),o=t(53818),a=t(58525),u=t(70577),f=t(44239),s=t(80346);var c="[object Map]",l="[object Object]",v="[object Promise]",p="[object Set]",d="[object WeakMap]";var h="[object DataView]";var y=s(n),m=s(i),b=s(o),g=s(a),x=s(u);var w=f;if(n&&w(new n(new ArrayBuffer(1)))!=h||i&&w(new i)!=c||o&&w(o.resolve())!=v||a&&w(new a)!=p||u&&w(new u)!=d){w=function(r){var e=f(r),t=e==l?r.constructor:undefined,n=t?s(t):"";if(n){switch(n){case y:return h;case m:return c;case b:return v;case g:return p;case x:return d}}return e}}r.exports=w},47801:r=>{function e(r,e){return r==null?undefined:r[e]}r.exports=e},222:(r,e,t)=>{var n=t(71811),i=t(35694),o=t(1469),a=t(65776),u=t(41780),f=t(40327);function s(r,e,t){e=n(e,r);var s=-1,c=e.length,l=false;while(++s<c){var v=f(e[s]);if(!(l=r!=null&&t(r,v))){break}r=r[v]}if(l||++s!=c){return l}c=r==null?0:r.length;return!!c&&u(c)&&a(v,c)&&(o(r)||i(r))}r.exports=s},51789:(r,e,t)=>{var n=t(94536);function i(){this.__data__=n?n(null):{};this.size=0}r.exports=i},80401:r=>{function e(r){var e=this.has(r)&&delete this.__data__[r];this.size-=e?1:0;return e}r.exports=e},57667:(r,e,t)=>{var n=t(94536);var i="__lodash_hash_undefined__";var o=Object.prototype;var a=o.hasOwnProperty;function u(r){var e=this.__data__;if(n){var t=e[r];return t===i?undefined:t}return a.call(e,r)?e[r]:undefined}r.exports=u},21327:(r,e,t)=>{var n=t(94536);var i=Object.prototype;var o=i.hasOwnProperty;function a(r){var e=this.__data__;return n?e[r]!==undefined:o.call(e,r)}r.exports=a},81866:(r,e,t)=>{var n=t(94536);var i="__lodash_hash_undefined__";function o(r,e){var t=this.__data__;this.size+=this.has(r)?0:1;t[r]=n&&e===undefined?i:e;return this}r.exports=o},43824:r=>{var e=Object.prototype;var t=e.hasOwnProperty;function n(r){var e=r.length,n=new r.constructor(e);if(e&&typeof r[0]=="string"&&t.call(r,"index")){n.index=r.index;n.input=r.input}return n}r.exports=n},29148:(r,e,t)=>{var n=t(74318),i=t(57157),o=t(93147),a=t(40419),u=t(77133);var f="[object Boolean]",s="[object Date]",c="[object Map]",l="[object Number]",v="[object RegExp]",p="[object Set]",d="[object String]",h="[object Symbol]";var y="[object ArrayBuffer]",m="[object DataView]",b="[object Float32Array]",g="[object Float64Array]",x="[object Int8Array]",w="[object Int16Array]",j="[object Int32Array]",O="[object Uint8Array]",A="[object Uint8ClampedArray]",_="[object Uint16Array]",S="[object Uint32Array]";function E(r,e,t){var E=r.constructor;switch(e){case y:return n(r);case f:case s:return new E(+r);case m:return i(r,t);case b:case g:case x:case w:case j:case O:case A:case _:case S:return u(r,t);case c:return new E;case l:case d:return new E(r);case v:return o(r);case p:return new E;case h:return a(r)}}r.exports=E},38517:(r,e,t)=>{var n=t(3118),i=t(85924),o=t(25726);function a(r){return typeof r.constructor=="function"&&!o(r)?n(i(r)):{}}r.exports=a},37285:(r,e,t)=>{var n=t(62705),i=t(35694),o=t(1469);var a=n?n.isConcatSpreadable:undefined;function u(r){return o(r)||i(r)||!!(a&&r&&r[a])}r.exports=u},65776:r=>{var e=9007199254740991;var t=/^(?:0|[1-9]\d*)$/;function n(r,n){var i=typeof r;n=n==null?e:n;return!!n&&(i=="number"||i!="symbol"&&t.test(r))&&(r>-1&&r%1==0&&r<n)}r.exports=n},16612:(r,e,t)=>{var n=t(77813),i=t(98612),o=t(65776),a=t(13218);function u(r,e,t){if(!a(t)){return false}var u=typeof e;if(u=="number"?i(t)&&o(e,t.length):u=="string"&&e in t){return n(t[e],r)}return false}r.exports=u},15403:(r,e,t)=>{var n=t(1469),i=t(33448);var o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function u(r,e){if(n(r)){return false}var t=typeof r;if(t=="number"||t=="symbol"||t=="boolean"||r==null||i(r)){return true}return a.test(r)||!o.test(r)||e!=null&&r in Object(e)}r.exports=u},37019:r=>{function e(r){var e=typeof r;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?r!=="__proto__":r===null}r.exports=e},15346:(r,e,t)=>{var n=t(14429);var i=function(){var r=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function o(r){return!!i&&i in r}r.exports=o},25726:r=>{var e=Object.prototype;function t(r){var t=r&&r.constructor,n=typeof t=="function"&&t.prototype||e;return r===n}r.exports=t},89162:(r,e,t)=>{var n=t(13218);function i(r){return r===r&&!n(r)}r.exports=i},27040:r=>{function e(){this.__data__=[];this.size=0}r.exports=e},14125:(r,e,t)=>{var n=t(18470);var i=Array.prototype;var o=i.splice;function a(r){var e=this.__data__,t=n(e,r);if(t<0){return false}var i=e.length-1;if(t==i){e.pop()}else{o.call(e,t,1)}--this.size;return true}r.exports=a},82117:(r,e,t)=>{var n=t(18470);function i(r){var e=this.__data__,t=n(e,r);return t<0?undefined:e[t][1]}r.exports=i},67518:(r,e,t)=>{var n=t(18470);function i(r){return n(this.__data__,r)>-1}r.exports=i},54705:(r,e,t)=>{var n=t(18470);function i(r,e){var t=this.__data__,i=n(t,r);if(i<0){++this.size;t.push([r,e])}else{t[i][1]=e}return this}r.exports=i},24785:(r,e,t)=>{var n=t(1989),i=t(38407),o=t(57071);function a(){this.size=0;this.__data__={hash:new n,map:new(o||i),string:new n}}r.exports=a},11285:(r,e,t)=>{var n=t(45050);function i(r){var e=n(this,r)["delete"](r);this.size-=e?1:0;return e}r.exports=i},96e3:(r,e,t)=>{var n=t(45050);function i(r){return n(this,r).get(r)}r.exports=i},49916:(r,e,t)=>{var n=t(45050);function i(r){return n(this,r).has(r)}r.exports=i},95265:(r,e,t)=>{var n=t(45050);function i(r,e){var t=n(this,r),i=t.size;t.set(r,e);this.size+=t.size==i?0:1;return this}r.exports=i},68776:r=>{function e(r){var e=-1,t=Array(r.size);r.forEach((function(r,n){t[++e]=[n,r]}));return t}r.exports=e},42634:r=>{function e(r,e){return function(t){if(t==null){return false}return t[r]===e&&(e!==undefined||r in Object(t))}}r.exports=e},24523:(r,e,t)=>{var n=t(88306);var i=500;function o(r){var e=n(r,(function(r){if(t.size===i){t.clear()}return r}));var t=e.cache;return e}r.exports=o},94536:(r,e,t)=>{var n=t(10852);var i=n(Object,"create");r.exports=i},86916:(r,e,t)=>{var n=t(5569);var i=n(Object.keys,Object);r.exports=i},33498:r=>{function e(r){var e=[];if(r!=null){for(var t in Object(r)){e.push(t)}}return e}r.exports=e},31167:(r,e,t)=>{r=t.nmd(r);var n=t(31957);var i=true&&e&&!e.nodeType&&e;var o=i&&"object"=="object"&&r&&!r.nodeType&&r;var a=o&&o.exports===i;var u=a&&n.process;var f=function(){try{var r=o&&o.require&&o.require("util").types;if(r){return r}return u&&u.binding&&u.binding("util")}catch(e){}}();r.exports=f},2333:r=>{var e=Object.prototype;var t=e.toString;function n(r){return t.call(r)}r.exports=n},5569:r=>{function e(r,e){return function(t){return r(e(t))}}r.exports=e},45357:(r,e,t)=>{var n=t(96874);var i=Math.max;function o(r,e,t){e=i(e===undefined?r.length-1:e,0);return function(){var o=arguments,a=-1,u=i(o.length-e,0),f=Array(u);while(++a<u){f[a]=o[e+a]}a=-1;var s=Array(e+1);while(++a<e){s[a]=o[a]}s[e]=t(f);return n(r,this,s)}}r.exports=o},55639:(r,e,t)=>{var n=t(31957);var i=typeof self=="object"&&self&&self.Object===Object&&self;var o=n||i||Function("return this")();r.exports=o},36390:r=>{function e(r,e){if(e==="constructor"&&typeof r[e]==="function"){return}if(e=="__proto__"){return}return r[e]}r.exports=e},90619:r=>{var e="__lodash_hash_undefined__";function t(r){this.__data__.set(r,e);return this}r.exports=t},72385:r=>{function e(r){return this.__data__.has(r)}r.exports=e},21814:r=>{function e(r){var e=-1,t=Array(r.size);r.forEach((function(r){t[++e]=r}));return t}r.exports=e},30061:(r,e,t)=>{var n=t(56560),i=t(21275);var o=i(n);r.exports=o},21275:r=>{var e=800,t=16;var n=Date.now;function i(r){var i=0,o=0;return function(){var a=n(),u=t-(a-o);o=a;if(u>0){if(++i>=e){return arguments[0]}}else{i=0}return r.apply(undefined,arguments)}}r.exports=i},37465:(r,e,t)=>{var n=t(38407);function i(){this.__data__=new n;this.size=0}r.exports=i},63779:r=>{function e(r){var e=this.__data__,t=e["delete"](r);this.size=e.size;return t}r.exports=e},67599:r=>{function e(r){return this.__data__.get(r)}r.exports=e},44758:r=>{function e(r){return this.__data__.has(r)}r.exports=e},34309:(r,e,t)=>{var n=t(38407),i=t(57071),o=t(83369);var a=200;function u(r,e){var t=this.__data__;if(t instanceof n){var u=t.__data__;if(!i||u.length<a-1){u.push([r,e]);this.size=++t.size;return this}t=this.__data__=new o(u)}t.set(r,e);this.size=t.size;return this}r.exports=u},42351:r=>{function e(r,e,t){var n=t-1,i=r.length;while(++n<i){if(r[n]===e){return n}}return-1}r.exports=e},55514:(r,e,t)=>{var n=t(24523);var i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g;var o=/\\(\\)?/g;var a=n((function(r){var e=[];if(r.charCodeAt(0)===46){e.push("")}r.replace(i,(function(r,t,n,i){e.push(n?i.replace(o,"$1"):t||r)}));return e}));r.exports=a},40327:(r,e,t)=>{var n=t(33448);var i=1/0;function o(r){if(typeof r=="string"||n(r)){return r}var e=r+"";return e=="0"&&1/r==-i?"-0":e}r.exports=o},80346:r=>{var e=Function.prototype;var t=e.toString;function n(r){if(r!=null){try{return t.call(r)}catch(e){}try{return r+""}catch(e){}}return""}r.exports=n},50361:(r,e,t)=>{var n=t(85990);var i=1,o=4;function a(r){return n(r,i|o)}r.exports=a},75703:r=>{function e(r){return function(){return r}}r.exports=e},91747:(r,e,t)=>{var n=t(5976),i=t(77813),o=t(16612),a=t(81704);var u=Object.prototype;var f=u.hasOwnProperty;var s=n((function(r,e){r=Object(r);var t=-1;var n=e.length;var s=n>2?e[2]:undefined;if(s&&o(e[0],e[1],s)){n=1}while(++t<n){var c=e[t];var l=a(c);var v=-1;var p=l.length;while(++v<p){var d=l[v];var h=r[d];if(h===undefined||i(h,u[d])&&!f.call(r,d)){r[d]=c[d]}}}return r}));r.exports=s},66913:(r,e,t)=>{var n=t(96874),i=t(5976),o=t(92052),a=t(30236);var u=i((function(r){r.push(undefined,o);return n(a,undefined,r)}));r.exports=u},77813:r=>{function e(r,e){return r===e||r!==r&&e!==e}r.exports=e},85564:(r,e,t)=>{var n=t(21078);function i(r){var e=r==null?0:r.length;return e?n(r,1):[]}r.exports=i},42348:(r,e,t)=>{var n=t(21078);var i=1/0;function o(r){var e=r==null?0:r.length;return e?n(r,i):[]}r.exports=o},84486:(r,e,t)=>{var n=t(77412),i=t(89881),o=t(54290),a=t(1469);function u(r,e){var t=a(r)?n:i;return t(r,o(e))}r.exports=u},27361:(r,e,t)=>{var n=t(97786);function i(r,e,t){var i=r==null?undefined:n(r,e);return i===undefined?t:i}r.exports=i},79095:(r,e,t)=>{var n=t(13),i=t(222);function o(r,e){return r!=null&&i(r,e,n)}r.exports=o},6557:r=>{function e(r){return r}r.exports=e},25325:(r,e,t)=>{var n=t(29932),i=t(47556),o=t(5976),a=t(24387);var u=o((function(r){var e=n(r,a);return e.length&&e[0]===r[0]?i(e):[]}));r.exports=u},33856:(r,e,t)=>{var n=t(29932),i=t(47556),o=t(5976),a=t(24387),u=t(10928);var f=o((function(r){var e=u(r),t=n(r,a);e=typeof e=="function"?e:undefined;if(e){t.pop()}return t.length&&t[0]===r[0]?i(t,undefined,e):[]}));r.exports=f},35694:(r,e,t)=>{var n=t(9454),i=t(37005);var o=Object.prototype;var a=o.hasOwnProperty;var u=o.propertyIsEnumerable;var f=n(function(){return arguments}())?n:function(r){return i(r)&&a.call(r,"callee")&&!u.call(r,"callee")};r.exports=f},1469:r=>{var e=Array.isArray;r.exports=e},98612:(r,e,t)=>{var n=t(23560),i=t(41780);function o(r){return r!=null&&i(r.length)&&!n(r)}r.exports=o},29246:(r,e,t)=>{var n=t(98612),i=t(37005);function o(r){return i(r)&&n(r)}r.exports=o},51584:(r,e,t)=>{var n=t(44239),i=t(37005);var o="[object Boolean]";function a(r){return r===true||r===false||i(r)&&n(r)==o}r.exports=a},44144:(r,e,t)=>{r=t.nmd(r);var n=t(55639),i=t(95062);var o=true&&e&&!e.nodeType&&e;var a=o&&"object"=="object"&&r&&!r.nodeType&&r;var u=a&&a.exports===o;var f=u?n.Buffer:undefined;var s=f?f.isBuffer:undefined;var c=s||i;r.exports=c},18446:(r,e,t)=>{var n=t(90939);function i(r,e){return n(r,e)}r.exports=i},23560:(r,e,t)=>{var n=t(44239),i=t(13218);var o="[object AsyncFunction]",a="[object Function]",u="[object GeneratorFunction]",f="[object Proxy]";function s(r){if(!i(r)){return false}var e=n(r);return e==a||e==u||e==o||e==f}r.exports=s},41780:r=>{var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}r.exports=t},56688:(r,e,t)=>{var n=t(25588),i=t(7518),o=t(31167);var a=o&&o.isMap;var u=a?i(a):n;r.exports=u},13218:r=>{function e(r){var e=typeof r;return r!=null&&(e=="object"||e=="function")}r.exports=e},37005:r=>{function e(r){return r!=null&&typeof r=="object"}r.exports=e},68630:(r,e,t)=>{var n=t(44239),i=t(85924),o=t(37005);var a="[object Object]";var u=Function.prototype,f=Object.prototype;var s=u.toString;var c=f.hasOwnProperty;var l=s.call(Object);function v(r){if(!o(r)||n(r)!=a){return false}var e=i(r);if(e===null){return true}var t=c.call(e,"constructor")&&e.constructor;return typeof t=="function"&&t instanceof t&&s.call(t)==l}r.exports=v},72928:(r,e,t)=>{var n=t(29221),i=t(7518),o=t(31167);var a=o&&o.isSet;var u=a?i(a):n;r.exports=u},33448:(r,e,t)=>{var n=t(44239),i=t(37005);var o="[object Symbol]";function a(r){return typeof r=="symbol"||i(r)&&n(r)==o}r.exports=a},36719:(r,e,t)=>{var n=t(38749),i=t(7518),o=t(31167);var a=o&&o.isTypedArray;var u=a?i(a):n;r.exports=u},3674:(r,e,t)=>{var n=t(14636),i=t(280),o=t(98612);function a(r){return o(r)?n(r):i(r)}r.exports=a},81704:(r,e,t)=>{var n=t(14636),i=t(35014),o=t(98612);function a(r){return o(r)?n(r,true):i(r)}r.exports=a},10928:r=>{function e(r){var e=r==null?0:r.length;return e?r[e-1]:undefined}r.exports=e},88306:(r,e,t)=>{var n=t(83369);var i="Expected a function";function o(r,e){if(typeof r!="function"||e!=null&&typeof e!="function"){throw new TypeError(i)}var t=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=t.cache;if(o.has(i)){return o.get(i)}var a=r.apply(this,n);t.cache=o.set(i,a)||o;return a};t.cache=new(o.Cache||n);return t}o.Cache=n;r.exports=o},30236:(r,e,t)=>{var n=t(42980),i=t(21463);var o=i((function(r,e,t,i){n(r,e,t,i)}));r.exports=o},50308:r=>{function e(){}r.exports=e},39601:(r,e,t)=>{var n=t(40371),i=t(79152),o=t(15403),a=t(40327);function u(r){return o(r)?n(a(r)):i(r)}r.exports=u},45604:(r,e,t)=>{var n=t(65464);function i(r,e){return r&&r.length&&e&&e.length?n(r,e):r}r.exports=i},89734:(r,e,t)=>{var n=t(21078),i=t(82689),o=t(5976),a=t(16612);var u=o((function(r,e){if(r==null){return[]}var t=e.length;if(t>1&&a(r,e[0],e[1])){e=[]}else if(t>2&&a(e[0],e[1],e[2])){e=[e[0]]}return i(r,n(e,1),[])}));r.exports=u},70479:r=>{function e(){return[]}r.exports=e},95062:r=>{function e(){return false}r.exports=e},59881:(r,e,t)=>{var n=t(98363),i=t(81704);function o(r){return n(r,i(r))}r.exports=o},79833:(r,e,t)=>{var n=t(80531);function i(r){return r==null?"":n(r)}r.exports=i},44908:(r,e,t)=>{var n=t(45652);function i(r){return r&&r.length?n(r):[]}r.exports=i},87185:(r,e,t)=>{var n=t(45652);function i(r,e){e=typeof e=="function"?e:undefined;return r&&r.length?n(r,undefined,e):[]}r.exports=i},82569:(r,e,t)=>{var n=t(20731),i=t(5976),o=t(29246);var a=i((function(r,e){return o(r)?n(r,e):[]}));r.exports=a},69921:(r,e)=>{"use strict";var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),f=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function m(r){if("object"===typeof r&&null!==r){var e=r.$$typeof;switch(e){case t:switch(r=r.type,r){case i:case a:case o:case l:case v:return r;default:switch(r=r&&r.$$typeof,r){case s:case f:case c:case d:case p:case u:return r;default:return e}}case n:return e}}}e.ContextConsumer=f;e.ContextProvider=u;e.Element=t;e.ForwardRef=c;e.Fragment=i;e.Lazy=d;e.Memo=p;e.Portal=n;e.Profiler=a;e.StrictMode=o;e.Suspense=l;e.SuspenseList=v;e.isAsyncMode=function(){return!1};e.isConcurrentMode=function(){return!1};e.isContextConsumer=function(r){return m(r)===f};e.isContextProvider=function(r){return m(r)===u};e.isElement=function(r){return"object"===typeof r&&null!==r&&r.$$typeof===t};e.isForwardRef=function(r){return m(r)===c};e.isFragment=function(r){return m(r)===i};e.isLazy=function(r){return m(r)===d};e.isMemo=function(r){return m(r)===p};e.isPortal=function(r){return m(r)===n};e.isProfiler=function(r){return m(r)===a};e.isStrictMode=function(r){return m(r)===o};e.isSuspense=function(r){return m(r)===l};e.isSuspenseList=function(r){return m(r)===v};e.isValidElementType=function(r){return"string"===typeof r||"function"===typeof r||r===i||r===a||r===o||r===l||r===v||r===h||"object"===typeof r&&null!==r&&(r.$$typeof===d||r.$$typeof===p||r.$$typeof===u||r.$$typeof===f||r.$$typeof===c||r.$$typeof===y||void 0!==r.getModuleId)?!0:!1};e.typeOf=m},59864:(r,e,t)=>{"use strict";if(true){r.exports=t(69921)}else{}},14653:r=>{"use strict";function e(r){return Object.prototype.toString.call(r)==="[object Array]"}r.exports=Array.isArray||e},79882:r=>{"use strict";function e(r){return typeof r==="function"}r.exports=e},59158:(r,e,t)=>{"use strict";var n=t(14653),i=t(75647);function o(r){var e;if(!n(r)){return false}e=r.length;if(!e){return false}for(var t=0;t<e;t++){if(!i(r[t])){return false}}return true}r.exports=o},75647:(r,e,t)=>{"use strict";var n=t(84920);function i(r){return n(r)&&r%1===0}r.exports=i},84920:r=>{"use strict";function e(r){return(typeof r==="number"||Object.prototype.toString.call(r)==="[object Number]")&&r.valueOf()===r.valueOf()}r.exports=e}}]);