jupyterlab 4.2.0a1__py3-none-any.whl → 4.2.0a2__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 -0
- jupyterlab/commands.py +18 -10
- jupyterlab/debuglog.py +1 -3
- jupyterlab/federated_labextensions.py +0 -1
- jupyterlab/galata/@jupyterlab/galata-extension/build_log.json +106 -97
- jupyterlab/galata/@jupyterlab/galata-extension/package.json +11 -11
- jupyterlab/galata/@jupyterlab/galata-extension/static/{remoteEntry.3e3b6ffec7bafcabe954.js → remoteEntry.557502a4db342d307bff.js} +3 -3
- jupyterlab/galata/__init__.py +3 -1
- jupyterlab/labapp.py +1 -1
- jupyterlab/labextensions.py +9 -0
- jupyterlab/schemas/@jupyterlab/application-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/apputils-extension/package.json.orig +14 -14
- jupyterlab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
- jupyterlab/schemas/@jupyterlab/codemirror-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/completer-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/console-extension/package.json.orig +13 -13
- jupyterlab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
- jupyterlab/schemas/@jupyterlab/docmanager-extension/package.json.orig +12 -11
- jupyterlab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
- jupyterlab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +13 -13
- jupyterlab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
- jupyterlab/schemas/@jupyterlab/help-extension/package.json.orig +8 -8
- jupyterlab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
- jupyterlab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/inspector-extension/package.json.orig +9 -9
- jupyterlab/schemas/@jupyterlab/launcher-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/logconsole-extension/package.json.orig +10 -10
- jupyterlab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
- jupyterlab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -9
- jupyterlab/schemas/@jupyterlab/mainmenu-extension/plugin.json +5 -0
- jupyterlab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
- jupyterlab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
- jupyterlab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
- jupyterlab/schemas/@jupyterlab/notebook-extension/package.json.orig +30 -30
- jupyterlab/schemas/@jupyterlab/running-extension/package.json.orig +14 -10
- jupyterlab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
- jupyterlab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/terminal-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/tooltip-extension/package.json.orig +11 -11
- jupyterlab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
- jupyterlab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
- jupyterlab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
- jupyterlab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
- jupyterlab/staging/package.json +155 -151
- jupyterlab/staging/webpack.config.js +1 -1
- jupyterlab/staging/yarn.lock +1311 -1493
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/1166.4098a92fbb801821731a.js → jupyterlab/static/1166.08f9e1fd722f61c9b69c.js +1 -1
- jupyterlab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
- jupyterlab/static/2091.0ad2070604beb93b34c5.js +1 -0
- jupyterlab/static/2104.96885e414ee656615c2b.js +1 -0
- jupyterlab/static/{2551.8ff3e561387bb693569c.js → 2551.b07d561a12360c38c589.js} +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2579.c28985048ab1a5ff2308.js → jupyterlab/static/2579.b19edefeb9ee4daed4bd.js +1 -1
- jupyterlab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
- jupyterlab/static/2995.334184c36a45c82ad564.js +1 -0
- jupyterlab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
- jupyterlab/static/3783.36bf783a511cc87997c0.js +1 -0
- jupyterlab/static/4043.c57e85faf640ba37b87c.js +1 -0
- jupyterlab/static/{406.e9483074129d4ff914e2.js → 406.81906f96059e31e907a2.js} +1 -1
- jupyterlab/static/4405.196dd63db3761b4bb7fe.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4765.de0102c1754669a3d242.js → jupyterlab/static/4765.093b4f8b3cee1251db8d.js +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/49.7233f68f95d10b85a83e.js → jupyterlab/static/49.43ad810fe0adbd6be564.js +1 -1
- jupyterlab/static/4986.c819184e09e1e15ef06b.js +1 -0
- jupyterlab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/5794.6ddce9d8233ad1e4fea2.js → jupyterlab/static/5794.3cb2bcd1a3e23d0c084e.js +1 -1
- jupyterlab/static/{6001.da3cf3d9f5f28c3cf62d.js → 6001.963601fcecb8b4c1d1f1.js} +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6436.d1efff651b8af3988cf3.js → jupyterlab/static/6436.8d9ba427de4ab1053871.js +1 -1
- jupyterlab/static/6532.598324868e83c4cbe4e4.js +1 -0
- jupyterlab/static/{8250.1c239c2f52ca6f4177c7.js → 6699.ca2a6f21674753716453.js} +1 -1
- jupyterlab/static/6888.f71353e198bce9c2f409.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js → jupyterlab/static/7313.9db22121563e1a8e0516.js +2 -2
- jupyterlab/static/{7318.397bf8e913e825b2be27.js → 7318.f5a0db6dd94488328be5.js} +1 -1
- jupyterlab/static/7823.f3c8154418bc214dc89a.js +1 -0
- jupyterlab/static/795.c780bf11bb08527e3c84.js +1 -0
- jupyterlab/static/812.c967203ebe8bf68d9cad.js +1 -0
- jupyterlab/static/8771.ac4c870ed77005ec8e34.js +1 -0
- jupyterlab/static/{881.7c5bc8dd48eb32398005.js → 881.972f79365eed0f77378e.js} +1 -1
- jupyterlab/static/9.82c3bf54739d037b7bd1.js +1 -0
- jupyterlab/static/9030.61b135ed4411056792ab.js +1 -0
- jupyterlab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
- jupyterlab/static/{9395.ff3dc1f239b429a55732.js → 9395.b59dceae72715c9f885c.js} +1 -1
- jupyterlab/static/942.68bd92fc10c9f9d7004f.js +1 -0
- jupyterlab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
- jupyterlab/static/9870.714b869d9320ef3fe065.js +1 -0
- jupyterlab/static/build_log.json +107 -101
- jupyterlab/static/index.html +1 -1
- jupyterlab/static/index.out.js +11 -0
- jupyterlab/static/jlab_core.5cdbad1e68776b99256a.js +1 -0
- jupyterlab/static/main.2ba872a4c08e4530e097.js +1 -0
- jupyterlab/static/package.json +155 -151
- jupyterlab/static/style.js +1 -0
- jupyterlab/static/third-party-licenses.json +134 -128
- jupyterlab/style.js +1 -0
- 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 +1 -1
- jupyterlab/tests/mock_packages/test-hyphens-underscore/package.json +2 -2
- jupyterlab/tests/mock_packages/test-hyphens-underscore/pyproject.toml +1 -1
- jupyterlab/tests/mock_packages/test-hyphens-underscore/yarn.lock +2803 -0
- jupyterlab/tests/mock_packages/test_no_hyphens/package.json +2 -2
- jupyterlab/tests/mock_packages/test_no_hyphens/pyproject.toml +1 -1
- jupyterlab/tests/mock_packages/test_no_hyphens/yarn.lock +2803 -0
- jupyterlab/tests/test_build_api.py +1 -0
- jupyterlab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
- jupyterlab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/package.json.orig +10 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/package.json.orig +14 -14
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/package.json.orig +5 -5
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/package.json.orig +13 -13
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/package.json.orig +10 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/package.json.orig +17 -17
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/package.json.orig +12 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json +7 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/package.json.orig +7 -7
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/package.json.orig +13 -13
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/package.json.orig +25 -25
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/package.json.orig +8 -8
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/package.json.orig +9 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/package.json.orig +9 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/package.json.orig +7 -7
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/package.json.orig +10 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/package.json.orig +8 -8
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/package.json.orig +12 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mainmenu-extension/plugin.json +5 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/package.json.orig +9 -9
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/package.json.orig +3 -3
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/package.json.orig +7 -7
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/package.json.orig +30 -30
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/package.json.orig +14 -10
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/running-extension/plugin.json +5 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/package.json.orig +6 -6
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/package.json.orig +11 -11
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/package.json.orig +6 -6
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/menu.json +70 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/package.json.orig +62 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/schemas/@jupyterlab/workspaces-extension/sidebar.json +51 -0
- jupyterlab/static/1166.4098a92fbb801821731a.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/1166.08f9e1fd722f61c9b69c.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/1410.d8f5e39e1e01d696d2ab.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2091.0ad2070604beb93b34c5.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2104.96885e414ee656615c2b.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2551.8ff3e561387bb693569c.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2551.b07d561a12360c38c589.js +1 -1
- jupyterlab/static/2579.c28985048ab1a5ff2308.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2579.b19edefeb9ee4daed4bd.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2800.8acae2f2fef55d2ccdf2.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/2995.334184c36a45c82ad564.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/3547.2a00f51cd14b6060c5d6.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/3783.36bf783a511cc87997c0.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/4043.c57e85faf640ba37b87c.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/406.e9483074129d4ff914e2.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/406.81906f96059e31e907a2.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/4405.196dd63db3761b4bb7fe.js +1 -0
- jupyterlab/static/4765.de0102c1754669a3d242.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/4765.093b4f8b3cee1251db8d.js +1 -1
- jupyterlab/static/49.7233f68f95d10b85a83e.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/49.43ad810fe0adbd6be564.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/4986.c819184e09e1e15ef06b.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/5201.26a6f909d5e2eaa4ada3.js +1 -0
- jupyterlab/static/5794.6ddce9d8233ad1e4fea2.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/5794.3cb2bcd1a3e23d0c084e.js +1 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6001.da3cf3d9f5f28c3cf62d.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6001.963601fcecb8b4c1d1f1.js +1 -1
- jupyterlab/static/6436.d1efff651b8af3988cf3.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6436.8d9ba427de4ab1053871.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6532.598324868e83c4cbe4e4.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/8250.1c239c2f52ca6f4177c7.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6699.ca2a6f21674753716453.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/6888.f71353e198bce9c2f409.js +1 -0
- jupyterlab/static/7313.4a8a9a1eee6f7ef15ee1.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7313.9db22121563e1a8e0516.js +2 -2
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7318.397bf8e913e825b2be27.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7318.f5a0db6dd94488328be5.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7823.f3c8154418bc214dc89a.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/795.c780bf11bb08527e3c84.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/812.c967203ebe8bf68d9cad.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/8771.ac4c870ed77005ec8e34.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/881.7c5bc8dd48eb32398005.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/881.972f79365eed0f77378e.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9.82c3bf54739d037b7bd1.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9030.61b135ed4411056792ab.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9041.d439f3e9bdd4ea5a681b.js +1 -0
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9395.ff3dc1f239b429a55732.js → jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9395.b59dceae72715c9f885c.js +1 -1
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/942.68bd92fc10c9f9d7004f.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9653.52cac2cc6fb3dc3bf28a.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/9870.714b869d9320ef3fe065.js +1 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/build_log.json +107 -101
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/index.html +1 -1
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/index.out.js +11 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/jlab_core.5cdbad1e68776b99256a.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/main.2ba872a4c08e4530e097.js +1 -0
- jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/package.json +354 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/style.js +1 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/third-party-licenses.json +134 -128
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.css +84 -84
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.css +71 -71
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0a2.dist-info}/METADATA +7 -7
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0a2.dist-info}/RECORD +505 -501
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0a2.dist-info}/WHEEL +1 -1
- jupyterlab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
- jupyterlab/static/1410.e2302ff5f564d6e596bb.js +0 -1
- jupyterlab/static/2091.600b1c32af186f6405f9.js +0 -1
- jupyterlab/static/2104.296346db0067b4883fbf.js +0 -1
- jupyterlab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
- jupyterlab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
- jupyterlab/static/3547.bd90e90bfe79911486e8.js +0 -1
- jupyterlab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
- jupyterlab/static/4043.aa012978c41d1d1b2f14.js +0 -1
- jupyterlab/static/4405.43dab120fea32f30bbb9.js +0 -1
- jupyterlab/static/4986.a497cdda4b7152902568.js +0 -1
- jupyterlab/static/5201.8866042bae350659528a.js +0 -1
- jupyterlab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
- jupyterlab/static/6888.9d3914817f3290827a64.js +0 -1
- jupyterlab/static/7823.817687f13e9a6781fdd3.js +0 -1
- jupyterlab/static/795.47ab66037ef33f808f09.js +0 -1
- jupyterlab/static/812.245ed5bad344b83aaa94.js +0 -1
- jupyterlab/static/8771.327a202178f82f3b15b8.js +0 -1
- jupyterlab/static/9.0e0cba0ccc2a4b670600.js +0 -1
- jupyterlab/static/9030.260bc05e28eccff70ae8.js +0 -1
- jupyterlab/static/9041.df39043656c7233552e4.js +0 -1
- jupyterlab/static/942.93c8de61ea9ea08ec097.js +0 -1
- jupyterlab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
- jupyterlab/static/9870.70b2b59cc96c3a97c489.js +0 -1
- jupyterlab/static/jlab_core.96636abd45a035c16dd5.js +0 -1
- jupyterlab/static/main.8fae291860aa4a477800.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/workspaces.json +0 -24
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/1410.e2302ff5f564d6e596bb.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2091.600b1c32af186f6405f9.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2104.296346db0067b4883fbf.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2800.680b1fa0a4c66c69bb1e.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/2995.0448b3ed572d9cc5fcc7.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/3547.bd90e90bfe79911486e8.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/3783.93d5366ab28a19e1f0f9.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4043.aa012978c41d1d1b2f14.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4405.43dab120fea32f30bbb9.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/4986.a497cdda4b7152902568.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/5201.8866042bae350659528a.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6532.bb7137729a2d6d4e6ddf.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/6888.9d3914817f3290827a64.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7823.817687f13e9a6781fdd3.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/795.47ab66037ef33f808f09.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/812.245ed5bad344b83aaa94.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/8771.327a202178f82f3b15b8.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9.0e0cba0ccc2a4b670600.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9030.260bc05e28eccff70ae8.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9041.df39043656c7233552e4.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/942.93c8de61ea9ea08ec097.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9653.d93c93e084cd5e93cd2d.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/9870.70b2b59cc96c3a97c489.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/jlab_core.96636abd45a035c16dd5.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/main.8fae291860aa4a477800.js +0 -1
- jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/package.json +0 -350
- /jupyterlab/static/{7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt → 7313.9db22121563e1a8e0516.js.LICENSE.txt} +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/etc/jupyter/jupyter_notebook_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/etc/jupyter/jupyter_server_config.d/jupyterlab.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/applications/jupyterlab.desktop +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/icons/hicolor/scalable/apps/jupyterlab.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/commands.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/context-menu.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/property-inspector.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/shell.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/palette.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/print.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/themes.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/utilityCommands.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/cell-toolbar-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/celltags-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/inline-completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/completer-extension/manager.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/foreign.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/csv.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/csvviewer-extension/tsv.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/debugger-extension/main.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/download.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/documentsearch-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/browser.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/download.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-browser-tab.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/open-with.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/filebrowser-extension/widget.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/fileeditor-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/about.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/jupyter-forum.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/help-extension/launch-classic.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/htmlviewer-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/hub-extension/menu.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/imageviewer-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/consoles.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/inspector.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/inspector-extension/notebooks.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/launcher-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/logconsole-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/lsp-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/markdownviewer-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/mathjax-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/metadataform-extension/metadataforms.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/completer.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/export.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tools.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/form-ui.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/settingeditor-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/statusbar-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/terminal-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/toc-extension/registry.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/consoles.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/files.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/tooltip-extension/notebooks.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1036.b7aaba381aaa04073a6b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1036.b7aaba381aaa04073a6b.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1085.0b67f0736d85ec41fdd4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1142.d5442a459b18907c1f91.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1168.0a95b9c93afe61ceb527.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1294.9d27be1098bc8abebe3f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1420.e8486ed074346bc629ca.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1448.c391061d8a8344f9d177.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1452.4cc17f31511d1f9c6052.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1467.dcd89539f6477c1367af.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1550.09375e869bc25429b07a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1581.e988a625b879002dcc04.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1608.61240f3db67d3d952790.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1716.a6bbe1ae8a1986a73623.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1760.9a71f4501e9bbaa4c4d8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1776.4f9305d35480467b23c9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1861.4fc7b4afe2b09eb6b5c0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1903.3b452e8ec30e57dbaba5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1917.05d73322caab1f77e3bf.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1929.96e62233aa6f2a8363d4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1945.0fbbfe93a4aedd91875c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1954.07d96e4020ed6e543d25.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1993.f8c5682f95ffa75cbaf6.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/1cb1c39ea642f26a4dfe.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2039.aa079dac5c520f93b234.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2090.abc86741318f76c3d726.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2145.be9ec610f29703694fcf.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2254.55c69210925ec9b28dd9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/226.5dc3528c008170b37b21.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2295.cda0f7182bf2a1a03c5a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2320.04abae549b19363c2fdd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2363.6eef078cb37c32d7fbc3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2459.9f9cb02561de1bec73ff.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2485.dab750ed66209df61fe1.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2617.9c299e26785f7646cb39.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2646.0864fb63d7ab1ed16893.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2655.71a94960aa4ab2040d8f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/26683bf201fb258a2237.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2727.6925b8cf1c5363f40138.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2755.696bab6bdca0d9a78131.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2857.27a6e85f5c4c092ab8a2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2909.e190307f7f84c7691068.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/292.3f7844a129f16ec1ffbc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2929.b88233153dbf33f40b29.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2953.92ff8f12bad6ee06859c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/2990.ea15322a41d3f133989b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3056.8a73f6aacd8ca45f84f9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/30e889b58cbc51adfbb0.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3123.85cea4be2e2ed3f9654f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/32792104b5ef69eded90.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3306.8bdc49ad1a7ca593a838.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3308.764d71af7e591cdb1345.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3520.3495b98946de6960ace8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3528.3b5ef5f31d460b5fcd01.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3549.24f2fe646d8128bc9db0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/355254db9ca10a09a3b5.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3601.5c17c015d71b69ddcab3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/36e0d72d8a7afc696a3e.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3711.150292a21fd47be1c05f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3724.a4657dc16be2ffc49282.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/373c04fd2418f5c77eea.eot +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/378.6d0f0fc4c8a2eb80ac43.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3807.08a8fd824036c30b3746.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/383.db345dbeef5ef774e50c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3871.ba96e5b53bb16df56618.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3923.f29c06abdcb560130471.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3935.905285b8e22c337968ed.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3962.50786e3ed9a01329a4a0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3bc6ecaae7ecf6f8d7f8.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3de784d07b9fa8f104c1.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/3f6d3488cf65374f6f67.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4008.86acbefff6de679f77b5.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4017.096a74a538e031b6d346.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4086.3087c0abed5ca45b823b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4136.4b9f72f85f49f979ebb8.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4139.303ee7374c742287be85.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4155.5a8d6736017097028d78.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4283.f6092d8b7f2e53118d1b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4291.e5d8997127541f75fdaf.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4419.93938494f456cd76a7e3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4452.2f8819684b96ecff5231.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4519.6b784d052db42e93eff2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4562.72444a09f5f092646490.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4591.428531724f49fe824ffa.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/46.fb119c5e5b1e0c72a00f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4743.d4e9658ea25301e15a94.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/481e39042508ae313a60.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/4878.73004381601237a3ef9c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5041.cdc120bda0a0dec4cfc2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5157.9c77dc27a251d4135876.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5203.c002d40ac647dc6e1d61.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/526.601d8ddd8347cd7790b9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5331.0cd3f010bb08983ec3fd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5440.2541fcda12b661665148.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5521.ce4a0274596e0325374c.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5746.e4434ef2027bcc5ed0c9.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/581.2b878ed37172aced15b5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5881.3946238aa4afdcf4f964.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5959.a6b1fd3b03d3649ea8b1.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/5cda41563a095bd70c78.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6059.d83e7323b2ee1aa16009.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6163.f5b51a9f0df4846ba40f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6207.a8079c8d8a61039dd530.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6243.2efd673d1304c43b7b78.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6267.1def2916929e185ab9fc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/627.7e292370f4d61d9e8648.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6359.4b994bfd6b1dea2d6fe3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6443.e6b52d3732b3e8513a71.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6515.56c63929fb079a820cbc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6560.f42276a0b1b92aea515b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6595.6a1d7e1abbf186dd119b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6686.3c518aa6e5f9785fb486.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6770.fd7084bb2f4b7622401d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6778.345e6ac9818e30317310.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6815.0b699f0c162a24b0dbe3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/6898.742a7062fa979fb68a80.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7080.1330328bb6f46b4da81e.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7112.d5120c85ebd17620dda0.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7161.353c3ab960df72e6f1ea.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7173.e28f63dbd553818e07d3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7178.5f3dd740449b44efad2d.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/721921bab0d001ebff02.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7245.c0cae8787dcd00b991b7.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7272.72081c10e0f645b0631a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7294.badf85a3180703d63f62.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/72bc573386dd1d48c5bb.woff +0 -0
- /jupyterlab-4.2.0a1.data/data/share/jupyter/lab/static/7313.4a8a9a1eee6f7ef15ee1.js.LICENSE.txt → /jupyterlab-4.2.0a2.data/data/share/jupyter/lab/static/7313.9db22121563e1a8e0516.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7317.af8a7da0f881a22752c1.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7363.abe8e31a91e113753bae.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7384.60351e008d8f687e8fcc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7390.8253478b90f756692702.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7426.c83966ccc62601d391bd.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/745.85516a9bb83bcd94d00d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7451.c0257dbfdd320e2c21f5.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7472.58ba8647a489d019c2ef.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7473.5012397d10d3b945ecaa.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7508.b902347f820c70cd386a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7511.b381a696cf806983c654.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7517.f3e5d420f4af90d442dd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7629.1f295461ebf56a48c197.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7669.343e259c4c8269479f5b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7702.c479c69f7a532f7b3fd5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7730.7e3a9fb140d2d55a51fc.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7731.26db150e967313b7a7e2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7734.b08c15e9f538f44d0f52.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7763.19a095394000f9ef62bd.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7775.3e0dee729369fe3d5008.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7827.e36d073d947bf02a05e3.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7848.e83aa4b90ae87209abb8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/786.8a99ee7dbd7bd0eb9dce.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7877.a4c46a784149533b91d4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7887.128a155df5d25e88c0ce.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/7946.7fe46d47492e459b7cb5.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/79d088064beb3826054f.eot +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8002.25f64485372af5158c83.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8010.1cf8237e9def8404f355.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8012.40cb006f0c180ebafa91.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8152.5baac73844a065f34284.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8285.1eac7b7582569be1c3a8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8302.5c5e5a2da7fe74b12a1d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8319.80fcbc832e1eb20b71e7.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8322.288af285dac9cb9a8800.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8347.573b699e3590729bfa8a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8405.154ba4b17a2dec22a355.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8462.74d5f5afd4f9d7825eed.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8493.fc635229db38e6fc6aa2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8498.27a245b23921914bf5c2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8512.1af96655287fd124877b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8678.dcd3dab9025b13eb9be8.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/870673df72e70f87c91a.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8710.5fc5ecb762fb4494db02.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8738.782816e9072ac38762b4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8787.4d36d28dcf94bf59cbfe.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8805.0f14a91b024b59c039a7.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8823.2ff947bcd96cc0723058.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8875.88988caaba1e33edad5b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/88b98cad3688915e50da.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8ea8791754915a898a31.woff2 +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/8ea8dbb1b02e6f730f55.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9055.bd710a8db8883a836b59.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9109.fa3ee74a5c0f378f4d51.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9192.db4337a516b7f38d1f89.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9222.1c2a8e69a2de57dd1984.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9230.58b8c42b730e1a56e69b.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9265.bc2b66a4502cdfcfc14f.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9362.823dcfac216f8057452d.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9409.34c33ed11e2d6f318480.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9421.022dc7b4e9a2c80c32c2.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9440.04751e25c9cde059ff37.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9445.fe5e9e5b728de8d15873.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9545.f0f7a2959bdd17ee3448.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9579.4b1b079b6b7cd2924338.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9621.9cbfa52c42927bb398b4.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9674eb1bd55047179038.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9738.c0234a1f7f6ac262f560.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9747.6dd327f4928c6989ea8a.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9826.406d2a71dc45995bc549.js.LICENSE.txt +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9834b82ad26e2a37583d.woff2 +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/9984.6ba5355e0d5487d5ac63.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/a009bea404f7a500ded4.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/a3b9817780214caf01e8.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/af04542b29eaac04550a.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/af6397503fcefbd61397.ttf +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/af96f67d7accf5fd2a4a.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/b418136e3b384baaadec.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/be0a084962d8066884f7.svg +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/bootstrap.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/c49810b53ecc0d87d802.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/c56da8d69f1a0208b8e0.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/cb9e9e693192413cde2b.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/cda59d6efffa685830fd.ttf +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/e4299464e7b012968eed.eot +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/e42a88444448ac3d6054.woff2 +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/e8711bbb871afd8e9dea.ttf +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/f9217f66874b0c01cd8c.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/static/fc6ddf5df402b263cfb1.woff +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-dark-extension/index.js +0 -0
- {jupyterlab-4.2.0a1.data → jupyterlab-4.2.0a2.data}/data/share/jupyter/lab/themes/@jupyterlab/theme-light-extension/index.js +0 -0
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0a2.dist-info}/entry_points.txt +0 -0
- {jupyterlab-4.2.0a1.dist-info → jupyterlab-4.2.0a2.dist-info}/licenses/LICENSE +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[6888],{16888:(t,e,n)=>{n.r(e);n.d(e,{DocInput:()=>A,HighlightStyle:()=>Lt,IndentContext:()=>$,LRLanguage:()=>v,Language:()=>k,LanguageDescription:()=>L,LanguageSupport:()=>M,ParseContext:()=>C,StreamLanguage:()=>ue,StringStream:()=>ae,TreeIndentContext:()=>K,bracketMatching:()=>Zt,bracketMatchingHandle:()=>te,codeFolding:()=>It,continuedIndent:()=>et,defaultHighlightStyle:()=>zt,defineLanguageFacet:()=>g,delimitedIndent:()=>Y,ensureSyntaxTree:()=>x,flatIndent:()=>tt,foldAll:()=>yt,foldCode:()=>vt,foldEffect:()=>ut,foldGutter:()=>Bt,foldInside:()=>ot,foldKeymap:()=>Tt,foldNodeProp:()=>it,foldService:()=>st,foldState:()=>pt,foldable:()=>ht,foldedRanges:()=>gt,forceParsing:()=>S,getIndentUnit:()=>V,getIndentation:()=>W,highlightingFor:()=>Wt,indentNodeProp:()=>z,indentOnInput:()=>rt,indentRange:()=>U,indentService:()=>F,indentString:()=>j,indentUnit:()=>R,language:()=>B,languageDataProp:()=>p,matchBrackets:()=>re,sublanguageProp:()=>m,syntaxHighlighting:()=>jt,syntaxParserRunning:()=>P,syntaxTree:()=>b,syntaxTreeAvailable:()=>y,toggleFold:()=>At,unfoldAll:()=>St,unfoldCode:()=>bt,unfoldEffect:()=>ct});var r=n(73265);var s=n.n(r);var i=n(37496);var o=n.n(i);var a=n(66143);var l=n.n(a);var h=n(6016);var f=n.n(h);var u=n(67737);var c=n.n(u);var d;const p=new r.NodeProp;function g(t){return i.Facet.define({combine:t?e=>e.concat(t):undefined})}const m=new r.NodeProp;class k{constructor(t,e,n=[],r=""){this.data=t;this.name=r;if(!i.EditorState.prototype.hasOwnProperty("tree"))Object.defineProperty(i.EditorState.prototype,"tree",{get(){return b(this)}});this.parser=e;this.extension=[B.of(this),i.EditorState.languageData.of(((t,e,n)=>{let r=w(t,e,n),s=r.type.prop(p);if(!s)return[];let i=t.facet(s),o=r.type.prop(m);if(o){let s=r.resolve(e-r.from,n);for(let e of o)if(e.test(s,t)){let n=t.facet(e.facet);return e.type=="replace"?n:n.concat(i)}}return i}))].concat(n)}isActiveAt(t,e,n=-1){return w(t,e,n).type.prop(p)==this.data}findRegions(t){let e=t.facet(B);if((e===null||e===void 0?void 0:e.data)==this.data)return[{from:0,to:t.doc.length}];if(!e||!e.allowsNesting)return[];let n=[];let s=(t,e)=>{if(t.prop(p)==this.data){n.push({from:e,to:e+t.length});return}let i=t.prop(r.NodeProp.mounted);if(i){if(i.tree.prop(p)==this.data){if(i.overlay)for(let t of i.overlay)n.push({from:t.from+e,to:t.to+e});else n.push({from:e,to:e+t.length});return}else if(i.overlay){let t=n.length;s(i.tree,i.overlay[0].from+e);if(n.length>t)return}}for(let n=0;n<t.children.length;n++){let i=t.children[n];if(i instanceof r.Tree)s(i,t.positions[n]+e)}};s(b(t),0);return n}get allowsNesting(){return true}}k.setState=i.StateEffect.define();function w(t,e,n){let s=t.facet(B),i=b(t).topNode;if(!s||s.allowsNesting){for(let t=i;t;t=t.enter(e,n,r.IterMode.ExcludeBuffers))if(t.type.isTop)i=t}return i}class v extends k{constructor(t,e,n){super(t,e,[],n);this.parser=e}static define(t){let e=g(t.languageData);return new v(e,t.parser.configure({props:[p.add((t=>t.isTop?e:undefined))]}),t.name)}configure(t,e){return new v(this.data,this.parser.configure(t),e||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function b(t){let e=t.field(k.state,false);return e?e.tree:r.Tree.empty}function x(t,e,n=50){var r;let s=(r=t.field(k.state,false))===null||r===void 0?void 0:r.context;if(!s)return null;let i=s.viewport;s.updateViewport({from:0,to:e});let o=s.isDone(e)||s.work(n,e)?s.tree:null;s.updateViewport(i);return o}function y(t,e=t.doc.length){var n;return((n=t.field(k.state,false))===null||n===void 0?void 0:n.context.isDone(e))||false}function S(t,e=t.viewport.to,n=100){let r=x(t.state,e,n);if(r!=b(t.state))t.dispatch({});return!!r}function P(t){var e;return((e=t.plugin(E))===null||e===void 0?void 0:e.isWorking())||false}class A{constructor(t){this.doc=t;this.cursorPos=0;this.string="";this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){this.string=this.cursor.next(t-this.cursorPos).value;this.cursorPos=t+this.string.length;return this.cursorPos-this.string.length}chunk(t){this.syncTo(t);return this.string}get lineChunks(){return true}read(t,e){let n=this.cursorPos-this.string.length;if(t<n||e>=this.cursorPos)return this.doc.sliceString(t,e);else return this.string.slice(t-n,e-n)}}let T=null;class C{constructor(t,e,n=[],r,s,i,o,a){this.parser=t;this.state=e;this.fragments=n;this.tree=r;this.treeLen=s;this.viewport=i;this.skipped=o;this.scheduleOn=a;this.parse=null;this.tempSkipped=[]}static create(t,e,n){return new C(t,e,[],r.Tree.empty,0,n,[],null)}startParse(){return this.parser.startParse(new A(this.state.doc),this.fragments)}work(t,e){if(e!=null&&e>=this.state.doc.length)e=undefined;if(this.tree!=r.Tree.empty&&this.isDone(e!==null&&e!==void 0?e:this.state.doc.length)){this.takeTree();return true}return this.withContext((()=>{var n;if(typeof t=="number"){let e=Date.now()+t;t=()=>Date.now()>e}if(!this.parse)this.parse=this.startParse();if(e!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&e<this.state.doc.length)this.parse.stopAt(e);for(;;){let s=this.parse.advance();if(s){this.fragments=this.withoutTempSkipped(r.TreeFragment.addTree(s,this.fragments,this.parse.stoppedAt!=null));this.treeLen=(n=this.parse.stoppedAt)!==null&&n!==void 0?n:this.state.doc.length;this.tree=s;this.parse=null;if(this.treeLen<(e!==null&&e!==void 0?e:this.state.doc.length))this.parse=this.startParse();else return true}if(t())return false}}))}takeTree(){let t,e;if(this.parse&&(t=this.parse.parsedPos)>=this.treeLen){if(this.parse.stoppedAt==null||this.parse.stoppedAt>t)this.parse.stopAt(t);this.withContext((()=>{while(!(e=this.parse.advance())){}}));this.treeLen=t;this.tree=e;this.fragments=this.withoutTempSkipped(r.TreeFragment.addTree(this.tree,this.fragments,true));this.parse=null}}withContext(t){let e=T;T=this;try{return t()}finally{T=e}}withoutTempSkipped(t){for(let e;e=this.tempSkipped.pop();)t=D(t,e.from,e.to);return t}changes(t,e){let{fragments:n,tree:s,treeLen:i,viewport:o,skipped:a}=this;this.takeTree();if(!t.empty){let e=[];t.iterChangedRanges(((t,n,r,s)=>e.push({fromA:t,toA:n,fromB:r,toB:s})));n=r.TreeFragment.applyChanges(n,e);s=r.Tree.empty;i=0;o={from:t.mapPos(o.from,-1),to:t.mapPos(o.to,1)};if(this.skipped.length){a=[];for(let e of this.skipped){let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);if(n<r)a.push({from:n,to:r})}}}return new C(this.parser,e,n,s,i,o,a,this.scheduleOn)}updateViewport(t){if(this.viewport.from==t.from&&this.viewport.to==t.to)return false;this.viewport=t;let e=this.skipped.length;for(let n=0;n<this.skipped.length;n++){let{from:e,to:r}=this.skipped[n];if(e<t.to&&r>t.from){this.fragments=D(this.fragments,e,r);this.skipped.splice(n--,1)}}if(this.skipped.length>=e)return false;this.reset();return true}reset(){if(this.parse){this.takeTree();this.parse=null}}skipUntilInView(t,e){this.skipped.push({from:t,to:e})}static getSkippingParser(t){return new class extends r.Parser{createParse(e,n,s){let i=s[0].from,o=s[s.length-1].to;let a={parsedPos:i,advance(){let e=T;if(e){for(let t of s)e.tempSkipped.push(t);if(t)e.scheduleOn=e.scheduleOn?Promise.all([e.scheduleOn,t]):t}this.parsedPos=o;return new r.Tree(r.NodeType.none,[],[],o-i)},stoppedAt:null,stopAt(){}};return a}}}isDone(t){t=Math.min(t,this.state.doc.length);let e=this.fragments;return this.treeLen>=t&&e.length&&e[0].from==0&&e[0].to>=t}static get(){return T}}function D(t,e,n){return r.TreeFragment.applyChanges(t,[{fromA:e,toA:n,fromB:e,toB:n}])}class I{constructor(t){this.context=t;this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let e=this.context.changes(t.changes,t.state);let n=this.context.treeLen==t.startState.doc.length?undefined:Math.max(t.changes.mapPos(this.context.treeLen),e.viewport.to);if(!e.work(20,n))e.takeTree();return new I(e)}static init(t){let e=Math.min(3e3,t.doc.length);let n=C.create(t.facet(B).parser,t,{from:0,to:e});if(!n.work(20,e))n.takeTree();return new I(n)}}k.state=i.StateField.define({create:I.init,update(t,e){for(let n of e.effects)if(n.is(k.setState))return n.value;if(e.startState.facet(B)!=e.state.facet(B))return I.init(e.state);return t.apply(e)}});let N=t=>{let e=setTimeout((()=>t()),500);return()=>clearTimeout(e)};if(typeof requestIdleCallback!="undefined")N=t=>{let e=-1,n=setTimeout((()=>{e=requestIdleCallback(t,{timeout:500-100})}),100);return()=>e<0?clearTimeout(n):cancelIdleCallback(e)};const O=typeof navigator!="undefined"&&((d=navigator.scheduling)===null||d===void 0?void 0:d.isInputPending)?()=>navigator.scheduling.isInputPending():null;const E=a.ViewPlugin.fromClass(class t{constructor(t){this.view=t;this.working=null;this.workScheduled=0;this.chunkEnd=-1;this.chunkBudget=-1;this.work=this.work.bind(this);this.scheduleWork()}update(t){let e=this.view.state.field(k.state).context;if(e.updateViewport(t.view.viewport)||this.view.viewport.to>e.treeLen)this.scheduleWork();if(t.docChanged){if(this.view.hasFocus)this.chunkBudget+=50;this.scheduleWork()}this.checkAsyncSchedule(e)}scheduleWork(){if(this.working)return;let{state:t}=this.view,e=t.field(k.state);if(e.tree!=e.context.tree||!e.context.isDone(t.doc.length))this.working=N(this.work)}work(t){this.working=null;let e=Date.now();if(this.chunkEnd<e&&(this.chunkEnd<0||this.view.hasFocus)){this.chunkEnd=e+3e4;this.chunkBudget=3e3}if(this.chunkBudget<=0)return;let{state:n,viewport:{to:r}}=this.view,s=n.field(k.state);if(s.tree==s.context.tree&&s.context.isDone(r+1e5))return;let i=Date.now()+Math.min(this.chunkBudget,100,t&&!O?Math.max(25,t.timeRemaining()-5):1e9);let o=s.context.treeLen<r&&n.doc.length>r+1e3;let a=s.context.work((()=>O&&O()||Date.now()>i),r+(o?0:1e5));this.chunkBudget-=Date.now()-e;if(a||this.chunkBudget<=0){s.context.takeTree();this.view.dispatch({effects:k.setState.of(new I(s.context))})}if(this.chunkBudget>0&&!(a&&!o))this.scheduleWork();this.checkAsyncSchedule(s.context)}checkAsyncSchedule(t){if(t.scheduleOn){this.workScheduled++;t.scheduleOn.then((()=>this.scheduleWork())).catch((t=>(0,a.logException)(this.view.state,t))).then((()=>this.workScheduled--));t.scheduleOn=null}}destroy(){if(this.working)this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}});const B=i.Facet.define({combine(t){return t.length?t[0]:null},enables:t=>[k.state,E,a.EditorView.contentAttributes.compute([t],(e=>{let n=e.facet(t);return n&&n.name?{"data-language":n.name}:{}}))]});class M{constructor(t,e=[]){this.language=t;this.support=e;this.extension=[t,e]}}class L{constructor(t,e,n,r,s,i=undefined){this.name=t;this.alias=e;this.extensions=n;this.filename=r;this.loadFunc=s;this.support=i;this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then((t=>this.support=t),(t=>{this.loading=null;throw t})))}static of(t){let{load:e,support:n}=t;if(!e){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");e=()=>Promise.resolve(n)}return new L(t.name,(t.alias||[]).concat(t.name).map((t=>t.toLowerCase())),t.extensions||[],t.filename,e,n)}static matchFilename(t,e){for(let r of t)if(r.filename&&r.filename.test(e))return r;let n=/\.([^.]+)$/.exec(e);if(n)for(let r of t)if(r.extensions.indexOf(n[1])>-1)return r;return null}static matchLanguageName(t,e,n=true){e=e.toLowerCase();for(let r of t)if(r.alias.some((t=>t==e)))return r;if(n)for(let r of t)for(let t of r.alias){let n=e.indexOf(t);if(n>-1&&(t.length>2||!/\w/.test(e[n-1])&&!/\w/.test(e[n+t.length])))return r}return null}}const F=i.Facet.define();const R=i.Facet.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some((t=>t!=e[0])))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function V(t){let e=t.facet(R);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function j(t,e){let n="",r=t.tabSize,s=t.facet(R)[0];if(s=="\t"){while(e>=r){n+="\t";e-=r}s=" "}for(let i=0;i<e;i++)n+=s;return n}function W(t,e){if(t instanceof i.EditorState)t=new $(t);for(let r of t.state.facet(F)){let n=r(t,e);if(n!==undefined)return n}let n=b(t.state);return n?H(t,n,e):null}function U(t,e,n){let r=Object.create(null);let s=new $(t,{overrideIndentation:t=>{var e;return(e=r[t])!==null&&e!==void 0?e:-1}});let i=[];for(let o=e;o<=n;){let e=t.doc.lineAt(o);o=e.to+1;let n=W(s,e.from);if(n==null)continue;if(!/\S/.test(e.text))n=0;let a=/^\s*/.exec(e.text)[0];let l=j(t,n);if(a!=l){r[e.from]=n;i.push({from:e.from,to:e.from+a.length,insert:l})}}return t.changes(i)}class ${constructor(t,e={}){this.state=t;this.options=e;this.unit=V(t)}lineAt(t,e=1){let n=this.state.doc.lineAt(t);let{simulateBreak:r,simulateDoubleBreak:s}=this.options;if(r!=null&&r>=n.from&&r<=n.to){if(s&&r==t)return{text:"",from:t};else if(e<0?r<t:r<=t)return{text:n.text.slice(r-n.from),from:r};else return{text:n.text.slice(0,r-n.from),from:n.from}}return n}textAfterPos(t,e=1){if(this.options.simulateDoubleBreak&&t==this.options.simulateBreak)return"";let{text:n,from:r}=this.lineAt(t,e);return n.slice(t-r,Math.min(n.length,t+100-r))}column(t,e=1){let{text:n,from:r}=this.lineAt(t,e);let s=this.countColumn(n,t-r);let i=this.options.overrideIndentation?this.options.overrideIndentation(r):-1;if(i>-1)s+=i-this.countColumn(n,n.search(/\S|$/));return s}countColumn(t,e=t.length){return(0,i.countColumn)(t,this.state.tabSize,e)}lineIndent(t,e=1){let{text:n,from:r}=this.lineAt(t,e);let s=this.options.overrideIndentation;if(s){let t=s(r);if(t>-1)return t}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const z=new r.NodeProp;function H(t,e,n){return q(e.resolveInner(n).enterUnfinishedNodesBefore(n),n,t)}function G(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function _(t){let e=t.type.prop(z);if(e)return e;let n=t.firstChild,s;if(n&&(s=n.type.prop(r.NodeProp.closedBy))){let e=t.lastChild,n=e&&s.indexOf(e.name)>-1;return t=>Z(t,true,1,undefined,n&&!G(t)?e.from:undefined)}return t.parent==null?J:null}function q(t,e,n){for(;t;t=t.parent){let r=_(t);if(r)return r(K.create(n,e,t))}return null}function J(){return 0}class K extends ${constructor(t,e,n){super(t.state,t.options);this.base=t;this.pos=e;this.node=n}static create(t,e,n){return new K(t,e,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let e=this.state.doc.lineAt(t.from);for(;;){let n=t.resolve(e.from);while(n.parent&&n.parent.from==n.from)n=n.parent;if(Q(n,t))break;e=this.state.doc.lineAt(n.from)}return this.lineIndent(e.from)}continue(){let t=this.node.parent;return t?q(t,this.pos,this.base):0}}function Q(t,e){for(let n=e;n;n=n.parent)if(t==n)return true;return false}function X(t){let e=t.node;let n=e.childAfter(e.from),r=e.lastChild;if(!n)return null;let s=t.options.simulateBreak;let i=t.state.doc.lineAt(n.from);let o=s==null||s<=i.from?i.to:Math.min(i.to,s);for(let a=n.to;;){let t=e.childAfter(a);if(!t||t==r)return null;if(!t.type.isSkipped)return t.from<o?n:null;a=t.to}}function Y({closing:t,align:e=true,units:n=1}){return r=>Z(r,e,n,t)}function Z(t,e,n,r,s){let i=t.textAfter,o=i.match(/^\s*/)[0].length;let a=r&&i.slice(o,o+r.length)==r||s==t.pos+o;let l=e?X(t):null;if(l)return a?t.column(l.from):t.column(l.to);return t.baseIndent+(a?0:t.unit*n)}const tt=t=>t.baseIndent;function et({except:t,units:e=1}={}){return n=>{let r=t&&t.test(n.textAfter);return n.baseIndent+(r?0:e*n.unit)}}const nt=200;function rt(){return i.EditorState.transactionFilter.of((t=>{if(!t.docChanged||!t.isUserEvent("input.type")&&!t.isUserEvent("input.complete"))return t;let e=t.startState.languageDataAt("indentOnInput",t.startState.selection.main.head);if(!e.length)return t;let n=t.newDoc,{head:r}=t.newSelection.main,s=n.lineAt(r);if(r>s.from+nt)return t;let i=n.sliceString(s.from,r);if(!e.some((t=>t.test(i))))return t;let{state:o}=t,a=-1,l=[];for(let{head:h}of o.selection.ranges){let t=o.doc.lineAt(h);if(t.from==a)continue;a=t.from;let e=W(o,t.from);if(e==null)continue;let n=/^\s*/.exec(t.text)[0];let r=j(o,e);if(n!=r)l.push({from:t.from,to:t.from+n.length,insert:r})}return l.length?[t,{changes:l,sequential:true}]:t}))}const st=i.Facet.define();const it=new r.NodeProp;function ot(t){let e=t.firstChild,n=t.lastChild;return e&&e.to<n.from?{from:e.to,to:n.type.isError?t.to:n.from}:null}function at(t,e,n){let r=b(t);if(r.length<n)return null;let s=r.resolveInner(n,1);let i=null;for(let o=s;o;o=o.parent){if(o.to<=n||o.from>n)continue;if(i&&o.from<e)break;let s=o.type.prop(it);if(s&&(o.to<r.length-50||r.length==t.doc.length||!lt(o))){let r=s(o,t);if(r&&r.from<=n&&r.from>=e&&r.to>n)i=r}}return i}function lt(t){let e=t.lastChild;return e&&e.to==t.to&&e.type.isError}function ht(t,e,n){for(let r of t.facet(st)){let s=r(t,e,n);if(s)return s}return at(t,e,n)}function ft(t,e){let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);return n>=r?undefined:{from:n,to:r}}const ut=i.StateEffect.define({map:ft});const ct=i.StateEffect.define({map:ft});function dt(t){let e=[];for(let{head:n}of t.state.selection.ranges){if(e.some((t=>t.from<=n&&t.to>=n)))continue;e.push(t.lineBlockAt(n))}return e}const pt=i.StateField.define({create(){return a.Decoration.none},update(t,e){t=t.map(e.changes);for(let n of e.effects){if(n.is(ut)&&!kt(t,n.value.from,n.value.to))t=t.update({add:[Nt.range(n.value.from,n.value.to)]});else if(n.is(ct))t=t.update({filter:(t,e)=>n.value.from!=t||n.value.to!=e,filterFrom:n.value.from,filterTo:n.value.to})}if(e.selection){let n=false,{head:r}=e.selection.main;t.between(r,r,((t,e)=>{if(t<r&&e>r)n=true}));if(n)t=t.update({filterFrom:r,filterTo:r,filter:(t,e)=>e<=r||t>=r})}return t},provide:t=>a.EditorView.decorations.from(t),toJSON(t,e){let n=[];t.between(0,e.doc.length,((t,e)=>{n.push(t,e)}));return n},fromJSON(t){if(!Array.isArray(t)||t.length%2)throw new RangeError("Invalid JSON for fold state");let e=[];for(let n=0;n<t.length;){let r=t[n++],s=t[n++];if(typeof r!="number"||typeof s!="number")throw new RangeError("Invalid JSON for fold state");e.push(Nt.range(r,s))}return a.Decoration.set(e,true)}});function gt(t){return t.field(pt,false)||i.RangeSet.empty}function mt(t,e,n){var r;let s=null;(r=t.field(pt,false))===null||r===void 0?void 0:r.between(e,n,((t,e)=>{if(!s||s.from>t)s={from:t,to:e}}));return s}function kt(t,e,n){let r=false;t.between(e,e,((t,s)=>{if(t==e&&s==n)r=true}));return r}function wt(t,e){return t.field(pt,false)?e:e.concat(i.StateEffect.appendConfig.of(It()))}const vt=t=>{for(let e of dt(t)){let n=ht(t.state,e.from,e.to);if(n){t.dispatch({effects:wt(t.state,[ut.of(n),xt(t,n)])});return true}}return false};const bt=t=>{if(!t.state.field(pt,false))return false;let e=[];for(let n of dt(t)){let r=mt(t.state,n.from,n.to);if(r)e.push(ct.of(r),xt(t,r,false))}if(e.length)t.dispatch({effects:e});return e.length>0};function xt(t,e,n=true){let r=t.state.doc.lineAt(e.from).number,s=t.state.doc.lineAt(e.to).number;return a.EditorView.announce.of(`${t.state.phrase(n?"Folded lines":"Unfolded lines")} ${r} ${t.state.phrase("to")} ${s}.`)}const yt=t=>{let{state:e}=t,n=[];for(let r=0;r<e.doc.length;){let s=t.lineBlockAt(r),i=ht(e,s.from,s.to);if(i)n.push(ut.of(i));r=(i?t.lineBlockAt(i.to):s).to+1}if(n.length)t.dispatch({effects:wt(t.state,n)});return!!n.length};const St=t=>{let e=t.state.field(pt,false);if(!e||!e.size)return false;let n=[];e.between(0,t.state.doc.length,((t,e)=>{n.push(ct.of({from:t,to:e}))}));t.dispatch({effects:n});return true};function Pt(t,e){for(let n=e;;){let r=ht(t.state,n.from,n.to);if(r&&r.to>e.from)return r;if(!n.from)return null;n=t.lineBlockAt(n.from-1)}}const At=t=>{let e=[];for(let n of dt(t)){let r=mt(t.state,n.from,n.to);if(r){e.push(ct.of(r),xt(t,r,false))}else{let r=Pt(t,n);if(r)e.push(ut.of(r),xt(t,r))}}if(e.length>0)t.dispatch({effects:wt(t.state,e)});return!!e.length};const Tt=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:vt},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:bt},{key:"Ctrl-Alt-[",run:yt},{key:"Ctrl-Alt-]",run:St}];const Ct={placeholderDOM:null,placeholderText:"…"};const Dt=i.Facet.define({combine(t){return(0,i.combineConfig)(t,Ct)}});function It(t){let e=[pt,Mt];if(t)e.push(Dt.of(t));return e}const Nt=a.Decoration.replace({widget:new class extends a.WidgetType{toDOM(t){let{state:e}=t,n=e.facet(Dt);let r=e=>{let n=t.lineBlockAt(t.posAtDOM(e.target));let r=mt(t.state,n.from,n.to);if(r)t.dispatch({effects:ct.of(r)});e.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(t,r);let s=document.createElement("span");s.textContent=n.placeholderText;s.setAttribute("aria-label",e.phrase("folded code"));s.title=e.phrase("unfold");s.className="cm-foldPlaceholder";s.onclick=r;return s}}});const Ot={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>false};class Et extends a.GutterMarker{constructor(t,e){super();this.config=t;this.open=e}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let e=document.createElement("span");e.textContent=this.open?this.config.openText:this.config.closedText;e.title=t.state.phrase(this.open?"Fold line":"Unfold line");return e}}function Bt(t={}){let e=Object.assign(Object.assign({},Ot),t);let n=new Et(e,true),r=new Et(e,false);let s=a.ViewPlugin.fromClass(class{constructor(t){this.from=t.viewport.from;this.markers=this.buildMarkers(t)}update(t){if(t.docChanged||t.viewportChanged||t.startState.facet(B)!=t.state.facet(B)||t.startState.field(pt,false)!=t.state.field(pt,false)||b(t.startState)!=b(t.state)||e.foldingChanged(t))this.markers=this.buildMarkers(t.view)}buildMarkers(t){let e=new i.RangeSetBuilder;for(let s of t.viewportLineBlocks){let i=mt(t.state,s.from,s.to)?r:ht(t.state,s.from,s.to)?n:null;if(i)e.add(s.from,s.from,i)}return e.finish()}});let{domEventHandlers:o}=e;return[s,(0,a.gutter)({class:"cm-foldGutter",markers(t){var e;return((e=t.plugin(s))===null||e===void 0?void 0:e.markers)||i.RangeSet.empty},initialSpacer(){return new Et(e,false)},domEventHandlers:Object.assign(Object.assign({},o),{click:(t,e,n)=>{if(o.click&&o.click(t,e,n))return true;let r=mt(t.state,e.from,e.to);if(r){t.dispatch({effects:ct.of(r)});return true}let s=ht(t.state,e.from,e.to);if(s){t.dispatch({effects:ut.of(s)});return true}return false}})}),It()]}const Mt=a.EditorView.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Lt{constructor(t,e){this.specs=t;let n;function r(t){let e=u.StyleModule.newName();(n||(n=Object.create(null)))["."+e]=t;return e}const s=typeof e.all=="string"?e.all:e.all?r(e.all):undefined;const i=e.scope;this.scope=i instanceof k?t=>t.prop(p)==i.data:i?t=>t==i:undefined;this.style=(0,h.tagHighlighter)(t.map((t=>({tag:t.tag,class:t.class||r(Object.assign({},t,{tag:null}))}))),{all:s}).style;this.module=n?new u.StyleModule(n):null;this.themeType=e.themeType}static define(t,e){return new Lt(t,e||{})}}const Ft=i.Facet.define();const Rt=i.Facet.define({combine(t){return t.length?[t[0]]:null}});function Vt(t){let e=t.facet(Ft);return e.length?e:t.facet(Rt)}function jt(t,e){let n=[$t],r;if(t instanceof Lt){if(t.module)n.push(a.EditorView.styleModule.of(t.module));r=t.themeType}if(e===null||e===void 0?void 0:e.fallback)n.push(Rt.of(t));else if(r)n.push(Ft.computeN([a.EditorView.darkTheme],(e=>e.facet(a.EditorView.darkTheme)==(r=="dark")?[t]:[])));else n.push(Ft.of(t));return n}function Wt(t,e,n){let r=Vt(t);let s=null;if(r)for(let i of r){if(!i.scope||n&&i.scope(n)){let t=i.style(e);if(t)s=s?s+" "+t:t}}return s}class Ut{constructor(t){this.markCache=Object.create(null);this.tree=b(t.state);this.decorations=this.buildDeco(t,Vt(t.state))}update(t){let e=b(t.state),n=Vt(t.state);let r=n!=Vt(t.startState);if(e.length<t.view.viewport.to&&!r&&e.type==this.tree.type){this.decorations=this.decorations.map(t.changes)}else if(e!=this.tree||t.viewportChanged||r){this.tree=e;this.decorations=this.buildDeco(t.view,n)}}buildDeco(t,e){if(!e||!this.tree.length)return a.Decoration.none;let n=new i.RangeSetBuilder;for(let{from:r,to:s}of t.visibleRanges){(0,h.highlightTree)(this.tree,e,((t,e,r)=>{n.add(t,e,this.markCache[r]||(this.markCache[r]=a.Decoration.mark({class:r})))}),r,s)}return n.finish()}}const $t=i.Prec.high(a.ViewPlugin.fromClass(Ut,{decorations:t=>t.decorations}));const zt=Lt.define([{tag:h.tags.meta,color:"#404740"},{tag:h.tags.link,textDecoration:"underline"},{tag:h.tags.heading,textDecoration:"underline",fontWeight:"bold"},{tag:h.tags.emphasis,fontStyle:"italic"},{tag:h.tags.strong,fontWeight:"bold"},{tag:h.tags.strikethrough,textDecoration:"line-through"},{tag:h.tags.keyword,color:"#708"},{tag:[h.tags.atom,h.tags.bool,h.tags.url,h.tags.contentSeparator,h.tags.labelName],color:"#219"},{tag:[h.tags.literal,h.tags.inserted],color:"#164"},{tag:[h.tags.string,h.tags.deleted],color:"#a11"},{tag:[h.tags.regexp,h.tags.escape,h.tags.special(h.tags.string)],color:"#e40"},{tag:h.tags.definition(h.tags.variableName),color:"#00f"},{tag:h.tags.local(h.tags.variableName),color:"#30a"},{tag:[h.tags.typeName,h.tags.namespace],color:"#085"},{tag:h.tags.className,color:"#167"},{tag:[h.tags.special(h.tags.variableName),h.tags.macroName],color:"#256"},{tag:h.tags.definition(h.tags.propertyName),color:"#00c"},{tag:h.tags.comment,color:"#940"},{tag:h.tags.invalid,color:"#f00"}]);const Ht=a.EditorView.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}});const Gt=1e4,_t="()[]{}";const qt=i.Facet.define({combine(t){return(0,i.combineConfig)(t,{afterCursor:true,brackets:_t,maxScanDistance:Gt,renderMatch:Qt})}});const Jt=a.Decoration.mark({class:"cm-matchingBracket"}),Kt=a.Decoration.mark({class:"cm-nonmatchingBracket"});function Qt(t){let e=[];let n=t.matched?Jt:Kt;e.push(n.range(t.start.from,t.start.to));if(t.end)e.push(n.range(t.end.from,t.end.to));return e}const Xt=i.StateField.define({create(){return a.Decoration.none},update(t,e){if(!e.docChanged&&!e.selection)return t;let n=[];let r=e.state.facet(qt);for(let s of e.state.selection.ranges){if(!s.empty)continue;let t=re(e.state,s.head,-1,r)||s.head>0&&re(e.state,s.head-1,1,r)||r.afterCursor&&(re(e.state,s.head,1,r)||s.head<e.state.doc.length&&re(e.state,s.head+1,-1,r));if(t)n=n.concat(r.renderMatch(t,e.state))}return a.Decoration.set(n,true)},provide:t=>a.EditorView.decorations.from(t)});const Yt=[Xt,Ht];function Zt(t={}){return[qt.of(t),Yt]}const te=new r.NodeProp;function ee(t,e,n){let s=t.prop(e<0?r.NodeProp.openedBy:r.NodeProp.closedBy);if(s)return s;if(t.name.length==1){let r=n.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[n[r+e]]}return null}function ne(t){let e=t.type.prop(te);return e?e(t.node):t}function re(t,e,n,r={}){let s=r.maxScanDistance||Gt,i=r.brackets||_t;let o=b(t),a=o.resolveInner(e,n);for(let l=a;l;l=l.parent){let r=ee(l.type,n,i);if(r&&l.from<l.to){let s=ne(l);if(s&&(n>0?e>=s.from&&e<s.to:e>s.from&&e<=s.to))return se(t,e,n,l,s,r,i)}}return ie(t,e,n,o,a.type,s,i)}function se(t,e,n,r,s,i,o){let a=r.parent,l={from:s.from,to:s.to};let h=0,f=a===null||a===void 0?void 0:a.cursor();if(f&&(n<0?f.childBefore(r.from):f.childAfter(r.to)))do{if(n<0?f.to<=r.from:f.from>=r.to){if(h==0&&i.indexOf(f.type.name)>-1&&f.from<f.to){let t=ne(f);return{start:l,end:t?{from:t.from,to:t.to}:undefined,matched:true}}else if(ee(f.type,n,o)){h++}else if(ee(f.type,-n,o)){if(h==0){let t=ne(f);return{start:l,end:t&&t.from<t.to?{from:t.from,to:t.to}:undefined,matched:false}}h--}}}while(n<0?f.prevSibling():f.nextSibling());return{start:l,matched:false}}function ie(t,e,n,r,s,i,o){let a=n<0?t.sliceDoc(e-1,e):t.sliceDoc(e,e+1);let l=o.indexOf(a);if(l<0||l%2==0!=n>0)return null;let h={from:n<0?e-1:e,to:n>0?e+1:e};let f=t.doc.iterRange(e,n>0?t.doc.length:0),u=0;for(let c=0;!f.next().done&&c<=i;){let t=f.value;if(n<0)c+=t.length;let i=e+c*n;for(let e=n>0?0:t.length-1,a=n>0?t.length:-1;e!=a;e+=n){let a=o.indexOf(t[e]);if(a<0||r.resolveInner(i+e,1).type!=s)continue;if(a%2==0==n>0){u++}else if(u==1){return{start:h,end:{from:i+e,to:i+e+1},matched:a>>1==l>>1}}else{u--}}if(n>0)c+=t.length}return f.done?{start:h,matched:false}:null}function oe(t,e,n,r=0,s=0){if(e==null){e=t.search(/[^\s\u00a0]/);if(e==-1)e=t.length}let i=s;for(let o=r;o<e;o++){if(t.charCodeAt(o)==9)i+=n-i%n;else i++}return i}class ae{constructor(t,e,n,r){this.string=t;this.tabSize=e;this.indentUnit=n;this.overrideIndent=r;this.pos=0;this.start=0;this.lastColumnPos=0;this.lastColumnValue=0}eol(){return this.pos>=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||undefined}next(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)}eat(t){let e=this.string.charAt(this.pos);let n;if(typeof t=="string")n=e==t;else n=e&&(t instanceof RegExp?t.test(e):t(e));if(n){++this.pos;return e}}eatWhile(t){let e=this.pos;while(this.eat(t)){}return this.pos>e}eatSpace(){let t=this.pos;while(/[\s\u00a0]/.test(this.string.charAt(this.pos)))++this.pos;return this.pos>t}skipToEnd(){this.pos=this.string.length}skipTo(t){let e=this.string.indexOf(t,this.pos);if(e>-1){this.pos=e;return true}}backUp(t){this.pos-=t}column(){if(this.lastColumnPos<this.start){this.lastColumnValue=oe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue);this.lastColumnPos=this.start}return this.lastColumnValue}indentation(){var t;return(t=this.overrideIndent)!==null&&t!==void 0?t:oe(this.string,null,this.tabSize)}match(t,e,n){if(typeof t=="string"){let r=t=>n?t.toLowerCase():t;let s=this.string.substr(this.pos,t.length);if(r(s)==r(t)){if(e!==false)this.pos+=t.length;return true}else return null}else{let n=this.string.slice(this.pos).match(t);if(n&&n.index>0)return null;if(n&&e!==false)this.pos+=n[0].length;return n}}current(){return this.string.slice(this.start,this.pos)}}function le(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>true),copyState:t.copyState||he,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||ke}}function he(t){if(typeof t!="object")return t;let e={};for(let n in t){let r=t[n];e[n]=r instanceof Array?r.slice():r}return e}const fe=new WeakMap;class ue extends k{constructor(t){let e=g(t.languageData);let n=le(t),s;let i=new class extends r.Parser{createParse(t,e,n){return new ge(s,t,e,n)}};super(e,i,[F.of(((t,e)=>this.getIndent(t,e)))],t.name);this.topNode=Te(e);s=this;this.streamParser=n;this.stateAfter=new r.NodeProp({perNode:true});this.tokenTable=t.tokenTable?new ye(n.tokenTable):Se}static define(t){return new ue(t)}getIndent(t,e){let n=b(t.state),r=n.resolve(e);while(r&&r.type!=this.topNode)r=r.parent;if(!r)return null;let s=undefined;let{overrideIndentation:i}=t.options;if(i){s=fe.get(t.state);if(s!=null&&s<e-1e4)s=undefined}let o=ce(this,n,0,r.from,s!==null&&s!==void 0?s:e),a,l;if(o){l=o.state;a=o.pos+1}else{l=this.streamParser.startState(t.unit);a=0}if(e-a>1e4)return null;while(a<e){let n=t.state.doc.lineAt(a),r=Math.min(e,n.to);if(n.length){let e=i?i(n.from):-1;let s=new ae(n.text,t.state.tabSize,t.unit,e<0?undefined:e);while(s.pos<r-n.from)me(this.streamParser.token,s,l)}else{this.streamParser.blankLine(l,t.unit)}if(r==e)break;a=n.to+1}let h=t.lineAt(e);if(i&&s==null)fe.set(t.state,h.from);return this.streamParser.indent(l,/^\s*(.*)/.exec(h.text)[1],t)}get allowsNesting(){return false}}function ce(t,e,n,s,i){let o=n>=s&&n+e.length<=i&&e.prop(t.stateAfter);if(o)return{state:t.streamParser.copyState(o),pos:n+e.length};for(let a=e.children.length-1;a>=0;a--){let o=e.children[a],l=n+e.positions[a];let h=o instanceof r.Tree&&l<i&&ce(t,o,l,s,i);if(h)return h}return null}function de(t,e,n,s,i){if(i&&n<=0&&s>=e.length)return e;if(!i&&e.type==t.topNode)i=true;for(let o=e.children.length-1;o>=0;o--){let a=e.positions[o],l=e.children[o],h;if(a<s&&l instanceof r.Tree){if(!(h=de(t,l,n-a,s-a,i)))break;return!i?h:new r.Tree(e.type,e.children.slice(0,o).concat(h),e.positions.slice(0,o+1),a+h.length)}}return null}function pe(t,e,n,s){for(let r of e){let e=r.from+(r.openStart?25:0),s=r.to-(r.openEnd?25:0);let i=e<=n&&s>n&&ce(t,r.tree,0-r.offset,n,s),o;if(i&&(o=de(t,r.tree,n+r.offset,i.pos+r.offset,false)))return{state:i.state,tree:o}}return{state:t.streamParser.startState(s?V(s):4),tree:r.Tree.empty}}class ge{constructor(t,e,n,r){this.lang=t;this.input=e;this.fragments=n;this.ranges=r;this.stoppedAt=null;this.chunks=[];this.chunkPos=[];this.chunk=[];this.chunkReused=undefined;this.rangeIndex=0;this.to=r[r.length-1].to;let s=C.get(),i=r[0].from;let{state:o,tree:a}=pe(t,n,i,s===null||s===void 0?void 0:s.state);this.state=o;this.parsedPos=this.chunkStart=i+a.length;for(let l=0;l<a.children.length;l++){this.chunks.push(a.children[l]);this.chunkPos.push(a.positions[l])}if(s&&this.parsedPos<s.viewport.from-1e5){this.state=this.lang.streamParser.startState(V(s.state));s.skipUntilInView(this.parsedPos,s.viewport.from);this.parsedPos=s.viewport.from}this.moveRangeIndex()}advance(){let t=C.get();let e=this.stoppedAt==null?this.to:Math.min(this.to,this.stoppedAt);let n=Math.min(e,this.chunkStart+2048);if(t)n=Math.min(n,t.viewport.to);while(this.parsedPos<n)this.parseLine(t);if(this.chunkStart<this.parsedPos)this.finishChunk();if(this.parsedPos>=e)return this.finish();if(t&&this.parsedPos>=t.viewport.to){t.skipUntilInView(this.parsedPos,e);return this.finish()}return null}stopAt(t){this.stoppedAt=t}lineAfter(t){let e=this.input.chunk(t);if(!this.input.lineChunks){let t=e.indexOf("\n");if(t>-1)e=e.slice(0,t)}else if(e=="\n"){e=""}return t+e.length<=this.to?e:e.slice(0,this.to-t)}nextLine(){let t=this.parsedPos,e=this.lineAfter(t),n=t+e.length;for(let r=this.rangeIndex;;){let t=this.ranges[r].to;if(t>=n)break;e=e.slice(0,t-(n-e.length));r++;if(r==this.ranges.length)break;let s=this.ranges[r].from;let i=this.lineAfter(s);e+=i;n=s+i.length}return{line:e,end:n}}skipGapsTo(t,e,n){for(;;){let r=this.ranges[this.rangeIndex].to,s=t+e;if(n>0?r>s:r>=s)break;let i=this.ranges[++this.rangeIndex].from;e+=i-r}return e}moveRangeIndex(){while(this.ranges[this.rangeIndex].to<this.parsedPos)this.rangeIndex++}emitToken(t,e,n,r,s){if(this.ranges.length>1){s=this.skipGapsTo(e,s,1);e+=s;let t=this.chunk.length;s=this.skipGapsTo(n,s,-1);n+=s;r+=this.chunk.length-t}this.chunk.push(t,e,n,r);return s}parseLine(t){let{line:e,end:n}=this.nextLine(),r=0,{streamParser:s}=this.lang;let i=new ae(e,t?t.state.tabSize:4,t?V(t.state):2);if(i.eol()){s.blankLine(this.state,i.indentUnit)}else{while(!i.eol()){let t=me(s.token,i,this.state);if(t)r=this.emitToken(this.lang.tokenTable.resolve(t),this.parsedPos+i.start,this.parsedPos+i.pos,4,r);if(i.start>1e4)break}}this.parsedPos=n;this.moveRangeIndex();if(this.parsedPos<this.to)this.parsedPos++}finishChunk(){let t=r.Tree.build({buffer:this.chunk,start:this.chunkStart,length:this.parsedPos-this.chunkStart,nodeSet:ve,topID:0,maxBufferLength:2048,reused:this.chunkReused});t=new r.Tree(t.type,t.children,t.positions,t.length,[[this.lang.stateAfter,this.lang.streamParser.copyState(this.state)]]);this.chunks.push(t);this.chunkPos.push(this.chunkStart-this.ranges[0].from);this.chunk=[];this.chunkReused=undefined;this.chunkStart=this.parsedPos}finish(){return new r.Tree(this.lang.topNode,this.chunks,this.chunkPos,this.parsedPos-this.ranges[0].from).balance()}}function me(t,e,n){e.start=e.pos;for(let r=0;r<10;r++){let r=t(e,n);if(e.pos>e.start)return r}throw new Error("Stream parser failed to advance stream.")}const ke=Object.create(null);const we=[r.NodeType.none];const ve=new r.NodeSet(we);const be=[];const xe=Object.create(null);for(let[Ce,De]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])xe[Ce]=Ae(ke,De);class ye{constructor(t){this.extra=t;this.table=Object.assign(Object.create(null),xe)}resolve(t){return!t?0:this.table[t]||(this.table[t]=Ae(this.extra,t))}}const Se=new ye(ke);function Pe(t,e){if(be.indexOf(t)>-1)return;be.push(t);console.warn(e)}function Ae(t,e){let n=null;for(let r of e.split(".")){let e=t[r]||h.tags[r];if(!e){Pe(r,`Unknown highlighting tag ${r}`)}else if(typeof e=="function"){if(!n)Pe(r,`Modifier ${r} used at start of tag`);else n=e(n)}else{if(n)Pe(r,`Tag ${r} used as modifier`);else n=e}}if(!n)return 0;let s=e.replace(/ /g,"_"),i=r.NodeType.define({id:we.length,name:s,props:[(0,h.styleTags)({[s]:n})]});we.push(i);return i.id}function Te(t){let e=r.NodeType.define({id:we.length,name:"Document",props:[p.add((()=>t))]});we.push(e);return e}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[7823],{27823:(e,t,n)=>{n.r(t);n.d(t,{nsis:()=>r});var i=n(11176);const r=(0,i.Q)({start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:true},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:true},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:true},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:true},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:true},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:true},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:true},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:true},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:true},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"keyword",dedent:true},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:true},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"keyword",dedent:true},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variableName.constant"},{regex:/\$\([\!\w\.:-]+\)/,token:"atom"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],languageData:{name:"nsis",indentOnInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,commentTokens:{line:"#",block:{open:"/*",close:"*/"}}}})},11176:(e,t,n)=>{n.d(t,{Q:()=>i});function i(e){r(e,"start");var t={},n=e.languageData||{},i=false;for(var o in e)if(o!=n&&e.hasOwnProperty(o)){var a=t[o]=[],S=e[o];for(var c=0;c<S.length;c++){var u=S[c];a.push(new s(u,e));if(u.indent||u.dedent)i=true}}return{name:n.name,startState:function(){return{state:"start",pending:null,indent:i?[]:null}},copyState:function(e){var t={state:e.state,pending:e.pending,indent:e.indent&&e.indent.slice(0)};if(e.stack)t.stack=e.stack.slice(0);return t},token:l(t),indent:d(t,n),languageData:n}}function r(e,t){if(!e.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function o(e,t){if(!e)return/(?:)/;var n="";if(e instanceof RegExp){if(e.ignoreCase)n="i";e=e.source}else{e=String(e)}return new RegExp((t===false?"":"^")+"(?:"+e+")",n)}function a(e){if(!e)return null;if(e.apply)return e;if(typeof e=="string")return e.replace(/\./g," ");var t=[];for(var n=0;n<e.length;n++)t.push(e[n]&&e[n].replace(/\./g," "));return t}function s(e,t){if(e.next||e.push)r(t,e.next||e.push);this.regex=o(e.regex);this.token=a(e.token);this.data=e}function l(e){return function(t,n){if(n.pending){var i=n.pending.shift();if(n.pending.length==0)n.pending=null;t.pos+=i.text.length;return i.token}var r=e[n.state];for(var o=0;o<r.length;o++){var a=r[o];var s=(!a.data.sol||t.sol())&&t.match(a.regex);if(s){if(a.data.next){n.state=a.data.next}else if(a.data.push){(n.stack||(n.stack=[])).push(n.state);n.state=a.data.push}else if(a.data.pop&&n.stack&&n.stack.length){n.state=n.stack.pop()}if(a.data.indent)n.indent.push(t.indentation()+t.indentUnit);if(a.data.dedent)n.indent.pop();var l=a.token;if(l&&l.apply)l=l(s);if(s.length>2&&a.token&&typeof a.token!="string"){n.pending=[];for(var d=2;d<s.length;d++)if(s[d])n.pending.push({text:s[d],token:a.token[d-1]});t.backUp(s[0].length-(s[1]?s[1].length:0));return l[0]}else if(l&&l.join){return l[0]}else{return l}}}t.next();return null}}function d(e,t){return function(n,i){if(n.indent==null||t.dontIndentStates&&t.doneIndentState.indexOf(n.state)>-1)return null;var r=n.indent.length-1,o=e[n.state];e:for(;;){for(var a=0;a<o.length;a++){var s=o[a];if(s.data.dedent&&s.data.dedentIfLineStart!==false){var l=s.regex.exec(i);if(l&&l[0]){r--;if(s.next||s.push)o=e[s.next||s.push];i=i.slice(l[0].length);continue e}}}break}return r<0?0:n.indent[r]}}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[795],{80795:(e,t,n)=>{n.r(t);n.d(t,{shell:()=>p});var r={};function i(e,t){for(var n=0;n<t.length;n++){r[t[n]]=e}}var s=["true","false"];var o=["if","then","do","else","elif","while","until","for","in","esac","fi","fin","fil","done","exit","set","unset","export","function"];var u=["ab","awk","bash","beep","cat","cc","cd","chown","chmod","chroot","clear","cp","curl","cut","diff","echo","find","gawk","gcc","get","git","grep","hg","kill","killall","ln","ls","make","mkdir","openssl","mv","nc","nl","node","npm","ping","ps","restart","rm","rmdir","sed","service","sh","shopt","shred","source","sort","sleep","ssh","start","stop","su","sudo","svn","tee","telnet","top","touch","vi","vim","wall","wc","wget","who","write","yes","zsh"];i("atom",s);i("keyword",o);i("builtin",u);function a(e,t){if(e.eatSpace())return null;var n=e.sol();var i=e.next();if(i==="\\"){e.next();return null}if(i==="'"||i==='"'||i==="`"){t.tokens.unshift(f(i,i==="`"?"quote":"string"));return h(e,t)}if(i==="#"){if(n&&e.eat("!")){e.skipToEnd();return"meta"}e.skipToEnd();return"comment"}if(i==="$"){t.tokens.unshift(c);return h(e,t)}if(i==="+"||i==="="){return"operator"}if(i==="-"){e.eat("-");e.eatWhile(/\w/);return"attribute"}if(i=="<"){if(e.match("<<"))return"operator";var s=e.match(/^<-?\s*['"]?([^'"]*)['"]?/);if(s){t.tokens.unshift(k(s[1]));return"string.special"}}if(/\d/.test(i)){e.eatWhile(/\d/);if(e.eol()||!/\w/.test(e.peek())){return"number"}}e.eatWhile(/[\w-]/);var o=e.current();if(e.peek()==="="&&/\w+/.test(o))return"def";return r.hasOwnProperty(o)?r[o]:null}function f(e,t){var n=e=="("?")":e=="{"?"}":e;return function(r,i){var s,o=false;while((s=r.next())!=null){if(s===n&&!o){i.tokens.shift();break}else if(s==="$"&&!o&&e!=="'"&&r.peek()!=n){o=true;r.backUp(1);i.tokens.unshift(c);break}else if(!o&&e!==n&&s===e){i.tokens.unshift(f(e,t));return h(r,i)}else if(!o&&/['"]/.test(s)&&!/['"]/.test(e)){i.tokens.unshift(l(s,"string"));r.backUp(1);break}o=!o&&s==="\\"}return t}}function l(e,t){return function(n,r){r.tokens[0]=f(e,t);n.next();return h(n,r)}}var c=function(e,t){if(t.tokens.length>1)e.eat("$");var n=e.next();if(/['"({]/.test(n)){t.tokens[0]=f(n,n=="("?"quote":n=="{"?"def":"string");return h(e,t)}if(!/\d/.test(n))e.eatWhile(/\w/);t.tokens.shift();return"def"};function k(e){return function(t,n){if(t.sol()&&t.string==e)n.tokens.shift();t.skipToEnd();return"string.special"}}function h(e,t){return(t.tokens[0]||a)(e,t)}const p={name:"shell",startState:function(){return{tokens:[]}},token:function(e,t){return h(e,t)},languageData:{autocomplete:s.concat(o,u),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[812],{37796:(e,t,o)=>{o.r(t);o.d(t,{main:()=>$});var r=o(74053);var n=o(95171);var s=o(48435);var l=o(69858);var a=o(48641);var i=o(64331);var c=o(55834);var u=o(28180);var p=o(2542);var f=o(7920);var _=o(38710);var A=o(81554);var y=o(67014);var h=o(77552);var d=o(71821);var b=o(13313);var x=o(23454);var j=o(34802);var m=o(42584);var v=o(54244);var g=o(93814);var w=o(64897);var C=o(94679);var P=o(92121);var E=o(83417);var k=o(83344);var S=o(52109);var O=o(32805);var N=o(63008);var R=o(32747);var J=o(39721);var L=o(55337);var Q=o(32977);var B=o(78624);var I=o(95528);var M=o(3268);var T=o(99204);var U=o(38970);var Y=o(50168);var z=o(52714);var G=o(4002);var K=o(57385);var V=o(65540);var q=o(1733);var D=o(30124);async function F(e,t){try{const o=await window._JUPYTERLAB[e].get(t);const r=o();r.__scope__=e;return r}catch(o){console.warn(`Failed to create module: package: ${e}; module: ${t}`);throw o}}async function $(){var e=r.PageConfig.getOption("browserTest");if(e.toLowerCase()==="true"){var t=document.createElement("div");t.id="browserTest";document.body.appendChild(t);t.textContent="[]";t.style.display="none";var n=[];var s=false;var l=25e3;var a=function(){if(s){return}s=true;t.className="completed"};window.onerror=function(e,o,r,s,l){n.push(String(l));t.textContent=JSON.stringify(n)};console.error=function(e){n.push(String(e));t.textContent=JSON.stringify(n)}}var i=o(53422).JupyterLab;var c=[];var u=[];var p=[];var f=[];const _=[];const A=[];const y=[];const h=JSON.parse(r.PageConfig.getOption("federated_extensions"));const d=[];h.forEach((e=>{if(e.extension){d.push(e.name);_.push(F(e.name,e.extension))}if(e.mimeExtension){d.push(e.name);A.push(F(e.name,e.mimeExtension))}if(e.style&&!r.PageConfig.Extension.isDisabled(e.name)){y.push(F(e.name,e.style))}}));const b=[];function*x(e){let t;if(e.hasOwnProperty("__esModule")){t=e.default}else{t=e}let o=Array.isArray(t)?t:[t];for(let n of o){const t=r.PageConfig.Extension.isDisabled(n.id);b.push({id:n.id,description:n.description,requires:n.requires??[],optional:n.optional??[],provides:n.provides??null,autoStart:n.autoStart,enabled:!t,extension:e.__scope__});if(t){c.push(n.id);continue}if(r.PageConfig.Extension.isDeferred(n.id)){u.push(n.id);p.push(n.id)}yield n}}const j=[];if(!d.includes("@jupyterlab/javascript-extension")){try{let e=o(34632);e.__scope__="@jupyterlab/javascript-extension";for(let t of x(e)){j.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/json-extension")){try{let e=o(74451);e.__scope__="@jupyterlab/json-extension";for(let t of x(e)){j.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/mermaid-extension")){try{let e=o(89861);e.__scope__="@jupyterlab/mermaid-extension";for(let t of x(e)){j.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/pdf-extension")){try{let e=o(27237);e.__scope__="@jupyterlab/pdf-extension";for(let t of x(e)){j.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/vega5-extension")){try{let e=o(66483);e.__scope__="@jupyterlab/vega5-extension";for(let t of x(e)){j.push(t)}}catch(P){console.error(P)}}const m=await Promise.allSettled(A);m.forEach((e=>{if(e.status==="fulfilled"){for(let t of x(e.value)){j.push(t)}}else{console.error(e.reason)}}));if(!d.includes("@jupyterlab/application-extension")){try{let e=o(25327);e.__scope__="@jupyterlab/application-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/apputils-extension")){try{let e=o(37151);e.__scope__="@jupyterlab/apputils-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/cell-toolbar-extension")){try{let e=o(41407);e.__scope__="@jupyterlab/cell-toolbar-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/celltags-extension")){try{let e=o(31124);e.__scope__="@jupyterlab/celltags-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/codemirror-extension")){try{let e=o(80460);e.__scope__="@jupyterlab/codemirror-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/completer-extension")){try{let e=o(35041);e.__scope__="@jupyterlab/completer-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/console-extension")){try{let e=o(35953);e.__scope__="@jupyterlab/console-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/csvviewer-extension")){try{let e=o(22648);e.__scope__="@jupyterlab/csvviewer-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/debugger-extension")){try{let e=o(24237);e.__scope__="@jupyterlab/debugger-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/docmanager-extension")){try{let e=o(50512);e.__scope__="@jupyterlab/docmanager-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/documentsearch-extension")){try{let e=o(24180);e.__scope__="@jupyterlab/documentsearch-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/extensionmanager-extension")){try{let e=o(84496);e.__scope__="@jupyterlab/extensionmanager-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/filebrowser-extension")){try{let e=o(94932);e.__scope__="@jupyterlab/filebrowser-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/fileeditor-extension")){try{let e=o(68543);e.__scope__="@jupyterlab/fileeditor-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/help-extension")){try{let e=o(69110);e.__scope__="@jupyterlab/help-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/htmlviewer-extension")){try{let e=o(25379);e.__scope__="@jupyterlab/htmlviewer-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/hub-extension")){try{let e=o(85764);e.__scope__="@jupyterlab/hub-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/imageviewer-extension")){try{let e=o(55696);e.__scope__="@jupyterlab/imageviewer-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/inspector-extension")){try{let e=o(87053);e.__scope__="@jupyterlab/inspector-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/launcher-extension")){try{let e=o(76701);e.__scope__="@jupyterlab/launcher-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/logconsole-extension")){try{let e=o(70817);e.__scope__="@jupyterlab/logconsole-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/lsp-extension")){try{let e=o(2850);e.__scope__="@jupyterlab/lsp-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/mainmenu-extension")){try{let e=o(71077);e.__scope__="@jupyterlab/mainmenu-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/markdownviewer-extension")){try{let e=o(38453);e.__scope__="@jupyterlab/markdownviewer-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/markedparser-extension")){try{let e=o(76746);e.__scope__="@jupyterlab/markedparser-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/mathjax-extension")){try{let e=o(35507);e.__scope__="@jupyterlab/mathjax-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/mermaid-extension")){try{let e=o(42921);e.__scope__="@jupyterlab/mermaid-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/metadataform-extension")){try{let e=o(57198);e.__scope__="@jupyterlab/metadataform-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/notebook-extension")){try{let e=o(22496);e.__scope__="@jupyterlab/notebook-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/pluginmanager-extension")){try{let e=o(60357);e.__scope__="@jupyterlab/pluginmanager-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/rendermime-extension")){try{let e=o(35046);e.__scope__="@jupyterlab/rendermime-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/running-extension")){try{let e=o(99162);e.__scope__="@jupyterlab/running-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/settingeditor-extension")){try{let e=o(27018);e.__scope__="@jupyterlab/settingeditor-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/shortcuts-extension")){try{let e=o(23326);e.__scope__="@jupyterlab/shortcuts-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/statusbar-extension")){try{let e=o(3662);e.__scope__="@jupyterlab/statusbar-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/terminal-extension")){try{let e=o(78644);e.__scope__="@jupyterlab/terminal-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/theme-dark-extension")){try{let e=o(13219);e.__scope__="@jupyterlab/theme-dark-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/theme-light-extension")){try{let e=o(24338);e.__scope__="@jupyterlab/theme-light-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/toc-extension")){try{let e=o(38886);e.__scope__="@jupyterlab/toc-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/tooltip-extension")){try{let e=o(17800);e.__scope__="@jupyterlab/tooltip-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/translation-extension")){try{let e=o(7290);e.__scope__="@jupyterlab/translation-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}if(!d.includes("@jupyterlab/ui-components-extension")){try{let e=o(5961);e.__scope__="@jupyterlab/ui-components-extension";for(let t of x(e)){f.push(t)}}catch(P){console.error(P)}}const v=await Promise.allSettled(_);v.forEach((e=>{if(e.status==="fulfilled"){for(let t of x(e.value)){f.push(t)}}else{console.error(e.reason)}}));(await Promise.allSettled(y)).filter((({status:e})=>e==="rejected")).forEach((({reason:e})=>{console.error(e)}));const g=new i({mimeExtensions:j,disabled:{matches:c,patterns:r.PageConfig.Extension.disabled.map((function(e){return e.raw}))},deferred:{matches:u,patterns:r.PageConfig.Extension.deferred.map((function(e){return e.raw}))},availablePlugins:b});f.forEach((function(e){g.registerPluginModule(e)}));g.start({ignorePlugins:p,bubblingKeydown:true});var w=(r.PageConfig.getOption("exposeAppInBrowser")||"").toLowerCase()==="true";var C=(r.PageConfig.getOption("devMode")||"").toLowerCase()==="true";if(w||C){window.jupyterapp=g}if(e.toLowerCase()==="true"){g.restored.then((function(){a(n)})).catch((function(e){a([`RestoreError: ${e.message}`])}));window.setTimeout((function(){a(n)}),l)}}},7413:e=>{e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAYAAAB4ka1VAAAAsElEQVQIHQGlAFr/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7+r3zKmT0/+pk9P/7+r3zAAAAAAAAAAABAAAAAAAAAAA6OPzM+/q9wAAAAAA6OPzMwAAAAAAAAAAAgAAAAAAAAAAGR8NiRQaCgAZIA0AGR8NiQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQyoYJ/SY80UAAAAASUVORK5CYII="}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[8771],{28771:(e,t,a)=>{a.r(t);a.d(t,{Cassandra:()=>qe,MSSQL:()=>Se,MariaSQL:()=>Ce,MySQL:()=>Qe,PLSQL:()=>Te,PostgreSQL:()=>ke,SQLDialect:()=>fe,SQLite:()=>Pe,StandardSQL:()=>ye,keywordCompletion:()=>he,keywordCompletionSource:()=>ge,schemaCompletion:()=>be,schemaCompletionSource:()=>_e,sql:()=>ve});var n=a(24104);var r=a.n(n);var i=a(6016);var s=a.n(i);var o=a(11705);var l=a(1065);const c=36,d=1,u=2,m=3,p=4,f=5,g=6,h=7,_=8,b=9,v=10,y=11,k=12,O=13,x=14,w=15,Q=16,C=17,S=18,P=19,q=20,T=21,U=22,z=23,X=24;function j(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57}function B(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function R(e,t,a){for(let n=false;;){if(e.next<0)return;if(e.next==t&&!n){e.advance();return}n=a&&!n&&e.next==92;e.advance()}}function L(e){for(;;){if(e.next<0||e.peek(1)<0)return;if(e.next==36&&e.peek(1)==36){e.advance(2);return}e.advance()}}function Z(e,t){for(;;){if(e.next!=95&&!j(e.next))break;if(t!=null)t+=String.fromCharCode(e.next);e.advance()}return t}function V(e){if(e.next==39||e.next==34||e.next==96){let t=e.next;e.advance();R(e,t,false)}else{Z(e)}}function D(e,t){while(e.next==48||e.next==49)e.advance();if(t&&e.next==t)e.advance()}function I(e,t){for(;;){if(e.next==46){if(t)break;t=true}else if(e.next<48||e.next>57){break}e.advance()}if(e.next==69||e.next==101){e.advance();if(e.next==43||e.next==45)e.advance();while(e.next>=48&&e.next<=57)e.advance()}}function $(e){while(!(e.next<0||e.next==10))e.advance()}function N(e,t){for(let a=0;a<t.length;a++)if(t.charCodeAt(a)==e)return true;return false}const E=" \t\r\n";function W(e,t,a){let n=Object.create(null);n["true"]=n["false"]=f;n["null"]=n["unknown"]=g;for(let r of e.split(" "))if(r)n[r]=q;for(let r of t.split(" "))if(r)n[r]=T;for(let r of(a||"").split(" "))if(r)n[r]=X;return n}const G="array binary bit boolean char character clob date decimal double float int integer interval large national nchar nclob numeric object precision real smallint time timestamp varchar varying ";const A="absolute action add after all allocate alter and any are as asc assertion at authorization before begin between both breadth by call cascade cascaded case cast catalog check close collate collation column commit condition connect connection constraint constraints constructor continue corresponding count create cross cube current current_date current_default_transform_group current_transform_group_for_type current_path current_role current_time current_timestamp current_user cursor cycle data day deallocate declare default deferrable deferred delete depth deref desc describe descriptor deterministic diagnostics disconnect distinct do domain drop dynamic each else elseif end end-exec equals escape except exception exec execute exists exit external fetch first for foreign found from free full function general get global go goto grant group grouping handle having hold hour identity if immediate in indicator initially inner inout input insert intersect into is isolation join key language last lateral leading leave left level like limit local localtime localtimestamp locator loop map match method minute modifies module month names natural nesting new next no none not of old on only open option or order ordinality out outer output overlaps pad parameter partial path prepare preserve primary prior privileges procedure public read reads recursive redo ref references referencing relative release repeat resignal restrict result return returns revoke right role rollback rollup routine row rows savepoint schema scroll search second section select session session_user set sets signal similar size some space specific specifictype sql sqlexception sqlstate sqlwarning start state static system_user table temporary then timezone_hour timezone_minute to trailing transaction translation treat trigger under undo union unique unnest until update usage user using value values view when whenever where while with without work write year zone ";const Y={backslashEscapes:false,hashComments:false,spaceAfterDashes:false,slashComments:false,doubleQuotedStrings:false,doubleDollarQuotedStrings:false,unquotedBitLiterals:false,treatBitsAsBytes:false,charSetCasts:false,operatorChars:"*+-%<>!=&|~^/",specialVar:"?",identifierQuotes:'"',words:W(A,G)};function K(e,t,a,n){let r={};for(let i in Y)r[i]=(e.hasOwnProperty(i)?e:Y)[i];if(t)r.words=W(t,a||"",n);return r}function M(e){return new o.Jq((t=>{var a;let{next:n}=t;t.advance();if(N(n,E)){while(N(t.next,E))t.advance();t.acceptToken(c)}else if(n==36&&t.next==36&&e.doubleDollarQuotedStrings){L(t);t.acceptToken(m)}else if(n==39||n==34&&e.doubleQuotedStrings){R(t,n,e.backslashEscapes);t.acceptToken(m)}else if(n==35&&e.hashComments||n==47&&t.next==47&&e.slashComments){$(t);t.acceptToken(d)}else if(n==45&&t.next==45&&(!e.spaceAfterDashes||t.peek(1)==32)){$(t);t.acceptToken(d)}else if(n==47&&t.next==42){t.advance();for(let e=1;;){let a=t.next;if(t.next<0)break;t.advance();if(a==42&&t.next==47){e--;t.advance();if(!e)break}else if(a==47&&t.next==42){e++;t.advance()}}t.acceptToken(u)}else if((n==101||n==69)&&t.next==39){t.advance();R(t,39,true)}else if((n==110||n==78)&&t.next==39&&e.charSetCasts){t.advance();R(t,39,e.backslashEscapes);t.acceptToken(m)}else if(n==95&&e.charSetCasts){for(let a=0;;a++){if(t.next==39&&a>1){t.advance();R(t,39,e.backslashEscapes);t.acceptToken(m);break}if(!j(t.next))break;t.advance()}}else if(n==40){t.acceptToken(h)}else if(n==41){t.acceptToken(_)}else if(n==123){t.acceptToken(b)}else if(n==125){t.acceptToken(v)}else if(n==91){t.acceptToken(y)}else if(n==93){t.acceptToken(k)}else if(n==59){t.acceptToken(O)}else if(e.unquotedBitLiterals&&n==48&&t.next==98){t.advance();D(t);t.acceptToken(U)}else if((n==98||n==66)&&(t.next==39||t.next==34)){const a=t.next;t.advance();if(e.treatBitsAsBytes){R(t,a,e.backslashEscapes);t.acceptToken(z)}else{D(t,a);t.acceptToken(U)}}else if(n==48&&(t.next==120||t.next==88)||(n==120||n==88)&&t.next==39){let e=t.next==39;t.advance();while(B(t.next))t.advance();if(e&&t.next==39)t.advance();t.acceptToken(p)}else if(n==46&&t.next>=48&&t.next<=57){I(t,true);t.acceptToken(p)}else if(n==46){t.acceptToken(x)}else if(n>=48&&n<=57){I(t,false);t.acceptToken(p)}else if(N(n,e.operatorChars)){while(N(t.next,e.operatorChars))t.advance();t.acceptToken(w)}else if(N(n,e.specialVar)){if(t.next==n)t.advance();V(t);t.acceptToken(C)}else if(N(n,e.identifierQuotes)){R(t,n,false);t.acceptToken(P)}else if(n==58||n==44){t.acceptToken(Q)}else if(j(n)){let r=Z(t,String.fromCharCode(n));t.acceptToken(t.next==46?S:(a=e.words[r.toLowerCase()])!==null&&a!==void 0?a:S)}}))}const F=M(Y);const J=o.WQ.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,F],topRules:{Script:[0,25]},tokenPrec:0});function H(e){let t=e.cursor().moveTo(e.from,-1);while(/Comment/.test(t.name))t.moveTo(t.from,-1);return t.node}function ee(e,t){let a=e.sliceString(t.from,t.to);let n=/^([`'"])(.*)\1$/.exec(a);return n?n[2]:a}function te(e){return e&&(e.name=="Identifier"||e.name=="QuotedIdentifier")}function ae(e,t){if(t.name=="CompositeIdentifier"){let a=[];for(let n=t.firstChild;n;n=n.nextSibling)if(te(n))a.push(ee(e,n));return a}return[ee(e,t)]}function ne(e,t){for(let a=[];;){if(!t||t.name!=".")return a;let n=H(t);if(!te(n))return a;a.unshift(ee(e,n));t=H(n)}}function re(e,t){let a=(0,n.syntaxTree)(e).resolveInner(t,-1);let r=se(e.doc,a);if(a.name=="Identifier"||a.name=="QuotedIdentifier"||a.name=="Keyword"){return{from:a.from,quoted:a.name=="QuotedIdentifier"?e.doc.sliceString(a.from,a.from+1):null,parents:ne(e.doc,H(a)),aliases:r}}if(a.name=="."){return{from:t,quoted:null,parents:ne(e.doc,a),aliases:r}}else{return{from:t,quoted:null,parents:[],empty:true,aliases:r}}}const ie=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function se(e,t){let a;for(let r=t;!a;r=r.parent){if(!r)return null;if(r.name=="Statement")a=r}let n=null;for(let r=a.firstChild,i=false,s=null;r;r=r.nextSibling){let t=r.name=="Keyword"?e.sliceString(r.from,r.to).toLowerCase():null;let a=null;if(!i){i=t=="from"}else if(t=="as"&&s&&te(r.nextSibling)){a=ee(e,r.nextSibling)}else if(t&&ie.has(t)){break}else if(s&&te(r)){a=ee(e,r)}if(a){if(!n)n=Object.create(null);n[a]=ae(e,s)}s=/Identifier$/.test(r.name)?r:null}return n}function oe(e,t){if(!e)return t;return t.map((t=>Object.assign(Object.assign({},t),{label:e+t.label+e,apply:undefined})))}const le=/^\w*$/,ce=/^[`'"]?\w*[`'"]?$/;class de{constructor(){this.list=[];this.children=undefined}child(e){let t=this.children||(this.children=Object.create(null));return t[e]||(t[e]=new de)}childCompletions(e){return this.children?Object.keys(this.children).filter((e=>e)).map((t=>({label:t,type:e}))):[]}}function ue(e,t,a,n,r){let i=new de;let s=i.child(r||"");for(let o in e){let t=o.indexOf(".");let a=t>-1?i.child(o.slice(0,t)):s;let n=a.child(t>-1?o.slice(t+1):o);n.list=e[o].map((e=>typeof e=="string"?{label:e,type:"property"}:e))}s.list=(t||s.childCompletions("type")).concat(n?s.child(n).list:[]);for(let o in i.children){let e=i.child(o);if(!e.list.length)e.list=e.childCompletions("type")}i.list=s.list.concat(a||i.childCompletions("type"));return e=>{let{parents:t,from:a,quoted:r,empty:o,aliases:l}=re(e.state,e.pos);if(o&&!e.explicit)return null;if(l&&t.length==1)t=l[t[0]]||t;let c=i;for(let m of t){while(!c.children||!c.children[m]){if(c==i)c=s;else if(c==s&&n)c=c.child(n);else return null}c=c.child(m)}let d=r&&e.state.sliceDoc(e.pos,e.pos+1)==r;let u=c.list;if(c==i&&l)u=u.concat(Object.keys(l).map((e=>({label:e,type:"constant"}))));return{from:a,to:d?e.pos+1:undefined,options:oe(r,u),validFor:r?ce:le}}}function me(e,t){let a=Object.keys(e).map((a=>({label:t?a.toUpperCase():a,type:e[a]==T?"type":e[a]==q?"keyword":"variable",boost:-1})));return(0,l.eC)(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],(0,l.Mb)(a))}let pe=J.configure({props:[n.indentNodeProp.add({Statement:(0,n.continuedIndent)()}),n.foldNodeProp.add({Statement(e){return{from:e.firstChild.to,to:e.to}},BlockComment(e){return{from:e.from+2,to:e.to-2}}}),(0,i.styleTags)({Keyword:i.tags.keyword,Type:i.tags.typeName,Builtin:i.tags.standard(i.tags.name),Bits:i.tags.number,Bytes:i.tags.string,Bool:i.tags.bool,Null:i.tags["null"],Number:i.tags.number,String:i.tags.string,Identifier:i.tags.name,QuotedIdentifier:i.tags.special(i.tags.string),SpecialVar:i.tags.special(i.tags.name),LineComment:i.tags.lineComment,BlockComment:i.tags.blockComment,Operator:i.tags.operator,"Semi Punctuation":i.tags.punctuation,"( )":i.tags.paren,"{ }":i.tags.brace,"[ ]":i.tags.squareBracket})]});class fe{constructor(e,t){this.dialect=e;this.language=t}get extension(){return this.language.extension}static define(e){let t=K(e,e.keywords,e.types,e.builtin);let a=n.LRLanguage.define({name:"sql",parser:pe.configure({tokenizers:[{from:F,to:M(t)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new fe(t,a)}}function ge(e,t=false){return me(e.dialect.words,t)}function he(e,t=false){return e.language.data.of({autocomplete:ge(e,t)})}function _e(e){return e.schema?ue(e.schema,e.tables,e.schemas,e.defaultTable,e.defaultSchema):()=>null}function be(e){return e.schema?(e.dialect||ye).language.data.of({autocomplete:_e(e)}):[]}function ve(e={}){let t=e.dialect||ye;return new n.LanguageSupport(t.language,[be(e),he(t,!!e.upperCaseKeywords)])}const ye=fe.define({});const ke=fe.define({charSetCasts:true,doubleDollarQuotedStrings:true,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:A+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:G+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"});const Oe="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill";const xe=G+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed";const we="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee";const Qe=fe.define({operatorChars:"*+-%<>!=&|^",charSetCasts:true,doubleQuotedStrings:true,unquotedBitLiterals:true,hashComments:true,spaceAfterDashes:true,specialVar:"@?",identifierQuotes:"`",keywords:A+"group_concat "+Oe,types:xe,builtin:we});const Ce=fe.define({operatorChars:"*+-%<>!=&|^",charSetCasts:true,doubleQuotedStrings:true,unquotedBitLiterals:true,hashComments:true,spaceAfterDashes:true,specialVar:"@?",identifierQuotes:"`",keywords:A+"always generated groupby_concat hard persistent shutdown soft virtual "+Oe,types:xe,builtin:we});const Se=fe.define({keywords:A+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:G+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"});const Pe=fe.define({keywords:A+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:G+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"});const qe=fe.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:G+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:true});const Te=fe.define({keywords:A+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:G+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:true,charSetCasts:true})}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[9],{20009:(e,t,r)=>{r.r(t);r.d(t,{commonmarkLanguage:()=>De,deleteMarkupBackward:()=>Ke,insertNewlineContinueMarkup:()=>Ze,markdown:()=>Ye,markdownKeymap:()=>Je,markdownLanguage:()=>$e});var n=r(37496);var s=r(66143);var i=r(24104);var a=r(73265);var o=r(6016);class l{constructor(e,t,r,n,s,i,o){this.type=e;this.value=t;this.from=r;this.hash=n;this.end=s;this.children=i;this.positions=o;this.hashProp=[[a.NodeProp.contextHash,n]]}static create(e,t,r,n,s){let i=n+(n<<8)+e+(t<<4)|0;return new l(e,t,r,i,s,[],[])}addChild(e,t){if(e.prop(a.NodeProp.contextHash)!=this.hash)e=new a.Tree(e.type,e.children,e.positions,e.length,this.hashProp);this.children.push(e);this.positions.push(t)}toTree(e,t=this.end){let r=this.children.length-1;if(r>=0)t=Math.max(t,this.positions[r]+this.children[r].length+this.from);let n=new a.Tree(e.types[this.type],this.children,this.positions,t-this.from).balance({makeTree:(e,t,r)=>new a.Tree(a.NodeType.none,e,t,r,this.hashProp)});return n}}var h;(function(e){e[e["Document"]=1]="Document";e[e["CodeBlock"]=2]="CodeBlock";e[e["FencedCode"]=3]="FencedCode";e[e["Blockquote"]=4]="Blockquote";e[e["HorizontalRule"]=5]="HorizontalRule";e[e["BulletList"]=6]="BulletList";e[e["OrderedList"]=7]="OrderedList";e[e["ListItem"]=8]="ListItem";e[e["ATXHeading1"]=9]="ATXHeading1";e[e["ATXHeading2"]=10]="ATXHeading2";e[e["ATXHeading3"]=11]="ATXHeading3";e[e["ATXHeading4"]=12]="ATXHeading4";e[e["ATXHeading5"]=13]="ATXHeading5";e[e["ATXHeading6"]=14]="ATXHeading6";e[e["SetextHeading1"]=15]="SetextHeading1";e[e["SetextHeading2"]=16]="SetextHeading2";e[e["HTMLBlock"]=17]="HTMLBlock";e[e["LinkReference"]=18]="LinkReference";e[e["Paragraph"]=19]="Paragraph";e[e["CommentBlock"]=20]="CommentBlock";e[e["ProcessingInstructionBlock"]=21]="ProcessingInstructionBlock";e[e["Escape"]=22]="Escape";e[e["Entity"]=23]="Entity";e[e["HardBreak"]=24]="HardBreak";e[e["Emphasis"]=25]="Emphasis";e[e["StrongEmphasis"]=26]="StrongEmphasis";e[e["Link"]=27]="Link";e[e["Image"]=28]="Image";e[e["InlineCode"]=29]="InlineCode";e[e["HTMLTag"]=30]="HTMLTag";e[e["Comment"]=31]="Comment";e[e["ProcessingInstruction"]=32]="ProcessingInstruction";e[e["URL"]=33]="URL";e[e["HeaderMark"]=34]="HeaderMark";e[e["QuoteMark"]=35]="QuoteMark";e[e["ListMark"]=36]="ListMark";e[e["LinkMark"]=37]="LinkMark";e[e["EmphasisMark"]=38]="EmphasisMark";e[e["CodeMark"]=39]="CodeMark";e[e["CodeText"]=40]="CodeText";e[e["CodeInfo"]=41]="CodeInfo";e[e["LinkTitle"]=42]="LinkTitle";e[e["LinkLabel"]=43]="LinkLabel"})(h||(h={}));class f{constructor(e,t){this.start=e;this.content=t;this.marks=[];this.parsers=[]}}class u{constructor(){this.text="";this.baseIndent=0;this.basePos=0;this.depth=0;this.markers=[];this.pos=0;this.indent=0;this.next=-1}forward(){if(this.basePos>this.pos)this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent);this.pos=e;this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return g(this.text,e)}reset(e){this.text=e;this.baseIndent=this.basePos=this.pos=this.indent=0;this.forwardInner();this.depth=1;while(this.markers.length)this.markers.pop()}moveBase(e){this.basePos=e;this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e;this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,t=0,r=0){for(let n=t;n<e;n++)r+=this.text.charCodeAt(n)==9?4-r%4:1;return r}findColumn(e){let t=0;for(let r=0;t<this.text.length&&r<e;t++)r+=this.text.charCodeAt(t)==9?4-r%4:1;return t}scrub(){if(!this.baseIndent)return this.text;let e="";for(let t=0;t<this.basePos;t++)e+=" ";return e+this.text.slice(this.basePos)}}function d(e,t,r){if(r.pos==r.text.length||e!=t.block&&r.indent>=t.stack[r.depth+1].value+r.baseIndent)return true;if(r.indent>=r.baseIndent+4)return false;let n=(e.type==h.OrderedList?w:S)(r,t,false);return n>0&&(e.type!=h.BulletList||b(r,t,false)<0)&&r.text.charCodeAt(r.pos+n-1)==e.value}const c={[h.Blockquote](e,t,r){if(r.next!=62)return false;r.markers.push(K(h.QuoteMark,t.lineStart+r.pos,t.lineStart+r.pos+1));r.moveBase(r.pos+(p(r.text.charCodeAt(r.pos+1))?2:1));e.end=t.lineStart+r.text.length;return true},[h.ListItem](e,t,r){if(r.indent<r.baseIndent+e.value&&r.next>-1)return false;r.moveBaseColumn(r.baseIndent+e.value);return true},[h.OrderedList]:d,[h.BulletList]:d,[h.Document](){return true}};function p(e){return e==32||e==9||e==10||e==13}function g(e,t=0){while(t<e.length&&p(e.charCodeAt(t)))t++;return t}function m(e,t,r){while(t>r&&p(e.charCodeAt(t-1)))t--;return t}function k(e){if(e.next!=96&&e.next!=126)return-1;let t=e.pos+1;while(t<e.text.length&&e.text.charCodeAt(t)==e.next)t++;if(t<e.pos+3)return-1;if(e.next==96)for(let r=t;r<e.text.length;r++)if(e.text.charCodeAt(r)==96)return-1;return t}function x(e){return e.next!=62?-1:e.text.charCodeAt(e.pos+1)==32?2:1}function b(e,t,r){if(e.next!=42&&e.next!=45&&e.next!=95)return-1;let n=1;for(let s=e.pos+1;s<e.text.length;s++){let t=e.text.charCodeAt(s);if(t==e.next)n++;else if(!p(t))return-1}if(r&&e.next==45&&y(e)>-1&&e.depth==t.stack.length)return-1;return n<3?-1:1}function L(e,t){for(let r=e.stack.length-1;r>=0;r--)if(e.stack[r].type==t)return true;return false}function S(e,t,r){return(e.next==45||e.next==43||e.next==42)&&(e.pos==e.text.length-1||p(e.text.charCodeAt(e.pos+1)))&&(!r||L(t,h.BulletList)||e.skipSpace(e.pos+2)<e.text.length)?1:-1}function w(e,t,r){let n=e.pos,s=e.next;for(;;){if(s>=48&&s<=57)n++;else break;if(n==e.text.length)return-1;s=e.text.charCodeAt(n)}if(n==e.pos||n>e.pos+9||s!=46&&s!=41||n<e.text.length-1&&!p(e.text.charCodeAt(n+1))||r&&!L(t,h.OrderedList)&&(e.skipSpace(n+1)==e.text.length||n>e.pos+1||e.next!=49))return-1;return n+1-e.pos}function C(e){if(e.next!=35)return-1;let t=e.pos+1;while(t<e.text.length&&e.text.charCodeAt(t)==35)t++;if(t<e.text.length&&e.text.charCodeAt(t)!=32)return-1;let r=t-e.pos;return r>6?-1:r}function y(e){if(e.next!=45&&e.next!=61||e.indent>=e.baseIndent+4)return-1;let t=e.pos+1;while(t<e.text.length&&e.text.charCodeAt(t)==e.next)t++;let r=t;while(t<e.text.length&&p(e.text.charCodeAt(t)))t++;return t==e.text.length?r:-1}const T=/^[ \t]*$/,A=/-->/,I=/\?>/;const B=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*<!--/,A],[/^\s*<\?/,I],[/^\s*<![A-Z]/,/>/],[/^\s*<!\[CDATA\[/,/\]\]>/],[/^\s*<\/?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h1|h2|h3|h4|h5|h6|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|\/?>|$)/i,T],[/^\s*(?:<\/[a-z][\w-]*\s*>|<[a-z][\w-]*(\s+[a-z:_][\w-.]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*>)\s*$/i,T]];function E(e,t,r){if(e.next!=60)return-1;let n=e.text.slice(e.pos);for(let s=0,i=B.length-(r?1:0);s<i;s++)if(B[s][0].test(n))return s;return-1}function M(e,t){let r=e.countIndent(t,e.pos,e.indent);let n=e.countIndent(e.skipSpace(t),t,r);return n>=r+5?r+1:n}function H(e,t,r){let n=e.length-1;if(n>=0&&e[n].to==t&&e[n].type==h.CodeText)e[n].to=r;else e.push(K(h.CodeText,t,r))}const P={LinkReference:undefined,IndentedCode(e,t){let r=t.baseIndent+4;if(t.indent<r)return false;let n=t.findColumn(r);let s=e.lineStart+n,i=e.lineStart+t.text.length;let a=[],o=[];H(a,s,i);while(e.nextLine()&&t.depth>=e.stack.length){if(t.pos==t.text.length){H(o,e.lineStart-1,e.lineStart);for(let e of t.markers)o.push(e)}else if(t.indent<r){break}else{if(o.length){for(let e of o){if(e.type==h.CodeText)H(a,e.from,e.to);else a.push(e)}o=[]}H(a,e.lineStart-1,e.lineStart);for(let e of t.markers)a.push(e);i=e.lineStart+t.text.length;let r=e.lineStart+t.findColumn(t.baseIndent+4);if(r<i)H(a,r,i)}}if(o.length){o=o.filter((e=>e.type!=h.CodeText));if(o.length)t.markers=o.concat(t.markers)}e.addNode(e.buffer.writeElements(a,-s).finish(h.CodeBlock,i-s),s);return true},FencedCode(e,t){let r=k(t);if(r<0)return false;let n=e.lineStart+t.pos,s=t.next,i=r-t.pos;let a=t.skipSpace(r),o=m(t.text,t.text.length,a);let l=[K(h.CodeMark,n,n+i)];if(a<o)l.push(K(h.CodeInfo,e.lineStart+a,e.lineStart+o));for(let f=true;e.nextLine()&&t.depth>=e.stack.length;f=false){let r=t.pos;if(t.indent-t.baseIndent<4)while(r<t.text.length&&t.text.charCodeAt(r)==s)r++;if(r-t.pos>=i&&t.skipSpace(r)==t.text.length){for(let e of t.markers)l.push(e);l.push(K(h.CodeMark,e.lineStart+t.pos,e.lineStart+r));e.nextLine();break}else{if(!f)H(l,e.lineStart-1,e.lineStart);for(let e of t.markers)l.push(e);let r=e.lineStart+t.basePos,n=e.lineStart+t.text.length;if(r<n)H(l,r,n)}}e.addNode(e.buffer.writeElements(l,-n).finish(h.FencedCode,e.prevLineEnd()-n),n);return true},Blockquote(e,t){let r=x(t);if(r<0)return false;e.startContext(h.Blockquote,t.pos);e.addNode(h.QuoteMark,e.lineStart+t.pos,e.lineStart+t.pos+1);t.moveBase(t.pos+r);return null},HorizontalRule(e,t){if(b(t,e,false)<0)return false;let r=e.lineStart+t.pos;e.nextLine();e.addNode(h.HorizontalRule,r);return true},BulletList(e,t){let r=S(t,e,false);if(r<0)return false;if(e.block.type!=h.BulletList)e.startContext(h.BulletList,t.basePos,t.next);let n=M(t,t.pos+1);e.startContext(h.ListItem,t.basePos,n-t.baseIndent);e.addNode(h.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+r);t.moveBaseColumn(n);return null},OrderedList(e,t){let r=w(t,e,false);if(r<0)return false;if(e.block.type!=h.OrderedList)e.startContext(h.OrderedList,t.basePos,t.text.charCodeAt(t.pos+r-1));let n=M(t,t.pos+r);e.startContext(h.ListItem,t.basePos,n-t.baseIndent);e.addNode(h.ListMark,e.lineStart+t.pos,e.lineStart+t.pos+r);t.moveBaseColumn(n);return null},ATXHeading(e,t){let r=C(t);if(r<0)return false;let n=t.pos,s=e.lineStart+n;let i=m(t.text,t.text.length,n),a=i;while(a>n&&t.text.charCodeAt(a-1)==t.next)a--;if(a==i||a==n||!p(t.text.charCodeAt(a-1)))a=t.text.length;let o=e.buffer.write(h.HeaderMark,0,r).writeElements(e.parser.parseInline(t.text.slice(n+r+1,a),s+r+1),-s);if(a<t.text.length)o.write(h.HeaderMark,a-n,i-n);let l=o.finish(h.ATXHeading1-1+r,t.text.length-n);e.nextLine();e.addNode(l,s);return true},HTMLBlock(e,t){let r=E(t,e,false);if(r<0)return false;let n=e.lineStart+t.pos,s=B[r][1];let i=[],a=s!=T;while(!s.test(t.text)&&e.nextLine()){if(t.depth<e.stack.length){a=false;break}for(let e of t.markers)i.push(e)}if(a)e.nextLine();let o=s==A?h.CommentBlock:s==I?h.ProcessingInstructionBlock:h.HTMLBlock;let l=e.prevLineEnd();e.addNode(e.buffer.writeElements(i,-n).finish(o,l-n),n);return true},SetextHeading:undefined};class v{constructor(e){this.stage=0;this.elts=[];this.pos=0;this.start=e.start;this.advance(e.content)}nextLine(e,t,r){if(this.stage==-1)return false;let n=r.content+"\n"+t.scrub();let s=this.advance(n);if(s>-1&&s<n.length)return this.complete(e,r,s);return false}finish(e,t){if((this.stage==2||this.stage==3)&&g(t.content,this.pos)==t.content.length)return this.complete(e,t,t.content.length);return false}complete(e,t,r){e.addLeafElement(t,K(h.LinkReference,this.start,this.start+r,this.elts));return true}nextStage(e){if(e){this.pos=e.to-this.start;this.elts.push(e);this.stage++;return true}if(e===false)this.stage=-1;return false}advance(e){for(;;){if(this.stage==-1){return-1}else if(this.stage==0){if(!this.nextStage(le(e,this.pos,this.start,true)))return-1;if(e.charCodeAt(this.pos)!=58)return this.stage=-1;this.elts.push(K(h.LinkMark,this.pos+this.start,this.pos+this.start+1));this.pos++}else if(this.stage==1){if(!this.nextStage(ae(e,g(e,this.pos),this.start)))return-1}else if(this.stage==2){let t=g(e,this.pos),r=0;if(t>this.pos){let n=oe(e,t,this.start);if(n){let t=N(e,n.to-this.start);if(t>0){this.nextStage(n);r=t}}}if(!r)r=N(e,this.pos);return r>0&&r<e.length?r:-1}else{return N(e,this.pos)}}}}function N(e,t){for(;t<e.length;t++){let r=e.charCodeAt(t);if(r==10)break;if(!p(r))return-1}return t}class O{nextLine(e,t,r){let n=t.depth<e.stack.length?-1:y(t);let s=t.next;if(n<0)return false;let i=K(h.HeaderMark,e.lineStart+t.pos,e.lineStart+n);e.nextLine();e.addLeafElement(r,K(s==61?h.SetextHeading1:h.SetextHeading2,r.start,e.prevLineEnd(),[...e.parser.parseInline(r.content,r.start),i]));return true}finish(){return false}}const R={LinkReference(e,t){return t.content.charCodeAt(0)==91?new v(t):null},SetextHeading(){return new O}};const X=[(e,t)=>C(t)>=0,(e,t)=>k(t)>=0,(e,t)=>x(t)>=0,(e,t)=>S(t,e,true)>=0,(e,t)=>w(t,e,true)>=0,(e,t)=>b(t,e,true)>=0,(e,t)=>E(t,e,true)>=0];const z={text:"",end:0};class D{constructor(e,t,r,n){this.parser=e;this.input=t;this.ranges=n;this.line=new u;this.atEnd=false;this.dontInject=new Set;this.stoppedAt=null;this.rangeI=0;this.to=n[n.length-1].to;this.lineStart=this.absoluteLineStart=this.absoluteLineEnd=n[0].from;this.block=l.create(h.Document,0,this.lineStart,0,0);this.stack=[this.block];this.fragments=r.length?new de(r,t):null;this.readLine()}get parsedPos(){return this.absoluteLineStart}advance(){if(this.stoppedAt!=null&&this.absoluteLineStart>this.stoppedAt)return this.finish();let{line:e}=this;for(;;){while(e.depth<this.stack.length)this.finishContext();for(let t of e.markers)this.addNode(t.type,t.from,t.to);if(e.pos<e.text.length)break;if(!this.nextLine())return this.finish()}if(this.fragments&&this.reuseFragment(e.basePos))return null;e:for(;;){for(let t of this.parser.blockParsers)if(t){let r=t(this,e);if(r!=false){if(r==true)return null;e.forward();continue e}}break}let t=new f(this.lineStart+e.pos,e.text.slice(e.pos));for(let r of this.parser.leafBlockParsers)if(r){let e=r(this,t);if(e)t.parsers.push(e)}e:while(this.nextLine()){if(e.pos==e.text.length)break;if(e.indent<e.baseIndent+4){for(let r of this.parser.endLeafBlock)if(r(this,e,t))break e}for(let r of t.parsers)if(r.nextLine(this,e,t))return null;t.content+="\n"+e.scrub();for(let r of e.markers)t.marks.push(r)}this.finishLeaf(t);return null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt<e)throw new RangeError("Can't move stoppedAt forward");this.stoppedAt=e}reuseFragment(e){if(!this.fragments.moveTo(this.absoluteLineStart+e,this.absoluteLineStart)||!this.fragments.matches(this.block.hash))return false;let t=this.fragments.takeNodes(this);if(!t)return false;let r=t,n=this.absoluteLineStart+t;for(let s=1;s<this.ranges.length;s++){let e=this.ranges[s-1].to,t=this.ranges[s].from;if(e>=this.lineStart&&t<n)r-=t-e}this.lineStart+=r;this.absoluteLineStart+=t;this.moveRangeI();if(this.absoluteLineStart<this.to){this.lineStart++;this.absoluteLineStart++;this.readLine()}else{this.atEnd=true;this.readLine()}return true}get depth(){return this.stack.length}parentType(e=this.depth-1){return this.parser.nodeSet.types[this.stack[e].type]}nextLine(){this.lineStart+=this.line.text.length;if(this.absoluteLineEnd>=this.to){this.absoluteLineStart=this.absoluteLineEnd;this.atEnd=true;this.readLine();return false}else{this.lineStart++;this.absoluteLineStart=this.absoluteLineEnd+1;this.moveRangeI();this.readLine();return true}}moveRangeI(){while(this.rangeI<this.ranges.length-1&&this.absoluteLineStart>=this.ranges[this.rangeI].to){this.rangeI++;this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}}scanLine(e){let t=z;t.end=e;if(e>=this.to){t.text=""}else{t.text=this.lineChunkAt(e);t.end+=t.text.length;if(this.ranges.length>1){let e=this.absoluteLineStart,r=this.rangeI;while(this.ranges[r].to<t.end){r++;let n=this.ranges[r].from;let s=this.lineChunkAt(n);t.end=n+s.length;t.text=t.text.slice(0,this.ranges[r-1].to-e)+s;e=t.end-t.text.length}}}return t}readLine(){let{line:e}=this,{text:t,end:r}=this.scanLine(this.absoluteLineStart);this.absoluteLineEnd=r;e.reset(t);for(;e.depth<this.stack.length;e.depth++){let t=this.stack[e.depth],r=this.parser.skipContextMarkup[t.type];if(!r)throw new Error("Unhandled block context "+h[t.type]);if(!r(t,this,e))break;e.forward()}}lineChunkAt(e){let t=this.input.chunk(e),r;if(!this.input.lineChunks){let e=t.indexOf("\n");r=e<0?t:t.slice(0,e)}else{r=t=="\n"?"":t}return e+r.length>this.to?r.slice(0,this.to-e):r}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,r=0){this.block=l.create(e,r,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length);this.stack.push(this.block)}startComposite(e,t,r=0){this.startContext(this.parser.getNodeType(e),t,r)}addNode(e,t,r){if(typeof e=="number")e=new a.Tree(this.parser.nodeSet.types[e],Q,Q,(r!==null&&r!==void 0?r:this.prevLineEnd())-t);this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(fe(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop();let t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from);this.block=t}finish(){while(this.stack.length>1)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?j(this.ranges,0,e.topNode,this.ranges[0].from,this.dontInject):e}finishLeaf(e){for(let r of e.parsers)if(r.finish(this,e))return;let t=fe(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(h.Paragraph,e.content.length),e.start)}elt(e,t,r,n){if(typeof e=="string")return K(this.parser.getNodeType(e),t,r,n);return new G(e,t)}get buffer(){return new Z(this.parser.nodeSet)}}function j(e,t,r,n,s){if(s.has(r.tree))return r.tree;let i=e[t].to;let o=[],l=[],h=r.from+n;function f(r,s){while(s?r>=i:r>i){let s=e[t+1].from-i;n+=s;r+=s;t++;i=e[t].to}}for(let a=r.firstChild;a;a=a.nextSibling){f(a.from+n,true);let r=a.from+n,u;if(a.to+n>i){u=j(e,t,a,n,s);f(a.to+n,false)}else{u=a.toTree()}o.push(u);l.push(r-h)}f(r.to+n,false);return new a.Tree(r.type,o,l,r.to+n-h,r.tree?r.tree.propValues:undefined)}class $ extends a.Parser{constructor(e,t,r,n,s,i,a,o,l){super();this.nodeSet=e;this.blockParsers=t;this.leafBlockParsers=r;this.blockNames=n;this.endLeafBlock=s;this.skipContextMarkup=i;this.inlineParsers=a;this.inlineNames=o;this.wrappers=l;this.nodeTypes=Object.create(null);for(let h of e.types)this.nodeTypes[h.name]=h.id}createParse(e,t,r){let n=new D(this,e,t,r);for(let s of this.wrappers)n=s(n,e,t,r);return n}configure(e){let t=F(e);if(!t)return this;let{nodeSet:r,skipContextMarkup:n}=this;let s=this.blockParsers.slice(),i=this.leafBlockParsers.slice(),l=this.blockNames.slice(),f=this.inlineParsers.slice(),u=this.inlineNames.slice(),d=this.endLeafBlock.slice(),c=this.wrappers;if(q(t.defineNodes)){n=Object.assign({},n);let e=r.types.slice(),s;for(let r of t.defineNodes){let{name:t,block:i,composite:l,style:f}=typeof r=="string"?{name:r}:r;if(e.some((e=>e.name==t)))continue;if(l)n[e.length]=(e,t,r)=>l(t,r,e.value);let u=e.length;let d=l?["Block","BlockContext"]:!i?undefined:u>=h.ATXHeading1&&u<=h.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"];e.push(a.NodeType.define({id:u,name:t,props:d&&[[a.NodeProp.group,d]]}));if(f){if(!s)s={};if(Array.isArray(f)||f instanceof o.Tag)s[t]=f;else Object.assign(s,f)}}r=new a.NodeSet(e);if(s)r=r.extend((0,o.styleTags)(s))}if(q(t.props))r=r.extend(...t.props);if(q(t.remove)){for(let e of t.remove){let t=this.blockNames.indexOf(e),r=this.inlineNames.indexOf(e);if(t>-1)s[t]=i[t]=undefined;if(r>-1)f[r]=undefined}}if(q(t.parseBlock)){for(let e of t.parseBlock){let t=l.indexOf(e.name);if(t>-1){s[t]=e.parse;i[t]=e.leaf}else{let t=e.before?_(l,e.before):e.after?_(l,e.after)+1:l.length-1;s.splice(t,0,e.parse);i.splice(t,0,e.leaf);l.splice(t,0,e.name)}if(e.endLeaf)d.push(e.endLeaf)}}if(q(t.parseInline)){for(let e of t.parseInline){let t=u.indexOf(e.name);if(t>-1){f[t]=e.parse}else{let t=e.before?_(u,e.before):e.after?_(u,e.after)+1:u.length-1;f.splice(t,0,e.parse);u.splice(t,0,e.name)}}}if(t.wrap)c=c.concat(t.wrap);return new $(r,s,i,l,d,n,f,u,c)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let r=new he(this,e,t);e:for(let n=t;n<r.end;){let e=r.char(n);for(let t of this.inlineParsers)if(t){let s=t(r,e,n);if(s>=0){n=s;continue e}}n++}return r.resolveMarkers(0)}}function q(e){return e!=null&&e.length>0}function F(e){if(!Array.isArray(e))return e;if(e.length==0)return null;let t=F(e[0]);if(e.length==1)return t;let r=F(e.slice(1));if(!r||!t)return t||r;let n=(e,t)=>(e||Q).concat(t||Q);let s=t.wrap,i=r.wrap;return{props:n(t.props,r.props),defineNodes:n(t.defineNodes,r.defineNodes),parseBlock:n(t.parseBlock,r.parseBlock),parseInline:n(t.parseInline,r.parseInline),remove:n(t.remove,r.remove),wrap:!s?i:!i?s:(e,t,r,n)=>s(i(e,t,r,n),t,r,n)}}function _(e,t){let r=e.indexOf(t);if(r<0)throw new RangeError(`Position specified relative to unknown parser ${t}`);return r}let U=[a.NodeType.none];for(let tt=1,rt;rt=h[tt];tt++){U[tt]=a.NodeType.define({id:tt,name:rt,props:tt>=h.Escape?[]:[[a.NodeProp.group,tt in c?["Block","BlockContext"]:["Block","LeafBlock"]]]})}const Q=[];class Z{constructor(e){this.nodeSet=e;this.content=[];this.nodes=[]}write(e,t,r,n=0){this.content.push(e,t,r,4+n*4);return this}writeElements(e,t=0){for(let r of e)r.writeTo(this,t);return this}finish(e,t){return a.Tree.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class V{constructor(e,t,r,n=Q){this.type=e;this.from=t;this.to=r;this.children=n}writeTo(e,t){let r=e.content.length;e.writeElements(this.children,t);e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-r)}toTree(e){return new Z(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class G{constructor(e,t){this.tree=e;this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Q}writeTo(e,t){e.nodes.push(this.tree);e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function K(e,t,r,n){return new V(e,t,r,n)}const J={resolve:"Emphasis",mark:"EmphasisMark"};const W={resolve:"Emphasis",mark:"EmphasisMark"};const Y={},ee={};class te{constructor(e,t,r,n){this.type=e;this.from=t;this.to=r;this.side=n}}const re="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let ne=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{ne=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch(et){}const se={Escape(e,t,r){if(t!=92||r==e.end-1)return-1;let n=e.char(r+1);for(let s=0;s<re.length;s++)if(re.charCodeAt(s)==n)return e.append(K(h.Escape,r,r+2));return-1},Entity(e,t,r){if(t!=38)return-1;let n=/^(?:#\d+|#x[a-f\d]+|\w+);/i.exec(e.slice(r+1,r+31));return n?e.append(K(h.Entity,r,r+1+n[0].length)):-1},InlineCode(e,t,r){if(t!=96||r&&e.char(r-1)==96)return-1;let n=r+1;while(n<e.end&&e.char(n)==96)n++;let s=n-r,i=0;for(;n<e.end;n++){if(e.char(n)==96){i++;if(i==s&&e.char(n+1)!=96)return e.append(K(h.InlineCode,r,n+1,[K(h.CodeMark,r,r+s),K(h.CodeMark,n+1-s,n+1)]))}else{i=0}}return-1},HTMLTag(e,t,r){if(t!=60||r==e.end-1)return-1;let n=e.slice(r+1,e.end);let s=/^(?:[a-z][-\w+.]+:[^\s>]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(n);if(s)return e.append(K(h.URL,r,r+1+s[0].length));let i=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(n);if(i)return e.append(K(h.Comment,r,r+1+i[0].length));let a=/^\?[^]*?\?>/.exec(n);if(a)return e.append(K(h.ProcessingInstruction,r,r+1+a[0].length));let o=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);if(!o)return-1;return e.append(K(h.HTMLTag,r,r+1+o[0].length))},Emphasis(e,t,r){if(t!=95&&t!=42)return-1;let n=r+1;while(e.char(n)==t)n++;let s=e.slice(r-1,r),i=e.slice(n,n+1);let a=ne.test(s),o=ne.test(i);let l=/\s|^$/.test(s),h=/\s|^$/.test(i);let f=!h&&(!o||l||a);let u=!l&&(!a||h||o);let d=f&&(t==42||!u||a);let c=u&&(t==42||!f||o);return e.append(new te(t==95?J:W,r,n,(d?1:0)|(c?2:0)))},HardBreak(e,t,r){if(t==92&&e.char(r+1)==10)return e.append(K(h.HardBreak,r,r+2));if(t==32){let t=r+1;while(e.char(t)==32)t++;if(e.char(t)==10&&t>=r+2)return e.append(K(h.HardBreak,r,t+1))}return-1},Link(e,t,r){return t==91?e.append(new te(Y,r,r+1,1)):-1},Image(e,t,r){return t==33&&e.char(r+1)==91?e.append(new te(ee,r,r+2,1)):-1},LinkEnd(e,t,r){if(t!=93)return-1;for(let n=e.parts.length-1;n>=0;n--){let t=e.parts[n];if(t instanceof te&&(t.type==Y||t.type==ee)){if(!t.side||e.skipSpace(t.to)==r&&!/[(\[]/.test(e.slice(r+1,r+2))){e.parts[n]=null;return-1}let s=e.takeContent(n);let i=e.parts[n]=ie(e,s,t.type==Y?h.Link:h.Image,t.from,r+1);if(t.type==Y)for(let t=0;t<n;t++){let r=e.parts[t];if(r instanceof te&&r.type==Y)r.side=0}return i.to}}return-1}};function ie(e,t,r,n,s){let{text:i}=e,a=e.char(s),o=s;t.unshift(K(h.LinkMark,n,n+(r==h.Image?2:1)));t.push(K(h.LinkMark,s-1,s));if(a==40){let r=e.skipSpace(s+1);let n=ae(i,r-e.offset,e.offset),a;if(n){r=e.skipSpace(n.to);a=oe(i,r-e.offset,e.offset);if(a)r=e.skipSpace(a.to)}if(e.char(r)==41){t.push(K(h.LinkMark,s,s+1));o=r+1;if(n)t.push(n);if(a)t.push(a);t.push(K(h.LinkMark,r,o))}}else if(a==91){let r=le(i,s-e.offset,e.offset,false);if(r){t.push(r);o=r.to}}return K(r,n,o,t)}function ae(e,t,r){let n=e.charCodeAt(t);if(n==60){for(let n=t+1;n<e.length;n++){let s=e.charCodeAt(n);if(s==62)return K(h.URL,t+r,n+1+r);if(s==60||s==10)return false}return null}else{let n=0,s=t;for(let t=false;s<e.length;s++){let r=e.charCodeAt(s);if(p(r)){break}else if(t){t=false}else if(r==40){n++}else if(r==41){if(!n)break;n--}else if(r==92){t=true}}return s>t?K(h.URL,t+r,s+r):s==e.length?null:false}}function oe(e,t,r){let n=e.charCodeAt(t);if(n!=39&&n!=34&&n!=40)return false;let s=n==40?41:n;for(let i=t+1,a=false;i<e.length;i++){let n=e.charCodeAt(i);if(a)a=false;else if(n==s)return K(h.LinkTitle,t+r,i+1+r);else if(n==92)a=true}return null}function le(e,t,r,n){for(let s=false,i=t+1,a=Math.min(e.length,i+999);i<a;i++){let a=e.charCodeAt(i);if(s)s=false;else if(a==93)return n?false:K(h.LinkLabel,t+r,i+1+r);else{if(n&&!p(a))n=false;if(a==91)return false;else if(a==92)s=true}}return null}class he{constructor(e,t,r){this.parser=e;this.text=t;this.offset=r;this.parts=[]}char(e){return e>=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){this.parts.push(e);return e.to}addDelimiter(e,t,r,n,s){return this.append(new te(e,t,r,(n?1:0)|(s?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let r=e;r<this.parts.length;r++){let t=this.parts[r];if(!(t instanceof te&&t.type.resolve&&t.side&2))continue;let n=t.type==J||t.type==W;let s=t.to-t.from;let i,a=r-1;for(;a>=e;a--){let e=this.parts[a];if(e instanceof te&&e.side&1&&e.type==t.type&&!(n&&(t.side&1||e.side&2)&&(e.to-e.from+s)%3==0&&((e.to-e.from)%3||s%3))){i=e;break}}if(!i)continue;let o=t.type.resolve,l=[];let h=i.from,f=t.to;if(n){let e=Math.min(2,i.to-i.from,s);h=i.to-e;f=t.from+e;o=e==1?"Emphasis":"StrongEmphasis"}if(i.type.mark)l.push(this.elt(i.type.mark,h,i.to));for(let e=a+1;e<r;e++){if(this.parts[e]instanceof V)l.push(this.parts[e]);this.parts[e]=null}if(t.type.mark)l.push(this.elt(t.type.mark,t.from,f));let u=this.elt(o,h,f,l);this.parts[a]=n&&i.from!=h?new te(i.type,i.from,h,i.side):null;let d=this.parts[r]=n&&t.to!=f?new te(t.type,f,t.to,t.side):null;if(d)this.parts.splice(r,0,u);else this.parts[r]=u}let t=[];for(let r=e;r<this.parts.length;r++){let e=this.parts[r];if(e instanceof V)t.push(e)}return t}findOpeningDelimiter(e){for(let t=this.parts.length-1;t>=0;t--){let r=this.parts[t];if(r instanceof te&&r.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);this.parts.length=e;return t}skipSpace(e){return g(this.text,e-this.offset)+this.offset}elt(e,t,r,n){if(typeof e=="string")return K(this.parser.getNodeType(e),t,r,n);return new G(e,t)}}function fe(e,t){if(!t.length)return e;if(!e.length)return t;let r=e.slice(),n=0;for(let s of t){while(n<r.length&&r[n].to<s.to)n++;if(n<r.length&&r[n].from<s.from){let e=r[n];if(e instanceof V)r[n]=new V(e.type,e.from,e.to,fe(e.children,[s]))}else{r.splice(n++,0,s)}}return r}const ue=[h.CodeBlock,h.ListItem,h.OrderedList,h.BulletList];class de{constructor(e,t){this.fragments=e;this.input=t;this.i=0;this.fragment=null;this.fragmentEnd=-1;this.cursor=null;if(e.length)this.fragment=e[this.i++]}nextFragment(){this.fragment=this.i<this.fragments.length?this.fragments[this.i++]:null;this.cursor=null;this.fragmentEnd=-1}moveTo(e,t){while(this.fragment&&this.fragment.to<=e)this.nextFragment();if(!this.fragment||this.fragment.from>(e?e-1:0))return false;if(this.fragmentEnd<0){let e=this.fragment.to;while(e>0&&this.input.read(e-1,e)!="\n")e--;this.fragmentEnd=e?e-1:0}let r=this.cursor;if(!r){r=this.cursor=this.fragment.tree.cursor();r.firstChild()}let n=e+this.fragment.offset;while(r.to<=n)if(!r.parent())return false;for(;;){if(r.from>=n)return this.fragment.from<=t;if(!r.childAfter(n))return false}}matches(e){let t=this.cursor.tree;return t&&t.prop(a.NodeProp.contextHash)==e}takeNodes(e){let t=this.cursor,r=this.fragment.offset,n=this.fragmentEnd-(this.fragment.openEnd?1:0);let s=e.absoluteLineStart,i=s,a=e.block.children.length;let o=i,l=a;for(;;){if(t.to-r>n){if(t.type.isAnonymous&&t.firstChild())continue;break}e.dontInject.add(t.tree);e.addNode(t.tree,t.from-r);if(t.type.is("Block")){if(ue.indexOf(t.type.id)<0){i=t.to-r;a=e.block.children.length}else{i=o;a=l;o=t.to-r;l=e.block.children.length}}if(!t.nextSibling())break}while(e.block.children.length>a){e.block.children.pop();e.block.positions.pop()}return i-s}}const ce=(0,o.styleTags)({"Blockquote/...":o.tags.quote,HorizontalRule:o.tags.contentSeparator,"ATXHeading1/... SetextHeading1/...":o.tags.heading1,"ATXHeading2/... SetextHeading2/...":o.tags.heading2,"ATXHeading3/...":o.tags.heading3,"ATXHeading4/...":o.tags.heading4,"ATXHeading5/...":o.tags.heading5,"ATXHeading6/...":o.tags.heading6,"Comment CommentBlock":o.tags.comment,Escape:o.tags.escape,Entity:o.tags.character,"Emphasis/...":o.tags.emphasis,"StrongEmphasis/...":o.tags.strong,"Link/... Image/...":o.tags.link,"OrderedList/... BulletList/...":o.tags.list,"BlockQuote/...":o.tags.quote,"InlineCode CodeText":o.tags.monospace,URL:o.tags.url,"HeaderMark HardBreak QuoteMark ListMark LinkMark EmphasisMark CodeMark":o.tags.processingInstruction,"CodeInfo LinkLabel":o.tags.labelName,LinkTitle:o.tags.string,Paragraph:o.tags.content});const pe=new $(new a.NodeSet(U).extend(ce),Object.keys(P).map((e=>P[e])),Object.keys(P).map((e=>R[e])),Object.keys(P),X,c,Object.keys(se).map((e=>se[e])),Object.keys(se),[]);function ge(e,t,r){let n=[];for(let s=e.firstChild,i=t;;s=s.nextSibling){let e=s?s.from:r;if(e>i)n.push({from:i,to:e});if(!s)break;i=s.to}return n}function me(e){let{codeParser:t,htmlParser:r}=e;let n=(0,a.parseMixed)(((e,n)=>{let s=e.type.id;if(t&&(s==h.CodeBlock||s==h.FencedCode)){let r="";if(s==h.FencedCode){let t=e.node.getChild(h.CodeInfo);if(t)r=n.read(t.from,t.to)}let i=t(r);if(i)return{parser:i,overlay:e=>e.type.id==h.CodeText}}else if(r&&(s==h.HTMLBlock||s==h.HTMLTag)){return{parser:r,overlay:ge(e.node,e.from,e.to)}}return null}));return{wrap:n}}const ke={resolve:"Strikethrough",mark:"StrikethroughMark"};const xe={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":o.tags.strikethrough}},{name:"StrikethroughMark",style:o.tags.processingInstruction}],parseInline:[{name:"Strikethrough",parse(e,t,r){if(t!=126||e.char(r+1)!=126||e.char(r+2)==126)return-1;let n=e.slice(r-1,r),s=e.slice(r+2,r+3);let i=/\s|^$/.test(n),a=/\s|^$/.test(s);let o=ne.test(n),l=ne.test(s);return e.addDelimiter(ke,r,r+2,!a&&(!l||i||o),!i&&(!o||a||l))},after:"Emphasis"}]};function be(e,t,r=0,n,s=0){let i=0,a=true,o=-1,l=-1,h=false;let f=()=>{n.push(e.elt("TableCell",s+o,s+l,e.parser.parseInline(t.slice(o,l),s+o)))};for(let u=r;u<t.length;u++){let r=t.charCodeAt(u);if(r==124&&!h){if(!a||o>-1)i++;a=false;if(n){if(o>-1)f();n.push(e.elt("TableDelimiter",u+s,u+s+1))}o=l=-1}else if(h||r!=32&&r!=9){if(o<0)o=u;l=u+1}h=!h&&r==92}if(o>-1){i++;if(n)f()}return i}function Le(e,t){for(let r=t;r<e.length;r++){let t=e.charCodeAt(r);if(t==124)return true;if(t==92)r++}return false}const Se=/^\|?(\s*:?-+:?\s*\|)+(\s*:?-+:?\s*)?$/;class we{constructor(){this.rows=null}nextLine(e,t,r){if(this.rows==null){this.rows=false;let n;if((t.next==45||t.next==58||t.next==124)&&Se.test(n=t.text.slice(t.pos))){let s=[],i=be(e,r.content,0,s,r.start);if(i==be(e,n,t.pos))this.rows=[e.elt("TableHeader",r.start,r.start+r.content.length,s),e.elt("TableDelimiter",e.lineStart+t.pos,e.lineStart+t.text.length)]}}else if(this.rows){let r=[];be(e,t.text,t.pos,r,e.lineStart);this.rows.push(e.elt("TableRow",e.lineStart+t.pos,e.lineStart+t.text.length,r))}return false}finish(e,t){if(!this.rows)return false;e.addLeafElement(t,e.elt("Table",t.start,t.start+t.content.length,this.rows));return true}}const Ce={defineNodes:[{name:"Table",block:true},{name:"TableHeader",style:{"TableHeader/...":o.tags.heading}},"TableRow",{name:"TableCell",style:o.tags.content},{name:"TableDelimiter",style:o.tags.processingInstruction}],parseBlock:[{name:"Table",leaf(e,t){return Le(t.content,0)?new we:null},endLeaf(e,t,r){if(r.parsers.some((e=>e instanceof we))||!Le(t.text,t.basePos))return false;let n=e.scanLine(e.absoluteLineEnd+1).text;return Se.test(n)&&be(e,t.text,t.basePos)==be(e,n,t.basePos)},before:"SetextHeading"}]};class ye{nextLine(){return false}finish(e,t){e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)]));return true}}const Te={defineNodes:[{name:"Task",block:true,style:o.tags.list},{name:"TaskMarker",style:o.tags.atom}],parseBlock:[{name:"TaskList",leaf(e,t){return/^\[[ xX]\]/.test(t.content)&&e.parentType().name=="ListItem"?new ye:null},after:"SetextHeading"}]};const Ae=[Ce,Te,xe];function Ie(e,t,r){return(n,s,i)=>{if(s!=e||n.char(i+1)==e)return-1;let a=[n.elt(r,i,i+1)];for(let o=i+1;o<n.end;o++){let s=n.char(o);if(s==e)return n.addElement(n.elt(t,i,o+1,a.concat(n.elt(r,o,o+1))));if(s==92)a.push(n.elt("Escape",o,o+++2));if(p(s))break}return-1}}const Be={defineNodes:[{name:"Superscript",style:o.tags.special(o.tags.content)},{name:"SuperscriptMark",style:o.tags.processingInstruction}],parseInline:[{name:"Superscript",parse:Ie(94,"Superscript","SuperscriptMark")}]};const Ee={defineNodes:[{name:"Subscript",style:o.tags.special(o.tags.content)},{name:"SubscriptMark",style:o.tags.processingInstruction}],parseInline:[{name:"Subscript",parse:Ie(126,"Subscript","SubscriptMark")}]};const Me={defineNodes:[{name:"Emoji",style:o.tags.character}],parseInline:[{name:"Emoji",parse(e,t,r){let n;if(t!=58||!(n=/^[a-zA-Z_0-9]+:/.exec(e.slice(r+1,e.end))))return-1;return e.addElement(e.elt("Emoji",r,r+1+n[0].length))}}]};var He=r(60049);const Pe=(0,i.defineLanguageFacet)({commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}}});const ve=new a.NodeProp;const Ne=pe.configure({props:[i.foldNodeProp.add((e=>!e.is("Block")||e.is("Document")||Oe(e)!=null?undefined:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to}))),ve.add(Oe),i.indentNodeProp.add({Document:()=>null}),i.languageDataProp.add({Document:Pe})]});function Oe(e){let t=/^(?:ATX|Setext)Heading(\d)$/.exec(e.name);return t?+t[1]:undefined}function Re(e,t){let r=e;for(;;){let e=r.nextSibling,n;if(!e||(n=Oe(e.type))!=null&&n<=t)break;r=e}return r.to}const Xe=i.foldService.of(((e,t,r)=>{for(let n=(0,i.syntaxTree)(e).resolveInner(r,-1);n;n=n.parent){if(n.from<t)break;let e=n.type.prop(ve);if(e==null)continue;let s=Re(n,e);if(s>r)return{from:r,to:s}}return null}));function ze(e){return new i.Language(Pe,e,[Xe],"markdown")}const De=ze(Ne);const je=Ne.configure([Ae,Ee,Be,Me]);const $e=ze(je);function qe(e,t){return r=>{if(r&&e){let t=null;r=/\S*/.exec(r)[0];if(typeof e=="function")t=e(r);else t=i.LanguageDescription.matchLanguageName(e,r,true);if(t instanceof i.LanguageDescription)return t.support?t.support.language.parser:i.ParseContext.getSkippingParser(t.load());else if(t)return t.parser}return t?t.parser:null}}class Fe{constructor(e,t,r,n,s,i,a){this.node=e;this.from=t;this.to=r;this.spaceBefore=n;this.spaceAfter=s;this.type=i;this.item=a}blank(e,t=true){let r=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){while(r.length<e)r+=" ";return r}else{for(let e=this.to-this.from-r.length-this.spaceAfter.length;e>0;e--)r+=" ";return r+(t?this.spaceAfter:"")}}marker(e,t){let r=this.node.name=="OrderedList"?String(+Ue(this.item,e)[2]+t):"";return this.spaceBefore+r+this.type+this.spaceAfter}}function _e(e,t){let r=[];for(let s=e;s&&s.name!="Document";s=s.parent){if(s.name=="ListItem"||s.name=="Blockquote"||s.name=="FencedCode")r.push(s)}let n=[];for(let s=r.length-1;s>=0;s--){let e=r[s],i;let a=t.lineAt(e.from),o=e.from-a.from;if(e.name=="FencedCode"){n.push(new Fe(e,o,o,"","","",null))}else if(e.name=="Blockquote"&&(i=/^[ \t]*>( ?)/.exec(a.text.slice(o)))){n.push(new Fe(e,o,o+i[0].length,"",i[1],">",null))}else if(e.name=="ListItem"&&e.parent.name=="OrderedList"&&(i=/^([ \t]*)\d+([.)])([ \t]*)/.exec(a.text.slice(o)))){let t=i[3],r=i[0].length;if(t.length>=4){t=t.slice(0,t.length-4);r-=4}n.push(new Fe(e.parent,o,o+r,i[1],t,i[2],e))}else if(e.name=="ListItem"&&e.parent.name=="BulletList"&&(i=/^([ \t]*)([-+*])([ \t]{1,4}\[[ xX]\])?([ \t]+)/.exec(a.text.slice(o)))){let t=i[4],r=i[0].length;if(t.length>4){t=t.slice(0,t.length-4);r-=4}let s=i[2];if(i[3])s+=i[3].replace(/[xX]/," ");n.push(new Fe(e.parent,o,o+r,i[1],t,s,e))}}return n}function Ue(e,t){return/^(\s*)(\d+)(?=[.)])/.exec(t.sliceString(e.from,e.from+10))}function Qe(e,t,r,n=0){for(let s=-1,i=e;;){if(i.name=="ListItem"){let e=Ue(i,t);let a=+e[2];if(s>=0){if(a!=s+1)return;r.push({from:i.from+e[1].length,to:i.from+e[0].length,insert:String(s+2+n)})}s=a}let e=i.nextSibling;if(!e)break;i=e}}const Ze=({state:e,dispatch:t})=>{let r=(0,i.syntaxTree)(e),{doc:s}=e;let a=null,o=e.changeByRange((t=>{if(!t.empty||!$e.isActiveAt(e,t.from))return a={range:t};let i=t.from,o=s.lineAt(i);let l=_e(r.resolveInner(i,-1),s);while(l.length&&l[l.length-1].from>i-o.from)l.pop();if(!l.length)return a={range:t};let h=l[l.length-1];if(h.to-h.spaceAfter.length>i-o.from)return a={range:t};let f=i>=h.to-h.spaceAfter.length&&!/\S/.test(o.text.slice(h.to));if(h.item&&f){if(h.node.firstChild.to>=i||o.from>0&&!/[^\s>]/.test(s.lineAt(o.from-1).text)){let e=l.length>1?l[l.length-2]:null;let t,r="";if(e&&e.item){t=o.from+e.from;r=e.marker(s,1)}else{t=o.from+(e?e.to:0)}let a=[{from:t,to:i,insert:r}];if(h.node.name=="OrderedList")Qe(h.item,s,a,-2);if(e&&e.node.name=="OrderedList")Qe(e.item,s,a);return{range:n.EditorSelection.cursor(t+r.length),changes:a}}else{let t="";for(let e=0,r=l.length-2;e<=r;e++){t+=l[e].blank(e<r?l[e+1].from-t.length:null,e<r)}t+=e.lineBreak;return{range:n.EditorSelection.cursor(i+t.length),changes:{from:o.from,insert:t}}}}if(h.node.name=="Blockquote"&&f&&o.from){let r=s.lineAt(o.from-1),n=/>\s*$/.exec(r.text);if(n&&n.index==h.from){let s=e.changes([{from:r.from+n.index,to:r.to},{from:o.from+h.from,to:o.to}]);return{range:t.map(s),changes:s}}}let u=[];if(h.node.name=="OrderedList")Qe(h.item,s,u);let d=h.item&&h.item.from<o.from;let c="";if(!d||/^[\s\d.)\-+*>]*/.exec(o.text)[0].length>=h.to){for(let e=0,t=l.length-1;e<=t;e++){c+=e==t&&!d?l[e].marker(s,1):l[e].blank(e<t?l[e+1].from-c.length:null)}}let p=i;while(p>o.from&&/\s/.test(o.text.charAt(p-o.from-1)))p--;c=e.lineBreak+c;u.push({from:p,to:i,insert:c});return{range:n.EditorSelection.cursor(p+c.length),changes:u}}));if(a)return false;t(e.update(o,{scrollIntoView:true,userEvent:"input"}));return true};function Ve(e){return e.name=="QuoteMark"||e.name=="ListMark"}function Ge(e,t){let r=e.resolveInner(t,-1),n=t;if(Ve(r)){n=r.from;r=r.parent}for(let s;s=r.childBefore(n);){if(Ve(s)){n=s.from}else if(s.name=="OrderedList"||s.name=="BulletList"){r=s.lastChild;n=r.to}else{break}}return r}const Ke=({state:e,dispatch:t})=>{let r=(0,i.syntaxTree)(e);let s=null,a=e.changeByRange((t=>{let i=t.from,{doc:a}=e;if(t.empty&&$e.isActiveAt(e,t.from)){let e=a.lineAt(i);let s=_e(Ge(r,i),a);if(s.length){let r=s[s.length-1];let a=r.to-r.spaceAfter.length+(r.spaceAfter?1:0);if(i-e.from>a&&!/\S/.test(e.text.slice(a,i-e.from)))return{range:n.EditorSelection.cursor(e.from+a),changes:{from:e.from+a,to:i}};if(i-e.from==a&&(!r.item||e.from<=r.item.from||!/\S/.test(e.text.slice(0,r.to)))){let s=e.from+r.from;if(r.item&&r.node.from<r.item.from&&/\S/.test(e.text.slice(r.from,r.to)))return{range:t,changes:{from:s,to:e.from+r.to,insert:r.blank(r.to-r.from)}};if(s<i)return{range:n.EditorSelection.cursor(s),changes:{from:s,to:i}}}}}return s={range:t}}));if(s)return false;t(e.update(a,{scrollIntoView:true,userEvent:"delete"}));return true};const Je=[{key:"Enter",run:Ze},{key:"Backspace",run:Ke}];const We=(0,He.html)({matchClosingTags:false});function Ye(e={}){let{codeLanguages:t,defaultCodeLanguage:r,addKeymap:a=true,base:{parser:o}=De}=e;if(!(o instanceof $))throw new RangeError("Base parser provided to `markdown` should be a Markdown parser");let l=e.extensions?[e.extensions]:[];let h=[We.support],f;if(r instanceof i.LanguageSupport){h.push(r.support);f=r.language}else if(r){f=r}let u=t||f?qe(t,f):undefined;l.push(me({codeParser:u,htmlParser:We.language.parser}));if(a)h.push(n.Prec.high(s.keymap.of(Je)));return new i.LanguageSupport(ze(o.configure(l)),h)}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[9030],{9030:(e,t,O)=>{O.r(t);O.d(t,{completeFromSchema:()=>q,xml:()=>Z,xmlLanguage:()=>A});var n=O(11705);var r=O(6016);const a=1,l=2,s=3,o=4,i=5,y=35,c=36,p=37,$=11,u=13;function f(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function S(e){return e==9||e==10||e==13||e==32}let m=null,g=null,d=0;function P(e,t){let O=e.pos+t;if(g==e&&d==O)return m;while(S(e.peek(t)))t++;let n="";for(;;){let O=e.peek(t);if(!f(O))break;n+=String.fromCharCode(O);t++}g=e;d=O;return m=n||null}function _(e,t){this.name=e;this.parent=t;this.hash=t?t.hash:0;for(let O=0;O<e.length;O++)this.hash+=(this.hash<<4)+e.charCodeAt(O)+(e.charCodeAt(O)<<8)}const v=new n.IK({start:null,shift(e,t,O,n){return t==a?new _(P(n,1)||"",e):e},reduce(e,t){return t==$&&e?e.parent:e},reuse(e,t,O,n){let r=t.type.id;return r==a||r==u?new _(P(n,1)||"",e):e},hash(e){return e?e.hash:0},strict:false});const h=new n.Jq(((e,t)=>{if(e.next!=60)return;e.advance();if(e.next==47){e.advance();let O=P(e,0);if(!O)return e.acceptToken(i);if(t.context&&O==t.context.name)return e.acceptToken(l);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(s,-2);e.acceptToken(o)}else if(e.next!=33&&e.next!=63){return e.acceptToken(a)}}),{contextual:true});function T(e,t){return new n.Jq((O=>{for(let n=0,r=0;;r++){if(O.next<0){if(r)O.acceptToken(e);break}if(O.next==t.charCodeAt(n)){n++;if(n==t.length){if(r>=t.length)O.acceptToken(e,1-t.length);break}}else{n=O.next==t.charCodeAt(0)?1:0}O.advance()}}))}const b=T(y,"--\x3e");const w=T(c,"?>");const C=T(p,"]]>");const W=(0,r.styleTags)({Text:r.tags.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":r.tags.angleBracket,TagName:r.tags.tagName,"MismatchedCloseTag/Tagname":[r.tags.tagName,r.tags.invalid],AttributeName:r.tags.attributeName,AttributeValue:r.tags.attributeValue,Is:r.tags.definitionOperator,"EntityReference CharacterReference":r.tags.character,Comment:r.tags.blockComment,ProcessingInst:r.tags.processingInstruction,DoctypeDecl:r.tags.documentMeta,Cdata:r.tags.special(r.tags.string)});const V=n.WQ.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O'bOpO1G.qO'bOpO1G.qO(eO#tO'#CnOOOO1G.q1G.qO(sOpO7+$aOOOP7+$a7+$aOOOP<<HQ<<HQOOOPAN=aAN=aOOOPAN=iAN=iO'bOpO7+$]OOOO7+$]7+$]OOOO'#Cz'#CzO({O#tO,59YOOOO,59Y,59YOOOP<<G{<<G{OOOO<<Gw<<GwOOOO-E6x-E6xOOOO1G.t1G.t",stateData:")Z~OPQOSVOTWOVWOWWOXWOiXOxPO}TO!PUO~OuZOw]O~O^`Oy^O~OPQOQcOSVOTWOVWOWWOXWOxPO}TO!PUO~ORdO~P!SOseO|gO~OthO!OjO~O^lOy^O~OuZOwoO~O^qOy^O~O[vO`sOdwOy^O~ORyO~P!SO^{Oy^O~OseO|}O~OthO!O!PO~O^!QOy^O~O[!SOy^O~O[!VO`sOd!WOy^O~Oa!YOy^O~Oy^O[mX`mXdmX~O[!VO`sOd!WO~O^!]Oy^O~O[!_Oy^O~O[!aOy^O~O[!cO`sOd!dOy^O~O[!cO`sOd!dO~Oa!eOy^O~Oy^Oz!gO~Oy^O[ma`madma~O[!jOy^O~O[!kOy^O~O[!lO`sOd!mO~OW!pOX!pOz!rO{!pO~O[!sOy^O~OW!pOX!pOz!vO{!pO~O",goto:"%[wPPPPPPPPPPxxP!OP!UPP!_!iP!oxxxP!u!{#R$Z$j$p$v$|PPPP%SXWORYbXRORYb_t`qru!T!U!bQ!h!YS!o!e!fR!t!nQdRRybXSORYbQYORmYQ[PRn[Q_QQkVjp_krz!R!T!X!Z!^!`!f!i!nQr`QzcQ!RlQ!TqQ!XsQ!ZtQ!^{Q!`!QQ!f!YQ!i!]R!n!eQu`S!UqrU![u!U!bR!b!TQ!q!gR!u!qQbRRxbQfTR|fQiUR!OiSXOYTaRb",nodeNames:"⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",maxTerm:47,context:v,nodeProps:[["closedBy",1,"SelfCloseEndTag EndTag",13,"CloseTag MissingCloseTag"],["openedBy",12,"StartTag StartCloseTag",19,"OpenTag",20,"StartTag"]],propSources:[W],skippedNodes:[0],repeatNodeCount:8,tokenData:"IX~R!XOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs'ssv$nvw(Zw}$n}!O*l!O!P$n!P!Q,{!Q![$n![!].e!]!^$n!^!_1v!_!`Cz!`!aDm!a!bE`!b!c$n!c!}.e!}#P$n#P#QFx#Q#R$n#R#S.e#S#T$n#T#o.e#o%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U$n4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$nX$uWVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nP%dTVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_P%vP;=`<%l%_W&OT{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yW&bP;=`<%l%yX&hP;=`<%l$n_&t_VP{WyUOX$nXY&kYZ&kZ]$n]^&k^p$npq&kqr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ'zTzYVPOv%_w!^%_!_;'S%_;'S;=`%s<%lO%_~(^VOp(sqs(sst)ht!](s!^;'S(s;'S;=`)b<%lO(s~(vVOp(sqs(st!](s!]!^)]!^;'S(s;'S;=`)b<%lO(s~)bOW~~)eP;=`<%l(s~)kTOp)zq!])z!^;'S)z;'S;=`*f<%lO)z~)}UOp)zq!])z!]!^*a!^;'S)z;'S;=`*f<%lO)z~*fOX~~*iP;=`<%l)zZ*sYVP{WOr$nrs%_sv$nw}$n}!O+c!O!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZ+jYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a,Y!a;'S$n;'S;=`&e<%lO$nZ,cW|QVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n]-SYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!a-r!a;'S$n;'S;=`&e<%lO$n]-{WdSVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_.p!O`S^QVP{WOr$nrs%_sv$nw}$n}!O.e!O!P.e!P!Q$n!Q![.e![!].e!]!^$n!^!_%y!_!c$n!c!}.e!}#R$n#R#S.e#S#T$n#T#o.e#o$}$n$}%O.e%O%W$n%W%o.e%o%p$n%p&a.e&a&b$n&b1p.e1p4U.e4U4d.e4d4e$n4e$IS.e$IS$I`$n$I`$Ib.e$Ib$Je$n$Je$Jg.e$Jg$Kh$n$Kh%#t.e%#t&/x$n&/x&Et.e&Et&FV$n&FV;'S.e;'S;:j1p;:j;=`&e<%l?&r$n?&r?Ah.e?Ah?BY$n?BY?Mn.e?MnO$n_1sP;=`<%l.eX1{W{WOq%yqr2esv%yw!a%y!a!bCd!b;'S%y;'S;=`&_<%lO%yX2j]{WOr%ysv%yw}%y}!O3c!O!f%y!f!g4e!g!}%y!}#O9t#O#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX3hV{WOr%ysv%yw}%y}!O3}!O;'S%y;'S;=`&_<%lO%yX4UT}P{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX4jV{WOr%ysv%yw!q%y!q!r5P!r;'S%y;'S;=`&_<%lO%yX5UV{WOr%ysv%yw!e%y!e!f5k!f;'S%y;'S;=`&_<%lO%yX5pV{WOr%ysv%yw!v%y!v!w6V!w;'S%y;'S;=`&_<%lO%yX6[V{WOr%ysv%yw!{%y!{!|6q!|;'S%y;'S;=`&_<%lO%yX6vV{WOr%ysv%yw!r%y!r!s7]!s;'S%y;'S;=`&_<%lO%yX7bV{WOr%ysv%yw!g%y!g!h7w!h;'S%y;'S;=`&_<%lO%yX7|X{WOr7wrs8isv7wvw8iw!`7w!`!a9W!a;'S7w;'S;=`9n<%lO7wP8lTO!`8i!`!a8{!a;'S8i;'S;=`9Q<%lO8iP9QOiPP9TP;=`<%l8iX9_TiP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yX9qP;=`<%l7wX9yX{WOr%ysv%yw!e%y!e!f:f!f#V%y#V#W=t#W;'S%y;'S;=`&_<%lO%yX:kV{WOr%ysv%yw!f%y!f!g;Q!g;'S%y;'S;=`&_<%lO%yX;VV{WOr%ysv%yw!c%y!c!d;l!d;'S%y;'S;=`&_<%lO%yX;qV{WOr%ysv%yw!v%y!v!w<W!w;'S%y;'S;=`&_<%lO%yX<]V{WOr%ysv%yw!c%y!c!d<r!d;'S%y;'S;=`&_<%lO%yX<wV{WOr%ysv%yw!}%y!}#O=^#O;'S%y;'S;=`&_<%lO%yX=eT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX=yV{WOr%ysv%yw#W%y#W#X>`#X;'S%y;'S;=`&_<%lO%yX>eV{WOr%ysv%yw#T%y#T#U>z#U;'S%y;'S;=`&_<%lO%yX?PV{WOr%ysv%yw#h%y#h#i?f#i;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#T%y#T#U<r#U;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#c%y#c#d@l#d;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#V%y#V#WAW#W;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#h%y#h#iAr#i;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#m%y#m#nB^#n;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#d%y#d#eBx#e;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#X%y#X#Y7w#Y;'S%y;'S;=`&_<%lO%yXCkT!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZDTWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_DvW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZEgYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aFV!a;'S$n;'S;=`&e<%lO$nZF`W!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGPYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QGo#Q;'S$n;'S;=`&e<%lO$nZGvYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aHf!a;'S$n;'S;=`&e<%lO$nZHoWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[h,b,w,C,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});var x=O(24104);function X(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function Q(e,t){let O=t&&t.firstChild;return!O||O.name!="OpenTag"?"":X(e,O)}function k(e,t,O){let n=t&&t.getChildren("Attribute").find((e=>e.from<=O&&e.to>=O));let r=n&&n.getChild("AttributeName");return r?e.sliceString(r.from,r.to):""}function G(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function E(e,t){var O;let n=(0,x.syntaxTree)(e).resolveInner(t,-1),r=null;for(let a=n;!r&&a.parent;a=a.parent)if(a.name=="OpenTag"||a.name=="CloseTag"||a.name=="SelfClosingTag"||a.name=="MismatchedCloseTag")r=a;if(r&&(r.to>t||r.lastChild.type.isError)){let e=r.parent;if(n.name=="TagName")return r.name=="CloseTag"||r.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:e}:{type:"openTag",from:n.from,context:G(e)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:r};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:r};let O=n==r||n.name=="Attribute"?n.childBefore(t):n;if((O===null||O===void 0?void 0:O.name)=="StartTag")return{type:"openTag",from:t,context:G(e)};if((O===null||O===void 0?void 0:O.name)=="StartCloseTag"&&O.to<=t)return{type:"closeTag",from:t,context:e};if((O===null||O===void 0?void 0:O.name)=="Is")return{type:"attrValue",from:t,context:r};if(O)return{type:"attrName",from:t,context:r};return null}else if(n.name=="StartCloseTag"){return{type:"closeTag",from:t,context:n.parent}}while(n.parent&&n.to==t&&!((O=n.lastChild)===null||O===void 0?void 0:O.type.isError))n=n.parent;if(n.name=="Element"||n.name=="Text"||n.name=="Document")return{type:"tag",from:t,context:n.name=="Element"?n:G(n)};return null}class R{constructor(e,t,O){this.attrs=t;this.attrValues=O;this.children=[];this.name=e.name;this.completion=Object.assign(Object.assign({type:"type"},e.completion||{}),{label:this.name});this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name});this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"</"+this.name+">",boost:2});this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"});this.text=e.textContent?e.textContent.map((e=>({label:e,type:"text"}))):[]}}const Y=/^[:\-\.\w\u00b7-\uffff]*$/;function z(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function j(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function q(e,t){let O=[],n=[];let r=Object.create(null);for(let o of t){let e=z(o);O.push(e);if(o.global)n.push(e);if(o.values)r[o.name]=o.values.map(j)}let a=[],l=[];let s=Object.create(null);for(let o of e){let e=n,t=r;if(o.attributes)e=e.concat(o.attributes.map((e=>{if(typeof e=="string")return O.find((t=>t.label==e))||{label:e,type:"property"};if(e.values){if(t==r)t=Object.create(t);t[e.name]=e.values.map(j)}return z(e)})));let i=new R(o,e,t);s[i.name]=i;a.push(i);if(o.top)l.push(i)}if(!l.length)l=a;for(let o=0;o<a.length;o++){let t=e[o],O=a[o];if(t.children){for(let e of t.children)if(s[e])O.children.push(s[e])}else{O.children=a}}return e=>{var t;let{doc:O}=e.state,o=E(e.state,e.pos);if(!o||o.type=="tag"&&!e.explicit)return null;let{type:i,from:y,context:c}=o;if(i=="openTag"){let e=l;let t=Q(O,c);if(t){let O=s[t];e=(O===null||O===void 0?void 0:O.children)||a}return{from:y,options:e.map((e=>e.completion)),validFor:Y}}else if(i=="closeTag"){let n=Q(O,c);return n?{from:y,to:e.pos+(O.sliceString(e.pos,e.pos+1)==">"?1:0),options:[((t=s[n])===null||t===void 0?void 0:t.closeNameCompletion)||{label:n+">",type:"type"}],validFor:Y}:null}else if(i=="attrName"){let e=s[X(O,c)];return{from:y,options:(e===null||e===void 0?void 0:e.attrs)||n,validFor:Y}}else if(i=="attrValue"){let t=k(O,c,y);if(!t)return null;let n=s[X(O,c)];let a=((n===null||n===void 0?void 0:n.attrValues)||r)[t];if(!a||!a.length)return null;return{from:y,to:e.pos+(O.sliceString(e.pos,e.pos+1)=='"'?1:0),options:a,validFor:/^"[^"]*"?$/}}else if(i=="tag"){let t=Q(O,c),n=s[t];let r=[],o=c&&c.lastChild;if(t&&(!o||o.name!="CloseTag"||X(O,o)!=t))r.push(n?n.closeCompletion:{label:"</"+t+">",type:"type",boost:2});let i=r.concat(((n===null||n===void 0?void 0:n.children)||(c?a:l)).map((e=>e.openCompletion)));if(c&&(n===null||n===void 0?void 0:n.text.length)){let t=c.firstChild;if(t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos)))i=i.concat(n.text)}return{from:y,options:i,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else{return null}}}const A=x.LRLanguage.define({name:"xml",parser:V.configure({props:[x.indentNodeProp.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),x.foldNodeProp.add({Element(e){let t=e.firstChild,O=e.lastChild;if(!t||t.name!="OpenTag")return null;return{from:t.to,to:O.name=="CloseTag"?O.from:e.to}}}),x.bracketMatchingHandle.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}});function Z(e={}){return new x.LanguageSupport(A,A.data.of({autocomplete:q(e.elements||[],e.attributes||[])}))}}}]);
|
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self["webpackChunk_jupyterlab_application_top"]=self["webpackChunk_jupyterlab_application_top"]||[]).push([[9041],{19041:(e,t,s)=>{s.d(t,{pV:()=>os});var i=s(73265);var n=s.n(i);var r=s(11705);var l=s(34155);class a{constructor(e){this.start=e}}class o extends a{constructor(e,t,s,i,n,r,l,a,o,u,h,f,c,p,d){super(e);this.rules=t;this.topRules=s;this.tokens=i;this.localTokens=n;this.context=r;this.externalTokens=l;this.externalSpecializers=a;this.externalPropSources=o;this.precedences=u;this.mainSkip=h;this.scopedSkip=f;this.dialects=c;this.externalProps=p;this.autoDelim=d}toString(){return Object.values(this.rules).join("\n")}}class u extends a{constructor(e,t,s,i,n){super(e);this.id=t;this.props=s;this.params=i;this.expr=n}toString(){return this.id.name+(this.params.length?`<${this.params.join()}>`:"")+" -> "+this.expr}}class h extends a{constructor(e,t){super(e);this.items=t}}class f extends a{constructor(e,t){super(e);this.items=t}}class c extends a{constructor(e,t,s){super(e);this.a=t;this.b=s}}class p extends a{constructor(e,t,s,i,n){super(e);this.precedences=t;this.conflicts=s;this.rules=i;this.literals=n}}class d extends a{constructor(e,t,s,i){super(e);this.precedences=t;this.rules=s;this.fallback=i}}class m extends a{constructor(e,t,s){super(e);this.literal=t;this.props=s}}class g extends a{constructor(e,t,s){super(e);this.id=t;this.source=s}}class k extends a{constructor(e,t,s,i){super(e);this.id=t;this.source=s;this.tokens=i}}class x extends a{constructor(e,t,s,i,n,r){super(e);this.type=t;this.token=s;this.id=i;this.source=n;this.tokens=r}}class b extends a{constructor(e,t,s){super(e);this.id=t;this.source=s}}class w extends a{constructor(e,t,s,i){super(e);this.id=t;this.externalID=s;this.source=i}}class y extends a{constructor(e,t){super(e);this.name=t}toString(){return this.name}}class $ extends a{walk(e){return e(this)}eq(e){return false}}$.prototype.prec=10;class v extends ${constructor(e,t,s){super(e);this.id=t;this.args=s}toString(){return this.id.name+(this.args.length?`<${this.args.join()}>`:"")}eq(e){return this.id.name==e.id.name&&G(this.args,e.args)}walk(e){let t=I(this.args,e);return e(t==this.args?this:new v(this.start,this.id,t))}}class S extends ${constructor(e,t,s,i,n){super(e);this.type=t;this.props=s;this.token=i;this.content=n}toString(){return`@${this.type}[${this.props.join(",")}]<${this.token}, ${this.content}>`}eq(e){return this.type==e.type&&E.eqProps(this.props,e.props)&&D(this.token,e.token)&&D(this.content,e.content)}walk(e){let t=this.token.walk(e),s=this.content.walk(e);return e(t==this.token&&s==this.content?this:new S(this.start,this.type,this.props,t,s))}}class T extends ${constructor(e,t){super(e);this.rule=t}toString(){let e=this.rule;return`${e.id}${e.props.length?`[${e.props.join(",")}]`:""} { ${e.expr} }`}eq(e){let t=this.rule,s=e.rule;return D(t.expr,s.expr)&&t.id.name==s.id.name&&E.eqProps(t.props,s.props)}walk(e){let t=this.rule,s=t.expr.walk(e);return e(s==t.expr?this:new T(this.start,new u(t.start,t.id,t.props,[],s)))}}class O extends ${constructor(e,t){super(e);this.exprs=t}toString(){return this.exprs.map((e=>_(e,this))).join(" | ")}eq(e){return G(this.exprs,e.exprs)}walk(e){let t=I(this.exprs,e);return e(t==this.exprs?this:new O(this.start,t))}}O.prototype.prec=1;class R extends ${constructor(e,t,s,i=false){super(e);this.exprs=t;this.markers=s;this.empty=i}toString(){return this.empty?"()":this.exprs.map((e=>_(e,this))).join(" ")}eq(e){return G(this.exprs,e.exprs)&&this.markers.every(((t,s)=>{let i=e.markers[s];return t.length==i.length&&t.every(((e,t)=>e.eq(i[t])))}))}walk(e){let t=I(this.exprs,e);return e(t==this.exprs?this:new R(this.start,t,this.markers,this.empty&&!t.length))}}R.prototype.prec=2;class P extends a{constructor(e,t,s){super(e);this.id=t;this.type=s}toString(){return(this.type=="ambig"?"~":"!")+this.id.name}eq(e){return this.id.name==e.id.name&&this.type==e.type}}class j extends ${constructor(e,t,s){super(e);this.expr=t;this.kind=s}toString(){return _(this.expr,this)+this.kind}eq(e){return D(this.expr,e.expr)&&this.kind==e.kind}walk(e){let t=this.expr.walk(e);return e(t==this.expr?this:new j(this.start,t,this.kind))}}j.prototype.prec=3;class N extends ${constructor(e,t){super(e);this.value=t}toString(){return JSON.stringify(this.value)}eq(e){return this.value==e.value}}class A extends ${constructor(e,t,s){super(e);this.ranges=t;this.inverted=s}toString(){return`[${this.inverted?"^":""}${this.ranges.map((([e,t])=>String.fromCodePoint(e)+(t==e+1?"":"-"+String.fromCodePoint(t))))}]`}eq(e){return this.inverted==e.inverted&&this.ranges.length==e.ranges.length&&this.ranges.every((([t,s],i)=>{let[n,r]=e.ranges[i];return t==n&&s==r}))}}class z extends ${constructor(e){super(e)}toString(){return"_"}eq(){return true}}function I(e,t){let s=null;for(let i=0;i<e.length;i++){let n=e[i].walk(t);if(n!=e[i]&&!s)s=e.slice(0,i);if(s)s.push(n)}return s||e}const C={asciiLetter:[[65,91],[97,123]],asciiLowercase:[[97,123]],asciiUppercase:[[65,91]],digit:[[48,58]],whitespace:[[9,14],[32,33],[133,134],[160,161],[5760,5761],[8192,8203],[8232,8234],[8239,8240],[8287,8288],[12288,12289]],eof:[[65535,65535]]};class q extends ${constructor(e,t){super(e);this.type=t}toString(){return"@"+this.type}eq(e){return this.type==e.type}}function D(e,t){return e.constructor==t.constructor&&e.eq(t)}function G(e,t){return e.length==t.length&&e.every(((e,s)=>D(e,t[s])))}class E extends a{constructor(e,t,s,i){super(e);this.at=t;this.name=s;this.value=i}eq(e){return this.name==e.name&&this.value.length==e.value.length&&this.value.every(((t,s)=>t.value==e.value[s].value&&t.name==e.value[s].name))}toString(){let e=(this.at?"@":"")+this.name;if(this.value.length){e+="=";for(let{name:t,value:s}of this.value)e+=t?`{${t}}`:/[^\w-]/.test(s)?JSON.stringify(s):s}return e}static eqProps(e,t){return e.length==t.length&&e.every(((e,s)=>e.eq(t[s])))}}class J extends a{constructor(e,t,s){super(e);this.value=t;this.name=s}}function _(e,t){return e.prec<t.prec?"("+e.toString()+")":e.toString()}class U extends Error{}function M(e){for(let t in e)return true;return false}let B=0;class F{constructor(e,t,s,i={}){this.name=e;this.flags=t;this.nodeName=s;this.props=i;this.hash=++B;this.id=-1;this.rules=[]}toString(){return this.name}get nodeType(){return this.top||this.nodeName!=null||M(this.props)||this.repeated}get terminal(){return(this.flags&1)>0}get eof(){return(this.flags&4)>0}get error(){return"error"in this.props}get top(){return(this.flags&2)>0}get interesting(){return this.flags>0||this.nodeName!=null}get repeated(){return(this.flags&16)>0}set preserve(e){this.flags=e?this.flags|8:this.flags&~8}get preserve(){return(this.flags&8)>0}set inline(e){this.flags=e?this.flags|32:this.flags&~32}get inline(){return(this.flags&32)>0}cmp(e){return this.hash-e.hash}}class W{constructor(){this.terms=[];this.names=Object.create(null);this.tops=[];this.eof=this.term("␄",null,1|4);this.error=this.term("⚠","⚠",8)}term(e,t,s=0,i={}){let n=new F(e,s,t,i);this.terms.push(n);this.names[e]=n;return n}makeTop(e,t){const s=this.term("@top",e,2,t);this.tops.push(s);return s}makeTerminal(e,t,s={}){return this.term(e,t,1,s)}makeNonTerminal(e,t,s={}){return this.term(e,t,0,s)}makeRepeat(e){return this.term(e,null,16)}uniqueName(e){for(let t=0;;t++){let s=t?`${e}-${t}`:e;if(!this.names[s])return s}}finish(e){for(let r of e)r.name.rules.push(r);this.terms=this.terms.filter((t=>t.terminal||t.preserve||e.some((e=>e.name==t||e.parts.includes(t)))));let t={};let s=[this.error];this.error.id=0;let i=0+1;for(let r of this.terms)if(r.id<0&&r.nodeType&&!r.repeated){r.id=i++;s.push(r)}let n=i;for(let r of this.terms)if(r.repeated){r.id=i++;s.push(r)}this.eof.id=i++;for(let r of this.terms){if(r.id<0)r.id=i++;if(r.name)t[r.id]=r.name}if(i>=65534)throw new U("Too many terms");return{nodeTypes:s,names:t,minRepeatTerm:n,maxTerm:i-1}}}function L(e,t,s){if(e.length!=t.length)return e.length-t.length;for(let i=0;i<e.length;i++){let n=s(e[i],t[i]);if(n)return n}return 0}const Q=[];class V{constructor(e,t=Q,s=0){this.precedence=e;this.ambigGroups=t;this.cut=s}join(e){if(this==V.none||this==e)return e;if(e==V.none)return this;return new V(Math.max(this.precedence,e.precedence),Y(this.ambigGroups,e.ambigGroups),Math.max(this.cut,e.cut))}cmp(e){return this.precedence-e.precedence||L(this.ambigGroups,e.ambigGroups,((e,t)=>e<t?-1:e>t?1:0))||this.cut-e.cut}}V.none=new V(0);function Y(e,t){if(e.length==0||e==t)return t;if(t.length==0)return e;let s=e.slice();for(let i of t)if(!e.includes(i))s.push(i);return s.sort()}let H=0;class K{constructor(e,t,s,i){this.name=e;this.parts=t;this.conflicts=s;this.skip=i;this.id=H++}cmp(e){return this.id-e.id}cmpNoName(e){return this.parts.length-e.parts.length||this.skip.hash-e.skip.hash||this.parts.reduce(((t,s,i)=>t||s.cmp(e.parts[i])),0)||L(this.conflicts,e.conflicts,((e,t)=>e.cmp(t)))}toString(){return this.name+" -> "+this.parts.join(" ")}get isRepeatWrap(){return this.name.repeated&&this.parts.length==2&&this.parts[0]==this.name}sameReduce(e){return this.name==e.name&&this.parts.length==e.parts.length&&this.isRepeatWrap==e.isRepeatWrap}}const X=65535;class Z{constructor(e,t,s){this.from=e;this.to=t;this.target=s}toString(){return`-> ${this.target.id}[label=${JSON.stringify(this.from<0?"ε":ee(this.from)+(this.to>this.from+1?"-"+ee(this.to-1):""))}]`}}function ee(e){return e>X?"∞":e==10?"\\n":e==13?"\\r":e<32||e>=55296&&e<57343?"\\u{"+e.toString(16)+"}":String.fromCharCode(e)}function te(e,t){let s=Object.create(null);let i=Object.create(null);for(let n of e){let e=oe(n.accepting);let t=i[e]||(i[e]=[]);t.push(n);s[n.id]=t}for(;;){let i=false,n=Object.create(null);for(let t of e){if(n[t.id])continue;let e=s[t.id];if(e.length==1){n[e[0].id]=e;continue}let r=[];e:for(let t of e){for(let e of r){if(se(t,e[0],s)){e.push(t);continue e}}r.push([t])}if(r.length>1)i=true;for(let t of r)for(let e of t)n[e.id]=t}if(!i)return ie(e,t,s);s=n}}function se(e,t,s){if(e.edges.length!=t.edges.length)return false;for(let i=0;i<e.edges.length;i++){let n=e.edges[i],r=t.edges[i];if(n.from!=r.from||n.to!=r.to||s[n.target.id]!=s[r.target.id])return false}return true}function ie(e,t,s){for(let i of e){for(let e=0;e<i.edges.length;e++){let t=i.edges[e],n=s[t.target.id][0];if(n!=t.target)i.edges[e]=new Z(t.from,t.to,n)}}return s[t.id][0]}let ne=1;class re{constructor(e=[],t=ne++){this.accepting=e;this.id=t;this.edges=[]}edge(e,t,s){this.edges.push(new Z(e,t,s))}nullEdge(e){this.edge(-1,-1,e)}compile(){let e=Object.create(null),t=0;let s=i(this.closure().sort(((e,t)=>e.id-t.id)));return te(Object.values(e),s);function i(s){let n=e[oe(s)]=new re(s.reduce(((e,t)=>Y(e,t.accepting)),[]),t++);let r=[];for(let e of s)for(let t of e.edges){if(t.from>=0)r.push(t)}let l=fe(r);for(let t of l){let s=t.targets.sort(((e,t)=>e.id-t.id));n.edge(t.from,t.to,e[oe(s)]||i(s))}return n}}closure(){let e=[],t=Object.create(null);function s(i){if(t[i.id])return;t[i.id]=true;if(i.edges.some((e=>e.from>=0))||i.accepting.length>0&&!i.edges.some((e=>ue(i.accepting,e.target.accepting))))e.push(i);for(let e of i.edges)if(e.from<0)s(e.target)}s(this);return e}findConflicts(e){let t=[],s=this.cycleTerms();function i(e,s,i,n,r){if(e.id<s.id){[e,s]=[s,e];i=-i}let l=t.find((t=>t.a==e&&t.b==s));if(!l)t.push(new le(e,s,i,ae(n),r&&ae(r)));else if(l.soft!=i)l.soft=0}this.reachable(((t,n)=>{if(t.accepting.length==0)return;for(let e=0;e<t.accepting.length;e++)for(let s=e+1;s<t.accepting.length;s++)i(t.accepting[e],t.accepting[s],0,n);t.reachable(((r,l)=>{if(r!=t)for(let a of r.accepting){let r=s.includes(a);for(let o of t.accepting)if(a!=o)i(a,o,r||s.includes(o)||!e(a,o)?0:1,n,n.concat(l))}}))}));return t}cycleTerms(){let e=[];this.reachable((t=>{for(let{target:s}of t.edges)e.push(t,s)}));let t=new Map;let s=[];for(let n=0;n<e.length;){let i=e[n++],r=e[n++];let l=t.get(i);if(!l)t.set(i,l=[]);if(l.includes(r))continue;if(i==r){if(!s.includes(i))s.push(i)}else{for(let t of l)e.push(i,t);l.push(r)}}let i=[];for(let n of s){for(let e of n.accepting){if(!i.includes(e))i.push(e)}}return i}reachable(e){let t=[],s=[];(function i(n){e(n,s);t.push(n);for(let e of n.edges)if(!t.includes(e.target)){s.push(e);i(e.target);s.pop()}})(this)}toString(){let e="digraph {\n";this.reachable((t=>{if(t.accepting.length)e+=` ${t.id} [label=${JSON.stringify(t.accepting.join())}];\n`;for(let s of t.edges)e+=` ${t.id} ${s};\n`}));return e+"}"}toArray(e,t){let s=[];let i=[];this.reachable((n=>{let r=i.length;let l=r+3+n.accepting.length*2;s[n.id]=r;i.push(n.stateMask(e),l,n.edges.length);n.accepting.sort(((e,s)=>t.indexOf(e.id)-t.indexOf(s.id)));for(let t of n.accepting)i.push(t.id,e[t.id]||65535);for(let e of n.edges)i.push(e.from,e.to,-e.target.id-1)}));for(let n=0;n<i.length;n++)if(i[n]<0)i[n]=s[-i[n]-1];if(i.length>2**16)throw new U("Tokenizer tables too big to represent with 16-bit offsets.");return Uint16Array.from(i)}stateMask(e){let t=0;this.reachable((s=>{for(let i of s.accepting)t|=e[i.id]||65535}));return t}}class le{constructor(e,t,s,i,n){this.a=e;this.b=t;this.soft=s;this.exampleA=i;this.exampleB=n}}function ae(e){let t="";for(let s=0;s<e.length;s++)t+=String.fromCharCode(e[s].from);return t}function oe(e){let t="";for(let s of e){if(t.length)t+="-";t+=s.id}return t}function ue(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(e[s]!=t[s])return false;return true}class he{constructor(e,t,s){this.from=e;this.to=t;this.targets=s}}function fe(e){let t=[],s=[];for(let n of e){if(!t.includes(n.from))t.push(n.from);if(!t.includes(n.to))t.push(n.to)}t.sort(((e,t)=>e-t));for(let n=1;n<t.length;n++){let i=t[n-1],r=t[n];let l=[];for(let t of e)if(t.to>i&&t.from<r){for(let e of t.target.closure())if(!l.includes(e))l.push(e)}if(l.length)s.push(new he(i,r,l))}let i=e.filter((e=>e.from==65535&&e.to==65535));if(i.length){let e=[];for(let t of i)for(let s of t.target.closure())if(!e.includes(s))e.push(s);if(e.length)s.push(new he(65535,65535,e))}return s}let ce=/[\w_-]+/gy;try{ce=/[\p{Alphabetic}\d_-]+/guy}catch(ps){}const pe=[];class de{constructor(e,t=null){this.string=e;this.fileName=t;this.type="sof";this.value=null;this.start=0;this.end=0;this.next()}lineInfo(e){for(let t=1,s=0;;){let i=this.string.indexOf("\n",s);if(i>-1&&i<e){++t;s=i+1}else{return{line:t,ch:e-s}}}}message(e,t=-1){let s=this.fileName||"";if(t>-1){let e=this.lineInfo(t);s+=(s?" ":"")+e.line+":"+e.ch}return s?e+` (${s})`:e}raise(e,t=-1){throw new U(this.message(e,t))}match(e,t){let s=t.exec(this.string.slice(e));return s?e+s[0].length:-1}next(){let e=this.match(this.end,/^(\s|\/\/.*|\/\*[^]*?\*\/)*/);if(e==this.string.length)return this.set("eof",null,e,e);let t=this.string[e];if(t=='"'){let t=this.match(e+1,/^(\\.|[^"\\])*"/);if(t==-1)this.raise("Unterminated string literal",e);return this.set("string",Je(this.string.slice(e+1,t-1)),e,t)}else if(t=="'"){let t=this.match(e+1,/^(\\.|[^'\\])*'/);if(t==-1)this.raise("Unterminated string literal",e);return this.set("string",Je(this.string.slice(e+1,t-1)),e,t)}else if(t=="@"){ce.lastIndex=e+1;let t=ce.exec(this.string);if(!t)return this.raise("@ without a name",e);return this.set("at",t[0],e,e+1+t[0].length)}else if((t=="$"||t=="!")&&this.string[e+1]=="["){let t=this.match(e+2,/^(?:\\.|[^\]\\])*\]/);if(t==-1)this.raise("Unterminated character set",e);return this.set("set",this.string.slice(e+2,t-1),e,t)}else if(/[\[\]()!~+*?{}<>\.,|:$=]/.test(t)){return this.set(t,null,e,e+1)}else{ce.lastIndex=e;let s=ce.exec(this.string);if(!s)return this.raise("Unexpected character "+JSON.stringify(t),e);return this.set("id",s[0],e,e+s[0].length)}}set(e,t,s,i){this.type=e;this.value=t;this.start=s;this.end=i}eat(e,t=null){if(this.type==e&&(t==null||this.value===t)){this.next();return true}else{return false}}unexpected(){return this.raise(`Unexpected token '${this.string.slice(this.start,this.end)}'`,this.start)}expect(e,t=null){let s=this.value;if(this.type!=e||!(t==null||s===t))this.unexpected();this.next();return s}parse(){return me(this)}}function me(e){let t=e.start;let s=[];let i=null;let n=null;let r=[];let l=null;let a=[];let u=[];let h=null;let f=[];let c=[];let p=[];let d=[];let m=[];let k=false;let x=false;while(e.type!="eof"){let t=e.start;if(e.eat("at","top")){if(e.type!="id")e.raise(`Top rules must have a name`,e.start);m.push(ge(e,Pe(e)));k=true}else if(e.type=="at"&&e.value=="tokens"){if(n)e.raise(`Multiple @tokens declaractions`,e.start);else n=Ne(e)}else if(e.eat("at","local")){e.expect("id","tokens");r.push(Ae(e,t))}else if(e.eat("at","context")){if(h)e.raise(`Multiple @context declarations`,t);let s=Pe(e);e.expect("id","from");let i=e.expect("string");h=new g(t,s,i)}else if(e.eat("at","external")){if(e.eat("id","tokens"))f.push(qe(e,t));else if(e.eat("id","prop"))p.push(Ee(e,t));else if(e.eat("id","extend"))c.push(De(e,"extend",t));else if(e.eat("id","specialize"))c.push(De(e,"specialize",t));else if(e.eat("id","propSource"))d.push(Ge(e,t));else e.unexpected()}else if(e.eat("at","dialects")){e.expect("{");for(let t=true;!e.eat("}");t=false){if(!t)e.eat(",");u.push(Pe(e))}}else if(e.type=="at"&&e.value=="precedence"){if(i)e.raise(`Multiple precedence declarations`,e.start);i=je(e)}else if(e.eat("at","detectDelim")){x=true}else if(e.eat("at","skip")){let t=be(e);if(e.type=="{"){e.next();let s=[],i=[];while(!e.eat("}")){if(e.eat("at","top")){i.push(ge(e,Pe(e)));k=true}else{s.push(ge(e))}}a.push({expr:t,topRules:i,rules:s})}else{if(l)e.raise(`Multiple top-level skip declarations`,e.start);l=t}}else{s.push(ge(e))}}if(!k)return e.raise(`Missing @top declaration`);return new o(t,s,m,n,r,h,f,c,d,i,l,a,u,p,x)}function ge(e,t){let s=t?t.start:e.start;let i=t||Pe(e);let n=ke(e);let r=[];if(e.eat("<"))while(!e.eat(">")){if(r.length)e.expect(",");r.push(Pe(e))}let l=be(e);return new u(s,i,n,r,l)}function ke(e){if(e.type!="[")return pe;let t=[];e.expect("[");while(!e.eat("]")){if(t.length)e.expect(",");t.push(xe(e))}return t}function xe(e){let t=e.start,s=[],i=e.value,n=e.type=="at";if(!e.eat("at")&&!e.eat("id"))e.unexpected();if(e.eat("="))for(;;){if(e.type=="string"||e.type=="id"){s.push(new J(e.start,e.value,null));e.next()}else if(e.eat(".")){s.push(new J(e.start,".",null))}else if(e.eat("{")){s.push(new J(e.start,null,e.expect("id")));e.expect("}")}else{break}}return new E(t,n,i,s)}function be(e){e.expect("{");let t=Re(e);e.expect("}");return t}const we="";function ye(e){let t=e.start;if(e.eat("(")){if(e.eat(")"))return new R(t,pe,[pe,pe]);let s=Re(e);e.expect(")");return s}else if(e.type=="string"){let s=e.value;e.next();if(s.length==0)return new R(t,pe,[pe,pe]);return new N(t,s)}else if(e.eat("id","_")){return new z(t)}else if(e.type=="set"){let s=e.value,i=e.string[e.start]=="!";let n=Je(s.replace(/\\.|-|"/g,(e=>e=="-"?we:e=='"'?'\\"':e)));let r=[];for(let t=0;t<n.length;){let s=n.codePointAt(t);t+=s>65535?2:1;if(t<n.length-1&&n[t]==we){let i=n.codePointAt(t+1);t+=i>65535?3:2;if(i<s)e.raise("Invalid character range",e.start);ve(e,r,s,i+1)}else{if(s==we.charCodeAt(0))s=45;ve(e,r,s,s+1)}}e.next();return new A(t,r.sort(((e,t)=>e[0]-t[0])),i)}else if(e.type=="at"&&(e.value=="specialize"||e.value=="extend")){let{start:t,value:s}=e;e.next();let i=ke(e);e.expect("<");let n=Re(e),r;if(e.eat(",")){r=Re(e)}else if(n instanceof N){r=n}else{e.raise(`@${s} requires two arguments when its first argument isn't a literal string`)}e.expect(">");return new S(t,s,i,n,r)}else if(e.type=="at"&&C.hasOwnProperty(e.value)){let t=new q(e.start,e.value);e.next();return t}else if(e.type=="["){let s=ge(e,new y(t,"_anon"));if(s.params.length)e.raise(`Inline rules can't have parameters`,s.start);return new T(t,s)}else{let s=Pe(e);if(e.type=="["||e.type=="{"){let i=ge(e,s);if(i.params.length)e.raise(`Inline rules can't have parameters`,i.start);return new T(t,i)}else{if(e.eat(".")&&s.name=="std"&&C.hasOwnProperty(e.value)){let s=new q(t,e.value);e.next();return s}return new v(t,s,$e(e))}}}function $e(e){let t=[];if(e.eat("<"))while(!e.eat(">")){if(t.length)e.expect(",");t.push(Re(e))}return t}function ve(e,t,s,i){if(!t.every((([e,t])=>t<=s||e>=i)))e.raise("Overlapping character range",e.start);t.push([s,i])}function Se(e){let t=e.start;let s=ye(e);for(;;){let i=e.type;if(e.eat("*")||e.eat("?")||e.eat("+"))s=new j(t,s,i);else return s}}function Te(e){return e.type=="}"||e.type==")"||e.type=="|"||e.type=="/"||e.type=="/\\"||e.type=="{"||e.type==","||e.type==">"}function Oe(e){let t=e.start,s=[],i=[pe];do{for(;;){let t=e.start,s;if(e.eat("~"))s="ambig";else if(e.eat("!"))s="prec";else break;i[i.length-1]=i[i.length-1].concat(new P(t,Pe(e),s))}if(Te(e))break;s.push(Se(e));i.push(pe)}while(!Te(e));if(s.length==1&&i.every((e=>e.length==0)))return s[0];return new R(t,s,i,!s.length)}function Re(e){let t=e.start,s=Oe(e);if(!e.eat("|"))return s;let i=[s];do{i.push(Oe(e))}while(e.eat("|"));let n=i.find((e=>e instanceof R&&e.empty));if(n)e.raise("Empty expression in choice operator. If this is intentional, use () to make it explicit.",n.start);return new O(t,i)}function Pe(e){if(e.type!="id")e.unexpected();let t=e.start,s=e.value;e.next();return new y(t,s)}function je(e){let t=e.start;e.next();e.expect("{");let s=[];while(!e.eat("}")){if(s.length)e.eat(",");s.push({id:Pe(e),type:e.eat("at","left")?"left":e.eat("at","right")?"right":e.eat("at","cut")?"cut":null})}return new h(t,s)}function Ne(e){let t=e.start;e.next();e.expect("{");let s=[];let i=[];let n=[];let r=[];while(!e.eat("}")){if(e.type=="at"&&e.value=="precedence"){n.push(ze(e))}else if(e.type=="at"&&e.value=="conflict"){r.push(Ie(e))}else if(e.type=="string"){i.push(new m(e.start,e.expect("string"),ke(e)))}else{s.push(ge(e))}}return new p(t,n,r,s,i)}function Ae(e,t){e.expect("{");let s=[];let i=[];let n=null;while(!e.eat("}")){if(e.type=="at"&&e.value=="precedence"){i.push(ze(e))}else if(e.eat("at","else")&&!n){n={id:Pe(e),props:ke(e)}}else{s.push(ge(e))}}return new d(t,i,s,n)}function ze(e){let t=e.start;e.next();e.expect("{");let s=[];while(!e.eat("}")){if(s.length)e.eat(",");let t=ye(e);if(t instanceof N||t instanceof v)s.push(t);else e.raise(`Invalid expression in token precedences`,t.start)}return new f(t,s)}function Ie(e){let t=e.start;e.next();e.expect("{");let s=ye(e);if(!(s instanceof N||s instanceof v))e.raise(`Invalid expression in token conflict`,s.start);e.eat(",");let i=ye(e);if(!(i instanceof N||i instanceof v))e.raise(`Invalid expression in token conflict`,i.start);e.expect("}");return new c(t,s,i)}function Ce(e){let t=[];e.expect("{");while(!e.eat("}")){if(t.length)e.eat(",");let s=Pe(e);let i=ke(e);t.push({id:s,props:i})}return t}function qe(e,t){let s=Pe(e);e.expect("id","from");let i=e.expect("string");return new k(t,s,i,Ce(e))}function De(e,t,s){let i=be(e);let n=Pe(e);e.expect("id","from");let r=e.expect("string");return new x(s,t,i,n,r,Ce(e))}function Ge(e,t){let s=Pe(e);e.expect("id","from");return new b(t,s,e.expect("string"))}function Ee(e,t){let s=Pe(e);let i=e.eat("id","as")?Pe(e):s;e.expect("id","from");let n=e.expect("string");return new w(t,i,s,n)}function Je(e){let t=/\\(?:u\{([\da-f]+)\}|u([\da-f]{4})|x([\da-f]{2})|([ntbrf0])|(.))|[^]/giy;let s="",i;while(i=t.exec(e)){let[e,t,n,r,l,a]=i;if(t||n||r)s+=String.fromCodePoint(parseInt(t||n||r,16));else if(l)s+=l=="n"?"\n":l=="t"?"\t":l=="0"?"\0":l=="r"?"\r":l=="f"?"\f":"\b";else if(a)s+=a;else s+=e}return s}function _e(e,t){return(e<<5)+e+t}function Ue(e,t){for(let s=0;s<t.length;s++)e=_e(e,t.charCodeAt(s));return e}const Me=typeof l!="undefined"&&l.env.LOG||"";const Be=/\btime\b/.test(Me);const Fe=Be?(e,t)=>{let s=Date.now();let i=t();console.log(`${e} (${((Date.now()-s)/1e3).toFixed(2)}s)`);return i}:(e,t)=>t();class We{constructor(e,t,s,i,n,r){this.rule=e;this.pos=t;this.ahead=s;this.ambigAhead=i;this.skipAhead=n;this.via=r;this.hash=0}finish(){let e=_e(_e(this.rule.id,this.pos),this.skipAhead.hash);for(let t of this.ahead)e=_e(e,t.hash);for(let t of this.ambigAhead)e=Ue(e,t);this.hash=e;return this}get next(){return this.pos<this.rule.parts.length?this.rule.parts[this.pos]:null}advance(){return new We(this.rule,this.pos+1,this.ahead,this.ambigAhead,this.skipAhead,this.via).finish()}get skip(){return this.pos==this.rule.parts.length?this.skipAhead:this.rule.skip}cmp(e){return this.rule.cmp(e.rule)||this.pos-e.pos||this.skipAhead.hash-e.skipAhead.hash||L(this.ahead,e.ahead,((e,t)=>e.cmp(t)))||L(this.ambigAhead,e.ambigAhead,Ve)}eqSimple(e){return e.rule==this.rule&&e.pos==this.pos}toString(){let e=this.rule.parts.map((e=>e.name));e.splice(this.pos,0,"·");return`${this.rule.name} -> ${e.join(" ")}`}eq(e){return this==e||this.hash==e.hash&&this.rule==e.rule&&this.pos==e.pos&&this.skipAhead==e.skipAhead&&Ke(this.ahead,e.ahead)&&Ke(this.ambigAhead,e.ambigAhead)}trail(e=60){let t=[];for(let i=this;i;i=i.via){for(let e=i.pos-1;e>=0;e--)t.push(i.rule.parts[e])}let s=t.reverse().join(" ");if(s.length>e)s=s.slice(s.length-e).replace(/.*? /,"… ");return s}conflicts(e=this.pos){let t=this.rule.conflicts[e];if(e==this.rule.parts.length&&this.ambigAhead.length)t=t.join(new V(0,this.ambigAhead));return t}static addOrigins(e,t){let s=e.slice();for(let i=0;i<s.length;i++){let e=s[i];if(e.pos==0)for(let i of t){if(i.next==e.rule.name&&!s.includes(i))s.push(i)}}return s}}function Le(e){let t=V.none;for(let s of e)t=t.join(s.conflicts());return t}function Qe(e,t){for(let s of e)if(s.rule.name.repeated){for(let e of t)if(e.rule.name==s.rule.name){if(s.rule.isRepeatWrap&&s.pos==2)return 1;if(e.rule.isRepeatWrap&&e.pos==2)return-1}}return 0}function Ve(e,t){return e<t?-1:e>t?1:0}function Ye(e,t,s,i){let n=[];for(let r=t+1;r<e.parts.length;r++){let t=e.parts[r],s=false;if(t.terminal){it(t,n)}else for(let e of i[t.name]){if(e==null)s=true;else it(e,n)}if(!s)return n}for(let r of s)it(r,n);return n}function He(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(!e[s].eq(t[s]))return false;return true}function Ke(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(e[s]!=t[s])return false;return true}class Xe{constructor(e,t){this.term=e;this.target=t}eq(e){return e instanceof Xe&&this.term==e.term&&e.target.id==this.target.id}cmp(e){return e instanceof Ze?-1:this.term.id-e.term.id||this.target.id-e.target.id}toString(){return"s"+this.target.id}map(e,t){let s=t[e[this.target.id]];return s==this.target?this:new Xe(this.term,s)}}class Ze{constructor(e,t){this.term=e;this.rule=t}eq(e){return e instanceof Ze&&this.term==e.term&&e.rule.sameReduce(this.rule)}cmp(e){return e instanceof Xe?1:this.term.id-e.term.id||this.rule.name.id-e.rule.name.id||this.rule.parts.length-e.rule.parts.length}toString(){return`${this.rule.name.name}(${this.rule.parts.length})`}map(){return this}}function et(e){let t=5381;for(let s of e)t=_e(t,s.hash);return t}class tt{constructor(e,t,s=0,i,n=et(t),r=null){this.id=e;this.set=t;this.flags=s;this.skip=i;this.hash=n;this.startRule=r;this.actions=[];this.actionPositions=[];this.goto=[];this.tokenGroup=-1;this.defaultReduce=null}toString(){let e=this.actions.map((e=>e.term+"="+e)).join(",")+(this.goto.length?" | "+this.goto.map((e=>e.term+"="+e)).join(","):"");return this.id+": "+this.set.filter((e=>e.pos>0)).join()+(this.defaultReduce?`\n always ${this.defaultReduce.name}(${this.defaultReduce.parts.length})`:e.length?"\n "+e:"")}addActionInner(e,t){e:for(let s=0;s<this.actions.length;s++){let i=this.actions[s];if(i.term==e.term){if(i.eq(e))return null;let n=We.addOrigins(t,this.set),r=We.addOrigins(this.actionPositions[s],this.set);let l=Le(n),a=Le(r);let o=Qe(n,r)||l.precedence-a.precedence;if(o>0){this.actions.splice(s,1);this.actionPositions.splice(s,1);s--;continue e}else if(o<0){return null}else if(l.ambigGroups.some((e=>a.ambigGroups.includes(e)))){continue e}else{return i}}}this.actions.push(e);this.actionPositions.push(t);return null}addAction(e,t,s){let i=this.addActionInner(e,t);if(i){let n=this.actionPositions[this.actions.indexOf(i)][0];let r=[t[0].rule.name,n.rule.name];if(s.some((e=>e.rules.some((e=>r.includes(e))))))return;let l;if(i instanceof Xe)l=`shift/reduce conflict between\n ${n}\nand\n ${t[0].rule}`;else l=`reduce/reduce conflict between\n ${n.rule}\nand\n ${t[0].rule}`;l+=`\nWith input:\n ${t[0].trail(70)} · ${e.term} …`;l+=at(n,t[0]);s.push(new lt(l,r))}}getGoto(e){return this.goto.find((t=>t.term==e))}hasSet(e){return He(this.set,e)}finish(){if(this.actions.length){let e=this.actions[0];if(e instanceof Ze){let{rule:t}=e;if(this.actions.every((e=>e instanceof Ze&&e.rule.sameReduce(t))))this.defaultReduce=t}}this.actions.sort(((e,t)=>e.cmp(t)));this.goto.sort(((e,t)=>e.cmp(t)))}eq(e){let t=this.defaultReduce,s=e.defaultReduce;if(t||s)return t&&s?t.sameReduce(s):false;return this.skip==e.skip&&this.tokenGroup==e.tokenGroup&&He(this.actions,e.actions)&&He(this.goto,e.goto)}}function st(e,t){let s=[],i=[];function n(t,n,r,l,a){for(let o of t.rules){let t=s.find((e=>e.rule==o));if(!t){let i=e.find((e=>e.pos==0&&e.rule==o));t=i?new We(o,0,i.ahead.slice(),i.ambigAhead,i.skipAhead,i.via):new We(o,0,[],kt,l,a);s.push(t)}if(t.skipAhead!=l)throw new U("Inconsistent skip sets after "+a.trail());t.ambigAhead=Y(t.ambigAhead,r);for(let e of n)if(!t.ahead.includes(e)){t.ahead.push(e);if(t.rule.parts.length&&!t.rule.parts[0].terminal)it(t,i)}}}for(let l of e){let e=l.next;if(e&&!e.terminal)n(e,Ye(l.rule,l.pos,l.ahead,t),l.conflicts(l.pos+1).ambigGroups,l.pos==l.rule.parts.length-1?l.skipAhead:l.rule.skip,l)}while(i.length){let e=i.pop();n(e.rule.parts[0],Ye(e.rule,0,e.ahead,t),Y(e.rule.conflicts[1].ambigGroups,e.rule.parts.length==1?e.ambigAhead:kt),e.rule.parts.length==1?e.skipAhead:e.rule.skip,e)}let r=e.slice();for(let l of s){l.ahead.sort(((e,t)=>e.hash-t.hash));l.finish();let t=e.findIndex((e=>e.pos==0&&e.rule==l.rule));if(t>-1)r[t]=l;else r.push(l)}return r.sort(((e,t)=>e.cmp(t)))}function it(e,t){if(!t.includes(e))t.push(e)}function nt(e){let t=Object.create(null);for(let s of e.terms)if(!s.terminal)t[s.name]=[];for(;;){let s=false;for(let i of e.terms)if(!i.terminal)for(let e of i.rules){let n=t[i.name];let r=false,l=n.length;for(let s of e.parts){r=true;if(s.terminal){it(s,n)}else{for(let e of t[s.name]){if(e==null)r=false;else it(e,n)}}if(r)break}if(!r)it(null,n);if(n.length>l)s=true}if(!s)return t}}class rt{constructor(e,t){this.set=e;this.state=t}}class lt{constructor(e,t){this.error=e;this.rules=t}}function at(e,t){if(e.eqSimple(t))return"";function s(e,t){let s=[];for(let i=t.via;!i.eqSimple(e);i=i.via)s.push(i);if(!s.length)return"";s.unshift(t);return s.reverse().map(((e,s)=>"\n"+" ".repeat(s+1)+(e==t?"":"via ")+e)).join("")}for(let i=e;i;i=i.via)for(let n=t;n;n=n.via){if(i.eqSimple(n))return"\nShared origin: "+i+s(i,e)+s(i,t)}return""}function ot(e,t,s){let i=[];let n={};let r=Date.now();function l(e,t){if(e.length==0)return null;let l=et(e),a=n[l];let o;for(let s of e){if(!o)o=s.skip;else if(o!=s.skip)throw new U("Inconsistent skip sets after "+s.trail())}if(a)for(let s of a)if(He(e,s.set)){if(s.state.skip!=o)throw new U("Inconsistent skip sets after "+s.set[0].trail());return s.state}let u=st(e,s);let h=et(u),f;if(!t)for(let s of i)if(s.hash==h&&s.hasSet(u))f=s;if(!f){f=new tt(i.length,u,0,o,h,t);i.push(f);if(Be&&i.length%500==0)console.log(`${i.length} states after ${((Date.now()-r)/1e3).toFixed(2)}s`)}(n[l]||(n[l]=[])).push(new rt(e,f));return f}for(const o of t){const t=o.rules.length?o.rules[0].skip:e.names["%noskip"];l(o.rules.map((s=>new We(s,0,[e.eof],kt,t,null).finish())),o)}let a=[];for(let o=0;o<i.length;o++){let e=i[o];let t=[],n=[],r=[];for(let s of e.set){if(s.pos==s.rule.parts.length){if(!s.rule.name.top)r.push(s)}else{let e=s.rule.parts[s.pos];let i=t.indexOf(e);if(i<0){t.push(e);n.push([s])}else{n[i].push(s)}}}for(let s=0;s<t.length;s++){let i=t[s],r=n[s].map((e=>e.advance()));if(i.terminal){let t=ut(r);let o=l(t);if(o)e.addAction(new Xe(i,o),n[s],a)}else{let t=l(r);if(t)e.goto.push(new Xe(i,t))}}let u=false;for(let s of r)for(let t of s.ahead){let i=e.actions.length;e.addAction(new Ze(t,s.rule),[s],a);if(e.actions.length==i)u=true}if(u)for(let i=0;i<e.goto.length;i++){let t=s[e.goto[i].term.name];if(!t.some((t=>e.actions.some((e=>e.term==t&&e instanceof Xe)))))e.goto.splice(i--,1)}}if(a.length)throw new U(a.map((e=>e.error)).join("\n\n"));for(let o of i)o.finish();if(Be)console.log(`${i.length} states total.`);return i}function ut(e){let t=null,s=1;for(let i of e){let e=i.rule.conflicts[i.pos-1].cut;if(e<s)continue;if(!t||e>s){s=e;t=[]}t.push(i)}return t||e}function ht(e,t,s){for(let i of e.goto)for(let e of t.goto){if(i.term==e.term&&s[i.target.id]!=s[e.target.id])return false}e:for(let i of e.actions){let e=false;for(let n of t.actions)if(n.term==i.term){if(i instanceof Xe?n instanceof Xe&&s[i.target.id]==s[n.target.id]:n.eq(i))continue e;e=true}if(e)return false}return true}function ft(e,t,s){return ht(e,t,s)&&ht(t,e,s)}function ct(e,t){let s=[];for(let i of e){let e=t[i.id];if(!s[e]){s[e]=new tt(e,i.set,0,i.skip,i.hash,i.startRule);s[e].tokenGroup=i.tokenGroup;s[e].defaultReduce=i.defaultReduce}}for(let i of e){let e=t[i.id],n=s[e];n.flags|=i.flags;for(let r=0;r<i.actions.length;r++){let e=i.actions[r].map(t,s);if(!n.actions.some((t=>t.eq(e)))){n.actions.push(e);n.actionPositions.push(i.actionPositions[r])}}for(let r of i.goto){let e=r.map(t,s);if(!n.goto.some((t=>t.eq(e))))n.goto.push(e)}}return s}class pt{constructor(e,t){this.origin=e;this.members=[t]}}function dt(e,t){if(e.length!=t.length)return false;for(let s=0;s<e.length;s++)if(!e[s].eqSimple(t[s]))return false;return true}function mt(e){let t=[],s=[];e:for(let n=0;n<e.length;n++){let i=e[n];if(!i.startRule)for(let r=0;r<s.length;r++){let l=s[r],a=e[l.members[0]];if(i.tokenGroup==a.tokenGroup&&i.skip==a.skip&&!a.startRule&&dt(i.set,a.set)){l.members.push(n);t.push(r);continue e}}t.push(s.length);s.push(new pt(s.length,n))}function i(i,n){let r=s[i],l=e[r.members[n]];let a=r.members.pop();if(n!=r.members.length)r.members[n]=a;for(let o=i+1;o<s.length;o++){t[l.id]=o;if(s[o].origin==r.origin&&s[o].members.every((s=>ft(l,e[s],t)))){s[o].members.push(l.id);return}}t[l.id]=s.length;s.push(new pt(r.origin,l.id))}for(let n=1;;n++){let r=false,l=Date.now();for(let n=0,a=s.length;n<a;n++){let l=s[n];for(let s=0;s<l.members.length-1;s++){for(let a=s+1;a<l.members.length;a++){let o=l.members[s],u=l.members[a];if(!ft(e[o],e[u],t)){r=true;i(n,a--)}}}}if(Be)console.log(`Collapse pass ${n}${r?``:`, done`} (${((Date.now()-l)/1e3).toFixed(2)}s)`);if(!r)return ct(e,t)}}function gt(e){for(let t=1;;t++){let s=[],i=false,n=Date.now();let r=[];for(let t=0;t<e.length;t++){let n=e[t];let l=r.findIndex((e=>n.eq(e)));if(l<0){s[t]=r.length;r.push(n)}else{s[t]=l;i=true;let e=r[l],a=null;for(let t of n.set)if(!e.set.some((e=>e.eqSimple(t))))(a||(a=[])).push(t);if(a)e.set=a.concat(e.set).sort(((e,t)=>e.cmp(t)))}}if(Be)console.log(`Merge identical pass ${t}${i?"":", done"} (${((Date.now()-n)/1e3).toFixed(2)}s)`);if(!i)return e;for(let e of r)if(!e.defaultReduce){e.actions=e.actions.map((e=>e.map(s,r)));e.goto=e.goto.map((e=>e.map(s,r)))}for(let e=0;e<r.length;e++)r[e].id=e;e=r}}const kt=[];function xt(e){return gt(mt(e))}function bt(e){let t=e+32;if(t>=34)t++;if(t>=92)t++;return String.fromCharCode(t)}function wt(e,t=65535){if(e>t)throw new Error("Trying to encode a number that's too big: "+e);if(e==65535)return String.fromCharCode(126);let s="";for(let i=46;;i=0){let t=e%46,n=e-t;s=bt(t+i)+s;if(n==0)break;e=n/46}return s}function yt(e,t=65535){let s='"'+wt(e.length,4294967295);for(let i=0;i<e.length;i++)s+=wt(e[i],t);s+='"';return s}const $t=[];class vt{constructor(e,t){this.terms=e;this.conflicts=t}concat(e){if(this==vt.none)return e;if(e==vt.none)return this;let t=null;if(this.conflicts||e.conflicts){t=this.conflicts?this.conflicts.slice():this.ensureConflicts();let s=e.ensureConflicts();t[t.length-1]=t[t.length-1].join(s[0]);for(let e=1;e<s.length;e++)t.push(s[e])}return new vt(this.terms.concat(e.terms),t)}withConflicts(e,t){if(t==V.none)return this;let s=this.conflicts?this.conflicts.slice():this.ensureConflicts();s[e]=s[e].join(t);return new vt(this.terms,s)}ensureConflicts(){if(this.conflicts)return this.conflicts;let e=[];for(let t=0;t<=this.terms.length;t++)e.push(V.none);return e}}vt.none=new vt($t,null);function St(...e){return new vt(e,null)}class Tt{constructor(e,t,s){this.id=e;this.args=t;this.term=s}matches(e){return this.id==e.id.name&&G(e.args,this.args)}matchesRepeat(e){return this.id=="+"&&D(e.expr,this.args[0])}}class Ot{constructor(e,t){this.options=t;this.terms=new W;this.specialized=Object.create(null);this.tokenOrigins=Object.create(null);this.rules=[];this.built=[];this.ruleNames=Object.create(null);this.namespaces=Object.create(null);this.namedTerms=Object.create(null);this.termTable=Object.create(null);this.knownProps=Object.create(null);this.dynamicRulePrecedences=[];this.definedGroups=[];this.astRules=[];this.currentSkip=[];Fe("Parse",(()=>{this.input=new de(e,t.fileName);this.ast=this.input.parse()}));let s=i.NodeProp;for(let n in s){if(s[n]instanceof i.NodeProp&&!s[n].perNode)this.knownProps[n]={prop:s[n],source:{name:n,from:null}}}for(let n of this.ast.externalProps){this.knownProps[n.id.name]={prop:this.options.externalProp?this.options.externalProp(n.id.name):new i.NodeProp,source:{name:n.externalID.name,from:n.source}}}this.dialects=this.ast.dialects.map((e=>e.name));this.tokens=new Mt(this,this.ast.tokens);this.localTokens=this.ast.localTokens.map((e=>new Bt(this,e)));this.externalTokens=this.ast.externalTokens.map((e=>new is(this,e)));this.externalSpecializers=this.ast.externalSpecializers.map((e=>new ns(this,e)));Fe("Build rules",(()=>{let e=this.newName("%noskip",true);this.defineRule(e,[]);let t=this.ast.mainSkip?this.newName("%mainskip",true):e;let s=[],i=[];for(let n of this.ast.rules)this.astRules.push({skip:t,rule:n});for(let n of this.ast.topRules)i.push({skip:t,rule:n});for(let n of this.ast.scopedSkip){let r=e,l=this.ast.scopedSkip.findIndex(((e,t)=>t<s.length&&D(e.expr,n.expr)));if(l>-1)r=s[l];else if(this.ast.mainSkip&&D(n.expr,this.ast.mainSkip))r=t;else if(!Zt(n.expr))r=this.newName("%skip",true);s.push(r);for(let e of n.rules)this.astRules.push({skip:r,rule:e});for(let e of n.topRules)i.push({skip:r,rule:e})}for(let{rule:n}of this.astRules){this.unique(n.id)}this.currentSkip.push(e);this.skipRules=t==e?[t]:[e,t];if(t!=e)this.defineRule(t,this.normalizeExpr(this.ast.mainSkip));for(let n=0;n<this.ast.scopedSkip.length;n++){let t=s[n];if(!this.skipRules.includes(t)){this.skipRules.push(t);if(t!=e)this.defineRule(t,this.normalizeExpr(this.ast.scopedSkip[n].expr))}}this.currentSkip.pop();for(let{rule:n,skip:r}of i.sort(((e,t)=>e.rule.start-t.rule.start))){this.unique(n.id);this.used(n.id.name);this.currentSkip.push(r);let{name:e,props:t}=this.nodeInfo(n.props,"a",n.id.name,$t,$t,n.expr);let s=this.terms.makeTop(e,t);this.namedTerms[e]=s;this.defineRule(s,this.normalizeExpr(n.expr));this.currentSkip.pop()}for(let n of this.externalSpecializers)n.finish();for(let{skip:n,rule:r}of this.astRules){if(this.ruleNames[r.id.name]&&cs(r)&&!r.params.length){this.buildRule(r,[],n,false);if(r.expr instanceof R&&r.expr.exprs.length==0)this.used(r.id.name)}}}));for(let i in this.ruleNames){let e=this.ruleNames[i];if(e)this.warn(`Unused rule '${e.name}'`,e.start)}this.tokens.takePrecedences();this.tokens.takeConflicts();for(let{name:i,group:n,rule:r}of this.definedGroups)this.defineGroup(i,n,r);this.checkGroups()}unique(e){if(e.name in this.ruleNames)this.raise(`Duplicate definition of rule '${e.name}'`,e.start);this.ruleNames[e.name]=e}used(e){this.ruleNames[e]=null}newName(e,t=null,s={}){for(let i=t?0:1;;i++){let n=i?`${e}-${i}`:e;if(!this.terms.names[n])return this.terms.makeNonTerminal(n,t===true?null:t,s)}}prepareParser(){let e=Fe("Simplify rules",(()=>as(this.rules,[...this.skipRules,...this.terms.tops])));let{nodeTypes:t,names:s,minRepeatTerm:i,maxTerm:n}=this.terms.finish(e);for(let R in this.namedTerms)this.termTable[R]=this.namedTerms[R].id;if(/\bgrammar\b/.test(Me))console.log(e.join("\n"));let r=this.terms.tops.slice();let l=nt(this.terms);let a=this.skipRules.map(((e,t)=>{let s=[],i=[],n=[];for(let r of e.rules){if(!r.parts.length)continue;let e=r.parts[0];for(let t of e.terminal?[e]:l[e.name]||[])if(!i.includes(t))i.push(t);if(e.terminal&&r.parts.length==1&&!n.some((t=>t!=r&&t.parts[0]==e)))s.push(e);else n.push(r)}e.rules=n;if(n.length)r.push(e);return{skip:s,rule:n.length?e:null,startTokens:i,id:t}}));let o=Fe("Build full automaton",(()=>ot(this.terms,r,l)));let u=this.localTokens.map(((e,t)=>e.buildLocalGroup(o,a,t)));let{tokenGroups:h,tokenPrec:f,tokenData:c}=Fe("Build token groups",(()=>this.tokens.buildTokenGroups(o,a,u.length)));let p=Fe("Finish automaton",(()=>xt(o)));let d=It(p,this.terms.tops);if(/\blr\b/.test(Me))console.log(p.join("\n"));let m=[];for(let R of this.externalSpecializers)m.push(R);for(let R in this.specialized)m.push({token:this.terms.names[R],table:Nt(this.specialized[R])});let g=e=>{if(e instanceof is)return e.ast.start;return this.tokens.ast?this.tokens.ast.start:-1};let k=h.concat(this.externalTokens).sort(((e,t)=>g(e)-g(t))).concat(u);let x=new Ct;let b=a.map((e=>{let t=[];for(let s of e.skip)t.push(s.id,0,262144>>16);if(e.rule){let s=p.find((t=>t.startRule==e.rule));for(let e of s.actions)t.push(e.term.id,s.id,131072>>16)}t.push(65535,0);return x.storeArray(t)}));let w=Fe("Finish states",(()=>{let e=new Uint32Array(p.length*6);let t=this.computeForceReductions(p,a);let s=new Pt(k,x,e,b,a,p,this);for(let i of p)s.finish(i,d(i.id),t[i.id]);return e}));let y=Object.create(null);for(let R=0;R<this.dialects.length;R++)y[this.dialects[R]]=x.storeArray((this.tokens.byDialect[R]||$t).map((e=>e.id)).concat(65535));let $=null;if(this.dynamicRulePrecedences.length){$=Object.create(null);for(let{rule:e,prec:t}of this.dynamicRulePrecedences)$[e.id]=t}let v=Object.create(null);for(let R of this.terms.tops)v[R.nodeName]=[p.find((e=>e.startRule==R)).id,R.id];let S=x.storeArray(f.concat(65535));let{nodeProps:T,skippedTypes:O}=this.gatherNodeProps(t);return{states:w,stateData:x.finish(),goto:qt(p),nodeNames:t.filter((e=>e.id<i)).map((e=>e.nodeName)).join(" "),nodeProps:T,skippedTypes:O,maxTerm:n,repeatNodeCount:t.length-i,tokenizers:k,tokenData:c,topRules:v,dialects:y,dynamicPrecedences:$,specialized:m,tokenPrec:S,termNames:s}}getParser(){let{states:e,stateData:t,goto:s,nodeNames:i,nodeProps:n,skippedTypes:l,maxTerm:a,repeatNodeCount:o,tokenizers:u,tokenData:h,topRules:f,dialects:c,dynamicPrecedences:p,specialized:d,tokenPrec:m,termNames:g}=this.prepareParser();let k=d.map((e=>{if(e instanceof ns){let t=this.options.externalSpecializer(e.ast.id.name,this.termTable);return{term:e.term.id,get:(s,i)=>t(s,i)<<1|(e.ast.type=="extend"?1:0),external:t,extend:e.ast.type=="extend"}}else{return{term:e.token.id,get:t=>e.table[t]||-1}}}));return r.WQ.deserialize({version:14,states:e,stateData:t,goto:s,nodeNames:i,maxTerm:a,repeatNodeCount:o,nodeProps:n.map((({prop:e,terms:t})=>[this.knownProps[e].prop,...t])),propSources:!this.options.externalPropSource?undefined:this.ast.externalPropSources.map((e=>this.options.externalPropSource(e.id.name))),skippedNodes:l,tokenData:h,tokenizers:u.map((e=>e.create())),context:this.ast.context?this.options.contextTracker:undefined,topRules:f,dialects:c,dynamicPrecedences:p,specialized:k,tokenPrec:m,termNames:g})}getParserFile(){let{states:e,stateData:t,goto:s,nodeNames:i,nodeProps:n,skippedTypes:r,maxTerm:l,repeatNodeCount:a,tokenizers:o,tokenData:u,topRules:h,dialects:f,dynamicPrecedences:c,specialized:p,tokenPrec:d,termNames:m}=this.prepareParser();let g=this.options.moduleStyle||"es";let k="// This file was generated by lezer-generator. You probably shouldn't edit it.\n",x=k;let b={},w=Object.create(null);let y=Object.create(null);for(let G of us)y[G]=true;let $=this.options.exportName||"parser";y[$]=true;let v=e=>{for(let t=0;;t++){let s=e+(t?"_"+t:"");if(!y[s])return s}};let S=(e,t,s=e)=>{let i=e+" from "+t;if(w[i])return w[i];let n=JSON.stringify(t),r=e;if(e in y){r=v(s);e+=`${g=="cjs"?":":" as"} ${r}`}y[r]=true;(b[n]||(b[n]=[])).push(e);return w[i]=r};let T=S("LRParser","@lezer/lr");let O=o.map((e=>e.createSource(S)));let R=this.ast.context?S(this.ast.context.id.name,this.ast.context.source):null;let P=n.map((({prop:e,terms:t})=>{let{source:s}=this.knownProps[e];let i=s.from?S(s.name,s.from):JSON.stringify(s.name);return`[${i}, ${t.map(I).join(",")}]`}));function j(e){return"{__proto__:null,"+Object.keys(e).map((t=>`${/\W/.test(t)?JSON.stringify(t):t}:${e[t]}`)).join(", ")+"}"}let N="";let A=p.map((e=>{if(e instanceof ns){let t=S(e.ast.id.name,e.ast.source);return`{term: ${e.term.id}, get: (value, stack) => (${t}(value, stack) << 1)${e.ast.type=="extend"?` | ${1}`:""}, external: ${t}${e.ast.type=="extend"?", extend: true":""}}`}else{let t=v("spec_"+e.token.name.replace(/\W/g,""));y[t]=true;N+=`const ${t} = ${j(e.table)}\n`;return`{term: ${e.token.id}, get: value => ${t}[value] || -1}`}}));let z=this.ast.externalPropSources.map((e=>S(e.id.name,e.source)));for(let G in b){if(g=="cjs")x+=`const {${b[G].join(", ")}} = require(${G})\n`;else x+=`import {${b[G].join(", ")}} from ${G}\n`}x+=N;function I(e){return typeof e!="string"||/^(true|false|\d+(\.\d+)?|\.\d+)$/.test(e)?e:JSON.stringify(e)}let C=Object.keys(f).map((e=>`${e}: ${f[e]}`));let q=`${T}.deserialize({\n version: ${14},\n states: ${yt(e,4294967295)},\n stateData: ${yt(t)},\n goto: ${yt(s)},\n nodeNames: ${JSON.stringify(i)},\n maxTerm: ${l}${R?`,\n context: ${R}`:""}${P.length?`,\n nodeProps: [\n ${P.join(",\n ")}\n ]`:""}${z.length?`,\n propSources: [${z.join()}]`:""}${r.length?`,\n skippedNodes: ${JSON.stringify(r)}`:""},\n repeatNodeCount: ${a},\n tokenData: ${yt(u)},\n tokenizers: [${O.join(", ")}],\n topRules: ${JSON.stringify(h)}${C.length?`,\n dialects: {${C.join(", ")}}`:""}${c?`,\n dynamicPrecedences: ${JSON.stringify(c)}`:""}${A.length?`,\n specialized: [${A.join(",")}]`:""},\n tokenPrec: ${d}${this.options.includeNames?`,\n termNames: ${JSON.stringify(m)}`:""}\n})`;let D=[];for(let G in this.termTable){let e=G;if(us.includes(e))for(let t=1;;t++){e="_".repeat(t)+G;if(!(e in this.termTable))break}D.push(`${e}${g=="cjs"?":":" ="} ${this.termTable[G]}`)}for(let G=0;G<this.dialects.length;G++)D.push(`Dialect_${this.dialects[G]}${g=="cjs"?":":" ="} ${G}`);return{parser:x+(g=="cjs"?`exports.${$} = ${q}\n`:`export const ${$} = ${q}\n`),terms:g=="cjs"?`${k}module.exports = {\n ${D.join(",\n ")}\n}`:`${k}export const\n ${D.join(",\n ")}\n`}}gatherNonSkippedNodes(){let e=Object.create(null);let t=[];let s=s=>{if(!e[s.id]){e[s.id]=true;t.push(s)}};this.terms.tops.forEach(s);for(let i=0;i<t.length;i++){for(let e of t[i].rules)for(let t of e.parts)s(t)}return e}gatherNodeProps(e){let t=this.gatherNonSkippedNodes(),s=[];let i=[];for(let n of e){if(!t[n.id]&&!n.error)s.push(n.id);for(let e in n.props){let t=this.knownProps[e];if(!t)throw new U("No known prop type for "+e);if(t.source.from==null&&(t.source.name=="repeated"||t.source.name=="error"))continue;let s=i.find((t=>t.prop==e));if(!s)i.push(s={prop:e,values:{}});(s.values[n.props[e]]||(s.values[n.props[e]]=[])).push(n.id)}}return{nodeProps:i.map((({prop:e,values:t})=>{let s=[];for(let i in t){let e=t[i];if(e.length==1){s.push(e[0],i)}else{s.push(-e.length);for(let t of e)s.push(t);s.push(i)}}return{prop:e,terms:s}})),skippedTypes:s}}makeTerminal(e,t,s){return this.terms.makeTerminal(this.terms.uniqueName(e),t,s)}computeForceReductions(e,t){let s=[];let i=[];let n=Object.create(null);for(let a of e){s.push(0);for(let e of a.goto){let t=n[e.term.id]||(n[e.term.id]=[]);let s=t.find((t=>t.target==e.target.id));if(s)s.parents.push(a.id);else t.push({parents:[a.id],target:e.target.id})}i[a.id]=a.set.filter((e=>e.pos>0&&!e.rule.name.top)).sort(((e,t)=>t.pos-e.pos||e.rule.parts.length-t.rule.parts.length))}let r=Object.create(null);function l(e,t,s=null){let i=n[e];if(!i)return false;return i.some((e=>{let i=s?s.filter((t=>e.parents.includes(t))):e.parents;if(i.length==0)return false;if(e.target==t)return true;let n=r[e.target];return n!=null&&l(n,t,i)}))}for(let a of e){if(a.defaultReduce&&a.defaultReduce.parts.length>0){s[a.id]=At(a.defaultReduce,t);if(a.defaultReduce.parts.length==1)r[a.id]=a.defaultReduce.name.id}}for(let a=1;;a++){let n=true;for(let o of e){if(o.defaultReduce)continue;let e=i[o.id];if(e.length!=a){if(e.length>a)n=false;continue}for(let i of e){if(i.pos!=1||!l(i.rule.name.id,o.id)){s[o.id]=At(i.rule,t,i.pos);if(i.pos==1)r[o.id]=i.rule.name.id;break}}}if(n)break}return s}substituteArgs(e,t,s){if(t.length==0)return e;return e.walk((e=>{let i;if(e instanceof v&&(i=s.findIndex((t=>t.name==e.id.name)))>-1){let s=t[i];if(e.args.length){if(s instanceof v&&!s.args.length)return new v(e.start,s.id,e.args);this.raise(`Passing arguments to a parameter that already has arguments`,e.start)}return s}else if(e instanceof T){let i=e.rule,n=this.substituteArgsInProps(i.props,t,s);return n==i.props?e:new T(e.start,new u(i.start,i.id,n,i.params,i.expr))}else if(e instanceof S){let i=this.substituteArgsInProps(e.props,t,s);return i==e.props?e:new S(e.start,e.type,i,e.token,e.content)}return e}))}substituteArgsInProps(e,t,s){let i=e=>{let i=e;for(let n=0;n<e.length;n++){let r=e[n];if(!r.name)continue;let l=s.findIndex((e=>e.name==r.name));if(l<0)continue;if(i==e)i=e.slice();let a=t[l];if(a instanceof v&&!a.args.length)i[n]=new J(r.start,a.id.name,null);else if(a instanceof N)i[n]=new J(r.start,a.value,null);else this.raise(`Trying to interpolate expression '${a}' into a prop`,r.start)}return i};let n=e;for(let r=0;r<e.length;r++){let t=e[r],s=i(t.value);if(s!=t.value){if(n==e)n=e.slice();n[r]=new E(t.start,t.at,t.name,s)}}return n}conflictsFor(e){let t=V.none,s=V.none;for(let i of e){if(i.type=="ambig"){t=t.join(new V(0,[i.id.name]))}else{let e=this.ast.precedences;let n=e?e.items.findIndex((e=>e.id.name==i.id.name)):-1;if(n<0)this.raise(`Reference to unknown precedence: '${i.id.name}'`,i.id.start);let r=e.items[n],l=e.items.length-n;if(r.type=="cut"){t=t.join(new V(0,$t,l))}else{t=t.join(new V(l<<2));s=s.join(new V((l<<2)+(r.type=="left"?1:r.type=="right"?-1:0)))}}}return{here:t,atEnd:s}}raise(e,t=1){return this.input.raise(e,t)}warn(e,t=-1){let s=this.input.message(e,t);if(this.options.warn)this.options.warn(s);else console.warn(s)}defineRule(e,t){let s=this.currentSkip[this.currentSkip.length-1];for(let i of t)this.rules.push(new K(e,i.terms,i.ensureConflicts(),s))}resolve(e){for(let i of this.built)if(i.matches(e))return[St(i.term)];let t=this.tokens.getToken(e);if(t)return[St(t)];for(let i of this.localTokens){let t=i.getToken(e);if(t)return[St(t)]}for(let i of this.externalTokens){let t=i.getToken(e);if(t)return[St(t)]}for(let i of this.externalSpecializers){let t=i.getToken(e);if(t)return[St(t)]}let s=this.astRules.find((t=>t.rule.id.name==e.id.name));if(!s)return this.raise(`Reference to undefined rule '${e.id.name}'`,e.start);if(s.rule.params.length!=e.args.length)this.raise(`Wrong number or arguments for '${e.id.name}'`,e.start);this.used(s.rule.id.name);return[St(this.buildRule(s.rule,e.args,s.skip))]}normalizeRepeat(e){let t=this.built.find((t=>t.matchesRepeat(e)));if(t)return St(t.term);let s=e.expr.prec<e.prec?`(${e.expr})+`:`${e.expr}+`;let i=this.terms.makeRepeat(this.terms.uniqueName(s));this.built.push(new Tt("+",[e.expr],i));this.defineRule(i,this.normalizeExpr(e.expr).concat(St(i,i)));return St(i)}normalizeSequence(e){let t=e.exprs.map((e=>this.normalizeExpr(e)));let s=this;function i(n,r,l){let{here:a,atEnd:o}=s.conflictsFor(e.markers[r]);if(r==t.length)return[n.withConflicts(n.terms.length,a.join(l))];let u=[];for(let e of t[r]){for(let t of i(n.concat(e).withConflicts(n.terms.length,a),r+1,l.join(o)))u.push(t)}return u}return i(vt.none,0,V.none)}normalizeExpr(e){if(e instanceof j&&e.kind=="?"){return[vt.none,...this.normalizeExpr(e.expr)]}else if(e instanceof j){let t=this.normalizeRepeat(e);return e.kind=="+"?[t]:[vt.none,t]}else if(e instanceof O){return e.exprs.reduce(((e,t)=>e.concat(this.normalizeExpr(t))),[])}else if(e instanceof R){return this.normalizeSequence(e)}else if(e instanceof N){return[St(this.tokens.getLiteral(e))]}else if(e instanceof v){return this.resolve(e)}else if(e instanceof S){return[St(this.resolveSpecialization(e))]}else if(e instanceof T){return[St(this.buildRule(e.rule,$t,this.currentSkip[this.currentSkip.length-1],true))]}else{return this.raise(`This type of expression ('${e}') may not occur in non-token rules`,e.start)}}buildRule(e,t,s,i=false){let n=this.substituteArgs(e.expr,t,e.params);let{name:r,props:l,dynamicPrec:a,inline:o,group:u,exported:h}=this.nodeInfo(e.props||$t,i?"pg":"pgi",e.id.name,t,e.params,e.expr);if(h&&e.params.length)this.warn(`Can't export parameterized rules`,e.start);if(h&&i)this.warn(`Can't export inline rule`,e.start);let f=this.newName(e.id.name+(t.length?"<"+t.join(",")+">":""),r||true,l);if(o)f.inline=true;if(a)this.registerDynamicPrec(f,a);if((f.nodeType||h)&&e.params.length==0){if(!r)f.preserve=true;if(!i)this.namedTerms[h||e.id.name]=f}if(!i)this.built.push(new Tt(e.id.name,t,f));this.currentSkip.push(s);this.defineRule(f,this.normalizeExpr(n));this.currentSkip.pop();if(u)this.definedGroups.push({name:f,group:u,rule:e});return f}nodeInfo(e,t,s=null,i=$t,n=$t,r,l){let a={};let o=s&&(t.indexOf("a")>-1||!fs(s))&&!/ /.test(s)?s:null;let u=null,h=0,f=false,c=null,p=null;for(let d of e){if(!d.at){if(!this.knownProps[d.name]){let e=["name","dialect","dynamicPrecedence","export","isGroup"].includes(d.name)?` (did you mean '@${d.name}'?)`:"";this.raise(`Unknown prop name '${d.name}'${e}`,d.start)}a[d.name]=this.finishProp(d,i,n)}else if(d.name=="name"){o=this.finishProp(d,i,n);if(/ /.test(o))this.raise(`Node names cannot have spaces ('${o}')`,d.start)}else if(d.name=="dialect"){if(t.indexOf("d")<0)this.raise("Can't specify a dialect on non-token rules",e[0].start);if(d.value.length!=1&&!d.value[0].value)this.raise("The '@dialect' rule prop must hold a plain string value");let s=this.dialects.indexOf(d.value[0].value);if(s<0)this.raise(`Unknown dialect '${d.value[0].value}'`,d.value[0].start);u=s}else if(d.name=="dynamicPrecedence"){if(t.indexOf("p")<0)this.raise("Dynamic precedence can only be specified on nonterminals");if(d.value.length!=1||!/^-?(?:10|\d)$/.test(d.value[0].value))this.raise("The '@dynamicPrecedence' rule prop must hold an integer between -10 and 10");h=+d.value[0].value}else if(d.name=="inline"){if(d.value.length)this.raise("'@inline' doesn't take a value",d.value[0].start);if(t.indexOf("i")<0)this.raise("Inline can only be specified on nonterminals");f=true}else if(d.name=="isGroup"){if(t.indexOf("g")<0)this.raise("'@isGroup' can only be specified on nonterminals");c=d.value.length?this.finishProp(d,i,n):s}else if(d.name=="export"){if(d.value.length)p=this.finishProp(d,i,n);else p=s}else{this.raise(`Unknown built-in prop name '@${d.name}'`,d.start)}}if(r&&this.ast.autoDelim&&(o||M(a))){let e=this.findDelimiters(r);if(e){jt(e[0],"closedBy",e[1].nodeName);jt(e[1],"openedBy",e[0].nodeName)}}if(l&&M(l)){for(let e in l)if(!(e in a))a[e]=l[e]}if(M(a)&&!o)this.raise(`Node has properties but no name`,e.length?e[0].start:r.start);if(f&&(M(a)||u||h))this.raise(`Inline nodes can't have props, dynamic precedence, or a dialect`,e[0].start);if(f&&o)o=null;return{name:o,props:a,dialect:u,dynamicPrec:h,inline:f,group:c,exported:p}}finishProp(e,t,s){return e.value.map((e=>{if(e.value)return e.value;let i=s.findIndex((t=>t.name==e.name));if(i<0)this.raise(`Property refers to '${e.name}', but no parameter by that name is in scope`,e.start);let n=t[i];if(n instanceof v&&!n.args.length)return n.id.name;if(n instanceof N)return n.value;return this.raise(`Expression '${n}' can not be used as part of a property value`,e.start)})).join("")}resolveSpecialization(e){let t=e.type;let{name:s,props:i,dialect:n}=this.nodeInfo(e.props,"d");let r=this.normalizeExpr(e.token);if(r.length!=1||r[0].terms.length!=1||!r[0].terms[0].terminal)this.raise(`The first argument to '${t}' must resolve to a token`,e.token.start);let l;if(e.content instanceof N)l=[e.content.value];else if(e.content instanceof O&&e.content.exprs.every((e=>e instanceof N)))l=e.content.exprs.map((e=>e.value));else return this.raise(`The second argument to '${e.type}' must be a literal or choice of literals`,e.content.start);let a=r[0].terms[0],o=null;let u=this.specialized[a.name]||(this.specialized[a.name]=[]);for(let h of l){let r=u.find((e=>e.value==h));if(r==null){if(!o){o=this.makeTerminal(a.name+"/"+JSON.stringify(h),s,i);if(n!=null)(this.tokens.byDialect[n]||(this.tokens.byDialect[n]=[])).push(o)}u.push({value:h,term:o,type:t,dialect:n,name:s});this.tokenOrigins[o.name]={spec:a}}else{if(r.type!=t)this.raise(`Conflicting specialization types for ${JSON.stringify(h)} of ${a.name} (${t} vs ${r.type})`,e.start);if(r.dialect!=n)this.raise(`Conflicting dialects for specialization ${JSON.stringify(h)} of ${a.name}`,e.start);if(r.name!=s)this.raise(`Conflicting names for specialization ${JSON.stringify(h)} of ${a.name}`,e.start);if(o&&r.term!=o)this.raise(`Conflicting specialization tokens for ${JSON.stringify(h)} of ${a.name}`,e.start);o=r.term}}return o}findDelimiters(e){if(!(e instanceof R)||e.exprs.length<2)return null;let t=e=>{if(e instanceof N)return{term:this.tokens.getLiteral(e),str:e.value};if(e instanceof v&&e.args.length==0){let s=this.ast.rules.find((t=>t.id.name==e.id.name));if(s)return t(s.expr);let i=this.tokens.rules.find((t=>t.id.name==e.id.name));if(i&&i.expr instanceof N)return{term:this.tokens.getToken(e),str:i.expr.value}}return null};let s=t(e.exprs[e.exprs.length-1]);if(!s||!s.term.nodeName)return null;const i=["()","[]","{}","<>"];let n=i.find((e=>s.str.indexOf(e[1])>-1&&s.str.indexOf(e[0])<0));if(!n)return null;let r=t(e.exprs[0]);if(!r||!r.term.nodeName||r.str.indexOf(n[0])<0||r.str.indexOf(n[1])>-1)return null;return[r.term,s.term]}registerDynamicPrec(e,t){this.dynamicRulePrecedences.push({rule:e,prec:t});e.preserve=true}defineGroup(e,t,s){var i;let n=[];let r=e=>{if(e.nodeName)return[e];if(n.includes(e))this.raise(`Rule '${s.id.name}' cannot define a group because it contains a non-named recursive rule ('${e.name}')`,s.start);let t=[];n.push(e);for(let i of this.rules)if(i.name==e){let e=i.parts.map(r).filter((e=>e.length));if(e.length>1)this.raise(`Rule '${s.id.name}' cannot define a group because some choices produce multiple named nodes`,s.start);if(e.length==1)for(let s of e[0])t.push(s)}n.pop();return t};for(let l of r(e))l.props["group"]=(((i=l.props["group"])===null||i===void 0?void 0:i.split(" "))||[]).concat(t).sort().join(" ")}checkGroups(){let e=Object.create(null),t=Object.create(null);for(let i of this.terms.terms)if(i.nodeName){t[i.nodeName]=true;if(i.props["group"])for(let t of i.props["group"].split(" ")){(e[t]||(e[t]=[])).push(i)}}let s=Object.keys(e);for(let i=0;i<s.length;i++){let n=s[i],r=e[n];if(t[n])this.warn(`Group name '${n}' conflicts with a node of the same name`);for(let t=i+1;t<s.length;t++){let i=e[s[t]];if(r.some((e=>i.includes(e)))&&(r.length>i.length?i.some((e=>!r.includes(e))):r.some((e=>!i.includes(e)))))this.warn(`Groups '${n}' and '${s[t]}' overlap without one being a superset of the other`)}}}}const Rt=5;class Pt{constructor(e,t,s,i,n,r,l){this.tokenizers=e;this.data=t;this.stateArray=s;this.skipData=i;this.skipInfo=n;this.states=r;this.builder=l;this.sharedActions=[]}findSharedActions(e){if(e.actions.length<Rt)return null;let t=null;for(let r of this.sharedActions){if((!t||r.actions.length>t.actions.length)&&r.actions.every((t=>e.actions.some((e=>e.eq(t))))))t=r}if(t)return t;let s=null,i=[];for(let r=e.id+1;r<this.states.length;r++){let t=this.states[r],n=0;if(t.defaultReduce||t.actions.length<Rt)continue;for(let s of e.actions)for(let e of t.actions)if(s.eq(e))i[n++]=s;if(n>=Rt&&(!s||s.length<n)){s=i;i=[]}}if(!s)return null;let n={actions:s,addr:this.storeActions(s,-1,null)};this.sharedActions.push(n);return n}storeActions(e,t,s){if(t<0&&s&&s.actions.length==e.length)return s.addr;let i=[];for(let n of e){if(s&&s.actions.some((e=>e.eq(n))))continue;if(n instanceof Xe){i.push(n.term.id,n.target.id,0)}else{let e=At(n.rule,this.skipInfo);if(e!=t)i.push(n.term.id,e&65535,e>>16)}}i.push(65535);if(t>-1)i.push(2,t&65535,t>>16);else if(s)i.push(1,s.addr&65535,s.addr>>16);else i.push(0);return this.data.storeArray(i)}finish(e,t,s){let i=this.builder;let n=i.skipRules.indexOf(e.skip);let r=this.skipData[n],l=this.skipInfo[n].startTokens;let a=e.defaultReduce?At(e.defaultReduce,this.skipInfo):0;let o=t?1:0;let u=-1,h=null;if(a==0){if(t)for(const t of e.actions)if(t instanceof Ze&&t.term.eof)u=At(t.rule,this.skipInfo);if(u<0)h=this.findSharedActions(e)}if(e.set.some((e=>e.rule.name.top&&e.pos==e.rule.parts.length)))o|=2;let f=[];for(let d=0;d<e.actions.length+l.length;d++){let t=d<e.actions.length?e.actions[d].term:l[d-e.actions.length];for(;;){let e=i.tokenOrigins[t.name];if(e&&e.spec){t=e.spec;continue}if(e&&e.external instanceof is)Gt(f,e.external);break}}let c=0;for(let d=0;d<this.tokenizers.length;d++){let t=this.tokenizers[d];if(f.includes(t)||t.groupID==e.tokenGroup)c|=1<<d}let p=e.id*6;this.stateArray[p+0]=o;this.stateArray[p+1]=this.storeActions(a?$t:e.actions,u,h);this.stateArray[p+2]=r;this.stateArray[p+3]=c;this.stateArray[p+4]=a;this.stateArray[p+5]=s}}function jt(e,t,s){let i=e.props[t];if(!i||i.split(" ").indexOf(s)<0)e.props[t]=i?i+" "+s:s}function Nt(e){let t=Object.create(null);for(let{value:s,term:i,type:n}of e){let e=n=="specialize"?0:1;t[s]=i.id<<1|e}return t}function At(e,t,s=e.parts.length){return e.name.id|65536|(e.isRepeatWrap&&s==e.parts.length?131072:0)|(t.some((t=>t.rule==e.name))?262144:0)|s<<19}function zt(e,t){e:for(let s=0;;){let i=e.indexOf(t[0],s);if(i==-1||i+t.length>e.length)break;for(let n=1;n<t.length;n++){if(t[n]!=e[i+n]){s=i+1;continue e}}return i}return-1}function It(e,t){let s=Object.create(null);let i=[];let n=e=>{if(!s[e.id]){s[e.id]=true;i.push(e)}};for(let r of e)if(r.startRule&&t.includes(r.startRule))n(r);for(let r=0;r<i.length;r++){for(let e of i[r].actions)if(e instanceof Xe)n(e.target);for(let e of i[r].goto)n(e.target)}return e=>!s[e]}class Ct{constructor(){this.data=[]}storeArray(e){let t=zt(this.data,e);if(t>-1)return t;let s=this.data.length;for(let i of e)this.data.push(i);return s}finish(){return Uint16Array.from(this.data)}}function qt(e){let t={};let s=0;for(let l of e){for(let e of l.goto){s=Math.max(e.term.id,s);let i=t[e.term.id]||(t[e.term.id]={});(i[e.target.id]||(i[e.target.id]=[])).push(l.id)}}let i=new Ct;let n=[];let r=s+2;for(let l=0;l<=s;l++){let e=t[l];if(!e){n.push(1);continue}let s=[];let a=Object.keys(e);for(let t of a){let i=e[t];s.push((t==a[a.length-1]?1:0)+(i.length<<1));s.push(+t);for(let e of i)s.push(e)}n.push(i.storeArray(s)+r)}if(n.some((e=>e>65535)))throw new U("Goto table too large");return Uint16Array.from([s+1,...n,...i.data])}class Dt{constructor(e,t){this.tokens=e;this.groupID=t}create(){return this.groupID}createSource(){return String(this.groupID)}}function Gt(e,t){if(!e.includes(t))e.push(t)}function Et(e){let t=Object.create(null);for(let s of e){let e=1<<s.groupID;for(let i of s.tokens){t[i.id]=(t[i.id]||0)|e}}return t}class Jt{constructor(e,t,s){this.name=e;this.expr=t;this.scope=s}}class _t{constructor(e,t,s,i){this.name=e;this.start=t;this.to=s;this.args=i}}class Ut{constructor(e,t){this.b=e;this.ast=t;this.startState=new re;this.built=[];this.building=[];this.byDialect=Object.create(null);this.precedenceRelations=[];this.rules=t?t.rules:$t;for(let s of this.rules)e.unique(s.id)}getToken(e){for(let o of this.built)if(o.matches(e))return o.term;let t=e.id.name;let s=this.rules.find((e=>e.id.name==t));if(!s)return null;let{name:i,props:n,dialect:r,exported:l}=this.b.nodeInfo(s.props,"d",t,e.args,s.params.length!=e.args.length?$t:s.params);let a=this.b.makeTerminal(e.toString(),i,n);if(r!=null)(this.byDialect[r]||(this.byDialect[r]=[])).push(a);if((a.nodeType||l)&&s.params.length==0){if(!a.nodeType)a.preserve=true;this.b.namedTerms[l||t]=a}this.buildRule(s,e,this.startState,new re([a]));this.built.push(new Tt(t,e.args,a));return a}buildRule(e,t,s,i,n=$t){let r=t.id.name;if(e.params.length!=t.args.length)this.b.raise(`Incorrect number of arguments for token '${r}'`,t.start);let l=this.building.find((e=>e.name==r&&G(t.args,e.args)));if(l){if(l.to==i){s.nullEdge(l.start);return}let e=this.building.length-1;while(this.building[e].name!=r)e--;this.b.raise(`Invalid (non-tail) recursion in token rules: ${this.building.slice(e).map((e=>e.name)).join(" -> ")}`,t.start)}this.b.used(e.id.name);let a=new re;s.nullEdge(a);this.building.push(new _t(r,a,i,t.args));this.build(this.b.substituteArgs(e.expr,t.args,e.params),a,i,t.args.map(((t,s)=>new Jt(e.params[s].name,t,n))));this.building.pop()}build(e,t,s,i){if(e instanceof v){let n=e.id.name,r=i.find((e=>e.name==n));if(r)return this.build(r.expr,t,s,r.scope);let l;for(let e=0,t=this.b.localTokens;e<=t.length;e++){let s=e==t.length?this.b.tokens:t[e];l=s.rules.find((e=>e.id.name==n))}if(!l)return this.b.raise(`Reference to token rule '${e.id.name}', which isn't found`,e.start);this.buildRule(l,e,t,s,i)}else if(e instanceof q){for(let[i,n]of C[e.type])t.edge(i,n,s)}else if(e instanceof O){for(let n of e.exprs)this.build(n,t,s,i)}else if(Zt(e)){t.nullEdge(s)}else if(e instanceof R){let n=e.markers.find((e=>e.length>0));if(n)this.b.raise("Conflict marker in token expression",n[0].start);for(let r=0;r<e.exprs.length;r++){let n=r==e.exprs.length-1?s:new re;this.build(e.exprs[r],t,n,i);t=n}}else if(e instanceof j){if(e.kind=="*"){let n=new re;t.nullEdge(n);this.build(e.expr,n,n,i);n.nullEdge(s)}else if(e.kind=="+"){let n=new re;this.build(e.expr,t,n,i);this.build(e.expr,n,n,i);n.nullEdge(s)}else{t.nullEdge(s);this.build(e.expr,t,s,i)}}else if(e instanceof A){for(let[i,n]of e.inverted?Wt(e.ranges):e.ranges)Xt(t,s,i,n)}else if(e instanceof N){for(let i=0;i<e.value.length;i++){let n=e.value.charCodeAt(i);let r=i==e.value.length-1?s:new re;t.edge(n,n+1,r);t=r}}else if(e instanceof z){let e=new re;t.edge(0,56320,s);t.edge(56320,X+1,s);t.edge(55296,56320,e);e.edge(56320,57344,s)}else{return this.b.raise(`Unrecognized expression type in token`,e.start)}}takePrecedences(){let e=this.precedenceRelations=[];if(this.ast)for(let t of this.ast.precedences){let s=[];for(let i of t.items){let t=[];if(i instanceof v){for(let e of this.built)if(i.args.length?e.matches(i):e.id==i.id.name)t.push(e.term)}else{let e=JSON.stringify(i.value),s=this.built.find((t=>t.id==e));if(s)t.push(s.term)}if(!t.length)this.b.warn(`Precedence specified for unknown token ${i}`,i.start);for(let i of t)ss(e,i,s);s=s.concat(t)}}}precededBy(e,t){let s=this.precedenceRelations.find((t=>t.term==e));return s&&s.after.includes(t)}buildPrecTable(e){let t=[],s=this.precedenceRelations.slice();for(let{a:i,b:n,soft:r}of e)if(r){if(!s.some((e=>e.term==i))||!s.some((e=>e.term==n)))continue;if(r<0)[i,n]=[n,i];ss(s,n,[i]);ss(s,i,[])}e:while(s.length){for(let e=0;e<s.length;e++){let i=s[e];if(i.after.every((e=>t.includes(e.id)))){t.push(i.term.id);if(s.length==1)break e;s[e]=s.pop();continue e}}this.b.raise(`Cyclic token precedence relation between ${s.map((e=>e.term)).join(", ")}`)}return t}}class Mt extends Ut{constructor(){super(...arguments);this.explicitConflicts=[]}getLiteral(e){let t=JSON.stringify(e.value);for(let o of this.built)if(o.id==t)return o.term;let s=null,i={},n=null,r=null;let l=this.ast?this.ast.literals.find((t=>t.literal==e.value)):null;if(l)({name:s,props:i,dialect:n,exported:r}=this.b.nodeInfo(l.props,"da",e.value));let a=this.b.makeTerminal(t,s,i);if(n!=null)(this.byDialect[n]||(this.byDialect[n]=[])).push(a);if(r)this.b.namedTerms[r]=a;this.build(e,this.startState,new re([a]),$t);this.built.push(new Tt(t,$t,a));return a}takeConflicts(){var e;let t=e=>{if(e instanceof v){for(let t of this.built)if(t.matches(e))return t.term}else{let t=JSON.stringify(e.value),s=this.built.find((e=>e.id==t));if(s)return s.term}this.b.warn(`Precedence specified for unknown token ${e}`,e.start);return null};for(let s of((e=this.ast)===null||e===void 0?void 0:e.conflicts)||[]){let e=t(s.a),i=t(s.b);if(e&&i){if(e.id<i.id)[e,i]=[i,e];this.explicitConflicts.push({a:e,b:i})}}}buildTokenGroups(e,t,s){let i=this.startState.compile();if(i.accepting.length)this.b.raise(`Grammar contains zero-length tokens (in '${i.accepting[0].name}')`,this.rules.find((e=>e.id.name==i.accepting[0].name)).start);if(/\btokens\b/.test(Me))console.log(i.toString());let n=i.findConflicts(Ft(e,this.b,t)).filter((({a:e,b:t})=>!this.precededBy(e,t)&&!this.precededBy(t,e)));for(let{a:h,b:f}of this.explicitConflicts){if(!n.some((e=>e.a==h&&e.b==f)))n.push(new le(h,f,0,"",""))}let r=n.filter((e=>e.soft)),l=n.filter((e=>!e.soft));let a=[];let o=[];for(let h of e){if(h.defaultReduce||h.tokenGroup>-1)continue;let e=[],i=[];let n=t[this.b.skipRules.indexOf(h.skip)].startTokens;for(let t of n)if(h.actions.some((e=>e.term==t)))this.b.raise(`Use of token ${t.name} conflicts with skip rule`);let r=[];for(let t=0;t<h.actions.length+(n?n.length:0);t++){let e=t<h.actions.length?h.actions[t].term:n[t-h.actions.length];let s=this.b.tokenOrigins[e.name];if(s&&s.spec)e=s.spec;else if(s&&s.external)continue;Gt(r,e)}if(r.length==0)continue;for(let t of r){for(let s of l){let n=s.a==t?s.b:s.b==t?s.a:null;if(!n)continue;if(r.includes(n)&&!a.some((e=>e.conflict==s))){let e=s.exampleA?` (example: ${JSON.stringify(s.exampleA)}${s.exampleB?` vs ${JSON.stringify(s.exampleB)}`:""})`:"";a.push({error:`Overlapping tokens ${t.name} and ${n.name} used in same context${e}\n`+`After: ${h.set[0].trail()}`,conflict:s})}Gt(e,t);Gt(i,n)}}let u=null;for(let t of o){if(i.some((e=>t.tokens.includes(e))))continue;for(let s of e)Gt(t.tokens,s);u=t;break}if(!u){u=new Dt(e,o.length+s);o.push(u)}h.tokenGroup=u.groupID}if(a.length)this.b.raise(a.map((e=>e.error)).join("\n\n"));if(o.length+s>16)this.b.raise(`Too many different token groups (${o.length}) to represent them as a 16-bit bitfield`);let u=this.buildPrecTable(r);return{tokenGroups:o,tokenPrec:u,tokenData:i.toArray(Et(o),u)}}}class Bt extends Ut{constructor(e,t){super(e,t);this.fallback=null;if(t.fallback)e.unique(t.fallback.id)}getToken(e){let t=null;if(this.ast.fallback&&this.ast.fallback.id.name==e.id.name){if(e.args.length)this.b.raise(`Incorrect number of arguments for ${e.id.name}`,e.start);if(!this.fallback){let{name:t,props:s,exported:i}=this.b.nodeInfo(this.ast.fallback.props,"",e.id.name,$t,$t);let n=this.fallback=this.b.makeTerminal(e.id.name,t,s);if(n.nodeType||i){if(!n.nodeType)n.preserve=true;this.b.namedTerms[i||e.id.name]=n}this.b.used(e.id.name)}t=this.fallback}else{t=super.getToken(e)}if(t&&!this.b.tokenOrigins[t.name])this.b.tokenOrigins[t.name]={group:this};return t}buildLocalGroup(e,t,s){let i=this.startState.compile();if(i.accepting.length)this.b.raise(`Grammar contains zero-length tokens (in '${i.accepting[0].name}')`,this.rules.find((e=>e.id.name==i.accepting[0].name)).start);for(let{a:r,b:u,exampleA:h}of i.findConflicts((()=>true))){if(!this.precededBy(r,u)&&!this.precededBy(u,r))this.b.raise(`Overlapping tokens ${r.name} and ${u.name} in local token group${h?` (example: ${JSON.stringify(h)})`:""}`)}for(let r of e){if(r.defaultReduce)continue;let e=null;let i=t[this.b.skipRules.indexOf(r.skip)].startTokens[0];for(let{term:t}of r.actions){let s=this.b.tokenOrigins[t.name];if((s===null||s===void 0?void 0:s.group)==this)e=t;else i=t}if(e){if(i)this.b.raise(`Tokens from a local token group used together with other tokens (${e.name} with ${i.name})`);r.tokenGroup=s}}let n=this.buildPrecTable($t);let l=i.toArray({[s]:65535},n);let a=l.length;let o=new Uint16Array(l.length+n.length+1);o.set(l,0);o.set(n,a);o[o.length-1]=65535;return{groupID:s,create:()=>new r.RA(o,a,this.fallback?this.fallback.id:undefined),createSource:e=>`new ${e("LocalTokenGroup","@lezer/lr")}(${yt(o)}, ${a}${this.fallback?`, ${this.fallback.id}`:""})`}}}function Ft(e,t,s){let i=Object.create(null);function n(e,i){return e.actions.some((e=>e.term==i))||s[t.skipRules.indexOf(e.skip)].startTokens.includes(i)}return(t,s)=>{if(t.id<s.id)[t,s]=[s,t];let r=t.id|s.id<<16,l=i[r];if(l!=null)return l;return i[r]=e.some((e=>n(e,t)&&n(e,s)))}}function Wt(e){let t=0,s=[];for(let[i,n]of e){if(i>t)s.push([t,i]);t=n}if(t<=Yt)s.push([t,Yt+1]);return s}const Lt=65536,Qt=55296,Vt=57344,Yt=1114111;const Ht=56320,Kt=57343;function Xt(e,t,s,i){if(s<Lt){if(s<Qt)e.edge(s,Math.min(i,Qt),t);if(i>Vt)e.edge(Math.max(s,Vt),Math.min(i,X+1),t);s=Lt}if(i<=Lt)return;let n=String.fromCodePoint(s),r=String.fromCodePoint(i-1);let l=n.charCodeAt(0),a=n.charCodeAt(1);let o=r.charCodeAt(0),u=r.charCodeAt(1);if(l==o){let s=new re;e.edge(l,l+1,s);s.edge(a,u+1,t)}else{let s=l,i=o;if(a>Ht){s++;let i=new re;e.edge(l,l+1,i);i.edge(a,Kt+1,t)}if(u<Kt){i--;let s=new re;e.edge(o,o+1,s);s.edge(Ht,u+1,t)}if(s<=i){let n=new re;e.edge(s,i+1,n);n.edge(Ht,Kt+1,t)}}}function Zt(e){return e instanceof R&&e.exprs.length==0}function es(e,t){let s=Object.create(null);for(let i of t){e.unique(i.id);let{name:t,props:n,dialect:r}=e.nodeInfo(i.props,"d",i.id.name);let l=e.makeTerminal(i.id.name,t,n);if(r!=null)(e.tokens.byDialect[r]||(e.tokens.byDialect[r]=[])).push(l);e.namedTerms[i.id.name]=s[i.id.name]=l}return s}function ts(e,t,s){let i=t[s.id.name];if(!i)return null;if(s.args.length)e.raise("External tokens cannot take arguments",s.args[0].start);e.used(s.id.name);return i}function ss(e,t,s){let i=e.findIndex((e=>e.term==t));if(i<0)e.push({term:t,after:s});else e[i]={term:t,after:e[i].after.concat(s)}}class is{constructor(e,t){this.b=e;this.ast=t;this.tokens=es(e,t.tokens);for(let s in this.tokens)this.b.tokenOrigins[this.tokens[s].name]={external:this}}getToken(e){return ts(this.b,this.tokens,e)}create(){return this.b.options.externalTokenizer(this.ast.id.name,this.b.termTable)}createSource(e){let{source:t,id:{name:s}}=this.ast;return e(s,t)}}class ns{constructor(e,t){this.b=e;this.ast=t;this.term=null;this.tokens=es(e,t.tokens)}finish(){let e=this.b.normalizeExpr(this.ast.token);if(e.length!=1||e[0].terms.length!=1||!e[0].terms[0].terminal)this.b.raise(`The token expression to '@external ${this.ast.type}' must resolve to a token`,this.ast.token.start);this.term=e[0].terms[0];for(let t in this.tokens)this.b.tokenOrigins[this.tokens[t].name]={spec:this.term,external:this}}getToken(e){return ts(this.b,this.tokens,e)}}function rs(e,t){for(let s=0;;s++){let i=Object.create(null),n;if(s==0)for(let l of e){if(l.name.inline&&!i[l.name.name]){let a=e.filter((e=>e.name==l.name));if(a.some((e=>e.parts.includes(l.name))))continue;n=i[l.name.name]=a}}for(let o=0;o<e.length;o++){let u=e[o];if(!u.name.interesting&&!u.parts.includes(u.name)&&u.parts.length<3&&!t.includes(u.name)&&(u.parts.length==1||e.every((e=>e.skip==u.skip||!e.parts.includes(u.name))))&&!u.parts.some((e=>!!i[e.name]))&&!e.some(((e,t)=>t!=o&&e.name==u.name)))n=i[u.name.name]=[u]}if(!n)return e;let r=[];for(let h of e){if(i[h.name.name])continue;if(!h.parts.some((e=>!!i[e.name]))){r.push(h);continue}function f(e,t,s){if(e==h.parts.length){r.push(new K(h.name,s,t,h.skip));return}let n=h.parts[e],l=i[n.name];if(!l){f(e+1,t.concat(h.conflicts[e+1]),s.concat(n));return}for(let i of l)f(e+1,t.slice(0,t.length-1).concat(t[e].join(i.conflicts[0])).concat(i.conflicts.slice(1,i.conflicts.length-1)).concat(h.conflicts[e+1].join(i.conflicts[i.conflicts.length-1])),s.concat(i.parts))}f(0,[h.conflicts[0]],[])}e=r}}function ls(e){let t=Object.create(null),s;for(let n=0;n<e.length;){let i=n;let r=e[n++].name;while(n<e.length&&e[n].name==r)n++;let l=n-i;if(r.interesting)continue;for(let a=n;a<e.length;){let n=a,o=e[a++].name;while(a<e.length&&e[a].name==o)a++;if(a-n!=l||o.interesting)continue;let u=true;for(let t=0;t<l&&u;t++){let s=e[i+t],r=e[n+t];if(s.cmpNoName(r)!=0)u=false}if(u)s=t[r.name]=o}}if(!s)return e;let i=[];for(let n of e)if(!t[n.name.name]){i.push(n.parts.every((e=>!t[e.name]))?n:new K(n.name,n.parts.map((e=>t[e.name]||e)),n.conflicts,n.skip))}return i}function as(e,t){return ls(rs(e,t))}function os(e,t={}){let s=new Ot(e,t),i=s.getParser();i.termTable=s.termTable;return i}const us=["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","while","with","null","true","false","instanceof","typeof","void","delete","new","in","this","const","class","extends","export","import","super","enum","implements","interface","let","package","private","protected","public","static","yield","require"];function hs(e,t={}){return new Ot(e,t).getParserFile()}function fs(e){let t=e[0];return t=="_"||t.toUpperCase()!=t}function cs(e){return e.props.some((e=>e.at&&e.name=="export"))}}}]);
|