jupyterlab 4.0.0a34__py3-none-any.whl → 4.0.0a36__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jupyterlab/_version.py +1 -1
- jupyterlab/browser_check.py +1 -1
- jupyterlab/commands.py +6 -6
- jupyterlab/extensions/manager.py +2 -2
- jupyterlab/extensions/pypi.py +3 -1
- jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +123 -113
- jupyterlab/galata/@jupyterlab/galata-extension/package.json +14 -14
- jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.cb0123713c966aac8a3c.js → remoteEntry.bad0ab5ce64f7f5c8312.js} +6 -6
- jupyterlab/galata/__init__.py +0 -1
- jupyterlab/labapp.py +6 -6
- jupyterlab/node-version-check.js +0 -1
- jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +19 -18
- jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +24 -22
- jupyterlab/schemas/@jupyterlab/apputils-extension/sanitizer.json +6 -0
- jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +9 -8
- jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +63 -0
- jupyterlab/schemas/@jupyterlab/celltags-extension/plugin.json +33 -0
- jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +19 -15
- jupyterlab/schemas/@jupyterlab/codemirror-extension/plugin.json +14 -0
- jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +10 -9
- jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +22 -21
- jupyterlab/schemas/@jupyterlab/console-extension/tracker.json +3 -92
- jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +16 -15
- jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +21 -19
- jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +21 -20
- jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +10 -9
- jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +11 -10
- jupyterlab/schemas/@jupyterlab/filebrowser-extension/browser.json +13 -2
- jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +20 -19
- jupyterlab/schemas/@jupyterlab/filebrowser-extension/widget.json +2 -1
- jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +33 -30
- jupyterlab/schemas/@jupyterlab/fileeditor-extension/plugin.json +48 -119
- jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +16 -15
- jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +12 -11
- jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +9 -8
- jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +10 -9
- jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +13 -12
- jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +14 -13
- jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +17 -16
- jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +13 -12
- jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +17 -16
- jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +13 -12
- jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +11 -10
- jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +47 -40
- jupyterlab/schemas/@jupyterlab/notebook-extension/panel.json +1 -1
- jupyterlab/schemas/@jupyterlab/notebook-extension/tools.json +143 -0
- jupyterlab/schemas/@jupyterlab/notebook-extension/tracker.json +12 -146
- jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +17 -16
- jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +15 -14
- jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +17 -16
- jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +10 -9
- jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +17 -16
- jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +10 -9
- jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +18 -17
- jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +9 -8
- jupyterlab/semver.py +2 -2
- jupyterlab/staging/package.json +168 -163
- jupyterlab/staging/webpack.config.js +1 -1
- jupyterlab/staging/yarn.lock +2537 -2358
- jupyterlab/static/1168.6a7f50ce99d9120d558d.js +2 -0
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1581.32450c6144cb4b0a4559.js → jupyterlab/static/1581.41bb01f5d4047061f002.js +3 -3
- jupyterlab/static/{9597.d23df3e7b0bf2fa53c0e.js → 1954.8b80dffad1ab65f151b3.js} +2 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2091.bd1d16d1337fa22555ee.js → jupyterlab/static/2091.f770bddee64cc71cbb38.js +2 -2
- jupyterlab/static/2800.14c52357e80a857341c2.js +2 -0
- jupyterlab/static/2829.d72b2ee221fa5ba98c38.js +2 -0
- jupyterlab/static/2990.6dd42ddb50a872f3a914.js +2 -0
- jupyterlab/static/2995.960715f713d01070e5a7.js +2 -0
- jupyterlab/static/3056.7ac8b30ccd5aad42e0c7.js +2 -0
- jupyterlab/static/3308.49c993cd8597acb46935.js +2 -0
- jupyterlab/static/3547.f1596a95dc36296cdb06.js +2 -0
- jupyterlab/static/3783.d68dff3a9631f0665413.js +2 -0
- jupyterlab/static/383.9b32cc3cdf831a212dbe.js +2 -0
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/4008.9030f3b9de5aecde1790.js → jupyterlab/static/4008.b915ce51b76e4eea444a.js +3 -3
- jupyterlab/static/{3621.c7d35be08ce3952739f0.js → 4207.216305846d1afcde3718.js} +2 -2
- jupyterlab/static/4405.2a2632db9de9492d375b.js +2 -0
- jupyterlab/static/49.ced85eba3bfd117cd00f.js +2 -0
- jupyterlab/static/4986.04c2fe2a543c02880ba9.js +2 -0
- jupyterlab/static/6532.31ea041feb9581e651bc.js +2 -0
- jupyterlab/static/6831.86709d4fba398c4eb414.js +2 -0
- jupyterlab/static/6888.7fab95080c34bfe2cfd0.js +2 -0
- jupyterlab/static/720.c0e1eda90fe360aee794.js +2 -0
- jupyterlab/static/7245.ba37c7df026eab813275.js +2 -0
- jupyterlab/static/745.bf57c40e3c4951b45c9e.js +2 -0
- jupyterlab/static/{7451.3dd436449be9a87731ad.js → 7451.e06be24e1fee9b2e4387.js} +3 -3
- jupyterlab/static/{7473.5a991e5d8a3cd593069e.js → 7473.2e5c4257832f1aaa2f7a.js} +2 -2
- jupyterlab/static/7763.bd770588e14bb53e5869.js +3 -0
- jupyterlab/static/7763.bd770588e14bb53e5869.js.LICENSE.txt +5 -0
- jupyterlab/static/812.f31a0b0d1a5719e044c8.js +2 -0
- jupyterlab/static/830.8410da9c86cd6835b3ea.js +2 -0
- jupyterlab/static/8302.9c4fa45b6f90d0c97e69.js +2 -0
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8768.bf9cf013482344a5bf29.js → jupyterlab/static/8768.a81e5b90356c6d3f905d.js +3 -3
- jupyterlab/static/8771.f48f4e16fcd5cc64f473.js +2 -0
- jupyterlab/static/8823.bff403d7f8fdfcc8e770.js +2 -0
- jupyterlab/static/{9.b85eb270581c06f724c5.js → 9.16e9cdccbe815399d46d.js} +2 -2
- jupyterlab/static/9065.c22fad1c8445f09b60ba.js +2 -0
- jupyterlab/static/9265.f021a836a4f8c1e4f2f5.js +2 -0
- jupyterlab/static/build_log.json +140 -129
- jupyterlab/static/index.html +1 -1
- jupyterlab/static/jlab_core.96941e5e852fedd23450.js +2 -0
- jupyterlab/static/main.20e744f8e1918f54d90d.js +2 -0
- jupyterlab/static/package.json +168 -163
- jupyterlab/static/third-party-licenses.json +201 -231
- jupyterlab/tests/mock_packages/extension/package.json +3 -3
- jupyterlab/tests/mock_packages/interop/consumer/package.json +3 -3
- jupyterlab/tests/mock_packages/interop/provider/package.json +3 -3
- jupyterlab/tests/mock_packages/interop/token/package.json +2 -2
- jupyterlab/tests/mock_packages/mimeextension/package.json +1 -1
- jupyterlab/tests/mock_packages/test-hyphens/MANIFEST.in +1 -1
- jupyterlab/tests/mock_packages/test-hyphens/package.json +2 -2
- jupyterlab/tests/mock_packages/test-hyphens/pyproject.toml +2 -2
- jupyterlab/tests/mock_packages/test-hyphens/setup.py +2 -2
- jupyterlab/tests/test_build_api.py +1 -1
- jupyterlab/tests/test_jupyterlab.py +1 -1
- jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +1 -1
- jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +1 -1
- jupyterlab/upgrade_extension.py +2 -2
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +19 -18
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +24 -22
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +6 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +9 -8
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +63 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +33 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +19 -15
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +14 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +10 -9
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +22 -21
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +3 -92
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +16 -15
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +21 -19
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +21 -20
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +10 -9
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +11 -10
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +13 -2
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +20 -19
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +2 -1
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +83 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +48 -119
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +16 -15
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +12 -11
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +9 -8
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +10 -9
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +13 -12
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +14 -13
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +17 -16
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +13 -12
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +17 -16
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +13 -12
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +11 -10
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +93 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +1 -1
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +143 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +12 -146
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +17 -16
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +15 -14
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +17 -16
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +10 -9
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +17 -16
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +10 -9
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +18 -17
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +9 -8
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1168.6a7f50ce99d9120d558d.js +2 -0
- jupyterlab/static/1581.32450c6144cb4b0a4559.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1581.41bb01f5d4047061f002.js +3 -3
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9597.d23df3e7b0bf2fa53c0e.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1954.8b80dffad1ab65f151b3.js +2 -2
- jupyterlab/static/2091.bd1d16d1337fa22555ee.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2091.f770bddee64cc71cbb38.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2800.14c52357e80a857341c2.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2829.d72b2ee221fa5ba98c38.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2990.6dd42ddb50a872f3a914.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/2995.960715f713d01070e5a7.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3056.7ac8b30ccd5aad42e0c7.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3308.49c993cd8597acb46935.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3547.f1596a95dc36296cdb06.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/3783.d68dff3a9631f0665413.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/383.9b32cc3cdf831a212dbe.js +2 -0
- jupyterlab/static/4008.9030f3b9de5aecde1790.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4008.b915ce51b76e4eea444a.js +3 -3
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/3621.c7d35be08ce3952739f0.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4207.216305846d1afcde3718.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4405.2a2632db9de9492d375b.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/49.ced85eba3bfd117cd00f.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4986.04c2fe2a543c02880ba9.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/6532.31ea041feb9581e651bc.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/6831.86709d4fba398c4eb414.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/6888.7fab95080c34bfe2cfd0.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/720.c0e1eda90fe360aee794.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7245.ba37c7df026eab813275.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/745.bf57c40e3c4951b45c9e.js +2 -0
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/7451.3dd436449be9a87731ad.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7451.e06be24e1fee9b2e4387.js +3 -3
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/7473.5a991e5d8a3cd593069e.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7473.2e5c4257832f1aaa2f7a.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7763.bd770588e14bb53e5869.js +3 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7763.bd770588e14bb53e5869.js.LICENSE.txt +5 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/812.f31a0b0d1a5719e044c8.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/830.8410da9c86cd6835b3ea.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8302.9c4fa45b6f90d0c97e69.js +2 -0
- jupyterlab/static/8768.bf9cf013482344a5bf29.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8768.a81e5b90356c6d3f905d.js +3 -3
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8771.f48f4e16fcd5cc64f473.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8823.bff403d7f8fdfcc8e770.js +2 -0
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9.b85eb270581c06f724c5.js → jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9.16e9cdccbe815399d46d.js +2 -2
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9065.c22fad1c8445f09b60ba.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/9265.f021a836a4f8c1e4f2f5.js +2 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/build_log.json +140 -129
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/index.html +1 -1
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/jlab_core.96941e5e852fedd23450.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/main.20e744f8e1918f54d90d.js +2 -0
- jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/package.json +321 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/third-party-licenses.json +201 -231
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +1 -1
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +1 -1
- {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/METADATA +6 -6
- {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/RECORD +421 -409
- jupyterlab/schemas/@jupyterlab/codemirror-extension/commands.json +0 -163
- jupyterlab/static/1006.9e412681cc0a06b61bf0.js +0 -2
- jupyterlab/static/1168.bd99b385277fda74c7e7.js +0 -2
- jupyterlab/static/1954.e3e678023a9794f54585.js +0 -2
- jupyterlab/static/25.41aa912787b694d8e5fd.js +0 -2
- jupyterlab/static/2800.16d71ffa4e49ede65248.js +0 -2
- jupyterlab/static/2990.ae4cac57633852d78ace.js +0 -2
- jupyterlab/static/2995.62e4f58854308bee4243.js +0 -2
- jupyterlab/static/3308.f1e75f094a71b22133c2.js +0 -2
- jupyterlab/static/3547.01d98ea9bac709628521.js +0 -2
- jupyterlab/static/49.0032a5d19ef33742cc10.js +0 -2
- jupyterlab/static/4986.f7d81e5438193cbc45f7.js +0 -2
- jupyterlab/static/6269.3431fb9d9d780c0af4e9.js +0 -2
- jupyterlab/static/6831.4fa7fe3986c1b89a11a6.js +0 -2
- jupyterlab/static/6888.56ad73d7d649b17bea59.js +0 -2
- jupyterlab/static/720.8b67294950536cd212a2.js +0 -2
- jupyterlab/static/745.a725095c1dff5725613b.js +0 -2
- jupyterlab/static/812.5594afdaab66ef435363.js +0 -2
- jupyterlab/static/830.a78d703922e2e43ffc1b.js +0 -2
- jupyterlab/static/8765.7390a33662098cb71047.js +0 -2
- jupyterlab/static/8771.548ec818cfcd85939fa1.js +0 -2
- jupyterlab/static/8823.a0fc337e55dfe2e131ee.js +0 -2
- jupyterlab/static/911.f79cede096e683d1ea34.js +0 -3
- jupyterlab/static/911.f79cede096e683d1ea34.js.LICENSE.txt +0 -5
- jupyterlab/static/9265.056a822009c8b133bf91.js +0 -2
- jupyterlab/static/9876.52330d1e634c74729e59.js +0 -2
- jupyterlab/static/jlab_core.64dcdf20f2f9401cbce1.js +0 -2
- jupyterlab/static/main.6cb176d6b49a21ca2405.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/commands.json +0 -163
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +0 -80
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +0 -86
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1006.9e412681cc0a06b61bf0.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1168.bd99b385277fda74c7e7.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1954.e3e678023a9794f54585.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/25.41aa912787b694d8e5fd.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2800.16d71ffa4e49ede65248.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2990.ae4cac57633852d78ace.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/2995.62e4f58854308bee4243.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/3308.f1e75f094a71b22133c2.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/3547.01d98ea9bac709628521.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/49.0032a5d19ef33742cc10.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/4986.f7d81e5438193cbc45f7.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/6269.3431fb9d9d780c0af4e9.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/6831.4fa7fe3986c1b89a11a6.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/6888.56ad73d7d649b17bea59.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/720.8b67294950536cd212a2.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/745.a725095c1dff5725613b.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/812.5594afdaab66ef435363.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/830.a78d703922e2e43ffc1b.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8765.7390a33662098cb71047.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8771.548ec818cfcd85939fa1.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8823.a0fc337e55dfe2e131ee.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/911.f79cede096e683d1ea34.js +0 -3
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/911.f79cede096e683d1ea34.js.LICENSE.txt +0 -5
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9265.056a822009c8b133bf91.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/9876.52330d1e634c74729e59.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/jlab_core.64dcdf20f2f9401cbce1.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/main.6cb176d6b49a21ca2405.js +0 -2
- jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/package.json +0 -316
- /jupyterlab/static/{1581.32450c6144cb4b0a4559.js.LICENSE.txt → 1581.41bb01f5d4047061f002.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{4008.9030f3b9de5aecde1790.js.LICENSE.txt → 4008.b915ce51b76e4eea444a.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{7451.3dd436449be9a87731ad.js.LICENSE.txt → 7451.e06be24e1fee9b2e4387.js.LICENSE.txt} +0 -0
- /jupyterlab/static/{8768.bf9cf013482344a5bf29.js.LICENSE.txt → 8768.a81e5b90356c6d3f905d.js.LICENSE.txt} +0 -0
- /jupyterlab/tests/mock_packages/test-hyphens/{test-hyphens → test_hyphens}/__init__.py +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1036.f6c57d1265adca83594e.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1036.f6c57d1265adca83594e.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1085.36072613d5461d9bc753.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1142.228652acc76ea404048d.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1294.d1735230fc7e9a21e8ad.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1410.8dd0e390c69996cecb38.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1420.78e8c0a87a74a5c616ed.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1452.40a07727b78492442421.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1467.3ee02202fa11332e5b99.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1550.373973a4651e6d0cf8b8.js +0 -0
- /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/1581.32450c6144cb4b0a4559.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/1581.41bb01f5d4047061f002.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1608.cf6b65b59e4ff19b5622.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1716.9bf4d1620425b087fc9a.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1776.5218a3aec719d764977f.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1861.762ed9052ac12c338de6.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1903.73f4b592ee795a6b61ab.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1945.dd876fc4110972ab9979.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/1993.2f82b3bafd40aa9605d3.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2039.7b8fad64fe512bdd5632.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2090.7c57efa83d49c74accca.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2104.fcc8c0f01e052700b3b0.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2145.2ed879d424a6ee02d531.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2254.13d594629c684d67a6b2.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2295.cf513646f24b357692bc.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2320.24d37d8ae619f877e334.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2363.d86742077aed696694b9.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2459.33094feaa394e0b72837.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2485.2b62703ab935947006af.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2617.af93dca9ab5f243bf60e.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2646.7f21306af05485d0bc39.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2857.008f1a1c91b1fa06999e.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2909.9a160a86a2172c389238.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/292.7c2a7b3af0bd14d7f49e.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/2929.686155e4d274cfa9cd32.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3123.1df15835a1681fb411f4.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3127.0bd0b2da7c02c81dc7d7.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3306.19d86a7230d467f0a01a.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3528.c34d6dc8140ed3d19f4d.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3549.05e5283aa1815f6c0b86.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3601.92dd7c517619f0141013.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/378.1bd75509552813ebea37.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3807.33034141b48b767e6974.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3923.7ffdf2670160c7be7da5.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3935.200aeb85f6884cbd976d.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3935.200aeb85f6884cbd976d.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3962.68d34fc6c9af390e95f2.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
- /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/4008.9030f3b9de5aecde1790.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/4008.b915ce51b76e4eea444a.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4017.7cf5c0f4ab2e2fe099f4.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4043.7d4235e5ef237743c246.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4139.640d2da69a839bbb23a1.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4155.784ca1752696680bf373.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4283.5ea107a9413cf350657d.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4291.7fc9442700a996c261cd.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4419.8d7204ceb62af06d8422.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4452.e12b3923387884215888.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4519.38b6c4e1bfad86478cf2.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4562.29166c568a222122f128.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4591.314ddb1d18112749d6d0.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/46.0fb036ed8ad4b2af0e5e.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4743.290178067fcbe2b935dd.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/4878.9c8b7dff9f2aa987457d.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/489.2bb514a4f1aeca4522e4.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5041.8834f33c4d437bd3d845.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5157.3a8e834fbef3a8fc2b4f.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5201.43ed99b05a13cb751923.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5203.d020c43293395b5d5c55.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5331.af889dce3fae12a95db2.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5440.0f50e7c3df2baf685125.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5521.f65521bcfb0c479b5fba.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/581.67a15269b8e899ea2588.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5881.c7ae1a260275cb511eda.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/5959.41c3dbb934f7aa83e2af.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6163.231924d17191f1a9a738.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6207.226a2fd91c0e203aee57.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6243.4fc871a5a7ffb2e327b4.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6267.d266ae2f83d17cb51279.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6359.3b09504ed85bb3f71967.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6443.31e269857ec0085f7934.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6595.abbc5e7c2fb4b02cd772.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/6815.c467fac9cf7db8d0e236.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7080.0b3dcc246068147dc7a3.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7112.a59ee2cd442d601beeeb.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7173.f506f29f75a4ef3362ad.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7294.78897ca348581a9dae29.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7294.78897ca348581a9dae29.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7317.df1ecbfc7db0b063eedf.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7318.f2a3b81f6c31efdfa363.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7363.edc5172d0cfe93aa9ff3.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7384.921ddca683d28f988f4e.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7390.186ad933c12e960be502.js +0 -0
- /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/7451.3dd436449be9a87731ad.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/7451.e06be24e1fee9b2e4387.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7511.26a3826fcdb9c224c361.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7669.8e939de0670f120fce13.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7702.d3ddc7062e198eb6e938.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7731.987cee17c2debd482054.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7823.94efbaadd84fc03f9d87.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7827.fee0cdeaf6e306bbef3d.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7848.e49d7a34ea52aebaf01b.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7877.dcf82bd8c368d9f16b51.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/7887.313787ace9dbcea19b08.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/795.f94649e166b50e0e5c10.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8002.0b0117f4610a941dfe76.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8010.a24689afeaeab57102d3.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8012.29bb6d58445d67c859f8.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8285.629ddf7ab87c4102aee2.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8319.5820120f3fd5db7531d6.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8347.299c1a8fba5fd34992e6.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8405.97a74ca186f6f332afe3.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8493.e3975ff82548a415fac5.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8498.160275f2a073c621d541.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8710.d0976e9e521791ab5b19.js +0 -0
- /jupyterlab-4.0.0a34.data/data/share/jupyter/lab/static/8768.bf9cf013482344a5bf29.js.LICENSE.txt → /jupyterlab-4.0.0a36.data/data/share/jupyter/lab/static/8768.a81e5b90356c6d3f905d.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8787.94119f9e3846afa58ae0.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8805.52c5236ced15d35e3286.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8875.8da7cb48fb402ac6f8a5.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9030.d0c99a0b0db0c7b0a0cb.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9055.3d9971cc90ec4423025c.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9109.fab4c4429f3212218a66.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9192.1a84f137ac27348644bf.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9222.f210f5553fdbc1bb5d74.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9362.36daaf0799b79dc3e343.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9409.d6502e7a30f5163c83f6.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/942.cb7b08b587bc7a30269a.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9421.1ef475b30b23aab2395f.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9445.a6d51ef124feeae99757.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9621.9694856bdac57c707675.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9653.b1366d17fefa13259f3a.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9738.c078f05c0d7cb5bde4a9.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9747.56b3d4353668e791b7de.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9747.56b3d4353668e791b7de.js.LICENSE.txt +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/index.out.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/static/style.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
- {jupyterlab-4.0.0a34.data → jupyterlab-4.0.0a36.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
- {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/WHEEL +0 -0
- {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/entry_points.txt +0 -0
- {jupyterlab-4.0.0a34.dist-info → jupyterlab-4.0.0a36.dist-info}/licenses/LICENSE +0 -0
@@ -1,163 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"jupyter.lab.setting-icon": "ui-components:text-editor",
|
3
|
-
"jupyter.lab.setting-icon-label": "CodeMirror",
|
4
|
-
"jupyter.lab.menus": {
|
5
|
-
"main": [
|
6
|
-
{
|
7
|
-
"id": "jp-mainmenu-view",
|
8
|
-
"items": [
|
9
|
-
{
|
10
|
-
"type": "separator",
|
11
|
-
"rank": 40
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"type": "submenu",
|
15
|
-
"submenu": {
|
16
|
-
"id": "jp-mainmenu-view-codemirror-theme",
|
17
|
-
"label": "Text Editor Syntax Highlighting"
|
18
|
-
},
|
19
|
-
"rank": 40
|
20
|
-
},
|
21
|
-
{
|
22
|
-
"type": "separator",
|
23
|
-
"rank": 40
|
24
|
-
}
|
25
|
-
]
|
26
|
-
},
|
27
|
-
{
|
28
|
-
"id": "jp-mainmenu-settings",
|
29
|
-
"items": [
|
30
|
-
{
|
31
|
-
"type": "submenu",
|
32
|
-
"submenu": {
|
33
|
-
"id": "jp-mainmenu-view-codemirror-keymap",
|
34
|
-
"label": "Text Editor Key Map",
|
35
|
-
"items": [
|
36
|
-
{
|
37
|
-
"command": "codemirror:change-keymap",
|
38
|
-
"args": {
|
39
|
-
"keyMap": "default"
|
40
|
-
}
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"command": "codemirror:change-keymap",
|
44
|
-
"args": {
|
45
|
-
"keyMap": "sublime"
|
46
|
-
}
|
47
|
-
},
|
48
|
-
{
|
49
|
-
"command": "codemirror:change-keymap",
|
50
|
-
"args": {
|
51
|
-
"keyMap": "vim"
|
52
|
-
}
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"command": "codemirror:change-keymap",
|
56
|
-
"args": {
|
57
|
-
"keyMap": "emacs"
|
58
|
-
}
|
59
|
-
}
|
60
|
-
]
|
61
|
-
},
|
62
|
-
"rank": 31
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"type": "submenu",
|
66
|
-
"submenu": {
|
67
|
-
"id": "jp-mainmenu-view-codemirror-theme",
|
68
|
-
"label": "Text Editor Theme",
|
69
|
-
"items": [
|
70
|
-
{
|
71
|
-
"command": "codemirror:change-theme",
|
72
|
-
"args": {
|
73
|
-
"theme": "codemirror"
|
74
|
-
}
|
75
|
-
},
|
76
|
-
{
|
77
|
-
"command": "codemirror:change-theme",
|
78
|
-
"args": {
|
79
|
-
"theme": "jupyter"
|
80
|
-
}
|
81
|
-
}
|
82
|
-
]
|
83
|
-
},
|
84
|
-
"rank": 31
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"type": "separator",
|
88
|
-
"rank": 39
|
89
|
-
}
|
90
|
-
]
|
91
|
-
}
|
92
|
-
]
|
93
|
-
},
|
94
|
-
"title": "CodeMirror",
|
95
|
-
"description": "Text editor settings for all CodeMirror editors.",
|
96
|
-
"properties": {
|
97
|
-
"keyMap": {
|
98
|
-
"type": "string",
|
99
|
-
"title": "Key Map",
|
100
|
-
"description": "Configures the keymap to use",
|
101
|
-
"default": "default"
|
102
|
-
},
|
103
|
-
"theme": {
|
104
|
-
"type": "string",
|
105
|
-
"title": "Theme",
|
106
|
-
"description": "CodeMirror theme",
|
107
|
-
"default": "jupyter"
|
108
|
-
},
|
109
|
-
"scrollPastEnd": {
|
110
|
-
"type": "boolean",
|
111
|
-
"title": "Scroll behavior",
|
112
|
-
"description": "Whether to scroll past the end of text document",
|
113
|
-
"default": true
|
114
|
-
},
|
115
|
-
"styleActiveLine": {
|
116
|
-
"oneOf": [
|
117
|
-
{
|
118
|
-
"type": "boolean",
|
119
|
-
"title": "Boolean"
|
120
|
-
},
|
121
|
-
{
|
122
|
-
"type": "object",
|
123
|
-
"properties": {
|
124
|
-
"nonEmpty": {
|
125
|
-
"type": "boolean"
|
126
|
-
}
|
127
|
-
},
|
128
|
-
"title": "Object"
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"title": "Style Active Line",
|
132
|
-
"description": "Highlight active line. Value is boolean, or { nonEmpty: boolean }.",
|
133
|
-
"default": false
|
134
|
-
},
|
135
|
-
"styleSelectedText": {
|
136
|
-
"type": "boolean",
|
137
|
-
"title": "Style Selected Text",
|
138
|
-
"default": true
|
139
|
-
},
|
140
|
-
"selectionPointer": {
|
141
|
-
"oneOf": [
|
142
|
-
{
|
143
|
-
"type": "boolean",
|
144
|
-
"title": "Use default"
|
145
|
-
},
|
146
|
-
{
|
147
|
-
"type": "string",
|
148
|
-
"title": "Cursor pointer name"
|
149
|
-
}
|
150
|
-
],
|
151
|
-
"title": "Selection Pointer",
|
152
|
-
"description": "Control the mouse cursor appearance when hovering over the selection. Value is boolean or string, e.g. 'pointer'.",
|
153
|
-
"default": false
|
154
|
-
},
|
155
|
-
"lineWiseCopyCut": {
|
156
|
-
"type": ["boolean"],
|
157
|
-
"title": "Line-wise Ctrl-C",
|
158
|
-
"description": "When enabled, which is the default, doing copy or cut when there is no selection will copy or cut the whole lines that have cursors on them.",
|
159
|
-
"default": true
|
160
|
-
}
|
161
|
-
},
|
162
|
-
"type": "object"
|
163
|
-
}
|
@@ -1,2 +0,0 @@
|
|
1
|
-
(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1006,4155],{7049:(t,e,n)=>{"use strict";n.d(e,{Dp:()=>c,Z$:()=>s,kJ:()=>d,s7:()=>o});const s=t=>t[t.length-1];const r=()=>[];const i=t=>t.slice();const o=(t,e)=>{for(let n=0;n<e.length;n++){t.push(e[n])}};const c=Array.from;const l=(t,e)=>t.every(e);const h=(t,e)=>t.some(e);const a=(t,e)=>t.length===e.length&&l(t,((t,n)=>t===e[n]));const u=t=>t.reduce(((t,e)=>t.concat(e)),[]);const d=Array.isArray},69406:(t,e,n)=>{"use strict";n.d(e,{bG:()=>k,fL:()=>S,x0:()=>D});var s=n(47573);var r=n(72382);const i=typeof document!=="undefined"?document:{};const o=t=>i.createElement(t);const c=()=>i.createDocumentFragment();const l=t=>i.createTextNode(t);const h=typeof DOMParser!=="undefined"?new DOMParser:null;const a=(t,e,n)=>t.dispatchEvent(new CustomEvent(e,n));const u=(t,e)=>{s.Ed(e,((e,n)=>{if(n===false){t.removeAttribute(e)}else if(n===true){t.setAttribute(e,"")}else{t.setAttribute(e,n)}}));return t};const d=(t,e)=>{e.forEach(((e,n)=>{t.setAttribute(n,e)}));return t};const f=t=>{const e=c();for(let n=0;n<t.length;n++){L(e,t[n])}return e};const g=(t,e)=>{L(t,f(e));return t};const p=t=>t.remove();const w=(t,e,n)=>t.addEventListener(e,n);const m=(t,e,n)=>t.removeEventListener(e,n);const y=(t,e)=>{pair.forEach(e,((e,n)=>w(t,e,n)));return t};const b=(t,e)=>{pair.forEach(e,((e,n)=>m(t,e,n)));return t};const k=(t,e=[],n=[])=>g(u(o(t),e),n);const _=(t,e)=>{const n=o("canvas");n.height=e;n.width=t;return n};const S=l;const E=t=>`${t.left}:${t.right};`;const C=t=>t.map(E).join("");const D=t=>r.UI(t,((t,e)=>`${e}:${t};`)).join("");const A=(t,e)=>t.querySelector(e);const v=(t,e)=>t.querySelectorAll(e);const U=t=>i.getElementById(t);const x=t=>h.parseFromString(`<html><body>${t}</body></html>`,"text/html").body;const T=t=>f(x(t).childNodes);const I=t=>x(t).firstElementChild;const M=(t,e)=>t.replaceWith(e);const O=(t,e,n)=>t.insertBefore(e,n);const L=(t,e)=>t.appendChild(e);const N=i.ELEMENT_NODE;const R=i.TEXT_NODE;const P=i.CDATA_SECTION_NODE;const V=i.COMMENT_NODE;const F=i.DOCUMENT_NODE;const B=i.DOCUMENT_TYPE_NODE;const j=i.DOCUMENT_FRAGMENT_NODE;const $=(t,e)=>t.nodeType===e;const J=(t,e)=>{let n=e.parentNode;while(n&&n!==t){n=n.parentNode}return n===t}},97027:(t,e,n)=>{"use strict";n.d(e,{Hi:()=>a,PP:()=>r,gB:()=>u});var s=n(59735);const r=(t,e,n=0)=>{try{for(;n<t.length;n++){t[n](...e)}}finally{if(n<t.length){r(t,e,n+1)}}};const i=()=>{};const o=t=>t();const c=t=>t;const l=(t,e)=>t===e;const h=(t,e)=>t===e||t!=null&&e!=null&&t.constructor===e.constructor&&(t instanceof Array&&array.equalFlat(t,e)||typeof t==="object"&&object.equalFlat(t,e));const a=(t,e)=>{if(t==null||e==null){return l(t,e)}if(t.constructor!==e.constructor){return false}if(t===e){return true}switch(t.constructor){case ArrayBuffer:t=new Uint8Array(t);e=new Uint8Array(e);case Uint8Array:{if(t.byteLength!==e.byteLength){return false}for(let n=0;n<t.length;n++){if(t[n]!==e[n]){return false}}break}case Set:{if(t.size!==e.size){return false}for(const n of t){if(!e.has(n)){return false}}break}case Map:{if(t.size!==e.size){return false}for(const n of t.keys()){if(!e.has(n)||!a(t.get(n),e.get(n))){return false}}break}case Object:if(s.kE(t)!==s.kE(e)){return false}for(const n in t){if(!s.l$(t,n)||!a(t[n],e[n])){return false}}break;case Array:if(t.length!==e.length){return false}for(let n=0;n<t.length;n++){if(!a(t[n],e[n])){return false}}break;default:return false}return true};const u=(t,e)=>e.includes(t)},59735:(t,e,n)=>{"use strict";n.d(e,{$m:()=>d,kE:()=>l,l$:()=>u});const s=()=>Object.create(null);const r=Object.assign;const i=Object.keys;const o=(t,e)=>{for(const n in t){e(t[n],n)}};const c=(t,e)=>{const n=[];for(const s in t){n.push(e(t[s],s))}return n};const l=t=>i(t).length;const h=(t,e)=>{for(const n in t){if(e(t[n],n)){return true}}return false};const a=(t,e)=>{for(const n in t){if(!e(t[n],n)){return false}}return true};const u=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);const d=(t,e)=>t===e||l(t)===l(e)&&a(t,((t,n)=>(t!==undefined||u(e,n))&&e[n]===t))},58290:(t,e,n)=>{"use strict";n.d(e,{y:()=>o});var s=n(72382);var r=n(48307);var i=n(7049);class o{constructor(){this._observers=s.Ue()}on(t,e){s.Yu(this._observers,t,r.Ue).add(e)}once(t,e){const n=(...s)=>{this.off(t,n);e(...s)};this.on(t,n)}off(t,e){const n=this._observers.get(t);if(n!==undefined){n.delete(e);if(n.size===0){this._observers.delete(t)}}}emit(t,e){return i.Dp((this._observers.get(t)||s.Ue()).values()).forEach((t=>t(...e)))}destroy(){this._observers=s.Ue()}}},47573:(t,e,n)=>{"use strict";n.d(e,{Ed:()=>o,Ue:()=>r});class s{constructor(t,e){this.left=t;this.right=e}}const r=(t,e)=>new s(t,e);const i=(t,e)=>new s(e,t);const o=(t,e)=>t.forEach((t=>e(t.left,t.right)));const c=(t,e)=>t.map((t=>e(t.left,t.right)))},48307:(t,e,n)=>{"use strict";n.d(e,{Ue:()=>s});const s=()=>new Set;const r=t=>Array.from(t);const i=t=>t.values().next().value||undefined;const o=t=>new Set(t)},20817:(t,e,n)=>{"use strict";n.d(e,{ZG:()=>r});const s=()=>new Date;const r=Date.now;const i=t=>{if(t<6e4){const e=metric.prefix(t,-1);return math.round(e.n*100)/100+e.prefix+"s"}t=math.floor(t/1e3);const e=t%60;const n=math.floor(t/60)%60;const s=math.floor(t/3600)%24;const r=math.floor(t/86400);if(r>0){return r+"d"+(s>0||n>30?" "+(n>30?s+1:s)+"h":"")}if(s>0){return s+"h"+(n>0||e>30?" "+(e>30?n+1:n)+"min":"")}return n+"min"+(e>0?" "+e+"s":"")}},34155:t=>{var e=t.exports={};var n;var s;function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function"){n=setTimeout}else{n=r}}catch(t){n=r}try{if(typeof clearTimeout==="function"){s=clearTimeout}else{s=i}}catch(t){s=i}})();function o(t){if(n===setTimeout){return setTimeout(t,0)}if((n===r||!n)&&setTimeout){n=setTimeout;return setTimeout(t,0)}try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}function c(t){if(s===clearTimeout){return clearTimeout(t)}if((s===i||!s)&&clearTimeout){s=clearTimeout;return clearTimeout(t)}try{return s(t)}catch(e){try{return s.call(null,t)}catch(e){return s.call(this,t)}}}var l=[];var h=false;var a;var u=-1;function d(){if(!h||!a){return}h=false;if(a.length){l=a.concat(l)}else{u=-1}if(l.length){f()}}function f(){if(h){return}var t=o(d);h=true;var e=l.length;while(e){a=l;l=[];while(++u<e){if(a){a[u].run()}}u=-1;e=l.length}a=null;h=false;c(t)}e.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1){for(var n=1;n<arguments.length;n++){e[n-1]=arguments[n]}}l.push(new g(t,e));if(l.length===1&&!h){o(f)}};function g(t,e){this.fun=t;this.array=e}g.prototype.run=function(){this.fun.apply(null,this.array)};e.title="browser";e.browser=true;e.env={};e.argv=[];e.version="";e.versions={};function p(){}e.on=p;e.addListener=p;e.once=p;e.off=p;e.removeListener=p;e.removeAllListeners=p;e.emit=p;e.prependListener=p;e.prependOnceListener=p;e.listeners=function(t){return[]};e.binding=function(t){throw new Error("process.binding is not supported")};e.cwd=function(){return"/"};e.chdir=function(t){throw new Error("process.chdir is not supported")};e.umask=function(){return 0}},31006:(t,e,n)=>{"use strict";n.r(e);n.d(e,{AbsolutePosition:()=>di,AbstractConnector:()=>cr,AbstractStruct:()=>Fc,AbstractType:()=>Bo,Array:()=>cc,ContentAny:()=>el,ContentBinary:()=>$c,ContentDeleted:()=>Wc,ContentEmbed:()=>qc,ContentFormat:()=>Zc,ContentJSON:()=>Qc,ContentString:()=>sl,ContentType:()=>fl,Doc:()=>Sr,GC:()=>jc,ID:()=>ti,Item:()=>bl,Map:()=>ac,PermanentUserData:()=>li,RelativePosition:()=>hi,Snapshot:()=>Si,Text:()=>vc,Transaction:()=>Gi,UndoManager:()=>ro,UpdateEncoderV1:()=>Ur,XmlElement:()=>Mc,XmlFragment:()=>Tc,XmlHook:()=>Nc,XmlText:()=>Pc,YArrayEvent:()=>oc,YEvent:()=>Uo,YMapEvent:()=>hc,YTextEvent:()=>Ac,YXmlEvent:()=>Lc,applyUpdate:()=>Fr,applyUpdateV2:()=>Vr,cleanupYTextFormatting:()=>Cc,compareIDs:()=>ei,compareRelativePositions:()=>_i,convertUpdateFormatV1ToV2:()=>Ao,convertUpdateFormatV2ToV1:()=>vo,createAbsolutePositionFromRelativePosition:()=>ki,createDeleteSet:()=>wr,createDeleteSetFromStructStore:()=>mr,createDocFromSnapshot:()=>Oi,createID:()=>ni,createRelativePositionFromJSON:()=>ui,createRelativePositionFromTypeIndex:()=>pi,createSnapshot:()=>Ui,decodeRelativePosition:()=>bi,decodeSnapshot:()=>vi,decodeSnapshotV2:()=>Ai,decodeStateVector:()=>Wr,decodeUpdate:()=>ho,decodeUpdateV2:()=>ao,diffUpdate:()=>_o,diffUpdateV2:()=>ko,emptySnapshot:()=>xi,encodeRelativePosition:()=>mi,encodeSnapshot:()=>Di,encodeSnapshotV2:()=>Ci,encodeStateAsUpdate:()=>$r,encodeStateAsUpdateV2:()=>jr,encodeStateVector:()=>Hr,encodeStateVectorFromUpdate:()=>po,encodeStateVectorFromUpdateV2:()=>go,equalSnapshots:()=>Ei,findIndexSS:()=>Vi,findRootTypeKey:()=>ii,getItem:()=>Bi,getState:()=>Ri,getTypeChildren:()=>Vo,isDeleted:()=>dr,isParentOf:()=>oi,iterateDeletedStructs:()=>ar,logType:()=>ci,logUpdate:()=>co,logUpdateV2:()=>lo,mergeUpdates:()=>fo,mergeUpdatesV2:()=>bo,parseUpdateMeta:()=>mo,parseUpdateMetaV2:()=>wo,readUpdate:()=>Pr,readUpdateV2:()=>Rr,relativePositionToJSON:()=>ai,snapshot:()=>Ti,transact:()=>to,tryGc:()=>Xi,typeListToArraySnapshot:()=>Jo,typeMapGetSnapshot:()=>rc});var s=n(58290);var r=n(7049);var i=n(14247);var o=n(72382);const c=String.fromCharCode;const l=String.fromCodePoint;const h=t=>t.toLowerCase();const a=/^\s*/g;const u=t=>t.replace(a,"");const d=/([A-Z])/g;const f=(t,e)=>u(t.replace(d,(t=>`${e}${h(t)}`)));const g=t=>unescape(encodeURIComponent(t)).length;const p=t=>{const e=unescape(encodeURIComponent(t));const n=e.length;const s=new Uint8Array(n);for(let r=0;r<n;r++){s[r]=e.codePointAt(r)}return s};const w=typeof TextEncoder!=="undefined"?new TextEncoder:null;const m=t=>w.encode(t);const y=w?m:p;const b=t=>{let e=t.length;let n="";let s=0;while(e>0){const r=e<1e4?e:1e4;const i=t.subarray(s,s+r);s+=r;n+=String.fromCodePoint.apply(null,i);e-=r}return decodeURIComponent(escape(n))};let k=typeof TextDecoder==="undefined"?null:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true});if(k&&k.decode(new Uint8Array).length===1){k=null}const _=t=>k.decode(t);const S=null&&(k?_:b);const E=(t,e,n,s="")=>t.slice(0,e)+s+t.slice(e+n);const C=t=>t===undefined?null:t;class D{constructor(){this.map=new Map}setItem(t,e){this.map.set(t,e)}getItem(t){return this.map.get(t)}}let A=new D;let v=true;try{if(typeof localStorage!=="undefined"){A=localStorage;v=false}}catch(Al){}const U=A;const x=t=>v||addEventListener("storage",t);var T=n(97027);var I=n(34155);const M=typeof I!=="undefined"&&I.release&&/node|io\.js/.test(I.release.name);const O=typeof window!=="undefined"&&!M;const L=typeof navigator!=="undefined"?/Mac/.test(navigator.platform):false;let N;const R=[];const P=()=>{if(N===undefined){if(M){N=o.Ue();const t=I.argv;let e=null;for(let n=0;n<t.length;n++){const s=t[n];if(s[0]==="-"){if(e!==null){N.set(e,"")}e=s}else{if(e!==null){N.set(e,s);e=null}else{R.push(s)}}}if(e!==null){N.set(e,"")}}else if(typeof location==="object"){N=o.Ue();(location.search||"?").slice(1).split("&").forEach((t=>{if(t.length!==0){const[e,n]=t.split("=");N.set(`--${f(e,"-")}`,n);N.set(`-${f(e,"-")}`,n)}}))}else{N=o.Ue()}}return N};const V=t=>P().has(t);const F=(t,e)=>P().get(t)||e;const B=t=>M?C(I.env[t.toUpperCase()]):C(U.getItem(t));const j=t=>P().get("--"+t)||B(t);const $=t=>V("--"+t)||B(t)!==null;const J=$("production");const W=M&&T.gB(I.env.FORCE_COLOR,["true","1","2"]);const z=!V("no-colors")&&(!M||I.stdout.isTTY||W)&&(!M||V("color")||W||B("COLORTERM")!==null||(B("TERM")||"").includes("color"));const G=t=>new Uint8Array(t);const Y=(t,e,n)=>new Uint8Array(t,e,n);const H=t=>new Uint8Array(t);const q=t=>{let e="";for(let n=0;n<t.byteLength;n++){e+=c(t[n])}return btoa(e)};const K=t=>Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString("base64");const Z=t=>{const e=atob(t);const n=G(e.length);for(let s=0;s<e.length;s++){n[s]=e.charCodeAt(s)}return n};const X=t=>{const e=Buffer.from(t,"base64");return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)};const Q=O?q:K;const tt=O?Z:X;const et=t=>{const e=G(t.byteLength);e.set(t);return e};const nt=t=>{const e=encoding.createEncoder();encoding.writeAny(e,t);return encoding.toUint8Array(e)};const st=t=>decoding.readAny(decoding.createDecoder(t));const rt=1;const it=2;const ot=4;const ct=8;const lt=16;const ht=32;const at=64;const ut=128;const dt=256;const ft=512;const gt=1024;const pt=2048;const wt=4096;const mt=8192;const yt=16384;const bt=32768;const kt=65536;const _t=1<<17;const St=1<<18;const Et=1<<19;const Ct=1<<20;const Dt=1<<21;const At=1<<22;const vt=1<<23;const Ut=1<<24;const xt=1<<25;const Tt=1<<26;const It=1<<27;const Mt=1<<28;const Ot=1<<29;const Lt=1<<30;const Nt=null&&1<<31;const Rt=0;const Pt=1;const Vt=3;const Ft=7;const Bt=15;const jt=31;const $t=63;const Jt=127;const Wt=255;const zt=511;const Gt=1023;const Yt=2047;const Ht=4095;const qt=8191;const Kt=16383;const Zt=32767;const Xt=65535;const Qt=_t-1;const te=St-1;const ee=Et-1;const ne=Ct-1;const se=Dt-1;const re=At-1;const ie=vt-1;const oe=Ut-1;const ce=xt-1;const le=Tt-1;const he=It-1;const ae=Mt-1;const ue=Ot-1;const de=Lt-1;const fe=2147483647;const ge=4294967295;const pe=Number.MAX_SAFE_INTEGER;const we=Number.MIN_SAFE_INTEGER;const me=null&&1<<31;const ye=fe;const be=Number.isInteger||(t=>typeof t==="number"&&isFinite(t)&&i.GW(t)===t);const ke=Number.isNaN;const _e=Number.parseInt;class Se{constructor(){this.cpos=0;this.cbuf=new Uint8Array(100);this.bufs=[]}}const Ee=()=>new Se;const Ce=t=>{let e=t.cpos;for(let n=0;n<t.bufs.length;n++){e+=t.bufs[n].length}return e};const De=t=>{const e=new Uint8Array(Ce(t));let n=0;for(let s=0;s<t.bufs.length;s++){const r=t.bufs[s];e.set(r,n);n+=r.length}e.set(Y(t.cbuf.buffer,0,t.cpos),n);return e};const Ae=(t,e)=>{const n=t.cbuf.length;if(n-t.cpos<e){t.bufs.push(Y(t.cbuf.buffer,0,t.cpos));t.cbuf=new Uint8Array(i.Fp(n,e)*2);t.cpos=0}};const ve=(t,e)=>{const n=t.cbuf.length;if(t.cpos===n){t.bufs.push(t.cbuf);t.cbuf=new Uint8Array(n*2);t.cpos=0}t.cbuf[t.cpos++]=e};const Ue=(t,e,n)=>{let s=null;for(let r=0;r<t.bufs.length&&s===null;r++){const n=t.bufs[r];if(e<n.length){s=n}else{e-=n.length}}if(s===null){s=t.cbuf}s[e]=n};const xe=ve;const Te=null&&Ue;const Ie=(t,e)=>{ve(t,e&binary.BITS8);ve(t,e>>>8&binary.BITS8)};const Me=(t,e,n)=>{Ue(t,e,n&binary.BITS8);Ue(t,e+1,n>>>8&binary.BITS8)};const Oe=(t,e)=>{for(let n=0;n<4;n++){ve(t,e&binary.BITS8);e>>>=8}};const Le=(t,e)=>{for(let n=3;n>=0;n--){ve(t,e>>>8*n&binary.BITS8)}};const Ne=(t,e,n)=>{for(let s=0;s<4;s++){Ue(t,e+s,n&binary.BITS8);n>>>=8}};const Re=(t,e)=>{while(e>Jt){ve(t,ut|Jt&e);e=i.GW(e/128)}ve(t,Jt&e)};const Pe=(t,e)=>{const n=i.GR(e);if(n){e=-e}ve(t,(e>$t?ut:0)|(n?at:0)|$t&e);e=i.GW(e/64);while(e>0){ve(t,(e>Jt?ut:0)|Jt&e);e=i.GW(e/128)}};const Ve=new Uint8Array(3e4);const Fe=Ve.length/3;const Be=(t,e)=>{if(e.length<Fe){const n=w.encodeInto(e,Ve).written||0;Re(t,n);for(let e=0;e<n;e++){ve(t,Ve[e])}}else{ze(t,y(e))}};const je=(t,e)=>{const n=unescape(encodeURIComponent(e));const s=n.length;Re(t,s);for(let r=0;r<s;r++){ve(t,n.codePointAt(r))}};const $e=w&&w.encodeInto?Be:je;const Je=(t,e)=>We(t,De(e));const We=(t,e)=>{const n=t.cbuf.length;const s=t.cpos;const r=i.VV(n-s,e.length);const o=e.length-r;t.cbuf.set(e.subarray(0,r),s);t.cpos+=r;if(o>0){t.bufs.push(t.cbuf);t.cbuf=new Uint8Array(i.Fp(n*2,o));t.cbuf.set(e.subarray(r));t.cpos=o}};const ze=(t,e)=>{Re(t,e.byteLength);We(t,e)};const Ge=(t,e)=>{Ae(t,e);const n=new DataView(t.cbuf.buffer,t.cpos,e);t.cpos+=e;return n};const Ye=(t,e)=>Ge(t,4).setFloat32(0,e,false);const He=(t,e)=>Ge(t,8).setFloat64(0,e,false);const qe=(t,e)=>Ge(t,8).setBigInt64(0,e,false);const Ke=(t,e)=>Ge(t,8).setBigUint64(0,e,false);const Ze=new DataView(new ArrayBuffer(4));const Xe=t=>{Ze.setFloat32(0,t);return Ze.getFloat32(0)===t};const Qe=(t,e)=>{switch(typeof e){case"string":ve(t,119);$e(t,e);break;case"number":if(be(e)&&i.Wn(e)<=fe){ve(t,125);Pe(t,e)}else if(Xe(e)){ve(t,124);Ye(t,e)}else{ve(t,123);He(t,e)}break;case"bigint":ve(t,122);qe(t,e);break;case"object":if(e===null){ve(t,126)}else if(e instanceof Array){ve(t,117);Re(t,e.length);for(let n=0;n<e.length;n++){Qe(t,e[n])}}else if(e instanceof Uint8Array){ve(t,116);ze(t,e)}else{ve(t,118);const n=Object.keys(e);Re(t,n.length);for(let s=0;s<n.length;s++){const r=n[s];$e(t,r);Qe(t,e[r])}}break;case"boolean":ve(t,e?120:121);break;default:ve(t,127)}};class tn extends Se{constructor(t){super();this.w=t;this.s=null;this.count=0}write(t){if(this.s===t){this.count++}else{if(this.count>0){Re(this,this.count-1)}this.count=1;this.w(this,t);this.s=t}}}class en extends(null&&Se){constructor(t){super();this.s=t}write(t){Pe(this,t-this.s);this.s=t}}class nn extends(null&&Se){constructor(t){super();this.s=t;this.count=0}write(t){if(this.s===t&&this.count>0){this.count++}else{if(this.count>0){Re(this,this.count-1)}this.count=1;Pe(this,t-this.s);this.s=t}}}const sn=t=>{if(t.count>0){Pe(t.encoder,t.count===1?t.s:-t.s);if(t.count>1){Re(t.encoder,t.count-2)}}};class rn{constructor(){this.encoder=new Se;this.s=0;this.count=0}write(t){if(this.s===t){this.count++}else{sn(this);this.count=1;this.s=t}}toUint8Array(){sn(this);return De(this.encoder)}}class on{constructor(){this.encoder=new Se;this.s=0;this.count=0}write(t){if(this.s+this.count===t){this.count++}else{sn(this);this.count=1;this.s=t}}toUint8Array(){sn(this);return De(this.encoder)}}const cn=t=>{if(t.count>0){const e=t.diff*2+(t.count===1?0:1);Pe(t.encoder,e);if(t.count>1){Re(t.encoder,t.count-2)}}};class ln{constructor(){this.encoder=new Se;this.s=0;this.count=0;this.diff=0}write(t){if(this.diff===t-this.s){this.s=t;this.count++}else{cn(this);this.count=1;this.diff=t-this.s;this.s=t}}toUint8Array(){cn(this);return De(this.encoder)}}class hn{constructor(){this.sarr=[];this.s="";this.lensE=new rn}write(t){this.s+=t;if(this.s.length>19){this.sarr.push(this.s);this.s=""}this.lensE.write(t.length)}toUint8Array(){const t=new Se;this.sarr.push(this.s);this.s="";$e(t,this.sarr.join(""));We(t,this.lensE.toUint8Array());return De(t)}}const an=t=>new Error(t);const un=()=>{throw an("Method unimplemented")};const dn=()=>{throw an("Unexpected case")};const fn=an("Unexpected end of array");const gn=an("Integer out of Range");class pn{constructor(t){this.arr=t;this.pos=0}}const wn=t=>new pn(t);const mn=t=>t.pos!==t.arr.length;const yn=(t,e=t.pos)=>{const n=wn(t.arr);n.pos=e;return n};const bn=(t,e)=>{const n=Y(t.arr.buffer,t.pos+t.arr.byteOffset,e);t.pos+=e;return n};const kn=t=>bn(t,Tn(t));const _n=t=>bn(t,t.arr.length-t.pos);const Sn=t=>t.pos++;const En=t=>t.arr[t.pos++];const Cn=t=>{const e=t.arr[t.pos]+(t.arr[t.pos+1]<<8);t.pos+=2;return e};const Dn=t=>{const e=t.arr[t.pos]+(t.arr[t.pos+1]<<8)+(t.arr[t.pos+2]<<16)+(t.arr[t.pos+3]<<24)>>>0;t.pos+=4;return e};const An=t=>{const e=t.arr[t.pos+3]+(t.arr[t.pos+2]<<8)+(t.arr[t.pos+1]<<16)+(t.arr[t.pos]<<24)>>>0;t.pos+=4;return e};const vn=t=>t.arr[t.pos];const Un=t=>t.arr[t.pos]+(t.arr[t.pos+1]<<8);const xn=t=>t.arr[t.pos]+(t.arr[t.pos+1]<<8)+(t.arr[t.pos+2]<<16)+(t.arr[t.pos+3]<<24)>>>0;const Tn=t=>{let e=0;let n=1;const s=t.arr.length;while(t.pos<s){const s=t.arr[t.pos++];e=e+(s&Jt)*n;n*=128;if(s<ut){return e}if(e>pe){throw gn}}throw fn};const In=t=>{let e=t.arr[t.pos++];let n=e&$t;let s=64;const r=(e&at)>0?-1:1;if((e&ut)===0){return r*n}const i=t.arr.length;while(t.pos<i){e=t.arr[t.pos++];n=n+(e&Jt)*s;s*=128;if(e<ut){return r*n}if(n>pe){throw gn}}throw fn};const Mn=t=>{const e=t.pos;const n=Tn(t);t.pos=e;return n};const On=t=>{const e=t.pos;const n=In(t);t.pos=e;return n};const Ln=t=>{let e=Tn(t);if(e===0){return""}else{let n=String.fromCodePoint(En(t));if(--e<100){while(e--){n+=String.fromCodePoint(En(t))}}else{while(e>0){const s=e<1e4?e:1e4;const r=t.arr.subarray(t.pos,t.pos+s);t.pos+=s;n+=String.fromCodePoint.apply(null,r);e-=s}}return decodeURIComponent(escape(n))}};const Nn=t=>k.decode(kn(t));const Rn=k?Nn:Ln;const Pn=t=>{const e=t.pos;const n=Rn(t);t.pos=e;return n};const Vn=(t,e)=>{const n=new DataView(t.arr.buffer,t.arr.byteOffset+t.pos,e);t.pos+=e;return n};const Fn=t=>Vn(t,4).getFloat32(0,false);const Bn=t=>Vn(t,8).getFloat64(0,false);const jn=t=>Vn(t,8).getBigInt64(0,false);const $n=t=>Vn(t,8).getBigUint64(0,false);const Jn=[t=>undefined,t=>null,In,Fn,Bn,jn,t=>false,t=>true,Rn,t=>{const e=Tn(t);const n={};for(let s=0;s<e;s++){const e=Rn(t);n[e]=Wn(t)}return n},t=>{const e=Tn(t);const n=[];for(let s=0;s<e;s++){n.push(Wn(t))}return n},kn];const Wn=t=>Jn[127-En(t)](t);class zn extends pn{constructor(t,e){super(t);this.reader=e;this.s=null;this.count=0}read(){if(this.count===0){this.s=this.reader(this);if(mn(this)){this.count=Tn(this)+1}else{this.count=-1}}this.count--;return this.s}}class Gn extends(null&&pn){constructor(t,e){super(t);this.s=e}read(){this.s+=In(this);return this.s}}class Yn extends(null&&pn){constructor(t,e){super(t);this.s=e;this.count=0}read(){if(this.count===0){this.s+=In(this);if(mn(this)){this.count=Tn(this)+1}else{this.count=-1}}this.count--;return this.s}}class Hn extends pn{constructor(t){super(t);this.s=0;this.count=0}read(){if(this.count===0){this.s=In(this);const t=i.GR(this.s);this.count=1;if(t){this.s=-this.s;this.count=Tn(this)+2}}this.count--;return this.s}}class qn extends(null&&pn){constructor(t){super(t);this.s=0;this.count=0}read(){if(this.count===0){this.s=In(this);const t=math.isNegativeZero(this.s);this.count=1;if(t){this.s=-this.s;this.count=Tn(this)+2}}this.count--;return this.s++}}class Kn extends pn{constructor(t){super(t);this.s=0;this.count=0;this.diff=0}read(){if(this.count===0){const t=In(this);const e=t&1;this.diff=i.GW(t/2);this.count=1;if(e){this.count=Tn(this)+2}}this.s+=this.diff;this.count--;return this.s}}class Zn{constructor(t){this.decoder=new Hn(t);this.str=Rn(this.decoder);this.spos=0}read(){const t=this.spos+this.decoder.read();const e=this.str.slice(this.spos,t);this.spos=t;return e}}const Xn=typeof window==="undefined"?null:typeof window.performance!=="undefined"&&window.performance||null;const Qn=typeof crypto==="undefined"?null:crypto;const ts=Qn!==null?t=>{const e=new ArrayBuffer(t);const n=new Uint8Array(e);Qn.getRandomValues(n);return e}:t=>{const e=new ArrayBuffer(t);const n=new Uint8Array(e);for(let s=0;s<t;s++){n[s]=Math.ceil(Math.random()*4294967295>>>0)}return e};const es=Math.random;const ns=()=>new Uint32Array(ts(4))[0];const ss=()=>{const t=new Uint32Array(cryptoRandomBuffer(8));return(t[0]&binary.BITS21)*(binary.BITS32+1)+(t[1]>>>0)};const rs=t=>t[math.floor(es()*t.length)];const is=[1e7]+-1e3+-4e3+-8e3+-1e11;const os=()=>is.replace(/[018]/g,(t=>(t^ns()&15>>t/4).toString(16)));const cs=t=>new Promise(t);const ls=t=>new Promise(t);const hs=t=>Promise.all(t);const as=t=>Promise.reject(t);const us=t=>Promise.resolve(t);const ds=t=>Promise.resolve(t);const fs=(t,e,n=10)=>cs(((s,r)=>{const i=time.getUnixTime();const o=t>0;const c=()=>{if(e()){clearInterval(l);s()}else if(o){if(time.getUnixTime()-i>t){clearInterval(l);r(new Error("Timeout"))}}};const l=setInterval(c,n)}));const gs=t=>cs(((e,n)=>setTimeout(e,t)));const ps=t=>t instanceof Promise||t&&t.then&&t.catch&&t.finally;var ws=n(48307);const ms=Symbol;const ys=t=>typeof t==="symbol";var bs=n(47573);var ks=n(69406);var _s=n(20817);const Ss=ms();const Es=ms();const Cs=ms();const Ds=ms();const As=ms();const vs=ms();const Us=ms();const xs=ms();const Ts=ms();const Is={[Ss]:bs.Ue("font-weight","bold"),[Es]:bs.Ue("font-weight","normal"),[Cs]:bs.Ue("color","blue"),[As]:bs.Ue("color","green"),[Ds]:bs.Ue("color","grey"),[vs]:bs.Ue("color","red"),[Us]:bs.Ue("color","purple"),[xs]:bs.Ue("color","orange"),[Ts]:bs.Ue("color","black")};const Ms={[Ss]:"[1m",[Es]:"[2m",[Cs]:"[34m",[As]:"[32m",[Ds]:"[37m",[vs]:"[31m",[Us]:"[35m",[xs]:"[38;5;208m",[Ts]:"[0m"};const Os=t=>{const e=[];const n=[];const s=o.Ue();let r=[];let i=0;for(;i<t.length;i++){const r=t[i];const o=Is[r];if(o!==undefined){s.set(o.left,o.right)}else{if(r.constructor===String||r.constructor===Number){const t=ks.x0(s);if(i>0||t.length>0){e.push("%c"+r);n.push(t)}else{e.push(r)}}else{break}}}if(i>0){r=n;r.unshift(e.join(""))}for(;i<t.length;i++){const e=t[i];if(!(e instanceof Symbol)){r.push(e)}}return r};const Ls=t=>{const e=[];const n=[];let s=0;for(;s<t.length;s++){const n=t[s];const r=Ms[n];if(r===undefined){if(n.constructor===String||n.constructor===Number){e.push(n)}else{break}}}if(s>0){n.push(e.join(""))}for(;s<t.length;s++){const e=t[s];if(!(e instanceof Symbol)){if(e.constructor===Object){n.push(JSON.stringify(e))}else{n.push(e)}}}return n};const Ns=t=>{const e=[];const n=[];let s=0;for(;s<t.length;s++){const n=t[s];const r=Ms[n];if(r!==undefined){e.push(r)}else{if(n.constructor===String||n.constructor===Number){e.push(n)}else{break}}}if(s>0){e.push("[0m");n.push(e.join(""))}for(;s<t.length;s++){const e=t[s];if(!(e instanceof Symbol)){n.push(e)}}return n};const Rs=z?M?Ns:Os:Ls;const Ps=(...t)=>{console.log(...Rs(t));Ys.forEach((e=>e.print(t)))};const Vs=(...t)=>{console.warn(...Rs(t));t.unshift(xs);Ys.forEach((e=>e.print(t)))};const Fs=t=>{console.error(t);Ys.forEach((e=>e.printError(t)))};const Bs=(t,e)=>{if(env.isBrowser){console.log("%c ",`font-size: ${e}px; background-size: contain; background-repeat: no-repeat; background-image: url(${t})`)}Ys.forEach((n=>n.printImg(t,e)))};const js=(t,e)=>Bs(`data:image/gif;base64,${t}`,e);const $s=(...t)=>{console.group(...Rs(t));Ys.forEach((e=>e.group(t)))};const Js=(...t)=>{console.groupCollapsed(...Rs(t));Ys.forEach((e=>e.groupCollapsed(t)))};const Ws=()=>{console.groupEnd();Ys.forEach((t=>t.groupEnd()))};const zs=t=>Ys.forEach((e=>e.printDom(t())));const Gs=(t,e)=>Bs(t.toDataURL(),e);const Ys=new Set;const Hs=t=>{const e=[];const n=new Map;let s=0;for(;s<t.length;s++){const r=t[s];const i=Is[r];if(i!==undefined){n.set(i.left,i.right)}else{if(r.constructor===String||r.constructor===Number){const t=dom.element("span",[pair.create("style",dom.mapToStyleString(n))],[dom.text(r.toString())]);if(t.innerHTML===""){t.innerHTML=" "}e.push(t)}else{break}}}for(;s<t.length;s++){let n=t[s];if(!(n instanceof Symbol)){if(n.constructor!==String&&n.constructor!==Number){n=" "+json.stringify(n)+" "}e.push(dom.element("span",[],[dom.text(n)]))}}return e};const qs="font-family:monospace;border-bottom:1px solid #e2e2e2;padding:2px;";class Ks{constructor(t){this.dom=t;this.ccontainer=this.dom;this.depth=0;Ys.add(this)}group(t,e=false){eventloop.enqueue((()=>{const n=dom.element("span",[pair.create("hidden",e),pair.create("style","color:grey;font-size:120%;")],[dom.text("▼")]);const s=dom.element("span",[pair.create("hidden",!e),pair.create("style","color:grey;font-size:125%;")],[dom.text("▶")]);const r=dom.element("div",[pair.create("style",`${qs};padding-left:${this.depth*10}px`)],[n,s,dom.text(" ")].concat(Hs(t)));const i=dom.element("div",[pair.create("hidden",e)]);const o=dom.element("div",[],[r,i]);dom.append(this.ccontainer,[o]);this.ccontainer=i;this.depth++;dom.addEventListener(r,"click",(t=>{i.toggleAttribute("hidden");n.toggleAttribute("hidden");s.toggleAttribute("hidden")}))}))}groupCollapsed(t){this.group(t,true)}groupEnd(){eventloop.enqueue((()=>{if(this.depth>0){this.depth--;this.ccontainer=this.ccontainer.parentElement.parentElement}}))}print(t){eventloop.enqueue((()=>{dom.append(this.ccontainer,[dom.element("div",[pair.create("style",`${qs};padding-left:${this.depth*10}px`)],Hs(t))])}))}printError(t){this.print([vs,Ss,t.toString()])}printImg(t,e){eventloop.enqueue((()=>{dom.append(this.ccontainer,[dom.element("img",[pair.create("src",t),pair.create("height",`${math.round(e*1.5)}px`)])])}))}printDom(t){eventloop.enqueue((()=>{dom.append(this.ccontainer,[t])}))}destroy(){eventloop.enqueue((()=>{Ys.delete(this)}))}}const Zs=t=>new Ks(t);const Xs=[As,Us,xs,Cs];let Qs=0;let tr=_s.ZG();const er=t=>{const e=Xs[Qs];const n=env.getVariable("log");const s=n!==null&&(n==="*"||n==="true"||new RegExp(n,"gi").test(t));Qs=(Qs+1)%Xs.length;t+=": ";return!s?func.nop:(...n)=>{const s=time.getUnixTime();const r=s-tr;tr=s;Ps(e,t,Ts,...n.map((t=>typeof t==="string"||typeof t==="symbol"?t:JSON.stringify(t))),e," +"+r+"ms")}};const nr=(t,e)=>({[Symbol.iterator](){return this},next(){const n=t.next();return{value:n.done?undefined:e(n.value),done:n.done}}});const sr=t=>({[Symbol.iterator](){return this},next:t});const rr=(t,e)=>sr((()=>{let n;do{n=t.next()}while(!n.done&&!e(n.value));return n}));const ir=(t,e)=>sr((()=>{const{done:n,value:s}=t.next();return{done:n,value:n?undefined:e(s)}}));var or=n(59735);class cr extends s.y{constructor(t,e){super();this.doc=t;this.awareness=e}}class lr{constructor(t,e){this.clock=t;this.len=e}}class hr{constructor(){this.clients=new Map}}const ar=(t,e,n)=>e.clients.forEach(((e,s)=>{const r=t.doc.store.clients.get(s);for(let i=0;i<e.length;i++){const s=e[i];zi(t,r,s.clock,s.len,n)}}));const ur=(t,e)=>{let n=0;let s=t.length-1;while(n<=s){const r=i.GW((n+s)/2);const o=t[r];const c=o.clock;if(c<=e){if(e<c+o.len){return r}n=r+1}else{s=r-1}}return null};const dr=(t,e)=>{const n=t.clients.get(e.client);return n!==undefined&&ur(n,e.clock)!==null};const fr=t=>{t.clients.forEach((t=>{t.sort(((t,e)=>t.clock-e.clock));let e,n;for(e=1,n=1;e<t.length;e++){const s=t[n-1];const r=t[e];if(s.clock+s.len>=r.clock){s.len=i.Fp(s.len,r.clock+r.len-s.clock)}else{if(n<e){t[n]=r}n++}}t.length=n}))};const gr=t=>{const e=new hr;for(let n=0;n<t.length;n++){t[n].clients.forEach(((s,i)=>{if(!e.clients.has(i)){const o=s.slice();for(let e=n+1;e<t.length;e++){r.s7(o,t[e].clients.get(i)||[])}e.clients.set(i,o)}}))}fr(e);return e};const pr=(t,e,n,s)=>{o.Yu(t.clients,e,(()=>[])).push(new lr(n,s))};const wr=()=>new hr;const mr=t=>{const e=wr();t.clients.forEach(((t,n)=>{const s=[];for(let e=0;e<t.length;e++){const n=t[e];if(n.deleted){const r=n.id.clock;let i=n.length;if(e+1<t.length){for(let n=t[e+1];e+1<t.length&&n.deleted;n=t[++e+1]){i+=n.length}}s.push(new lr(r,i))}}if(s.length>0){e.clients.set(n,s)}}));return e};const yr=(t,e)=>{Re(t.restEncoder,e.clients.size);e.clients.forEach(((e,n)=>{t.resetDsCurVal();Re(t.restEncoder,n);const s=e.length;Re(t.restEncoder,s);for(let r=0;r<s;r++){const n=e[r];t.writeDsClock(n.clock);t.writeDsLen(n.len)}}))};const br=t=>{const e=new hr;const n=Tn(t.restDecoder);for(let s=0;s<n;s++){t.resetDsCurVal();const n=Tn(t.restDecoder);const s=Tn(t.restDecoder);if(s>0){const r=o.Yu(e.clients,n,(()=>[]));for(let e=0;e<s;e++){r.push(new lr(t.readDsClock(),t.readDsLen()))}}}return e};const kr=(t,e,n)=>{const s=new hr;const r=Tn(t.restDecoder);for(let i=0;i<r;i++){t.resetDsCurVal();const r=Tn(t.restDecoder);const i=Tn(t.restDecoder);const o=n.clients.get(r)||[];const c=Ri(n,r);for(let n=0;n<i;n++){const n=t.readDsClock();const i=n+t.readDsLen();if(n<c){if(c<i){pr(s,r,c,i-c)}let t=Vi(o,n);let l=o[t];if(!l.deleted&&l.id.clock<n){o.splice(t+1,0,ml(e,l,n-l.id.clock));t++}while(t<o.length){l=o[t++];if(l.id.clock<i){if(!l.deleted){if(i<l.id.clock+l.length){o.splice(t,0,ml(e,l,i-l.id.clock))}l.delete(e)}}else{break}}}else{pr(s,r,n,i-n)}}}if(s.clients.size>0){const t=new Tr;Re(t.restEncoder,0);yr(t,s);return t.toUint8Array()}return null};const _r=ns;class Sr extends s.y{constructor({guid:t=os(),collectionid:e=null,gc:n=true,gcFilter:s=(()=>true),meta:r=null,autoLoad:i=false,shouldLoad:o=true}={}){super();this.gc=n;this.gcFilter=s;this.clientID=_r();this.guid=t;this.collectionid=e;this.share=new Map;this.store=new Li;this._transaction=null;this._transactionCleanups=[];this.subdocs=new Set;this._item=null;this.shouldLoad=o;this.autoLoad=i;this.meta=r;this.isLoaded=false;this.whenLoaded=cs((t=>{this.on("load",(()=>{this.isLoaded=true;t(this)}))}))}load(){const t=this._item;if(t!==null&&!this.shouldLoad){to(t.parent.doc,(t=>{t.subdocsLoaded.add(this)}),null,true)}this.shouldLoad=true}getSubdocs(){return this.subdocs}getSubdocGuids(){return new Set(Array.from(this.subdocs).map((t=>t.guid)))}transact(t,e=null){to(this,t,e)}get(t,e=Bo){const n=o.Yu(this.share,t,(()=>{const t=new e;t._integrate(this,null);return t}));const s=n.constructor;if(e!==Bo&&s!==e){if(s===Bo){const s=new e;s._map=n._map;n._map.forEach((t=>{for(;t!==null;t=t.left){t.parent=s}}));s._start=n._start;for(let t=s._start;t!==null;t=t.right){t.parent=s}s._length=n._length;this.share.set(t,s);s._integrate(this,null);return s}else{throw new Error(`Type with the name ${t} has already been defined with a different constructor`)}}return n}getArray(t=""){return this.get(t,cc)}getText(t=""){return this.get(t,vc)}getMap(t=""){return this.get(t,ac)}getXmlFragment(t=""){return this.get(t,Tc)}toJSON(){const t={};this.share.forEach(((e,n)=>{t[n]=e.toJSON()}));return t}destroy(){r.Dp(this.subdocs).forEach((t=>t.destroy()));const t=this._item;if(t!==null){this._item=null;const e=t.content;e.doc=new Sr({guid:this.guid,...e.opts,shouldLoad:false});e.doc._item=t;to(t.parent.doc,(n=>{const s=e.doc;if(!t.deleted){n.subdocsAdded.add(s)}n.subdocsRemoved.add(this)}),null,true)}this.emit("destroyed",[true]);this.emit("destroy",[this]);super.destroy()}on(t,e){super.on(t,e)}off(t,e){super.off(t,e)}}class Er{constructor(t){this.restDecoder=t}resetDsCurVal(){}readDsClock(){return Tn(this.restDecoder)}readDsLen(){return Tn(this.restDecoder)}}class Cr extends Er{readLeftID(){return ni(Tn(this.restDecoder),Tn(this.restDecoder))}readRightID(){return ni(Tn(this.restDecoder),Tn(this.restDecoder))}readClient(){return Tn(this.restDecoder)}readInfo(){return En(this.restDecoder)}readString(){return Rn(this.restDecoder)}readParentInfo(){return Tn(this.restDecoder)===1}readTypeRef(){return Tn(this.restDecoder)}readLen(){return Tn(this.restDecoder)}readAny(){return Wn(this.restDecoder)}readBuf(){return et(kn(this.restDecoder))}readJSON(){return JSON.parse(Rn(this.restDecoder))}readKey(){return Rn(this.restDecoder)}}class Dr{constructor(t){this.dsCurrVal=0;this.restDecoder=t}resetDsCurVal(){this.dsCurrVal=0}readDsClock(){this.dsCurrVal+=Tn(this.restDecoder);return this.dsCurrVal}readDsLen(){const t=Tn(this.restDecoder)+1;this.dsCurrVal+=t;return t}}class Ar extends Dr{constructor(t){super(t);this.keys=[];Tn(t);this.keyClockDecoder=new Kn(kn(t));this.clientDecoder=new Hn(kn(t));this.leftClockDecoder=new Kn(kn(t));this.rightClockDecoder=new Kn(kn(t));this.infoDecoder=new zn(kn(t),En);this.stringDecoder=new Zn(kn(t));this.parentInfoDecoder=new zn(kn(t),En);this.typeRefDecoder=new Hn(kn(t));this.lenDecoder=new Hn(kn(t))}readLeftID(){return new ti(this.clientDecoder.read(),this.leftClockDecoder.read())}readRightID(){return new ti(this.clientDecoder.read(),this.rightClockDecoder.read())}readClient(){return this.clientDecoder.read()}readInfo(){return this.infoDecoder.read()}readString(){return this.stringDecoder.read()}readParentInfo(){return this.parentInfoDecoder.read()===1}readTypeRef(){return this.typeRefDecoder.read()}readLen(){return this.lenDecoder.read()}readAny(){return Wn(this.restDecoder)}readBuf(){return kn(this.restDecoder)}readJSON(){return Wn(this.restDecoder)}readKey(){const t=this.keyClockDecoder.read();if(t<this.keys.length){return this.keys[t]}else{const t=this.stringDecoder.read();this.keys.push(t);return t}}}class vr{constructor(){this.restEncoder=Ee()}toUint8Array(){return De(this.restEncoder)}resetDsCurVal(){}writeDsClock(t){Re(this.restEncoder,t)}writeDsLen(t){Re(this.restEncoder,t)}}class Ur extends vr{writeLeftID(t){Re(this.restEncoder,t.client);Re(this.restEncoder,t.clock)}writeRightID(t){Re(this.restEncoder,t.client);Re(this.restEncoder,t.clock)}writeClient(t){Re(this.restEncoder,t)}writeInfo(t){xe(this.restEncoder,t)}writeString(t){$e(this.restEncoder,t)}writeParentInfo(t){Re(this.restEncoder,t?1:0)}writeTypeRef(t){Re(this.restEncoder,t)}writeLen(t){Re(this.restEncoder,t)}writeAny(t){Qe(this.restEncoder,t)}writeBuf(t){ze(this.restEncoder,t)}writeJSON(t){$e(this.restEncoder,JSON.stringify(t))}writeKey(t){$e(this.restEncoder,t)}}class xr{constructor(){this.restEncoder=Ee();this.dsCurrVal=0}toUint8Array(){return De(this.restEncoder)}resetDsCurVal(){this.dsCurrVal=0}writeDsClock(t){const e=t-this.dsCurrVal;this.dsCurrVal=t;Re(this.restEncoder,e)}writeDsLen(t){if(t===0){dn()}Re(this.restEncoder,t-1);this.dsCurrVal+=t}}class Tr extends xr{constructor(){super();this.keyMap=new Map;this.keyClock=0;this.keyClockEncoder=new ln;this.clientEncoder=new rn;this.leftClockEncoder=new ln;this.rightClockEncoder=new ln;this.infoEncoder=new tn(xe);this.stringEncoder=new hn;this.parentInfoEncoder=new tn(xe);this.typeRefEncoder=new rn;this.lenEncoder=new rn}toUint8Array(){const t=Ee();Re(t,0);ze(t,this.keyClockEncoder.toUint8Array());ze(t,this.clientEncoder.toUint8Array());ze(t,this.leftClockEncoder.toUint8Array());ze(t,this.rightClockEncoder.toUint8Array());ze(t,De(this.infoEncoder));ze(t,this.stringEncoder.toUint8Array());ze(t,De(this.parentInfoEncoder));ze(t,this.typeRefEncoder.toUint8Array());ze(t,this.lenEncoder.toUint8Array());We(t,De(this.restEncoder));return De(t)}writeLeftID(t){this.clientEncoder.write(t.client);this.leftClockEncoder.write(t.clock)}writeRightID(t){this.clientEncoder.write(t.client);this.rightClockEncoder.write(t.clock)}writeClient(t){this.clientEncoder.write(t)}writeInfo(t){this.infoEncoder.write(t)}writeString(t){this.stringEncoder.write(t)}writeParentInfo(t){this.parentInfoEncoder.write(t?1:0)}writeTypeRef(t){this.typeRefEncoder.write(t)}writeLen(t){this.lenEncoder.write(t)}writeAny(t){Qe(this.restEncoder,t)}writeBuf(t){ze(this.restEncoder,t)}writeJSON(t){Qe(this.restEncoder,t)}writeKey(t){const e=this.keyMap.get(t);if(e===undefined){this.keyClockEncoder.write(this.keyClock++);this.stringEncoder.write(t)}else{this.keyClockEncoder.write(e)}}}const Ir=(t,e,n,s)=>{s=i.Fp(s,e[0].id.clock);const r=Vi(e,s);Re(t.restEncoder,e.length-r);t.writeClient(n);Re(t.restEncoder,s);const o=e[r];o.write(t,s-o.id.clock);for(let i=r+1;i<e.length;i++){e[i].write(t,0)}};const Mr=(t,e,n)=>{const s=new Map;n.forEach(((t,n)=>{if(Ri(e,n)>t){s.set(n,t)}}));Ni(e).forEach(((t,e)=>{if(!n.has(e)){s.set(e,0)}}));Re(t.restEncoder,s.size);Array.from(s.entries()).sort(((t,e)=>e[0]-t[0])).forEach((([n,s])=>{Ir(t,e.clients.get(n),n,s)}))};const Or=(t,e)=>{const n=o.Ue();const s=Tn(t.restDecoder);for(let r=0;r<s;r++){const s=Tn(t.restDecoder);const r=new Array(s);const i=t.readClient();let o=Tn(t.restDecoder);n.set(i,{i:0,refs:r});for(let n=0;n<s;n++){const s=t.readInfo();switch(jt&s){case 0:{const e=t.readLen();r[n]=new jc(ni(i,o),e);o+=e;break}case 10:{const e=Tn(t.restDecoder);r[n]=new El(ni(i,o),e);o+=e;break}default:{const c=(s&(at|ut))===0;const l=new bl(ni(i,o),null,(s&ut)===ut?t.readLeftID():null,null,(s&at)===at?t.readRightID():null,c?t.readParentInfo()?e.get(t.readString()):t.readLeftID():null,c&&(s&ht)===ht?t.readString():null,kl(t,s));r[n]=l;o+=l.length}}}}return n};const Lr=(t,e,n)=>{const s=[];let r=Array.from(n.keys()).sort(((t,e)=>t-e));if(r.length===0){return null}const i=()=>{if(r.length===0){return null}let t=n.get(r[r.length-1]);while(t.refs.length===t.i){r.pop();if(r.length>0){t=n.get(r[r.length-1])}else{return null}}return t};let c=i();if(c===null&&s.length===0){return null}const l=new Li;const h=new Map;const a=(t,e)=>{const n=h.get(t);if(n==null||n>e){h.set(t,e)}};let u=c.refs[c.i++];const d=new Map;const f=()=>{for(const t of s){const e=t.id.client;const s=n.get(e);if(s){s.i--;l.clients.set(e,s.refs.slice(s.i));n.delete(e);s.i=0;s.refs=[]}else{l.clients.set(e,[t])}r=r.filter((t=>t!==e))}s.length=0};while(true){if(u.constructor!==El){const r=o.Yu(d,u.id.client,(()=>Ri(e,u.id.client)));const i=r-u.id.clock;if(i<0){s.push(u);a(u.id.client,u.id.clock-1);f()}else{const r=u.getMissing(t,e);if(r!==null){s.push(u);const t=n.get(r)||{refs:[],i:0};if(t.refs.length===t.i){a(r,Ri(e,r));f()}else{u=t.refs[t.i++];continue}}else if(i===0||i<u.length){u.integrate(t,i);d.set(u.id.client,u.id.clock+u.length)}}}if(s.length>0){u=s.pop()}else if(c!==null&&c.i<c.refs.length){u=c.refs[c.i++]}else{c=i();if(c===null){break}else{u=c.refs[c.i++]}}}if(l.clients.size>0){const t=new Tr;Mr(t,l,new Map);Re(t.restEncoder,0);return{missing:h,update:t.toUint8Array()}}return null};const Nr=(t,e)=>Mr(t,e.doc.store,e.beforeState);const Rr=(t,e,n,s=new Ar(t))=>to(e,(t=>{t.local=false;let e=false;const n=t.doc;const r=n.store;const i=Or(s,n);const o=Lr(t,r,i);const c=r.pendingStructs;if(c){for(const[t,n]of c.missing){if(n<Ri(r,t)){e=true;break}}if(o){for(const[t,e]of o.missing){const n=c.missing.get(t);if(n==null||n>e){c.missing.set(t,e)}}c.update=bo([c.update,o.update])}}else{r.pendingStructs=o}const l=kr(s,t,r);if(r.pendingDs){const e=new Ar(wn(r.pendingDs));Tn(e.restDecoder);const n=kr(e,t,r);if(l&&n){r.pendingDs=bo([l,n])}else{r.pendingDs=l||n}}else{r.pendingDs=l}if(e){const e=r.pendingStructs.update;r.pendingStructs=null;Vr(t.doc,e)}}),n,false);const Pr=(t,e,n)=>Rr(t,e,n,new Cr(t));const Vr=(t,e,n,s=Ar)=>{const r=wn(e);Rr(r,t,n,new s(r))};const Fr=(t,e,n)=>Vr(t,e,n,Cr);const Br=(t,e,n=new Map)=>{Mr(t,e.store,n);yr(t,mr(e.store))};const jr=(t,e=new Uint8Array([0]),n=new Tr)=>{const s=Wr(e);Br(n,t,s);const r=[n.toUint8Array()];if(t.store.pendingDs){r.push(t.store.pendingDs)}if(t.store.pendingStructs){r.push(ko(t.store.pendingStructs.update,e))}if(r.length>1){if(n.constructor===Ur){return fo(r.map(((t,e)=>e===0?t:vo(t))))}else if(n.constructor===Tr){return bo(r)}}return r[0]};const $r=(t,e)=>jr(t,e,new Ur);const Jr=t=>{const e=new Map;const n=Tn(t.restDecoder);for(let s=0;s<n;s++){const n=Tn(t.restDecoder);const s=Tn(t.restDecoder);e.set(n,s)}return e};const Wr=t=>Jr(new Er(wn(t)));const zr=(t,e)=>{Re(t.restEncoder,e.size);Array.from(e.entries()).sort(((t,e)=>e[0]-t[0])).forEach((([e,n])=>{Re(t.restEncoder,e);Re(t.restEncoder,n)}));return t};const Gr=(t,e)=>zr(t,Ni(e.store));const Yr=(t,e=new xr)=>{if(t instanceof Map){zr(e,t)}else{Gr(e,t)}return e.toUint8Array()};const Hr=t=>Yr(t,new vr);class qr{constructor(){this.l=[]}}const Kr=()=>new qr;const Zr=(t,e)=>t.l.push(e);const Xr=(t,e)=>{const n=t.l;const s=n.length;t.l=n.filter((t=>e!==t));if(s===t.l.length){console.error("[yjs] Tried to remove event handler that doesn't exist.")}};const Qr=(t,e,n)=>T.PP(t.l,[e,n]);class ti{constructor(t,e){this.client=t;this.clock=e}}const ei=(t,e)=>t===e||t!==null&&e!==null&&t.client===e.client&&t.clock===e.clock;const ni=(t,e)=>new ti(t,e);const si=(t,e)=>{Re(t,e.client);Re(t,e.clock)};const ri=t=>ni(Tn(t),Tn(t));const ii=t=>{for(const[e,n]of t.doc.share.entries()){if(n===t){return e}}throw dn()};const oi=(t,e)=>{while(e!==null){if(e.parent===t){return true}e=e.parent._item}return false};const ci=t=>{const e=[];let n=t._start;while(n){e.push(n);n=n.right}console.log("Children: ",e);console.log("Children content: ",e.filter((t=>!t.deleted)).map((t=>t.content)))};class li{constructor(t,e=t.getMap("users")){const n=new Map;this.yusers=e;this.doc=t;this.clients=new Map;this.dss=n;const s=(t,e)=>{const n=t.get("ds");const s=t.get("ids");const r=t=>this.clients.set(t,e);n.observe((t=>{t.changes.added.forEach((t=>{t.content.getContent().forEach((t=>{if(t instanceof Uint8Array){this.dss.set(e,gr([this.dss.get(e)||wr(),br(new Er(wn(t)))]))}}))}))}));this.dss.set(e,gr(n.map((t=>br(new Er(wn(t)))))));s.observe((t=>t.changes.added.forEach((t=>t.content.getContent().forEach(r)))));s.forEach(r)};e.observe((t=>{t.keysChanged.forEach((t=>s(e.get(t),t)))}));e.forEach(s)}setUserMapping(t,e,n,{filter:s=(()=>true)}={}){const r=this.yusers;let i=r.get(n);if(!i){i=new ac;i.set("ids",new cc);i.set("ds",new cc);r.set(n,i)}i.get("ids").push([e]);r.observe((t=>{setTimeout((()=>{const t=r.get(n);if(t!==i){i=t;this.clients.forEach(((t,e)=>{if(n===t){i.get("ids").push([e])}}));const e=new vr;const s=this.dss.get(n);if(s){yr(e,s);i.get("ds").push([e.toUint8Array()])}}}),0)}));t.on("afterTransaction",(t=>{setTimeout((()=>{const e=i.get("ds");const n=t.deleteSet;if(t.local&&n.clients.size>0&&s(t,n)){const t=new vr;yr(t,n);e.push([t.toUint8Array()])}}))}))}getUserByClientId(t){return this.clients.get(t)||null}getUserByDeletedId(t){for(const[e,n]of this.dss.entries()){if(dr(n,t)){return e}}return null}}class hi{constructor(t,e,n,s=0){this.type=t;this.tname=e;this.item=n;this.assoc=s}}const ai=t=>{const e={};if(t.type){e.type=t.type}if(t.tname){e.tname=t.tname}if(t.item){e.item=t.item}if(t.assoc!=null){e.assoc=t.assoc}return e};const ui=t=>new hi(t.type==null?null:ni(t.type.client,t.type.clock),t.tname||null,t.item==null?null:ni(t.item.client,t.item.clock),t.assoc==null?0:t.assoc);class di{constructor(t,e,n=0){this.type=t;this.index=e;this.assoc=n}}const fi=(t,e,n=0)=>new di(t,e,n);const gi=(t,e,n)=>{let s=null;let r=null;if(t._item===null){r=ii(t)}else{s=ni(t._item.id.client,t._item.id.clock)}return new hi(s,r,e,n)};const pi=(t,e,n=0)=>{let s=t._start;if(n<0){if(e===0){return gi(t,null,n)}e--}while(s!==null){if(!s.deleted&&s.countable){if(s.length>e){return gi(t,ni(s.id.client,s.id.clock+e),n)}e-=s.length}if(s.right===null&&n<0){return gi(t,s.lastId,n)}s=s.right}return gi(t,null,n)};const wi=(t,e)=>{const{type:n,tname:s,item:r,assoc:i}=e;if(r!==null){Re(t,0);si(t,r)}else if(s!==null){xe(t,1);$e(t,s)}else if(n!==null){xe(t,2);si(t,n)}else{throw dn()}Pe(t,i);return t};const mi=t=>{const e=Ee();wi(e,t);return De(e)};const yi=t=>{let e=null;let n=null;let s=null;switch(Tn(t)){case 0:s=ri(t);break;case 1:n=Rn(t);break;case 2:{e=ri(t)}}const r=mn(t)?In(t):0;return new hi(e,n,s,r)};const bi=t=>yi(wn(t));const ki=(t,e)=>{const n=e.store;const s=t.item;const r=t.type;const i=t.tname;const o=t.assoc;let c=null;let l=0;if(s!==null){if(Ri(n,s.client)<=s.clock){return null}const t=pl(n,s);const e=t.item;if(!(e instanceof bl)){return null}c=e.parent;if(c._item===null||!c._item.deleted){l=e.deleted||!e.countable?0:t.diff+(o>=0?0:1);let n=e.left;while(n!==null){if(!n.deleted&&n.countable){l+=n.length}n=n.left}}}else{if(i!==null){c=e.get(i)}else if(r!==null){if(Ri(n,r.client)<=r.clock){return null}const{item:t}=pl(n,r);if(t instanceof bl&&t.content instanceof fl){c=t.content.type}else{return null}}else{throw dn()}if(o>=0){l=c._length}else{l=0}}return fi(c,l,t.assoc)};const _i=(t,e)=>t===e||t!==null&&e!==null&&t.tname===e.tname&&ei(t.item,e.item)&&ei(t.type,e.type)&&t.assoc===e.assoc;class Si{constructor(t,e){this.ds=t;this.sv=e}}const Ei=(t,e)=>{const n=t.ds.clients;const s=e.ds.clients;const r=t.sv;const i=e.sv;if(r.size!==i.size||n.size!==s.size){return false}for(const[o,c]of r.entries()){if(i.get(o)!==c){return false}}for(const[o,c]of n.entries()){const t=s.get(o)||[];if(c.length!==t.length){return false}for(let e=0;e<c.length;e++){const n=c[e];const s=t[e];if(n.clock!==s.clock||n.len!==s.len){return false}}}return true};const Ci=(t,e=new xr)=>{yr(e,t.ds);zr(e,t.sv);return e.toUint8Array()};const Di=t=>Ci(t,new vr);const Ai=(t,e=new Dr(wn(t)))=>new Si(br(e),Jr(e));const vi=t=>Ai(t,new Er(wn(t)));const Ui=(t,e)=>new Si(t,e);const xi=Ui(wr(),new Map);const Ti=t=>Ui(mr(t.store),Ni(t.store));const Ii=(t,e)=>e===undefined?!t.deleted:e.sv.has(t.id.client)&&(e.sv.get(t.id.client)||0)>t.id.clock&&!dr(e.ds,t.id);const Mi=(t,e)=>{const n=o.Yu(t.meta,Mi,ws.Ue);const s=t.doc.store;if(!n.has(e)){e.sv.forEach(((e,n)=>{if(e<Ri(s,n)){$i(t,ni(n,e))}}));ar(t,e.ds,(t=>{}));n.add(e)}};const Oi=(t,e,n=new Sr)=>{if(t.gc){throw new Error("originDoc must not be garbage collected")}const{sv:s,ds:r}=e;const i=new Tr;t.transact((e=>{let n=0;s.forEach((t=>{if(t>0){n++}}));Re(i.restEncoder,n);for(const[r,o]of s){if(o===0){continue}if(o<Ri(t.store,r)){$i(e,ni(r,o))}const n=t.store.clients.get(r)||[];const s=Vi(n,o-1);Re(i.restEncoder,s+1);i.writeClient(r);Re(i.restEncoder,0);for(let t=0;t<=s;t++){n[t].write(i,0)}}yr(i,r)}));Vr(n,i.toUint8Array(),"snapshot");return n};class Li{constructor(){this.clients=new Map;this.pendingStructs=null;this.pendingDs=null}}const Ni=t=>{const e=new Map;t.clients.forEach(((t,n)=>{const s=t[t.length-1];e.set(n,s.id.clock+s.length)}));return e};const Ri=(t,e)=>{const n=t.clients.get(e);if(n===undefined){return 0}const s=n[n.length-1];return s.id.clock+s.length};const Pi=(t,e)=>{let n=t.clients.get(e.id.client);if(n===undefined){n=[];t.clients.set(e.id.client,n)}else{const t=n[n.length-1];if(t.id.clock+t.length!==e.id.clock){throw dn()}}n.push(e)};const Vi=(t,e)=>{let n=0;let s=t.length-1;let r=t[s];let o=r.id.clock;if(o===e){return s}let c=i.GW(e/(o+r.length-1)*s);while(n<=s){r=t[c];o=r.id.clock;if(o<=e){if(e<o+r.length){return c}n=c+1}else{s=c-1}c=i.GW((n+s)/2)}throw dn()};const Fi=(t,e)=>{const n=t.clients.get(e.client);return n[Vi(n,e.clock)]};const Bi=Fi;const ji=(t,e,n)=>{const s=Vi(e,n);const r=e[s];if(r.id.clock<n&&r instanceof bl){e.splice(s+1,0,ml(t,r,n-r.id.clock));return s+1}return s};const $i=(t,e)=>{const n=t.doc.store.clients.get(e.client);return n[ji(t,n,e.clock)]};const Ji=(t,e,n)=>{const s=e.clients.get(n.client);const r=Vi(s,n.clock);const i=s[r];if(n.clock!==i.id.clock+i.length-1&&i.constructor!==jc){s.splice(r+1,0,ml(t,i,n.clock-i.id.clock+1))}return i};const Wi=(t,e,n)=>{const s=t.clients.get(e.id.client);s[Vi(s,e.id.clock)]=n};const zi=(t,e,n,s,r)=>{if(s===0){return}const i=n+s;let o=ji(t,e,n);let c;do{c=e[o++];if(i<c.id.clock+c.length){ji(t,e,i)}r(c)}while(o<e.length&&e[o].id.clock<i)};class Gi{constructor(t,e,n){this.doc=t;this.deleteSet=new hr;this.beforeState=Ni(t.store);this.afterState=new Map;this.changed=new Map;this.changedParentTypes=new Map;this._mergeStructs=[];this.origin=e;this.meta=new Map;this.local=n;this.subdocsAdded=new Set;this.subdocsRemoved=new Set;this.subdocsLoaded=new Set}}const Yi=(t,e)=>{if(e.deleteSet.clients.size===0&&!o.Yj(e.afterState,((t,n)=>e.beforeState.get(n)!==t))){return false}fr(e.deleteSet);Nr(t,e);yr(t,e.deleteSet);return true};const Hi=(t,e,n)=>{const s=e._item;if(s===null||s.id.clock<(t.beforeState.get(s.id.client)||0)&&!s.deleted){o.Yu(t.changed,e,ws.Ue).add(n)}};const qi=(t,e)=>{const n=t[e-1];const s=t[e];if(n.deleted===s.deleted&&n.constructor===s.constructor){if(n.mergeWith(s)){t.splice(e,1);if(s instanceof bl&&s.parentSub!==null&&s.parent._map.get(s.parentSub)===s){s.parent._map.set(s.parentSub,n)}}}};const Ki=(t,e,n)=>{for(const[s,r]of t.clients.entries()){const t=e.clients.get(s);for(let s=r.length-1;s>=0;s--){const i=r[s];const o=i.clock+i.len;for(let s=Vi(t,i.clock),r=t[s];s<t.length&&r.id.clock<o;r=t[++s]){const r=t[s];if(i.clock+i.len<=r.id.clock){break}if(r instanceof bl&&r.deleted&&!r.keep&&n(r)){r.gc(e,false)}}}}};const Zi=(t,e)=>{t.clients.forEach(((t,n)=>{const s=e.clients.get(n);for(let e=t.length-1;e>=0;e--){const n=t[e];const r=i.VV(s.length-1,1+Vi(s,n.clock+n.len-1));for(let t=r,e=s[t];t>0&&e.id.clock>=n.clock;e=s[--t]){qi(s,t)}}}))};const Xi=(t,e,n)=>{Ki(t,e,n);Zi(t,e)};const Qi=(t,e)=>{if(e<t.length){const n=t[e];const s=n.doc;const r=s.store;const o=n.deleteSet;const c=n._mergeStructs;try{fr(o);n.afterState=Ni(n.doc.store);s.emit("beforeObserverCalls",[n,s]);const l=[];n.changed.forEach(((t,e)=>l.push((()=>{if(e._item===null||!e._item.deleted){e._callObserver(n,t)}}))));l.push((()=>{n.changedParentTypes.forEach(((t,e)=>l.push((()=>{if(e._item===null||!e._item.deleted){t=t.filter((t=>t.target._item===null||!t.target._item.deleted));t.forEach((t=>{t.currentTarget=e}));t.sort(((t,e)=>t.path.length-e.path.length));Qr(e._dEH,t,n)}}))));l.push((()=>s.emit("afterTransaction",[n,s])))}));(0,T.PP)(l,[])}finally{if(s.gc){Ki(o,r,s.gcFilter)}Zi(o,r);n.afterState.forEach(((t,e)=>{const s=n.beforeState.get(e)||0;if(s!==t){const t=r.clients.get(e);const n=i.Fp(Vi(t,s),1);for(let e=t.length-1;e>=n;e--){qi(t,e)}}}));for(let t=0;t<c.length;t++){const{client:e,clock:n}=c[t].id;const s=r.clients.get(e);const i=Vi(s,n);if(i+1<s.length){qi(s,i+1)}if(i>0){qi(s,i)}}if(!n.local&&n.afterState.get(s.clientID)!==n.beforeState.get(s.clientID)){Ps(xs,Ss,"[yjs] ",Es,vs,"Changed the client-id because another client seems to be using it.");s.clientID=_r()}s.emit("afterTransactionCleanup",[n,s]);if(s._observers.has("update")){const t=new Ur;const e=Yi(t,n);if(e){s.emit("update",[t.toUint8Array(),n.origin,s,n])}}if(s._observers.has("updateV2")){const t=new Tr;const e=Yi(t,n);if(e){s.emit("updateV2",[t.toUint8Array(),n.origin,s,n])}}const{subdocsAdded:l,subdocsLoaded:h,subdocsRemoved:a}=n;if(l.size>0||a.size>0||h.size>0){l.forEach((t=>{t.clientID=s.clientID;if(t.collectionid==null){t.collectionid=s.collectionid}s.subdocs.add(t)}));a.forEach((t=>s.subdocs.delete(t)));s.emit("subdocs",[{loaded:h,added:l,removed:a},s,n]);a.forEach((t=>t.destroy()))}if(t.length<=e+1){s._transactionCleanups=[];s.emit("afterAllTransactions",[s,t])}else{Qi(t,e+1)}}}};const to=(t,e,n=null,s=true)=>{const r=t._transactionCleanups;let i=false;if(t._transaction===null){i=true;t._transaction=new Gi(t,n,s);r.push(t._transaction);if(r.length===1){t.emit("beforeAllTransactions",[t])}t.emit("beforeTransaction",[t._transaction,t])}try{e(t._transaction)}finally{if(i){const e=t._transaction===r[0];t._transaction=null;if(e){Qi(r,0)}}}};class eo{constructor(t,e){this.insertions=e;this.deletions=t;this.meta=new Map}}const no=(t,e,n)=>{ar(t,n.deletions,(t=>{if(t instanceof bl&&e.scope.some((e=>oi(e,t)))){wl(t,false)}}))};const so=(t,e,n)=>{let s=null;let r=null;const i=t.doc;const o=t.scope;to(i,(n=>{while(e.length>0&&s===null){const r=i.store;const c=e.pop();const l=new Set;const h=[];let a=false;ar(n,c.insertions,(t=>{if(t instanceof bl){if(t.redone!==null){let{item:e,diff:s}=pl(r,t.id);if(s>0){e=$i(n,ni(e.id.client,e.id.clock+s))}t=e}if(!t.deleted&&o.some((e=>oi(e,t)))){h.push(t)}}}));ar(n,c.deletions,(t=>{if(t instanceof bl&&o.some((e=>oi(e,t)))&&!dr(c.insertions,t.id)){l.add(t)}}));l.forEach((e=>{a=yl(n,e,l,c.insertions,t.ignoreRemoteMapChanges)!==null||a}));for(let e=h.length-1;e>=0;e--){const s=h[e];if(t.deleteFilter(s)){s.delete(n);a=true}}s=a?c:null}n.changed.forEach(((t,e)=>{if(t.has(null)&&e._searchMarker){e._searchMarker.length=0}}));r=n}),t);if(s!=null){const e=r.changedParentTypes;t.emit("stack-item-popped",[{stackItem:s,type:n,changedParentTypes:e},t])}return s};class ro extends s.y{constructor(t,{captureTimeout:e=500,captureTransaction:n=(t=>true),deleteFilter:s=(()=>true),trackedOrigins:i=new Set([null]),ignoreRemoteMapChanges:o=false,doc:c=(r.kJ(t)?t[0].doc:t.doc)}={}){super();this.scope=[];this.addToScope(t);this.deleteFilter=s;i.add(this);this.trackedOrigins=i;this.captureTransaction=n;this.undoStack=[];this.redoStack=[];this.undoing=false;this.redoing=false;this.doc=c;this.lastChange=0;this.ignoreRemoteMapChanges=o;this.captureTimeout=e;this.afterTransactionHandler=t=>{if(!this.captureTransaction(t)||!this.scope.some((e=>t.changedParentTypes.has(e)))||!this.trackedOrigins.has(t.origin)&&(!t.origin||!this.trackedOrigins.has(t.origin.constructor))){return}const e=this.undoing;const n=this.redoing;const s=e?this.redoStack:this.undoStack;if(e){this.stopCapturing()}else if(!n){this.clear(false,true)}const r=new hr;t.afterState.forEach(((e,n)=>{const s=t.beforeState.get(n)||0;const i=e-s;if(i>0){pr(r,n,s,i)}}));const i=_s.ZG();let o=false;if(this.lastChange>0&&i-this.lastChange<this.captureTimeout&&s.length>0&&!e&&!n){const e=s[s.length-1];e.deletions=gr([e.deletions,t.deleteSet]);e.insertions=gr([e.insertions,r])}else{s.push(new eo(t.deleteSet,r));o=true}if(!e&&!n){this.lastChange=i}ar(t,t.deleteSet,(t=>{if(t instanceof bl&&this.scope.some((e=>oi(e,t)))){wl(t,true)}}));const c=[{stackItem:s[s.length-1],origin:t.origin,type:e?"redo":"undo",changedParentTypes:t.changedParentTypes},this];if(o){this.emit("stack-item-added",c)}else{this.emit("stack-item-updated",c)}};this.doc.on("afterTransaction",this.afterTransactionHandler);this.doc.on("destroy",(()=>{this.destroy()}))}addToScope(t){t=r.kJ(t)?t:[t];t.forEach((t=>{if(this.scope.every((e=>e!==t))){this.scope.push(t)}}))}addTrackedOrigin(t){this.trackedOrigins.add(t)}removeTrackedOrigin(t){this.trackedOrigins.delete(t)}clear(t=true,e=true){if(t&&this.canUndo()||e&&this.canRedo()){this.doc.transact((n=>{if(t){this.undoStack.forEach((t=>no(n,this,t)));this.undoStack=[]}if(e){this.redoStack.forEach((t=>no(n,this,t)));this.redoStack=[]}this.emit("stack-cleared",[{undoStackCleared:t,redoStackCleared:e}])}))}}stopCapturing(){this.lastChange=0}undo(){this.undoing=true;let t;try{t=so(this,this.undoStack,"undo")}finally{this.undoing=false}return t}redo(){this.redoing=true;let t;try{t=so(this,this.redoStack,"redo")}finally{this.redoing=false}return t}canUndo(){return this.undoStack.length>0}canRedo(){return this.redoStack.length>0}destroy(){this.trackedOrigins.delete(this);this.doc.off("afterTransaction",this.afterTransactionHandler);super.destroy()}}function*io(t){const e=Tn(t.restDecoder);for(let n=0;n<e;n++){const e=Tn(t.restDecoder);const n=t.readClient();let s=Tn(t.restDecoder);for(let r=0;r<e;r++){const e=t.readInfo();if(e===10){const e=Tn(t.restDecoder);yield new El(ni(n,s),e);s+=e}else if((jt&e)!==0){const r=(e&(at|ut))===0;const i=new bl(ni(n,s),null,(e&ut)===ut?t.readLeftID():null,null,(e&at)===at?t.readRightID():null,r?t.readParentInfo()?t.readString():t.readLeftID():null,r&&(e&ht)===ht?t.readString():null,kl(t,e));yield i;s+=i.length}else{const e=t.readLen();yield new jc(ni(n,s),e);s+=e}}}}class oo{constructor(t,e){this.gen=io(t);this.curr=null;this.done=false;this.filterSkips=e;this.next()}next(){do{this.curr=this.gen.next().value||null}while(this.filterSkips&&this.curr!==null&&this.curr.constructor===El);return this.curr}}const co=t=>lo(t,Cr);const lo=(t,e=Ar)=>{const n=[];const s=new e(wn(t));const r=new oo(s,false);for(let o=r.curr;o!==null;o=r.next()){n.push(o)}Ps("Structs: ",n);const i=br(s);Ps("DeleteSet: ",i)};const ho=t=>ao(t,Cr);const ao=(t,e=Ar)=>{const n=[];const s=new e(wn(t));const r=new oo(s,false);for(let i=r.curr;i!==null;i=r.next()){n.push(i)}return{structs:n,ds:br(s)}};class uo{constructor(t){this.currClient=0;this.startClock=0;this.written=0;this.encoder=t;this.clientStructs=[]}}const fo=t=>bo(t,Cr,Ur);const go=(t,e=xr,n=Ar)=>{const s=new e;const r=new oo(new n(wn(t)),false);let i=r.curr;if(i!==null){let t=0;let e=i.id.client;let n=i.id.clock!==0;let o=n?0:i.id.clock+i.length;for(;i!==null;i=r.next()){if(e!==i.id.client){if(o!==0){t++;Re(s.restEncoder,e);Re(s.restEncoder,o)}e=i.id.client;o=0;n=i.id.clock!==0}if(i.constructor===El){n=true}if(!n){o=i.id.clock+i.length}}if(o!==0){t++;Re(s.restEncoder,e);Re(s.restEncoder,o)}const c=Ee();Re(c,t);Je(c,s.restEncoder);s.restEncoder=c;return s.toUint8Array()}else{Re(s.restEncoder,0);return s.toUint8Array()}};const po=t=>go(t,vr,Cr);const wo=(t,e=Ar)=>{const n=new Map;const s=new Map;const r=new oo(new e(wn(t)),false);let i=r.curr;if(i!==null){let t=i.id.client;let e=i.id.clock;n.set(t,e);for(;i!==null;i=r.next()){if(t!==i.id.client){s.set(t,e);n.set(i.id.client,i.id.clock);t=i.id.client}e=i.id.clock+i.length}s.set(t,e)}return{from:n,to:s}};const mo=t=>wo(t,Cr);const yo=(t,e)=>{if(t.constructor===jc){const{client:n,clock:s}=t.id;return new jc(ni(n,s+e),t.length-e)}else if(t.constructor===El){const{client:n,clock:s}=t.id;return new El(ni(n,s+e),t.length-e)}else{const n=t;const{client:s,clock:r}=n.id;return new bl(ni(s,r+e),null,ni(s,r+e-1),null,n.rightOrigin,n.parent,n.parentSub,n.content.splice(e))}};const bo=(t,e=Ar,n=Tr)=>{if(t.length===1){return t[0]}const s=t.map((t=>new e(wn(t))));let r=s.map((t=>new oo(t,true)));let i=null;const o=new n;const c=new uo(o);while(true){r=r.filter((t=>t.curr!==null));r.sort(((t,e)=>{if(t.curr.id.client===e.curr.id.client){const n=t.curr.id.clock-e.curr.id.clock;if(n===0){return t.curr.constructor===e.curr.constructor?0:t.curr.constructor===El?1:-1}else{return n}}else{return e.curr.id.client-t.curr.id.client}}));if(r.length===0){break}const t=r[0];const e=t.curr.id.client;if(i!==null){let n=t.curr;let s=false;while(n!==null&&n.id.clock+n.length<=i.struct.id.clock+i.struct.length&&n.id.client>=i.struct.id.client){n=t.next();s=true}if(n===null||n.id.client!==e||s&&n.id.clock>i.struct.id.clock+i.struct.length){continue}if(e!==i.struct.id.client){Eo(c,i.struct,i.offset);i={struct:n,offset:0};t.next()}else{if(i.struct.id.clock+i.struct.length<n.id.clock){if(i.struct.constructor===El){i.struct.length=n.id.clock+n.length-i.struct.id.clock}else{Eo(c,i.struct,i.offset);const t=n.id.clock-i.struct.id.clock-i.struct.length;const s=new El(ni(e,i.struct.id.clock+i.struct.length),t);i={struct:s,offset:0}}}else{const e=i.struct.id.clock+i.struct.length-n.id.clock;if(e>0){if(i.struct.constructor===El){i.struct.length-=e}else{n=yo(n,e)}}if(!i.struct.mergeWith(n)){Eo(c,i.struct,i.offset);i={struct:n,offset:0};t.next()}}}}else{i={struct:t.curr,offset:0};t.next()}for(let n=t.curr;n!==null&&n.id.client===e&&n.id.clock===i.struct.id.clock+i.struct.length&&n.constructor!==El;n=t.next()){Eo(c,i.struct,i.offset);i={struct:n,offset:0}}}if(i!==null){Eo(c,i.struct,i.offset);i=null}Co(c);const l=s.map((t=>br(t)));const h=gr(l);yr(o,h);return o.toUint8Array()};const ko=(t,e,n=Ar,s=Tr)=>{const r=Wr(e);const o=new s;const c=new uo(o);const l=new n(wn(t));const h=new oo(l,false);while(h.curr){const t=h.curr;const e=t.id.client;const n=r.get(e)||0;if(h.curr.constructor===El){h.next();continue}if(t.id.clock+t.length>n){Eo(c,t,i.Fp(n-t.id.clock,0));h.next();while(h.curr&&h.curr.id.client===e){Eo(c,h.curr,0);h.next()}}else{while(h.curr&&h.curr.id.client===e&&h.curr.id.clock+h.curr.length<=n){h.next()}}}Co(c);const a=br(l);yr(o,a);return o.toUint8Array()};const _o=(t,e)=>ko(t,e,Cr,Ur);const So=t=>{if(t.written>0){t.clientStructs.push({written:t.written,restEncoder:De(t.encoder.restEncoder)});t.encoder.restEncoder=Ee();t.written=0}};const Eo=(t,e,n)=>{if(t.written>0&&t.currClient!==e.id.client){So(t)}if(t.written===0){t.currClient=e.id.client;t.encoder.writeClient(e.id.client);Re(t.encoder.restEncoder,e.id.clock+n)}e.write(t.encoder,n);t.written++};const Co=t=>{So(t);const e=t.encoder.restEncoder;Re(e,t.clientStructs.length);for(let n=0;n<t.clientStructs.length;n++){const s=t.clientStructs[n];Re(e,s.written);We(e,s.restEncoder)}};const Do=(t,e,n)=>{const s=new e(wn(t));const r=new oo(s,false);const i=new n;const o=new uo(i);for(let l=r.curr;l!==null;l=r.next()){Eo(o,l,0)}Co(o);const c=br(s);yr(i,c);return i.toUint8Array()};const Ao=t=>Do(t,Cr,Tr);const vo=t=>Do(t,Ar,Ur);class Uo{constructor(t,e){this.target=t;this.currentTarget=t;this.transaction=e;this._changes=null;this._keys=null;this._delta=null}get path(){return xo(this.currentTarget,this.target)}deletes(t){return dr(this.transaction.deleteSet,t.id)}get keys(){if(this._keys===null){const t=new Map;const e=this.target;const n=this.transaction.changed.get(e);n.forEach((n=>{if(n!==null){const s=e._map.get(n);let i;let o;if(this.adds(s)){let t=s.left;while(t!==null&&this.adds(t)){t=t.left}if(this.deletes(s)){if(t!==null&&this.deletes(t)){i="delete";o=r.Z$(t.content.getContent())}else{return}}else{if(t!==null&&this.deletes(t)){i="update";o=r.Z$(t.content.getContent())}else{i="add";o=undefined}}}else{if(this.deletes(s)){i="delete";o=r.Z$(s.content.getContent())}else{return}}t.set(n,{action:i,oldValue:o})}}));this._keys=t}return this._keys}get delta(){return this.changes.delta}adds(t){return t.id.clock>=(this.transaction.beforeState.get(t.id.client)||0)}get changes(){let t=this._changes;if(t===null){const e=this.target;const n=ws.Ue();const s=ws.Ue();const r=[];t={added:n,deleted:s,delta:r,keys:this.keys};const i=this.transaction.changed.get(e);if(i.has(null)){let t=null;const i=()=>{if(t){r.push(t)}};for(let r=e._start;r!==null;r=r.right){if(r.deleted){if(this.deletes(r)&&!this.adds(r)){if(t===null||t.delete===undefined){i();t={delete:0}}t.delete+=r.length;s.add(r)}}else{if(this.adds(r)){if(t===null||t.insert===undefined){i();t={insert:[]}}t.insert=t.insert.concat(r.content.getContent());n.add(r)}else{if(t===null||t.retain===undefined){i();t={retain:0}}t.retain+=r.length}}}if(t!==null&&t.retain===undefined){i()}}this._changes=t}return t}}const xo=(t,e)=>{const n=[];while(e._item!==null&&e!==t){if(e._item.parentSub!==null){n.unshift(e._item.parentSub)}else{let t=0;let s=e._item.parent._start;while(s!==e._item&&s!==null){if(!s.deleted){t++}s=s.right}n.unshift(t)}e=e._item.parent}return n};const To=80;let Io=0;class Mo{constructor(t,e){t.marker=true;this.p=t;this.index=e;this.timestamp=Io++}}const Oo=t=>{t.timestamp=Io++};const Lo=(t,e,n)=>{t.p.marker=false;t.p=e;e.marker=true;t.index=n;t.timestamp=Io++};const No=(t,e,n)=>{if(t.length>=To){const s=t.reduce(((t,e)=>t.timestamp<e.timestamp?t:e));Lo(s,e,n);return s}else{const s=new Mo(e,n);t.push(s);return s}};const Ro=(t,e)=>{if(t._start===null||e===0||t._searchMarker===null){return null}const n=t._searchMarker.length===0?null:t._searchMarker.reduce(((t,n)=>i.Wn(e-t.index)<i.Wn(e-n.index)?t:n));let s=t._start;let r=0;if(n!==null){s=n.p;r=n.index;Oo(n)}while(s.right!==null&&r<e){if(!s.deleted&&s.countable){if(e<r+s.length){break}r+=s.length}s=s.right}while(s.left!==null&&r>e){s=s.left;if(!s.deleted&&s.countable){r-=s.length}}while(s.left!==null&&s.left.id.client===s.id.client&&s.left.id.clock+s.left.length===s.id.clock){s=s.left;if(!s.deleted&&s.countable){r-=s.length}}if(n!==null&&i.Wn(n.index-r)<s.parent.length/To){Lo(n,s,r);return n}else{return No(t._searchMarker,s,r)}};const Po=(t,e,n)=>{for(let s=t.length-1;s>=0;s--){const r=t[s];if(n>0){let e=r.p;e.marker=false;while(e&&(e.deleted||!e.countable)){e=e.left;if(e&&!e.deleted&&e.countable){r.index-=e.length}}if(e===null||e.marker===true){t.splice(s,1);continue}r.p=e;e.marker=true}if(e<r.index||n>0&&e===r.index){r.index=i.Fp(e,r.index+n)}}};const Vo=t=>{let e=t._start;const n=[];while(e){n.push(e);e=e.right}return n};const Fo=(t,e,n)=>{const s=t;const r=e.changedParentTypes;while(true){o.Yu(r,t,(()=>[])).push(n);if(t._item===null){break}t=t._item.parent}Qr(s._eH,n,e)};class Bo{constructor(){this._item=null;this._map=new Map;this._start=null;this.doc=null;this._length=0;this._eH=Kr();this._dEH=Kr();this._searchMarker=null}get parent(){return this._item?this._item.parent:null}_integrate(t,e){this.doc=t;this._item=e}_copy(){throw un()}clone(){throw un()}_write(t){}get _first(){let t=this._start;while(t!==null&&t.deleted){t=t.right}return t}_callObserver(t,e){if(!t.local&&this._searchMarker){this._searchMarker.length=0}}observe(t){Zr(this._eH,t)}observeDeep(t){Zr(this._dEH,t)}unobserve(t){Xr(this._eH,t)}unobserveDeep(t){Xr(this._dEH,t)}toJSON(){}}const jo=(t,e,n)=>{if(e<0){e=t._length+e}if(n<0){n=t._length+n}let s=n-e;const r=[];let i=t._start;while(i!==null&&s>0){if(i.countable&&!i.deleted){const t=i.content.getContent();if(t.length<=e){e-=t.length}else{for(let n=e;n<t.length&&s>0;n++){r.push(t[n]);s--}e=0}}i=i.right}return r};const $o=t=>{const e=[];let n=t._start;while(n!==null){if(n.countable&&!n.deleted){const t=n.content.getContent();for(let n=0;n<t.length;n++){e.push(t[n])}}n=n.right}return e};const Jo=(t,e)=>{const n=[];let s=t._start;while(s!==null){if(s.countable&&Ii(s,e)){const t=s.content.getContent();for(let e=0;e<t.length;e++){n.push(t[e])}}s=s.right}return n};const Wo=(t,e)=>{let n=0;let s=t._start;while(s!==null){if(s.countable&&!s.deleted){const r=s.content.getContent();for(let s=0;s<r.length;s++){e(r[s],n++,t)}}s=s.right}};const zo=(t,e)=>{const n=[];Wo(t,((s,r)=>{n.push(e(s,r,t))}));return n};const Go=t=>{let e=t._start;let n=null;let s=0;return{[Symbol.iterator](){return this},next:()=>{if(n===null){while(e!==null&&e.deleted){e=e.right}if(e===null){return{done:true,value:undefined}}n=e.content.getContent();s=0;e=e.right}const t=n[s++];if(n.length<=s){n=null}return{done:false,value:t}}}};const Yo=(t,e)=>{const n=Ro(t,e);let s=t._start;if(n!==null){s=n.p;e-=n.index}for(;s!==null;s=s.right){if(!s.deleted&&s.countable){if(e<s.length){return s.content.getContent()[e]}e-=s.length}}};const Ho=(t,e,n,s)=>{let r=n;const i=t.doc;const o=i.clientID;const c=i.store;const l=n===null?e._start:n.right;let h=[];const a=()=>{if(h.length>0){r=new bl(ni(o,Ri(c,o)),r,r&&r.lastId,l,l&&l.id,e,null,new el(h));r.integrate(t,0);h=[]}};s.forEach((n=>{if(n===null){h.push(n)}else{switch(n.constructor){case Number:case Object:case Boolean:case Array:case String:h.push(n);break;default:a();switch(n.constructor){case Uint8Array:case ArrayBuffer:r=new bl(ni(o,Ri(c,o)),r,r&&r.lastId,l,l&&l.id,e,null,new $c(new Uint8Array(n)));r.integrate(t,0);break;case Sr:r=new bl(ni(o,Ri(c,o)),r,r&&r.lastId,l,l&&l.id,e,null,new Yc(n));r.integrate(t,0);break;default:if(n instanceof Bo){r=new bl(ni(o,Ri(c,o)),r,r&&r.lastId,l,l&&l.id,e,null,new fl(n));r.integrate(t,0)}else{throw new Error("Unexpected content type in insert operation")}}}}}));a()};const qo=an("Length exceeded!");const Ko=(t,e,n,s)=>{if(n>e._length){throw qo}if(n===0){if(e._searchMarker){Po(e._searchMarker,n,s.length)}return Ho(t,e,null,s)}const r=n;const i=Ro(e,n);let o=e._start;if(i!==null){o=i.p;n-=i.index;if(n===0){o=o.prev;n+=o&&o.countable&&!o.deleted?o.length:0}}for(;o!==null;o=o.right){if(!o.deleted&&o.countable){if(n<=o.length){if(n<o.length){$i(t,ni(o.id.client,o.id.clock+n))}break}n-=o.length}}if(e._searchMarker){Po(e._searchMarker,r,s.length)}return Ho(t,e,o,s)};const Zo=(t,e,n)=>{const s=(e._searchMarker||[]).reduce(((t,e)=>e.index>t.index?e:t),{index:0,p:e._start});let r=s.p;if(r){while(r.right){r=r.right}}return Ho(t,e,r,n)};const Xo=(t,e,n,s)=>{if(s===0){return}const r=n;const i=s;const o=Ro(e,n);let c=e._start;if(o!==null){c=o.p;n-=o.index}for(;c!==null&&n>0;c=c.right){if(!c.deleted&&c.countable){if(n<c.length){$i(t,ni(c.id.client,c.id.clock+n))}n-=c.length}}while(s>0&&c!==null){if(!c.deleted){if(s<c.length){$i(t,ni(c.id.client,c.id.clock+s))}c.delete(t);s-=c.length}c=c.right}if(s>0){throw qo}if(e._searchMarker){Po(e._searchMarker,r,-i+s)}};const Qo=(t,e,n)=>{const s=e._map.get(n);if(s!==undefined){s.delete(t)}};const tc=(t,e,n,s)=>{const r=e._map.get(n)||null;const i=t.doc;const o=i.clientID;let c;if(s==null){c=new el([s])}else{switch(s.constructor){case Number:case Object:case Boolean:case Array:case String:c=new el([s]);break;case Uint8Array:c=new $c(s);break;case Sr:c=new Yc(s);break;default:if(s instanceof Bo){c=new fl(s)}else{throw new Error("Unexpected content type")}}}new bl(ni(o,Ri(i.store,o)),r,r&&r.lastId,null,null,e,n,c).integrate(t,0)};const ec=(t,e)=>{const n=t._map.get(e);return n!==undefined&&!n.deleted?n.content.getContent()[n.length-1]:undefined};const nc=t=>{const e={};t._map.forEach(((t,n)=>{if(!t.deleted){e[n]=t.content.getContent()[t.length-1]}}));return e};const sc=(t,e)=>{const n=t._map.get(e);return n!==undefined&&!n.deleted};const rc=(t,e,n)=>{let s=t._map.get(e)||null;while(s!==null&&(!n.sv.has(s.id.client)||s.id.clock>=(n.sv.get(s.id.client)||0))){s=s.left}return s!==null&&Ii(s,n)?s.content.getContent()[s.length-1]:undefined};const ic=t=>rr(t.entries(),(t=>!t[1].deleted));class oc extends Uo{constructor(t,e){super(t,e);this._transaction=e}}class cc extends Bo{constructor(){super();this._prelimContent=[];this._searchMarker=[]}static from(t){const e=new cc;e.push(t);return e}_integrate(t,e){super._integrate(t,e);this.insert(0,this._prelimContent);this._prelimContent=null}_copy(){return new cc}clone(){const t=new cc;t.insert(0,this.toArray().map((t=>t instanceof Bo?t.clone():t)));return t}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}_callObserver(t,e){super._callObserver(t,e);Fo(this,t,new oc(this,t))}insert(t,e){if(this.doc!==null){to(this.doc,(n=>{Ko(n,this,t,e)}))}else{this._prelimContent.splice(t,0,...e)}}push(t){if(this.doc!==null){to(this.doc,(e=>{Zo(e,this,t)}))}else{this._prelimContent.push(...t)}}unshift(t){this.insert(0,t)}delete(t,e=1){if(this.doc!==null){to(this.doc,(n=>{Xo(n,this,t,e)}))}else{this._prelimContent.splice(t,e)}}get(t){return Yo(this,t)}toArray(){return $o(this)}slice(t=0,e=this.length){return jo(this,t,e)}toJSON(){return this.map((t=>t instanceof Bo?t.toJSON():t))}map(t){return zo(this,t)}forEach(t){Wo(this,t)}[Symbol.iterator](){return Go(this)}_write(t){t.writeTypeRef(ol)}}const lc=t=>new cc;class hc extends Uo{constructor(t,e,n){super(t,e);this.keysChanged=n}}class ac extends Bo{constructor(t){super();this._prelimContent=null;if(t===undefined){this._prelimContent=new Map}else{this._prelimContent=new Map(t)}}_integrate(t,e){super._integrate(t,e);this._prelimContent.forEach(((t,e)=>{this.set(e,t)}));this._prelimContent=null}_copy(){return new ac}clone(){const t=new ac;this.forEach(((e,n)=>{t.set(n,e instanceof Bo?e.clone():e)}));return t}_callObserver(t,e){Fo(this,t,new hc(this,t,e))}toJSON(){const t={};this._map.forEach(((e,n)=>{if(!e.deleted){const s=e.content.getContent()[e.length-1];t[n]=s instanceof Bo?s.toJSON():s}}));return t}get size(){return[...ic(this._map)].length}keys(){return ir(ic(this._map),(t=>t[0]))}values(){return ir(ic(this._map),(t=>t[1].content.getContent()[t[1].length-1]))}entries(){return ir(ic(this._map),(t=>[t[0],t[1].content.getContent()[t[1].length-1]]))}forEach(t){this._map.forEach(((e,n)=>{if(!e.deleted){t(e.content.getContent()[e.length-1],n,this)}}))}[Symbol.iterator](){return this.entries()}delete(t){if(this.doc!==null){to(this.doc,(e=>{Qo(e,this,t)}))}else{this._prelimContent.delete(t)}}set(t,e){if(this.doc!==null){to(this.doc,(n=>{tc(n,this,t,e)}))}else{this._prelimContent.set(t,e)}return e}get(t){return ec(this,t)}has(t){return sc(this,t)}clear(){if(this.doc!==null){to(this.doc,(t=>{this.forEach((function(e,n,s){Qo(t,s,n)}))}))}else{this._prelimContent.clear()}}_write(t){t.writeTypeRef(cl)}}const uc=t=>new ac;const dc=(t,e)=>t===e||typeof t==="object"&&typeof e==="object"&&t&&e&&or.$m(t,e);class fc{constructor(t,e,n,s){this.left=t;this.right=e;this.index=n;this.currentAttributes=s}forward(){if(this.right===null){dn()}switch(this.right.content.constructor){case Zc:if(!this.right.deleted){mc(this.currentAttributes,this.right.content)}break;default:if(!this.right.deleted){this.index+=this.right.length}break}this.left=this.right;this.right=this.right.right}}const gc=(t,e,n)=>{while(e.right!==null&&n>0){switch(e.right.content.constructor){case Zc:if(!e.right.deleted){mc(e.currentAttributes,e.right.content)}break;default:if(!e.right.deleted){if(n<e.right.length){$i(t,ni(e.right.id.client,e.right.id.clock+n))}e.index+=e.right.length;n-=e.right.length}break}e.left=e.right;e.right=e.right.right}return e};const pc=(t,e,n)=>{const s=new Map;const r=Ro(e,n);if(r){const e=new fc(r.p.left,r.p,r.index,s);return gc(t,e,n-r.index)}else{const r=new fc(null,e._start,0,s);return gc(t,r,n)}};const wc=(t,e,n,s)=>{while(n.right!==null&&(n.right.deleted===true||n.right.content.constructor===Zc&&dc(s.get(n.right.content.key),n.right.content.value))){if(!n.right.deleted){s.delete(n.right.content.key)}n.forward()}const r=t.doc;const i=r.clientID;s.forEach(((s,o)=>{const c=n.left;const l=n.right;const h=new bl(ni(i,Ri(r.store,i)),c,c&&c.lastId,l,l&&l.id,e,null,new Zc(o,s));h.integrate(t,0);n.right=h;n.forward()}))};const mc=(t,e)=>{const{key:n,value:s}=e;if(s===null){t.delete(n)}else{t.set(n,s)}};const yc=(t,e)=>{while(true){if(t.right===null){break}else if(t.right.deleted||t.right.content.constructor===Zc&&dc(e[t.right.content.key]||null,t.right.content.value));else{break}t.forward()}};const bc=(t,e,n,s)=>{const r=t.doc;const i=r.clientID;const o=new Map;for(const c in s){const l=s[c];const h=n.currentAttributes.get(c)||null;if(!dc(h,l)){o.set(c,h);const{left:s,right:a}=n;n.right=new bl(ni(i,Ri(r.store,i)),s,s&&s.lastId,a,a&&a.id,e,null,new Zc(c,l));n.right.integrate(t,0);n.forward()}}return o};const kc=(t,e,n,s,r)=>{n.currentAttributes.forEach(((t,e)=>{if(r[e]===undefined){r[e]=null}}));const i=t.doc;const o=i.clientID;yc(n,r);const c=bc(t,e,n,r);const l=s.constructor===String?new sl(s):s instanceof Bo?new fl(s):new qc(s);let{left:h,right:a,index:u}=n;if(e._searchMarker){Po(e._searchMarker,n.index,l.getLength())}a=new bl(ni(o,Ri(i.store,o)),h,h&&h.lastId,a,a&&a.id,e,null,l);a.integrate(t,0);n.right=a;n.index=u;n.forward();wc(t,e,n,c)};const _c=(t,e,n,s,r)=>{const i=t.doc;const o=i.clientID;yc(n,r);const c=bc(t,e,n,r);t:while(n.right!==null&&(s>0||c.size>0&&(n.right.deleted||n.right.content.constructor===Zc))){if(!n.right.deleted){switch(n.right.content.constructor){case Zc:{const{key:e,value:i}=n.right.content;const o=r[e];if(o!==undefined){if(dc(o,i)){c.delete(e)}else{if(s===0){break t}c.set(e,i)}n.right.delete(t)}else{n.currentAttributes.set(e,i)}break}default:if(s<n.right.length){$i(t,ni(n.right.id.client,n.right.id.clock+s))}s-=n.right.length;break}}n.forward()}if(s>0){let r="";for(;s>0;s--){r+="\n"}n.right=new bl(ni(o,Ri(i.store,o)),n.left,n.left&&n.left.lastId,n.right,n.right&&n.right.id,e,null,new sl(r));n.right.integrate(t,0);n.forward()}wc(t,e,n,c)};const Sc=(t,e,n,s,r)=>{let i=n;const c=o.JG(r);while(i&&(!i.countable||i.deleted)){if(!i.deleted&&i.content.constructor===Zc){mc(c,i.content)}i=i.right}let l=0;let h=false;while(e!==i){if(n===e){h=true}if(!e.deleted){const n=e.content;switch(n.constructor){case Zc:{const{key:i,value:o}=n;if((c.get(i)||null)!==o||(s.get(i)||null)===o){e.delete(t);l++;if(!h&&(r.get(i)||null)===o&&(s.get(i)||null)!==o){r.delete(i)}}break}}}e=e.right}return l};const Ec=(t,e)=>{while(e&&e.right&&(e.right.deleted||!e.right.countable)){e=e.right}const n=new Set;while(e&&(e.deleted||!e.countable)){if(!e.deleted&&e.content.constructor===Zc){const s=e.content.key;if(n.has(s)){e.delete(t)}else{n.add(s)}}e=e.left}};const Cc=t=>{let e=0;to(t.doc,(n=>{let s=t._start;let r=t._start;let i=o.Ue();const c=o.JG(i);while(r){if(r.deleted===false){switch(r.content.constructor){case Zc:mc(c,r.content);break;default:e+=Sc(n,s,r,i,c);i=o.JG(c);s=r;break}}r=r.right}}));return e};const Dc=(t,e,n)=>{const s=n;const r=o.JG(e.currentAttributes);const i=e.right;while(n>0&&e.right!==null){if(e.right.deleted===false){switch(e.right.content.constructor){case fl:case qc:case sl:if(n<e.right.length){$i(t,ni(e.right.id.client,e.right.id.clock+n))}n-=e.right.length;e.right.delete(t);break}}e.forward()}if(i){Sc(t,i,e.right,r,e.currentAttributes)}const c=(e.left||e.right).parent;if(c._searchMarker){Po(c._searchMarker,e.index,-s+n)}return e};class Ac extends Uo{constructor(t,e,n){super(t,e);this.childListChanged=false;this.keysChanged=new Set;n.forEach((t=>{if(t===null){this.childListChanged=true}else{this.keysChanged.add(t)}}))}get changes(){if(this._changes===null){const t={keys:this.keys,delta:this.delta,added:new Set,deleted:new Set};this._changes=t}return this._changes}get delta(){if(this._delta===null){const t=this.target.doc;const e=[];to(t,(t=>{const n=new Map;const s=new Map;let r=this.target._start;let i=null;const o={};let c="";let l=0;let h=0;const a=()=>{if(i!==null){let t;switch(i){case"delete":t={delete:h};h=0;break;case"insert":t={insert:c};if(n.size>0){t.attributes={};n.forEach(((e,n)=>{if(e!==null){t.attributes[n]=e}}))}c="";break;case"retain":t={retain:l};if(Object.keys(o).length>0){t.attributes={};for(const e in o){t.attributes[e]=o[e]}}l=0;break}e.push(t);i=null}};while(r!==null){switch(r.content.constructor){case fl:case qc:if(this.adds(r)){if(!this.deletes(r)){a();i="insert";c=r.content.getContent()[0];a()}}else if(this.deletes(r)){if(i!=="delete"){a();i="delete"}h+=1}else if(!r.deleted){if(i!=="retain"){a();i="retain"}l+=1}break;case sl:if(this.adds(r)){if(!this.deletes(r)){if(i!=="insert"){a();i="insert"}c+=r.content.str}}else if(this.deletes(r)){if(i!=="delete"){a();i="delete"}h+=r.length}else if(!r.deleted){if(i!=="retain"){a();i="retain"}l+=r.length}break;case Zc:{const{key:e,value:c}=r.content;if(this.adds(r)){if(!this.deletes(r)){const l=n.get(e)||null;if(!dc(l,c)){if(i==="retain"){a()}if(dc(c,s.get(e)||null)){delete o[e]}else{o[e]=c}}else if(c!==null){r.delete(t)}}}else if(this.deletes(r)){s.set(e,c);const t=n.get(e)||null;if(!dc(t,c)){if(i==="retain"){a()}o[e]=t}}else if(!r.deleted){s.set(e,c);const n=o[e];if(n!==undefined){if(!dc(n,c)){if(i==="retain"){a()}if(c===null){delete o[e]}else{o[e]=c}}else if(n!==null){r.delete(t)}}}if(!r.deleted){if(i==="insert"){a()}mc(n,r.content)}break}}r=r.right}a();while(e.length>0){const t=e[e.length-1];if(t.retain!==undefined&&t.attributes===undefined){e.pop()}else{break}}}));this._delta=e}return this._delta}}class vc extends Bo{constructor(t){super();this._pending=t!==undefined?[()=>this.insert(0,t)]:[];this._searchMarker=[]}get length(){return this._length}_integrate(t,e){super._integrate(t,e);try{this._pending.forEach((t=>t()))}catch(Al){console.error(Al)}this._pending=null}_copy(){return new vc}clone(){const t=new vc;t.applyDelta(this.toDelta());return t}_callObserver(t,e){super._callObserver(t,e);const n=new Ac(this,t,e);const s=t.doc;Fo(this,t,n);if(!t.local){let e=false;for(const[n,r]of t.afterState.entries()){const i=t.beforeState.get(n)||0;if(r===i){continue}zi(t,s.store.clients.get(n),i,r,(t=>{if(!t.deleted&&t.content.constructor===Zc){e=true}}));if(e){break}}if(!e){ar(t,t.deleteSet,(t=>{if(t instanceof jc||e){return}if(t.parent===this&&t.content.constructor===Zc){e=true}}))}to(s,(t=>{if(e){Cc(this)}else{ar(t,t.deleteSet,(e=>{if(e instanceof jc){return}if(e.parent===this){Ec(t,e)}}))}}))}}toString(){let t="";let e=this._start;while(e!==null){if(!e.deleted&&e.countable&&e.content.constructor===sl){t+=e.content.str}e=e.right}return t}toJSON(){return this.toString()}applyDelta(t,{sanitize:e=true}={}){if(this.doc!==null){to(this.doc,(n=>{const s=new fc(null,this._start,0,new Map);for(let r=0;r<t.length;r++){const i=t[r];if(i.insert!==undefined){const o=!e&&typeof i.insert==="string"&&r===t.length-1&&s.right===null&&i.insert.slice(-1)==="\n"?i.insert.slice(0,-1):i.insert;if(typeof o!=="string"||o.length>0){kc(n,this,s,o,i.attributes||{})}}else if(i.retain!==undefined){_c(n,this,s,i.retain,i.attributes||{})}else if(i.delete!==undefined){Dc(n,s,i.delete)}}}))}else{this._pending.push((()=>this.applyDelta(t)))}}toDelta(t,e,n){const s=[];const r=new Map;const i=this.doc;let o="";let c=this._start;function l(){if(o.length>0){const t={};let e=false;r.forEach(((n,s)=>{e=true;t[s]=n}));const n={insert:o};if(e){n.attributes=t}s.push(n);o=""}}to(i,(i=>{if(t){Mi(i,t)}if(e){Mi(i,e)}while(c!==null){if(Ii(c,t)||e!==undefined&&Ii(c,e)){switch(c.content.constructor){case sl:{const s=r.get("ychange");if(t!==undefined&&!Ii(c,t)){if(s===undefined||s.user!==c.id.client||s.type!=="removed"){l();r.set("ychange",n?n("removed",c.id):{type:"removed"})}}else if(e!==undefined&&!Ii(c,e)){if(s===undefined||s.user!==c.id.client||s.type!=="added"){l();r.set("ychange",n?n("added",c.id):{type:"added"})}}else if(s!==undefined){l();r.delete("ychange")}o+=c.content.str;break}case fl:case qc:{l();const t={insert:c.content.getContent()[0]};if(r.size>0){const e={};t.attributes=e;r.forEach(((t,n)=>{e[n]=t}))}s.push(t);break}case Zc:if(Ii(c,t)){l();mc(r,c.content)}break}}c=c.right}l()}),"cleanup");return s}insert(t,e,n){if(e.length<=0){return}const s=this.doc;if(s!==null){to(s,(s=>{const r=pc(s,this,t);if(!n){n={};r.currentAttributes.forEach(((t,e)=>{n[e]=t}))}kc(s,this,r,e,n)}))}else{this._pending.push((()=>this.insert(t,e,n)))}}insertEmbed(t,e,n={}){const s=this.doc;if(s!==null){to(s,(s=>{const r=pc(s,this,t);kc(s,this,r,e,n)}))}else{this._pending.push((()=>this.insertEmbed(t,e,n)))}}delete(t,e){if(e===0){return}const n=this.doc;if(n!==null){to(n,(n=>{Dc(n,pc(n,this,t),e)}))}else{this._pending.push((()=>this.delete(t,e)))}}format(t,e,n){if(e===0){return}const s=this.doc;if(s!==null){to(s,(s=>{const r=pc(s,this,t);if(r.right===null){return}_c(s,this,r,e,n)}))}else{this._pending.push((()=>this.format(t,e,n)))}}removeAttribute(t){if(this.doc!==null){to(this.doc,(e=>{Qo(e,this,t)}))}else{this._pending.push((()=>this.removeAttribute(t)))}}setAttribute(t,e){if(this.doc!==null){to(this.doc,(n=>{tc(n,this,t,e)}))}else{this._pending.push((()=>this.setAttribute(t,e)))}}getAttribute(t){return ec(this,t)}getAttributes(t){return nc(this)}_write(t){t.writeTypeRef(ll)}}const Uc=t=>new vc;class xc{constructor(t,e=(()=>true)){this._filter=e;this._root=t;this._currentNode=t._start;this._firstCall=true}[Symbol.iterator](){return this}next(){let t=this._currentNode;let e=t&&t.content&&t.content.type;if(t!==null&&(!this._firstCall||t.deleted||!this._filter(e))){do{e=t.content.type;if(!t.deleted&&(e.constructor===Mc||e.constructor===Tc)&&e._start!==null){t=e._start}else{while(t!==null){if(t.right!==null){t=t.right;break}else if(t.parent===this._root){t=null}else{t=t.parent._item}}}}while(t!==null&&(t.deleted||!this._filter(t.content.type)))}this._firstCall=false;if(t===null){return{value:undefined,done:true}}this._currentNode=t;return{value:t.content.type,done:false}}}class Tc extends Bo{constructor(){super();this._prelimContent=[]}get firstChild(){const t=this._first;return t?t.content.getContent()[0]:null}_integrate(t,e){super._integrate(t,e);this.insert(0,this._prelimContent);this._prelimContent=null}_copy(){return new Tc}clone(){const t=new Tc;t.insert(0,this.toArray().map((t=>t instanceof Bo?t.clone():t)));return t}get length(){return this._prelimContent===null?this._length:this._prelimContent.length}createTreeWalker(t){return new xc(this,t)}querySelector(t){t=t.toUpperCase();const e=new xc(this,(e=>e.nodeName&&e.nodeName.toUpperCase()===t));const n=e.next();if(n.done){return null}else{return n.value}}querySelectorAll(t){t=t.toUpperCase();return Array.from(new xc(this,(e=>e.nodeName&&e.nodeName.toUpperCase()===t)))}_callObserver(t,e){Fo(this,t,new Lc(this,e,t))}toString(){return zo(this,(t=>t.toString())).join("")}toJSON(){return this.toString()}toDOM(t=document,e={},n){const s=t.createDocumentFragment();if(n!==undefined){n._createAssociation(s,this)}Wo(this,(r=>{s.insertBefore(r.toDOM(t,e,n),null)}));return s}insert(t,e){if(this.doc!==null){to(this.doc,(n=>{Ko(n,this,t,e)}))}else{this._prelimContent.splice(t,0,...e)}}insertAfter(t,e){if(this.doc!==null){to(this.doc,(n=>{const s=t&&t instanceof Bo?t._item:t;Ho(n,this,s,e)}))}else{const n=this._prelimContent;const s=t===null?0:n.findIndex((e=>e===t))+1;if(s===0&&t!==null){throw an("Reference item not found")}n.splice(s,0,...e)}}delete(t,e=1){if(this.doc!==null){to(this.doc,(n=>{Xo(n,this,t,e)}))}else{this._prelimContent.splice(t,e)}}toArray(){return $o(this)}push(t){this.insert(this.length,t)}unshift(t){this.insert(0,t)}get(t){return Yo(this,t)}slice(t=0,e=this.length){return jo(this,t,e)}forEach(t){Wo(this,t)}_write(t){t.writeTypeRef(al)}}const Ic=t=>new Tc;class Mc extends Tc{constructor(t="UNDEFINED"){super();this.nodeName=t;this._prelimAttrs=new Map}get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_integrate(t,e){super._integrate(t,e);this._prelimAttrs.forEach(((t,e)=>{this.setAttribute(e,t)}));this._prelimAttrs=null}_copy(){return new Mc(this.nodeName)}clone(){const t=new Mc(this.nodeName);const e=this.getAttributes();for(const n in e){t.setAttribute(n,e[n])}t.insert(0,this.toArray().map((t=>t instanceof Bo?t.clone():t)));return t}toString(){const t=this.getAttributes();const e=[];const n=[];for(const o in t){n.push(o)}n.sort();const s=n.length;for(let o=0;o<s;o++){const s=n[o];e.push(s+'="'+t[s]+'"')}const r=this.nodeName.toLocaleLowerCase();const i=e.length>0?" "+e.join(" "):"";return`<${r}${i}>${super.toString()}</${r}>`}removeAttribute(t){if(this.doc!==null){to(this.doc,(e=>{Qo(e,this,t)}))}else{this._prelimAttrs.delete(t)}}setAttribute(t,e){if(this.doc!==null){to(this.doc,(n=>{tc(n,this,t,e)}))}else{this._prelimAttrs.set(t,e)}}getAttribute(t){return ec(this,t)}hasAttribute(t){return sc(this,t)}getAttributes(){return nc(this)}toDOM(t=document,e={},n){const s=t.createElement(this.nodeName);const r=this.getAttributes();for(const i in r){s.setAttribute(i,r[i])}Wo(this,(r=>{s.appendChild(r.toDOM(t,e,n))}));if(n!==undefined){n._createAssociation(s,this)}return s}_write(t){t.writeTypeRef(hl);t.writeKey(this.nodeName)}}const Oc=t=>new Mc(t.readKey());class Lc extends Uo{constructor(t,e,n){super(t,n);this.childListChanged=false;this.attributesChanged=new Set;e.forEach((t=>{if(t===null){this.childListChanged=true}else{this.attributesChanged.add(t)}}))}}class Nc extends ac{constructor(t){super();this.hookName=t}_copy(){return new Nc(this.hookName)}clone(){const t=new Nc(this.hookName);this.forEach(((e,n)=>{t.set(n,e)}));return t}toDOM(t=document,e={},n){const s=e[this.hookName];let r;if(s!==undefined){r=s.createDom(this)}else{r=document.createElement(this.hookName)}r.setAttribute("data-yjs-hook",this.hookName);if(n!==undefined){n._createAssociation(r,this)}return r}_write(t){t.writeTypeRef(ul);t.writeKey(this.hookName)}}const Rc=t=>new Nc(t.readKey());class Pc extends vc{get nextSibling(){const t=this._item?this._item.next:null;return t?t.content.type:null}get prevSibling(){const t=this._item?this._item.prev:null;return t?t.content.type:null}_copy(){return new Pc}clone(){const t=new Pc;t.applyDelta(this.toDelta());return t}toDOM(t=document,e,n){const s=t.createTextNode(this.toString());if(n!==undefined){n._createAssociation(s,this)}return s}toString(){return this.toDelta().map((t=>{const e=[];for(const s in t.attributes){const n=[];for(const e in t.attributes[s]){n.push({key:e,value:t.attributes[s][e]})}n.sort(((t,e)=>t.key<e.key?-1:1));e.push({nodeName:s,attrs:n})}e.sort(((t,e)=>t.nodeName<e.nodeName?-1:1));let n="";for(let s=0;s<e.length;s++){const t=e[s];n+=`<${t.nodeName}`;for(let e=0;e<t.attrs.length;e++){const s=t.attrs[e];n+=` ${s.key}="${s.value}"`}n+=">"}n+=t.insert;for(let s=e.length-1;s>=0;s--){n+=`</${e[s].nodeName}>`}return n})).join("")}toJSON(){return this.toString()}_write(t){t.writeTypeRef(dl)}}const Vc=t=>new Pc;class Fc{constructor(t,e){this.id=t;this.length=e}get deleted(){throw un()}mergeWith(t){return false}write(t,e,n){throw un()}integrate(t,e){throw un()}}const Bc=0;class jc extends Fc{get deleted(){return true}delete(){}mergeWith(t){if(this.constructor!==t.constructor){return false}this.length+=t.length;return true}integrate(t,e){if(e>0){this.id.clock+=e;this.length-=e}Pi(t.doc.store,this)}write(t,e){t.writeInfo(Bc);t.writeLen(this.length-e)}getMissing(t,e){return null}}class $c{constructor(t){this.content=t}getLength(){return 1}getContent(){return[this.content]}isCountable(){return true}copy(){return new $c(this.content)}splice(t){throw un()}mergeWith(t){return false}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeBuf(this.content)}getRef(){return 3}}const Jc=t=>new $c(t.readBuf());class Wc{constructor(t){this.len=t}getLength(){return this.len}getContent(){return[]}isCountable(){return false}copy(){return new Wc(this.len)}splice(t){const e=new Wc(this.len-t);this.len=t;return e}mergeWith(t){this.len+=t.len;return true}integrate(t,e){pr(t.deleteSet,e.id.client,e.id.clock,this.len);e.markDeleted()}delete(t){}gc(t){}write(t,e){t.writeLen(this.len-e)}getRef(){return 1}}const zc=t=>new Wc(t.readLen());const Gc=(t,e)=>new Sr({guid:t,...e,shouldLoad:e.shouldLoad||e.autoLoad||false});class Yc{constructor(t){if(t._item){console.error("This document was already integrated as a sub-document. You should create a second instance instead with the same guid.")}this.doc=t;const e={};this.opts=e;if(!t.gc){e.gc=false}if(t.autoLoad){e.autoLoad=true}if(t.meta!==null){e.meta=t.meta}}getLength(){return 1}getContent(){return[this.doc]}isCountable(){return true}copy(){return new Yc(Gc(this.doc.guid,this.opts))}splice(t){throw un()}mergeWith(t){return false}integrate(t,e){this.doc._item=e;t.subdocsAdded.add(this.doc);if(this.doc.shouldLoad){t.subdocsLoaded.add(this.doc)}}delete(t){if(t.subdocsAdded.has(this.doc)){t.subdocsAdded.delete(this.doc)}else{t.subdocsRemoved.add(this.doc)}}gc(t){}write(t,e){t.writeString(this.doc.guid);t.writeAny(this.opts)}getRef(){return 9}}const Hc=t=>new Yc(Gc(t.readString(),t.readAny()));class qc{constructor(t){this.embed=t}getLength(){return 1}getContent(){return[this.embed]}isCountable(){return true}copy(){return new qc(this.embed)}splice(t){throw un()}mergeWith(t){return false}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeJSON(this.embed)}getRef(){return 5}}const Kc=t=>new qc(t.readJSON());class Zc{constructor(t,e){this.key=t;this.value=e}getLength(){return 1}getContent(){return[]}isCountable(){return false}copy(){return new Zc(this.key,this.value)}splice(t){throw un()}mergeWith(t){return false}integrate(t,e){e.parent._searchMarker=null}delete(t){}gc(t){}write(t,e){t.writeKey(this.key);t.writeJSON(this.value)}getRef(){return 6}}const Xc=t=>new Zc(t.readKey(),t.readJSON());class Qc{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return true}copy(){return new Qc(this.arr)}splice(t){const e=new Qc(this.arr.slice(t));this.arr=this.arr.slice(0,t);return e}mergeWith(t){this.arr=this.arr.concat(t.arr);return true}integrate(t,e){}delete(t){}gc(t){}write(t,e){const n=this.arr.length;t.writeLen(n-e);for(let s=e;s<n;s++){const e=this.arr[s];t.writeString(e===undefined?"undefined":JSON.stringify(e))}}getRef(){return 2}}const tl=t=>{const e=t.readLen();const n=[];for(let s=0;s<e;s++){const e=t.readString();if(e==="undefined"){n.push(undefined)}else{n.push(JSON.parse(e))}}return new Qc(n)};class el{constructor(t){this.arr=t}getLength(){return this.arr.length}getContent(){return this.arr}isCountable(){return true}copy(){return new el(this.arr)}splice(t){const e=new el(this.arr.slice(t));this.arr=this.arr.slice(0,t);return e}mergeWith(t){this.arr=this.arr.concat(t.arr);return true}integrate(t,e){}delete(t){}gc(t){}write(t,e){const n=this.arr.length;t.writeLen(n-e);for(let s=e;s<n;s++){const e=this.arr[s];t.writeAny(e)}}getRef(){return 8}}const nl=t=>{const e=t.readLen();const n=[];for(let s=0;s<e;s++){n.push(t.readAny())}return new el(n)};class sl{constructor(t){this.str=t}getLength(){return this.str.length}getContent(){return this.str.split("")}isCountable(){return true}copy(){return new sl(this.str)}splice(t){const e=new sl(this.str.slice(t));this.str=this.str.slice(0,t);const n=this.str.charCodeAt(t-1);if(n>=55296&&n<=56319){this.str=this.str.slice(0,t-1)+"�";e.str="�"+e.str.slice(1)}return e}mergeWith(t){this.str+=t.str;return true}integrate(t,e){}delete(t){}gc(t){}write(t,e){t.writeString(e===0?this.str:this.str.slice(e))}getRef(){return 4}}const rl=t=>new sl(t.readString());const il=[lc,uc,Uc,Oc,Ic,Rc,Vc];const ol=0;const cl=1;const ll=2;const hl=3;const al=4;const ul=5;const dl=6;class fl{constructor(t){this.type=t}getLength(){return 1}getContent(){return[this.type]}isCountable(){return true}copy(){return new fl(this.type._copy())}splice(t){throw un()}mergeWith(t){return false}integrate(t,e){this.type._integrate(t.doc,e)}delete(t){let e=this.type._start;while(e!==null){if(!e.deleted){e.delete(t)}else{t._mergeStructs.push(e)}e=e.right}this.type._map.forEach((e=>{if(!e.deleted){e.delete(t)}else{t._mergeStructs.push(e)}}));t.changed.delete(this.type)}gc(t){let e=this.type._start;while(e!==null){e.gc(t,true);e=e.right}this.type._start=null;this.type._map.forEach((e=>{while(e!==null){e.gc(t,true);e=e.left}}));this.type._map=new Map}write(t,e){this.type._write(t)}getRef(){return 7}}const gl=t=>new fl(il[t.readTypeRef()](t));const pl=(t,e)=>{let n=e;let s=0;let r;do{if(s>0){n=ni(n.client,n.clock+s)}r=Bi(t,n);s=n.clock-r.id.clock;n=r.redone}while(n!==null&&r instanceof bl);return{item:r,diff:s}};const wl=(t,e)=>{while(t!==null&&t.keep!==e){t.keep=e;t=t.parent._item}};const ml=(t,e,n)=>{const{client:s,clock:r}=e.id;const i=new bl(ni(s,r+n),e,ni(s,r+n-1),e.right,e.rightOrigin,e.parent,e.parentSub,e.content.splice(n));if(e.deleted){i.markDeleted()}if(e.keep){i.keep=true}if(e.redone!==null){i.redone=ni(e.redone.client,e.redone.clock+n)}e.right=i;if(i.right!==null){i.right.left=i}t._mergeStructs.push(i);if(i.parentSub!==null&&i.right===null){i.parent._map.set(i.parentSub,i)}e.length=n;return i};const yl=(t,e,n,s,r)=>{const i=t.doc;const o=i.store;const c=i.clientID;const l=e.redone;if(l!==null){return $i(t,l)}let h=e.parent._item;let a=null;let u;if(h!==null&&h.deleted===true){if(h.redone===null&&(!n.has(h)||yl(t,h,n,s,r)===null)){return null}while(h.redone!==null){h=$i(t,h.redone)}}const d=h===null?e.parent:h.content.type;if(e.parentSub===null){a=e.left;u=e;while(a!==null){let e=a;while(e!==null&&e.parent._item!==h){e=e.redone===null?null:$i(t,e.redone)}if(e!==null&&e.parent._item===h){a=e;break}a=a.left}while(u!==null){let e=u;while(e!==null&&e.parent._item!==h){e=e.redone===null?null:$i(t,e.redone)}if(e!==null&&e.parent._item===h){u=e;break}u=u.right}}else{u=null;if(e.right&&!r){a=e;while(a!==null&&a.right!==null&&dr(s,a.right.id)){a=a.right}while(a!==null&&a.redone!==null){a=$i(t,a.redone)}if(a&&a.right!==null){return null}}else{a=d._map.get(e.parentSub)||null}}const f=Ri(o,c);const g=ni(c,f);const p=new bl(g,a,a&&a.lastId,u,u&&u.id,d,e.parentSub,e.content.copy());e.redone=g;wl(p,true);p.integrate(t,0);return p};class bl extends Fc{constructor(t,e,n,s,r,i,o,c){super(t,c.getLength());this.origin=n;this.left=e;this.right=s;this.rightOrigin=r;this.parent=i;this.parentSub=o;this.redone=null;this.content=c;this.info=this.content.isCountable()?it:0}set marker(t){if((this.info&ct)>0!==t){this.info^=ct}}get marker(){return(this.info&ct)>0}get keep(){return(this.info&rt)>0}set keep(t){if(this.keep!==t){this.info^=rt}}get countable(){return(this.info&it)>0}get deleted(){return(this.info&ot)>0}set deleted(t){if(this.deleted!==t){this.info^=ot}}markDeleted(){this.info|=ot}getMissing(t,e){if(this.origin&&this.origin.client!==this.id.client&&this.origin.clock>=Ri(e,this.origin.client)){return this.origin.client}if(this.rightOrigin&&this.rightOrigin.client!==this.id.client&&this.rightOrigin.clock>=Ri(e,this.rightOrigin.client)){return this.rightOrigin.client}if(this.parent&&this.parent.constructor===ti&&this.id.client!==this.parent.client&&this.parent.clock>=Ri(e,this.parent.client)){return this.parent.client}if(this.origin){this.left=Ji(t,e,this.origin);this.origin=this.left.lastId}if(this.rightOrigin){this.right=$i(t,this.rightOrigin);this.rightOrigin=this.right.id}if(this.left&&this.left.constructor===jc||this.right&&this.right.constructor===jc){this.parent=null}if(!this.parent){if(this.left&&this.left.constructor===bl){this.parent=this.left.parent;this.parentSub=this.left.parentSub}if(this.right&&this.right.constructor===bl){this.parent=this.right.parent;this.parentSub=this.right.parentSub}}else if(this.parent.constructor===ti){const t=Bi(e,this.parent);if(t.constructor===jc){this.parent=null}else{this.parent=t.content.type}}return null}integrate(t,e){if(e>0){this.id.clock+=e;this.left=Ji(t,t.doc.store,ni(this.id.client,this.id.clock-1));this.origin=this.left.lastId;this.content=this.content.splice(e);this.length-=e}if(this.parent){if(!this.left&&(!this.right||this.right.left!==null)||this.left&&this.left.right!==this.right){let e=this.left;let n;if(e!==null){n=e.right}else if(this.parentSub!==null){n=this.parent._map.get(this.parentSub)||null;while(n!==null&&n.left!==null){n=n.left}}else{n=this.parent._start}const s=new Set;const r=new Set;while(n!==null&&n!==this.right){r.add(n);s.add(n);if(ei(this.origin,n.origin)){if(n.id.client<this.id.client){e=n;s.clear()}else if(ei(this.rightOrigin,n.rightOrigin)){break}}else if(n.origin!==null&&r.has(Bi(t.doc.store,n.origin))){if(!s.has(Bi(t.doc.store,n.origin))){e=n;s.clear()}}else{break}n=n.right}this.left=e}if(this.left!==null){const t=this.left.right;this.right=t;this.left.right=this}else{let t;if(this.parentSub!==null){t=this.parent._map.get(this.parentSub)||null;while(t!==null&&t.left!==null){t=t.left}}else{t=this.parent._start;this.parent._start=this}this.right=t}if(this.right!==null){this.right.left=this}else if(this.parentSub!==null){this.parent._map.set(this.parentSub,this);if(this.left!==null){this.left.delete(t)}}if(this.parentSub===null&&this.countable&&!this.deleted){this.parent._length+=this.length}Pi(t.doc.store,this);this.content.integrate(t,this);Hi(t,this.parent,this.parentSub);if(this.parent._item!==null&&this.parent._item.deleted||this.parentSub!==null&&this.right!==null){this.delete(t)}}else{new jc(this.id,this.length).integrate(t,0)}}get next(){let t=this.right;while(t!==null&&t.deleted){t=t.right}return t}get prev(){let t=this.left;while(t!==null&&t.deleted){t=t.left}return t}get lastId(){return this.length===1?this.id:ni(this.id.client,this.id.clock+this.length-1)}mergeWith(t){if(this.constructor===t.constructor&&ei(t.origin,this.lastId)&&this.right===t&&ei(this.rightOrigin,t.rightOrigin)&&this.id.client===t.id.client&&this.id.clock+this.length===t.id.clock&&this.deleted===t.deleted&&this.redone===null&&t.redone===null&&this.content.constructor===t.content.constructor&&this.content.mergeWith(t.content)){const e=this.parent._searchMarker;if(e){e.forEach((e=>{if(e.p===t){e.p=this;if(!this.deleted&&this.countable){e.index-=this.length}}}))}if(t.keep){this.keep=true}this.right=t.right;if(this.right!==null){this.right.left=this}this.length+=t.length;return true}return false}delete(t){if(!this.deleted){const e=this.parent;if(this.countable&&this.parentSub===null){e._length-=this.length}this.markDeleted();pr(t.deleteSet,this.id.client,this.id.clock,this.length);Hi(t,e,this.parentSub);this.content.delete(t)}}gc(t,e){if(!this.deleted){throw dn()}this.content.gc(t);if(e){Wi(t,this,new jc(this.id,this.length))}else{this.content=new Wc(this.length)}}write(t,e){const n=e>0?ni(this.id.client,this.id.clock+e-1):this.origin;const s=this.rightOrigin;const r=this.parentSub;const i=this.content.getRef()&jt|(n===null?0:ut)|(s===null?0:at)|(r===null?0:ht);t.writeInfo(i);if(n!==null){t.writeLeftID(n)}if(s!==null){t.writeRightID(s)}if(n===null&&s===null){const e=this.parent;if(e._item!==undefined){const n=e._item;if(n===null){const n=ii(e);t.writeParentInfo(true);t.writeString(n)}else{t.writeParentInfo(false);t.writeLeftID(n.id)}}else if(e.constructor===String){t.writeParentInfo(true);t.writeString(e)}else if(e.constructor===ti){t.writeParentInfo(false);t.writeLeftID(e)}else{dn()}if(r!==null){t.writeString(r)}}this.content.write(t,e)}}const kl=(t,e)=>_l[e&jt](t);const _l=[()=>{dn()},zc,tl,Jc,rl,Kc,Xc,gl,nl,Hc,()=>{dn()}];const Sl=10;class El extends Fc{get deleted(){return true}delete(){}mergeWith(t){if(this.constructor!==t.constructor){return false}this.length+=t.length;return true}integrate(t,e){dn()}write(t,e){t.writeInfo(Sl);Re(t.restEncoder,this.length-e)}getMissing(t,e){return null}}const Cl=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof n.g!=="undefined"?n.g:{};const Dl="__ $YJS$ __";if(Cl[Dl]===true){console.error("Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438")}Cl[Dl]=true}}]);
|
2
|
-
//# sourceMappingURL=1006.9e412681cc0a06b61bf0.js.map?v=9e412681cc0a06b61bf0
|
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[1168,9876],{61168:(t,e,s)=>{s.r(e);s.d(e,{YBaseCell:()=>S,YCodeCell:()=>C,YDocument:()=>b,YFile:()=>v,YMarkdownCell:()=>U,YNotebook:()=>E,YRawCell:()=>V,convertYMapEventToMapChange:()=>n,createMutex:()=>a,createStandaloneCell:()=>k});function n(t){let e=new Map;t.changes.keys.forEach(((t,s)=>{e.set(s,{action:t.action,oldValue:t.oldValue,newValue:this.ymeta.get(s)})}));return e}const a=()=>{let t=true;return e=>{if(t){t=false;try{e()}finally{t=true}}}};var o=s(9422);var i=s(17238);var r=s(20817);var d=s(14247);var c=s(58290);var l=s(97027);var h=s(66350);const u=3e4;class g extends c.y{constructor(t){super();this.doc=t;this.clientID=t.clientID;this.states=new Map;this.meta=new Map;this._checkInterval=setInterval((()=>{const t=r.ZG();if(this.getLocalState()!==null&&u/2<=t-this.meta.get(this.clientID).lastUpdated){this.setLocalState(this.getLocalState())}const e=[];this.meta.forEach(((s,n)=>{if(n!==this.clientID&&u<=t-s.lastUpdated&&this.states.has(n)){e.push(n)}}));if(e.length>0){p(this,e,"timeout")}}),d.GW(u/10));t.on("destroy",(()=>{this.destroy()}));this.setLocalState({})}destroy(){this.emit("destroy",[this]);this.setLocalState(null);super.destroy();clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(t){const e=this.clientID;const s=this.meta.get(e);const n=s===undefined?0:s.clock+1;const a=this.states.get(e);if(t===null){this.states.delete(e)}else{this.states.set(e,t)}this.meta.set(e,{clock:n,lastUpdated:r.ZG()});const o=[];const i=[];const d=[];const c=[];if(t===null){c.push(e)}else if(a==null){if(t!=null){o.push(e)}}else{i.push(e);if(!l.Hi(a,t)){d.push(e)}}if(o.length>0||d.length>0||c.length>0){this.emit("change",[{added:o,updated:d,removed:c},"local"])}this.emit("update",[{added:o,updated:i,removed:c},"local"])}setLocalStateField(t,e){const s=this.getLocalState();if(s!==null){this.setLocalState({...s,[t]:e})}}getStates(){return this.states}}const p=(t,e,s)=>{const n=[];for(let a=0;a<e.length;a++){const s=e[a];if(t.states.has(s)){t.states.delete(s);if(s===t.clientID){const e=t.meta.get(s);t.meta.set(s,{clock:e.clock+1,lastUpdated:r.ZG()})}n.push(s)}}if(n.length>0){t.emit("change",[{added:[],updated:[],removed:n},s]);t.emit("update",[{added:[],updated:[],removed:n},s])}};const m=(t,e,s=t.states)=>{const n=e.length;const a=encoding.createEncoder();encoding.writeVarUint(a,n);for(let o=0;o<n;o++){const n=e[o];const i=s.get(n)||null;const r=t.meta.get(n).clock;encoding.writeVarUint(a,n);encoding.writeVarUint(a,r);encoding.writeVarString(a,JSON.stringify(i))}return encoding.toUint8Array(a)};const y=(t,e)=>{const s=decoding.createDecoder(t);const n=encoding.createEncoder();const a=decoding.readVarUint(s);encoding.writeVarUint(n,a);for(let o=0;o<a;o++){const t=decoding.readVarUint(s);const a=decoding.readVarUint(s);const o=JSON.parse(decoding.readVarString(s));const i=e(o);encoding.writeVarUint(n,t);encoding.writeVarUint(n,a);encoding.writeVarString(n,JSON.stringify(i))}return encoding.toUint8Array(n)};const _=(t,e,s)=>{const n=decoding.createDecoder(e);const a=time.getUnixTime();const o=[];const i=[];const r=[];const d=[];const c=decoding.readVarUint(n);for(let l=0;l<c;l++){const e=decoding.readVarUint(n);let s=decoding.readVarUint(n);const c=JSON.parse(decoding.readVarString(n));const l=t.meta.get(e);const h=t.states.get(e);const u=l===undefined?0:l.clock;if(u<s||u===s&&c===null&&t.states.has(e)){if(c===null){if(e===t.clientID&&t.getLocalState()!=null){s++}else{t.states.delete(e)}}else{t.states.set(e,c)}t.meta.set(e,{clock:s,lastUpdated:a});if(l===undefined&&c!==null){o.push(e)}else if(l!==undefined&&c===null){d.push(e)}else if(c!==null){if(!f.equalityDeep(c,h)){r.push(e)}i.push(e)}}}if(o.length>0||r.length>0||d.length>0){t.emit("change",[{added:o,updated:r,removed:d},s])}if(o.length>0||i.length>0||d.length>0){t.emit("update",[{added:o,updated:i,removed:d},s])}};class b{constructor(){this.ydoc=new h.Doc;this.ystate=this.ydoc.getMap("state");this.undoManager=new h.UndoManager([],{trackedOrigins:new Set([this]),doc:this.ydoc});this.awareness=new g(this.ydoc);this.onStateChanged=t=>{const e=new Array;t.keysChanged.forEach((s=>{const n=t.changes.keys.get(s);if(n){e.push({name:s,oldValue:n.oldValue,newValue:this.ystate.get(s)})}}));this._changed.emit({stateChange:e})};this._changed=new i.Signal(this);this._isDisposed=false;this._disposed=new i.Signal(this);this.ystate.observe(this.onStateChanged)}static create(){return new b}get changed(){return this._changed}get disposed(){return this._disposed}get isDisposed(){return this._isDisposed}get state(){return o.JSONExt.deepCopy(this.ystate.toJSON())}canUndo(){return this.undoManager.undoStack.length>0}canRedo(){return this.undoManager.redoStack.length>0}dispose(){if(this._isDisposed){return}this._isDisposed=true;this.ystate.unobserve(this.onStateChanged);this.awareness.destroy();this.undoManager.destroy();this.ydoc.destroy();this._disposed.emit();i.Signal.clearData(this)}getState(t){const e=this.ystate.get(t);return typeof e==="undefined"?e:o.JSONExt.deepCopy(e)}setState(t,e){if(!o.JSONExt.deepEqual(this.ystate.get(t),e)){this.ystate.set(t,e)}}undo(){this.undoManager.undo()}redo(){this.undoManager.redo()}clearUndoHistory(){this.undoManager.clear()}transact(t,e=true){this.ydoc.transact(t,e?this:null)}}class v extends b{constructor(){super();this.ysource=this.ydoc.getText("source");this._modelObserver=t=>{this._changed.emit({sourceChange:t.changes.delta})};this.undoManager.addToScope(this.ysource);this.ysource.observe(this._modelObserver)}static create(){return new v}get source(){return this.getSource()}set source(t){this.setSource(t)}dispose(){if(this.isDisposed){return}this.ysource.unobserve(this._modelObserver);super.dispose()}getSource(){return this.ysource.toString()}setSource(t){this.transact((()=>{const e=this.ysource;e.delete(0,e.length);e.insert(0,t)}))}updateSource(t,e,s=""){this.transact((()=>{const n=this.ysource;n.insert(t,s);n.delete(t+s.length,e-t)}))}}const M=(t,e={})=>{switch(t.get("cell_type")){case"code":return new C(t,t.get("source"),t.get("outputs"),e);case"markdown":return new U(t,t.get("source"),e);case"raw":return new V(t,t.get("source"),e);default:throw new Error("Found unknown cell type")}};const w=(t,e)=>{var s,n;const a=new h.Map;const i=new h.Text;const r=new h.Map;a.set("source",i);a.set("metadata",r);a.set("cell_type",t.cell_type);a.set("id",(s=t.id)!==null&&s!==void 0?s:o.UUID.uuid4());let d;switch(t.cell_type){case"markdown":{d=new U(a,i,{notebook:e},r);if(t.attachments!=null){d.setAttachments(t.attachments)}break}case"code":{const s=new h.Array;a.set("outputs",s);d=new C(a,i,s,{notebook:e},r);const o=t;d.execution_count=(n=o.execution_count)!==null&&n!==void 0?n:null;if(o.outputs){d.setOutputs(o.outputs)}break}default:{d=new V(a,i,{notebook:e},r);if(t.attachments){d.setAttachments(t.attachments)}break}}if(t.metadata!=null){d.setMetadata(t.metadata)}if(t.source!=null){d.setSource(typeof t.source==="string"?t.source:t.source.join("\n"))}return d};const k=t=>w(t);class S{static create(t){return w({id:t,cell_type:this.prototype.cell_type})}constructor(t,e,s={},n){this._modelObserver=t=>{this._changed.emit(this.getChanges(t))};this._metadataChanged=new i.Signal(this);this._notebook=null;this._changed=new i.Signal(this);this._disposed=new i.Signal(this);this._isDisposed=false;this._undoManager=null;this.ymodel=t;this._ysource=e;this._ymetadata=n!==null&&n!==void 0?n:this.ymodel.get("metadata");this._prevSourceLength=e?e.length:0;this._notebook=null;this._awareness=null;this._undoManager=null;if(s.notebook){this._notebook=s.notebook}else{const t=new h.Doc;t.getArray().insert(0,[this.ymodel]);this._awareness=new g(t);this._undoManager=new h.UndoManager([this.ymodel],{trackedOrigins:new Set([this])})}this.ymodel.observeDeep(this._modelObserver)}get awareness(){var t,e,s;return(s=(t=this._awareness)!==null&&t!==void 0?t:(e=this.notebook)===null||e===void 0?void 0:e.awareness)!==null&&s!==void 0?s:null}get cell_type(){throw new Error("A YBaseCell must not be constructed")}get changed(){return this._changed}get disposed(){return this._disposed}get id(){return this.getId()}get isDisposed(){return this._isDisposed}get isStandalone(){return this._notebook!==null}get metadata(){return this.getMetadata()}set metadata(t){this.setMetadata(t)}get metadataChanged(){return this._metadataChanged}get notebook(){return this._notebook}get source(){return this.getSource()}set source(t){this.setSource(t)}get undoManager(){var t;if(!this.notebook){return this._undoManager}return((t=this.notebook)===null||t===void 0?void 0:t.disableDocumentWideUndoRedo)?this._undoManager:this.notebook.undoManager}setUndoManager(){if(this._undoManager){throw new Error("The cell undo manager is already set.")}if(this._notebook&&this._notebook.disableDocumentWideUndoRedo){this._undoManager=new h.UndoManager([this.ymodel],{trackedOrigins:new Set([this])})}}get ysource(){return this._ysource}canUndo(){return!!this.undoManager&&this.undoManager.undoStack.length>0}canRedo(){return!!this.undoManager&&this.undoManager.redoStack.length>0}clearUndoHistory(){var t;(t=this.undoManager)===null||t===void 0?void 0:t.clear()}undo(){var t;(t=this.undoManager)===null||t===void 0?void 0:t.undo()}redo(){var t;(t=this.undoManager)===null||t===void 0?void 0:t.redo()}dispose(){var t;if(this._isDisposed)return;this._isDisposed=true;this.ymodel.unobserveDeep(this._modelObserver);if(this._awareness){const t=this._awareness.doc;this._awareness.destroy();t.destroy()}if(this._undoManager){if(this._undoManager===((t=this.notebook)===null||t===void 0?void 0:t.undoManager)){this._undoManager=null}else{this._undoManager.destroy()}}this._disposed.emit();i.Signal.clearData(this)}getId(){return this.ymodel.get("id")}getSource(){return this.ysource.toString()}setSource(t){this.transact((()=>{this.ysource.delete(0,this.ysource.length);this.ysource.insert(0,t)}))}updateSource(t,e,s=""){this.transact((()=>{const n=this.ysource;n.insert(t,s);n.delete(t+s.length,e-t)}))}deleteMetadata(t){if(typeof this.getMetadata(t)==="undefined"){return}this._ymetadata.delete(t);const e=this.getMetadata("jupyter");if(t==="collapsed"&&e){const{outputs_hidden:t,...s}=e;if(Object.keys(s).length===0){this._ymetadata.delete("jupyter")}else{this._ymetadata.set("jupyter",s)}}else if(t==="jupyter"){this._ymetadata.delete("collapsed")}}getMetadata(t){const e=this._ymetadata;if(e===undefined){return undefined}if(typeof t==="string"){const s=e.get(t);return typeof s==="undefined"?undefined:o.JSONExt.deepCopy(e.get(t))}else{return o.JSONExt.deepCopy(e.toJSON())}}setMetadata(t,e){var s,n;if(typeof t==="string"){if(typeof e==="undefined"){throw new TypeError(`Metadata value for ${t} cannot be 'undefined'; use deleteMetadata.`)}const n=t;if(o.JSONExt.deepEqual((s=this.getMetadata(n))!==null&&s!==void 0?s:null,e)){return}this.transact((()=>{var t;this._ymetadata.set(n,e);if(n==="collapsed"){const s=(t=this.getMetadata("jupyter"))!==null&&t!==void 0?t:{};if(s.outputs_hidden!==e){this.setMetadata("jupyter",{...s,outputs_hidden:e})}}else if(n==="jupyter"){const t=e["outputs_hidden"];if(typeof t!=="undefined"){if(this.getMetadata("collapsed")!==t){this.setMetadata("collapsed",t)}}else{this.deleteMetadata("collapsed")}}}))}else{const e=o.JSONExt.deepCopy(t);if(e.collapsed!=null){e.jupyter=e.jupyter||{};e.jupyter.outputs_hidden=e.collapsed}else if(((n=e===null||e===void 0?void 0:e.jupyter)===null||n===void 0?void 0:n.outputs_hidden)!=null){e.collapsed=e.jupyter.outputs_hidden}if(!o.JSONExt.deepEqual(e,this.getMetadata())){this.transact((()=>{for(const[t,s]of Object.entries(e)){this._ymetadata.set(t,s)}}))}}}toJSON(){return{id:this.getId(),cell_type:this.cell_type,source:this.getSource(),metadata:this.getMetadata()}}transact(t,e=true){this.notebook&&e?this.notebook.transact(t):this.ymodel.doc==null?t():this.ymodel.doc.transact(t,this)}getChanges(t){const e={};const s=t.find((t=>t.target===this.ymodel.get("source")));if(s){e.sourceChange=s.changes.delta}const n=t.find((t=>t.target===this._ymetadata));if(n){e.metadataChange=n.changes.keys;n.changes.keys.forEach(((t,e)=>{switch(t.action){case"add":this._metadataChanged.emit({key:e,newValue:this._ymetadata.get(e),type:"add"});break;case"delete":this._metadataChanged.emit({key:e,oldValue:t.oldValue,type:"remove"});break;case"update":const s=this._ymetadata.get(e);const n=t.oldValue;let a=true;if(typeof n=="object"&&typeof s=="object"){a=o.JSONExt.deepEqual(n,s)}else{a=n===s}if(!a){this._metadataChanged.emit({key:e,type:"change",oldValue:n,newValue:s})}break}}))}const a=t.find((t=>t.target===this.ymodel));const i=this.ymodel.get("source");if(a&&a.keysChanged.has("source")){e.sourceChange=[{delete:this._prevSourceLength},{insert:i.toString()}]}this._prevSourceLength=i.length;return e}}class C extends S{static create(t){return super.create(t)}constructor(t,e,s,n={},a){super(t,e,n,a);this._youtputs=s}get cell_type(){return"code"}get execution_count(){return this.ymodel.get("execution_count")||null}set execution_count(t){if(this.ymodel.get("execution_count")!==t){this.transact((()=>{this.ymodel.set("execution_count",t)}))}}get outputs(){return this.getOutputs()}set outputs(t){this.setOutputs(t)}getOutputs(){return o.JSONExt.deepCopy(this._youtputs.toArray())}setOutputs(t){this.transact((()=>{this._youtputs.delete(0,this._youtputs.length);this._youtputs.insert(0,t)}),false)}updateOutputs(t,e,s=[]){const n=e<this._youtputs.length?e-t:this._youtputs.length-t;this.transact((()=>{this._youtputs.delete(t,n);this._youtputs.insert(t,s)}),false)}toJSON(){return{...super.toJSON(),outputs:this.getOutputs(),execution_count:this.execution_count}}getChanges(t){const e=super.getChanges(t);const s=t.find((t=>t.target===this.ymodel.get("outputs")));if(s){e.outputsChange=s.changes.delta}const n=t.find((t=>t.target===this.ymodel));if(n&&n.keysChanged.has("execution_count")){const t=n.changes.keys.get("execution_count");e.executionCountChange={oldValue:t.oldValue,newValue:this.ymodel.get("execution_count")}}return e}}class O extends S{get attachments(){return this.getAttachments()}set attachments(t){this.setAttachments(t)}getAttachments(){return this.ymodel.get("attachments")}setAttachments(t){this.transact((()=>{if(t==null){this.ymodel.delete("attachments")}else{this.ymodel.set("attachments",t)}}))}getChanges(t){const e=super.getChanges(t);const s=t.find((t=>t.target===this.ymodel));if(s&&s.keysChanged.has("attachments")){const t=s.changes.keys.get("attachments");e.executionCountChange={oldValue:t.oldValue,newValue:this.ymodel.get("attachments")}}return e}}class V extends O{static create(t){return super.create(t)}get cell_type(){return"raw"}toJSON(){return{id:this.getId(),cell_type:"raw",source:this.getSource(),metadata:this.getMetadata(),attachments:this.getAttachments()}}}class U extends O{static create(t){return super.create(t)}get cell_type(){return"markdown"}toJSON(){return{id:this.getId(),cell_type:"markdown",source:this.getSource(),metadata:this.getMetadata(),attachments:this.getAttachments()}}}class E extends b{constructor(t={}){var e;super();this.ymeta=this.ydoc.getMap("meta");this._onMetaChanged=t=>{const e=t.find((t=>t.target===this.ymeta.get("metadata")));if(e){const t=e.changes.keys;const s=this.ymeta.get("metadata");e.changes.keys.forEach(((t,e)=>{switch(t.action){case"add":this._metadataChanged.emit({key:e,type:"add",newValue:s.get(e)});break;case"delete":this._metadataChanged.emit({key:e,type:"remove",oldValue:t.oldValue});break;case"update":const n=s.get(e);const a=t.oldValue;let i=true;if(typeof a=="object"&&typeof n=="object"){i=o.JSONExt.deepEqual(a,n)}else{i=a===n}if(!i){this._metadataChanged.emit({key:e,type:"change",oldValue:a,newValue:n})}break}}));this._changed.emit({metadataChange:t})}const s=t.find((t=>t.target===this.ymeta));if(!s){return}if(s.keysChanged.has("metadata")){const t=s.changes.keys.get("metadata");if((t===null||t===void 0?void 0:t.action)==="add"&&!t.oldValue){const t=new Map;for(const e of Object.keys(this.metadata)){t.set(e,{action:"add",oldValue:undefined});this._metadataChanged.emit({key:e,type:"add",newValue:this.getMetadata(e)})}this._changed.emit({metadataChange:t})}}if(s.keysChanged.has("nbformat")){const t=s.changes.keys.get("nbformat");const e={key:"nbformat",oldValue:(t===null||t===void 0?void 0:t.oldValue)?t.oldValue:undefined,newValue:this.nbformat};this._changed.emit({nbformatChanged:e})}if(s.keysChanged.has("nbformat_minor")){const t=s.changes.keys.get("nbformat_minor");const e={key:"nbformat_minor",oldValue:(t===null||t===void 0?void 0:t.oldValue)?t.oldValue:undefined,newValue:this.nbformat_minor};this._changed.emit({nbformatChanged:e})}};this._onYCellsChanged=t=>{t.changes.added.forEach((t=>{const e=t.content.type;if(!this._ycellMapping.has(e)){const t=M(e,{notebook:this});t.setUndoManager();this._ycellMapping.set(e,t)}}));t.changes.deleted.forEach((t=>{const e=t.content.type;const s=this._ycellMapping.get(e);if(s){s.dispose();this._ycellMapping.delete(e)}}));let e=0;const s=[];t.changes.delta.forEach((t=>{if(t.insert!=null){const n=t.insert.map((t=>this._ycellMapping.get(t)));s.push({insert:n});this.cells.splice(e,0,...n);e+=t.insert.length}else if(t.delete!=null){s.push(t);this.cells.splice(e,t.delete)}else if(t.retain!=null){s.push(t);e+=t.retain}}));this._changed.emit({cellsChange:s})};this._metadataChanged=new i.Signal(this);this._ycells=this.ydoc.getArray("cells");this._ycellMapping=new WeakMap;this._disableDocumentWideUndoRedo=(e=t.disableDocumentWideUndoRedo)!==null&&e!==void 0?e:false;this.cells=this._ycells.toArray().map((t=>{if(!this._ycellMapping.has(t)){this._ycellMapping.set(t,M(t,{notebook:this}))}return this._ycellMapping.get(t)}));this.undoManager.addToScope(this._ycells);this._ycells.observe(this._onYCellsChanged);this.ymeta.observeDeep(this._onMetaChanged)}static create(t={}){var e,s,n,a,o,i,r,d,c;const l=new E({disableDocumentWideUndoRedo:(e=t.disableDocumentWideUndoRedo)!==null&&e!==void 0?e:false});const h={cells:(n=(s=t.data)===null||s===void 0?void 0:s.cells)!==null&&n!==void 0?n:[],nbformat:(o=(a=t.data)===null||a===void 0?void 0:a.nbformat)!==null&&o!==void 0?o:4,nbformat_minor:(r=(i=t.data)===null||i===void 0?void 0:i.nbformat_minor)!==null&&r!==void 0?r:5,metadata:(c=(d=t.data)===null||d===void 0?void 0:d.metadata)!==null&&c!==void 0?c:{}};l.fromJSON(h);return l}get disableDocumentWideUndoRedo(){return this._disableDocumentWideUndoRedo}get metadata(){return this.getMetadata()}set metadata(t){this.setMetadata(t)}get metadataChanged(){return this._metadataChanged}get nbformat(){return this.ymeta.get("nbformat")}set nbformat(t){this.transact((()=>{this.ymeta.set("nbformat",t)}),false)}get nbformat_minor(){return this.ymeta.get("nbformat_minor")}set nbformat_minor(t){this.transact((()=>{this.ymeta.set("nbformat_minor",t)}),false)}dispose(){if(this.isDisposed){return}this._ycells.unobserve(this._onYCellsChanged);this.ymeta.unobserveDeep(this._onMetaChanged);super.dispose()}getCell(t){return this.cells[t]}addCell(t){return this.insertCell(this._ycells.length,t)}insertCell(t,e){return this.insertCells(t,[e])[0]}insertCells(t,e){const s=e.map((t=>{const e=w(t,this);this._ycellMapping.set(e.ymodel,e);return e}));this.transact((()=>{this._ycells.insert(t,s.map((t=>t.ymodel)))}));s.forEach((t=>{t.setUndoManager()}));return s}moveCell(t,e){this.moveCells(t,e)}moveCells(t,e,s=1){const n=new Array(s).fill(true).map(((e,s)=>this.getCell(t+s).toJSON()));this.transact((()=>{this._ycells.delete(t,s);this._ycells.insert(t>e?e:e-s+1,n.map((t=>w(t,this).ymodel)))}))}deleteCell(t){this.deleteCellRange(t,t+1)}deleteCellRange(t,e){this.transact((()=>{this._ycells.delete(t,e-t)}))}deleteMetadata(t){if(typeof this.getMetadata(t)==="undefined"){return}const e=this.metadata;delete e[t];this.setMetadata(e)}getMetadata(t){const e=this.ymeta.get("metadata");if(e===undefined){return undefined}if(typeof t==="string"){const s=e.get(t);return typeof s==="undefined"?undefined:o.JSONExt.deepCopy(s)}else{return o.JSONExt.deepCopy(e.toJSON())}}setMetadata(t,e){var s;if(typeof t==="string"){if(typeof e==="undefined"){throw new TypeError(`Metadata value for ${t} cannot be 'undefined'; use deleteMetadata.`)}if(o.JSONExt.deepEqual((s=this.getMetadata(t))!==null&&s!==void 0?s:null,e)){return}const n={};n[t]=e;this.updateMetadata(n)}else{if(!this.metadata||!o.JSONExt.deepEqual(this.metadata,t)){const e=o.JSONExt.deepCopy(t);const s=this.ymeta.get("metadata");if(s===undefined){return undefined}this.transact((()=>{s.clear();for(const[t,n]of Object.entries(e)){s.set(t,n)}}))}}}updateMetadata(t){const e=o.JSONExt.deepCopy(t);const s=this.ymeta.get("metadata");if(s===undefined){return undefined}this.transact((()=>{for(const[t,n]of Object.entries(e)){s.set(t,n)}}))}fromJSON(t){this.transact((()=>{this.nbformat=t.nbformat;this.nbformat_minor=t.nbformat_minor;const e=t.metadata;if(e["orig_nbformat"]!==undefined){delete e["orig_nbformat"]}if(!this.metadata){const t=new h.Map;for(const[s,n]of Object.entries(e)){t.set(s,n)}this.ymeta.set("metadata",t)}else{this.metadata=e}const s=t.nbformat===4&&t.nbformat_minor>=5;const n=t.cells.map((t=>{if(!s){delete t.id}return t}));this.insertCells(this.cells.length,n);this.deleteCellRange(0,this.cells.length)}))}toJSON(){const t=this.nbformat===4&&this.nbformat_minor<=4;return{metadata:this.metadata,nbformat_minor:this.nbformat_minor,nbformat:this.nbformat,cells:this.cells.map((e=>{const s=e.toJSON();if(t){delete s.id}return s}))}}}},7049:(t,e,s)=>{s.d(e,{Dp:()=>r,Z$:()=>n,kJ:()=>u,s7:()=>i});const n=t=>t[t.length-1];const a=()=>[];const o=t=>t.slice();const i=(t,e)=>{for(let s=0;s<e.length;s++){t.push(e[s])}};const r=Array.from;const d=(t,e)=>t.every(e);const c=(t,e)=>t.some(e);const l=(t,e)=>t.length===e.length&&d(t,((t,s)=>t===e[s]));const h=t=>t.reduce(((t,e)=>t.concat(e)),[]);const u=Array.isArray},97027:(t,e,s)=>{s.d(e,{Hi:()=>l,PP:()=>a,gB:()=>h});var n=s(59735);const a=(t,e,s=0)=>{try{for(;s<t.length;s++){t[s](...e)}}finally{if(s<t.length){a(t,e,s+1)}}};const o=()=>{};const i=t=>t();const r=t=>t;const d=(t,e)=>t===e;const c=(t,e)=>t===e||t!=null&&e!=null&&t.constructor===e.constructor&&(t instanceof Array&&array.equalFlat(t,e)||typeof t==="object"&&object.equalFlat(t,e));const l=(t,e)=>{if(t==null||e==null){return d(t,e)}if(t.constructor!==e.constructor){return false}if(t===e){return true}switch(t.constructor){case ArrayBuffer:t=new Uint8Array(t);e=new Uint8Array(e);case Uint8Array:{if(t.byteLength!==e.byteLength){return false}for(let s=0;s<t.length;s++){if(t[s]!==e[s]){return false}}break}case Set:{if(t.size!==e.size){return false}for(const s of t){if(!e.has(s)){return false}}break}case Map:{if(t.size!==e.size){return false}for(const s of t.keys()){if(!e.has(s)||!l(t.get(s),e.get(s))){return false}}break}case Object:if(n.kE(t)!==n.kE(e)){return false}for(const s in t){if(!n.l$(t,s)||!l(t[s],e[s])){return false}}break;case Array:if(t.length!==e.length){return false}for(let s=0;s<t.length;s++){if(!l(t[s],e[s])){return false}}break;default:return false}return true};const h=(t,e)=>e.includes(t)},72382:(t,e,s)=>{s.d(e,{JG:()=>a,UI:()=>i,Ue:()=>n,Yj:()=>r,Yu:()=>o});const n=()=>new Map;const a=t=>{const e=n();t.forEach(((t,s)=>{e.set(s,t)}));return e};const o=(t,e,s)=>{let n=t.get(e);if(n===undefined){t.set(e,n=s())}return n};const i=(t,e)=>{const s=[];for(const[n,a]of t){s.push(e(a,n))}return s};const r=(t,e)=>{for(const[s,n]of t){if(e(n,s)){return true}}return false};const d=(t,e)=>{for(const[s,n]of t){if(!e(n,s)){return false}}return true}},14247:(t,e,s)=>{s.d(e,{Fp:()=>f,GR:()=>b,GW:()=>n,VV:()=>g,Wn:()=>o});const n=Math.floor;const a=Math.ceil;const o=Math.abs;const i=Math.imul;const r=Math.round;const d=Math.log10;const c=Math.log2;const l=Math.log;const h=Math.sqrt;const u=(t,e)=>t+e;const g=(t,e)=>t<e?t:e;const f=(t,e)=>t>e?t:e;const p=Number.isNaN;const m=Math.pow;const y=t=>Math.pow(10,t);const _=Math.sign;const b=t=>t!==0?t<0:1/t<0},59735:(t,e,s)=>{s.d(e,{$m:()=>u,kE:()=>d,l$:()=>h});const n=()=>Object.create(null);const a=Object.assign;const o=Object.keys;const i=(t,e)=>{for(const s in t){e(t[s],s)}};const r=(t,e)=>{const s=[];for(const n in t){s.push(e(t[n],n))}return s};const d=t=>o(t).length;const c=(t,e)=>{for(const s in t){if(e(t[s],s)){return true}}return false};const l=(t,e)=>{for(const s in t){if(!e(t[s],s)){return false}}return true};const h=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);const u=(t,e)=>t===e||d(t)===d(e)&&l(t,((t,s)=>(t!==undefined||h(e,s))&&e[s]===t))},58290:(t,e,s)=>{s.d(e,{y:()=>i});var n=s(72382);var a=s(48307);var o=s(7049);class i{constructor(){this._observers=n.Ue()}on(t,e){n.Yu(this._observers,t,a.Ue).add(e)}once(t,e){const s=(...n)=>{this.off(t,s);e(...n)};this.on(t,s)}off(t,e){const s=this._observers.get(t);if(s!==undefined){s.delete(e);if(s.size===0){this._observers.delete(t)}}}emit(t,e){return o.Dp((this._observers.get(t)||n.Ue()).values()).forEach((t=>t(...e)))}destroy(){this._observers=n.Ue()}}},48307:(t,e,s)=>{s.d(e,{Ue:()=>n});const n=()=>new Set;const a=t=>Array.from(t);const o=t=>t.values().next().value||undefined;const i=t=>new Set(t)},20817:(t,e,s)=>{s.d(e,{ZG:()=>a});const n=()=>new Date;const a=Date.now;const o=t=>{if(t<6e4){const e=metric.prefix(t,-1);return math.round(e.n*100)/100+e.prefix+"s"}t=math.floor(t/1e3);const e=t%60;const s=math.floor(t/60)%60;const n=math.floor(t/3600)%24;const a=math.floor(t/86400);if(a>0){return a+"d"+(n>0||s>30?" "+(s>30?n+1:n)+"h":"")}if(n>0){return n+"h"+(s>0||e>30?" "+(e>30?s+1:s)+"min":"")}return s+"min"+(e>0?" "+e+"s":"")}}}]);
|
2
|
-
//# sourceMappingURL=1168.bd99b385277fda74c7e7.js.map?v=bd99b385277fda74c7e7
|