diff --git a/.gitattributes b/.gitattributes index c7d9f3332a950355d5a77d85000f05e6f45435ea..f2ef9cddf9b5be424ea927f222586efe437708fd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -27,8 +27,12 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.tar.* filter=lfs diff=lfs merge=lfs -text *.tflite filter=lfs diff=lfs merge=lfs -text *.tgz filter=lfs diff=lfs merge=lfs -text -*.wasm filter=lfs diff=lfs merge=lfs -text *.xz filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.data filter=lfs diff=lfs merge=lfs -text +*.asm.wasm filter=lfs diff=lfs merge=lfs -text +*.wasm filter=lfs diff=lfs merge=lfs -text +*asm.wasm filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..f5e96dbfaec8bd23554e839a582259cf17837f26 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venv \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..c980515027c92c7a705d1458a864a736d4ddc976 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker +# you will also find guides on how best to write your Dockerfile + +FROM python:3.9 + +WORKDIR /code + +COPY . . + +RUN pip install --no-cache-dir --upgrade -r requirements.txt + + +# Change the port number of our Wave app to 7860 +# which is default in Hugging Face Spaces. +ENV H2O_WAVE_LISTEN=":7860" +ENV H2O_WAVE_ADDRESS='http://127.0.0.1:7860' + +CMD ["wave", "run", "examples.tour", "--no-reload"] \ No newline at end of file diff --git a/examples/.DS_Store b/examples/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 Binary files /dev/null and b/examples/.DS_Store differ diff --git a/examples/.gitignore b/examples/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..0b84df0f0253112e776e30cc1b7f1b7b9182e8b6 --- /dev/null +++ b/examples/.gitignore @@ -0,0 +1 @@ +*.html \ No newline at end of file diff --git a/examples/.python-version b/examples/.python-version new file mode 100644 index 0000000000000000000000000000000000000000..d20cc2bf020ea4d4e6b4237229024d03130d0203 --- /dev/null +++ b/examples/.python-version @@ -0,0 +1 @@ +3.8.10 diff --git a/examples/__init__.py b/examples/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/__pycache__/__init__.cpython-37.pyc b/examples/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a206cd01abc541956ced0329dd3b0f11b766e224 Binary files /dev/null and b/examples/__pycache__/__init__.cpython-37.pyc differ diff --git a/examples/__pycache__/__init__.cpython-39.pyc b/examples/__pycache__/__init__.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9c93051bc147e18348d4354c1be1686a6c0deabc Binary files /dev/null and b/examples/__pycache__/__init__.cpython-39.pyc differ diff --git a/examples/__pycache__/audio_annotator.cpython-39.pyc b/examples/__pycache__/audio_annotator.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0f9ffb0e90ac05dd2fee348ff8e2fdb2f470cb4e Binary files /dev/null and b/examples/__pycache__/audio_annotator.cpython-39.pyc differ diff --git a/examples/__pycache__/button.cpython-39.pyc b/examples/__pycache__/button.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4830e00c0942b7593b5df0c9a821d845fa120dfc Binary files /dev/null and b/examples/__pycache__/button.cpython-39.pyc differ diff --git a/examples/__pycache__/chatbot.cpython-38.pyc b/examples/__pycache__/chatbot.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..52c9f50a706aac0ad30e14e6b7e5e4844b88d00a Binary files /dev/null and b/examples/__pycache__/chatbot.cpython-38.pyc differ diff --git a/examples/__pycache__/chatbot.cpython-39.pyc b/examples/__pycache__/chatbot.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..14e1612709ad07f01a325347bf66056ab057b405 Binary files /dev/null and b/examples/__pycache__/chatbot.cpython-39.pyc differ diff --git a/examples/__pycache__/chatbot_stream.cpython-39.pyc b/examples/__pycache__/chatbot_stream.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8647ed19a6d8836be33de1b8eff749618447cb39 Binary files /dev/null and b/examples/__pycache__/chatbot_stream.cpython-39.pyc differ diff --git a/examples/__pycache__/choice_group.cpython-39.pyc b/examples/__pycache__/choice_group.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e4539373f2cfe7c3d703b0c35435e62bdaef4b7e Binary files /dev/null and b/examples/__pycache__/choice_group.cpython-39.pyc differ diff --git a/examples/__pycache__/color_picker.cpython-39.pyc b/examples/__pycache__/color_picker.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6688d15dbb1c4cc67b3a8df3426676f80bfaab11 Binary files /dev/null and b/examples/__pycache__/color_picker.cpython-39.pyc differ diff --git a/examples/__pycache__/combobox.cpython-37.pyc b/examples/__pycache__/combobox.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a82e1bbd5dae2c29b377f2f720ba0ae913f08c48 Binary files /dev/null and b/examples/__pycache__/combobox.cpython-37.pyc differ diff --git a/examples/__pycache__/combobox.cpython-39.pyc b/examples/__pycache__/combobox.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..46df061462ec3f06f276a91f5fb5e9c5edc5401f Binary files /dev/null and b/examples/__pycache__/combobox.cpython-39.pyc differ diff --git a/examples/__pycache__/copyable_text.cpython-39.pyc b/examples/__pycache__/copyable_text.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5f3e0923f95cc52181ac81c0d1d07721a82b2ceb Binary files /dev/null and b/examples/__pycache__/copyable_text.cpython-39.pyc differ diff --git a/examples/__pycache__/counter_broadcast.cpython-39.pyc b/examples/__pycache__/counter_broadcast.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..821a771fdbc8d4baf876ac49cf7a93700dd26287 Binary files /dev/null and b/examples/__pycache__/counter_broadcast.cpython-39.pyc differ diff --git a/examples/__pycache__/counter_multicast.cpython-39.pyc b/examples/__pycache__/counter_multicast.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a372e3c645a976540739ec87dabf52f9ff051914 Binary files /dev/null and b/examples/__pycache__/counter_multicast.cpython-39.pyc differ diff --git a/examples/__pycache__/counter_unicast.cpython-39.pyc b/examples/__pycache__/counter_unicast.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..69bbe09a7d7967a8d75cb9445c94d33a0dce4021 Binary files /dev/null and b/examples/__pycache__/counter_unicast.cpython-39.pyc differ diff --git a/examples/__pycache__/demo.cpython-39.pyc b/examples/__pycache__/demo.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b91bdcfdb4ed0c2b1ed4040acfd2043167ca469a Binary files /dev/null and b/examples/__pycache__/demo.cpython-39.pyc differ diff --git a/examples/__pycache__/dropdown.cpython-37.pyc b/examples/__pycache__/dropdown.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6a790f322358ef17e7060ef91814bd980224635d Binary files /dev/null and b/examples/__pycache__/dropdown.cpython-37.pyc differ diff --git a/examples/__pycache__/dropdown.cpython-39.pyc b/examples/__pycache__/dropdown.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..733e75eb2088b6d244ab9a7b3f6fee6cfc07391c Binary files /dev/null and b/examples/__pycache__/dropdown.cpython-39.pyc differ diff --git a/examples/__pycache__/file_stream.cpython-39.pyc b/examples/__pycache__/file_stream.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3c0285d42b0697a32e98c01715e5194a69046dc9 Binary files /dev/null and b/examples/__pycache__/file_stream.cpython-39.pyc differ diff --git a/examples/__pycache__/file_upload.cpython-37.pyc b/examples/__pycache__/file_upload.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1299c15cd7f8aa947c823334db24d7ade8da96df Binary files /dev/null and b/examples/__pycache__/file_upload.cpython-37.pyc differ diff --git a/examples/__pycache__/file_upload.cpython-39.pyc b/examples/__pycache__/file_upload.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1fd7cdc5f288e8be9e551037b283bd336f6631d0 Binary files /dev/null and b/examples/__pycache__/file_upload.cpython-39.pyc differ diff --git a/examples/__pycache__/file_upload_compact.cpython-39.pyc b/examples/__pycache__/file_upload_compact.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bf78bbfdb13f28e4b17f3e1ea2508b43e7001da3 Binary files /dev/null and b/examples/__pycache__/file_upload_compact.cpython-39.pyc differ diff --git a/examples/__pycache__/form_menu.cpython-39.pyc b/examples/__pycache__/form_menu.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cdd947556c04a2b723d9909b5124e8c59b8330c3 Binary files /dev/null and b/examples/__pycache__/form_menu.cpython-39.pyc differ diff --git a/examples/__pycache__/form_visibility.cpython-39.pyc b/examples/__pycache__/form_visibility.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..228cb6d3d88f2cdaf71884517140beb75e42c77a Binary files /dev/null and b/examples/__pycache__/form_visibility.cpython-39.pyc differ diff --git a/examples/__pycache__/graphics_path.cpython-39.pyc b/examples/__pycache__/graphics_path.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1375e7384c528c903716af55962b7851563b6031 Binary files /dev/null and b/examples/__pycache__/graphics_path.cpython-39.pyc differ diff --git a/examples/__pycache__/hash_routing.cpython-39.pyc b/examples/__pycache__/hash_routing.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..9e74d50e32935eef932c4685fa66ea6482151a14 Binary files /dev/null and b/examples/__pycache__/hash_routing.cpython-39.pyc differ diff --git a/examples/__pycache__/header.cpython-39.pyc b/examples/__pycache__/header.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..0edab5f657efacd58fc5414bcf2d9d13757922a8 Binary files /dev/null and b/examples/__pycache__/header.cpython-39.pyc differ diff --git a/examples/__pycache__/http_client.cpython-39.pyc b/examples/__pycache__/http_client.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..898189481900b01cae45657bf968a997b72ca9ff Binary files /dev/null and b/examples/__pycache__/http_client.cpython-39.pyc differ diff --git a/examples/__pycache__/image_annotator.cpython-37.pyc b/examples/__pycache__/image_annotator.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..540cc49efa9b60a6ac4d734851a3767974d9401a Binary files /dev/null and b/examples/__pycache__/image_annotator.cpython-37.pyc differ diff --git a/examples/__pycache__/image_annotator.cpython-39.pyc b/examples/__pycache__/image_annotator.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c931e02cc6355b810caabcab359244b612ed5627 Binary files /dev/null and b/examples/__pycache__/image_annotator.cpython-39.pyc differ diff --git a/examples/__pycache__/image_popup.cpython-39.pyc b/examples/__pycache__/image_popup.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..28f4a4f7cb50383a24c346739cd0602e02803dc9 Binary files /dev/null and b/examples/__pycache__/image_popup.cpython-39.pyc differ diff --git a/examples/__pycache__/inline.cpython-39.pyc b/examples/__pycache__/inline.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..634ef91c3d29ddae9129473652dae8d07aed25ba Binary files /dev/null and b/examples/__pycache__/inline.cpython-39.pyc differ diff --git a/examples/__pycache__/issue_tracker.cpython-39.pyc b/examples/__pycache__/issue_tracker.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2b61b19dfee97c8b60ec1e9b020956f13ff3e3fd Binary files /dev/null and b/examples/__pycache__/issue_tracker.cpython-39.pyc differ diff --git a/examples/__pycache__/link.cpython-39.pyc b/examples/__pycache__/link.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..40fb2acfede3ccc09621c77ed329281ae61f26d0 Binary files /dev/null and b/examples/__pycache__/link.cpython-39.pyc differ diff --git a/examples/__pycache__/markdown_submit_text.cpython-39.pyc b/examples/__pycache__/markdown_submit_text.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..447a1c3ea469419cd303866ad37d7840fa98979f Binary files /dev/null and b/examples/__pycache__/markdown_submit_text.cpython-39.pyc differ diff --git a/examples/__pycache__/menu.cpython-37.pyc b/examples/__pycache__/menu.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8c32837701e0a44b8d5bbaf5b0b6ab7bdd79ca9c Binary files /dev/null and b/examples/__pycache__/menu.cpython-37.pyc differ diff --git a/examples/__pycache__/menu.cpython-39.pyc b/examples/__pycache__/menu.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..24a00e62cfac62852eb231c3c6a73f79b60bcc8a Binary files /dev/null and b/examples/__pycache__/menu.cpython-39.pyc differ diff --git a/examples/__pycache__/meta_dialog.cpython-39.pyc b/examples/__pycache__/meta_dialog.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b07fe337086c5214ad035f129f4350824366a20a Binary files /dev/null and b/examples/__pycache__/meta_dialog.cpython-39.pyc differ diff --git a/examples/__pycache__/meta_dialog_closable.cpython-39.pyc b/examples/__pycache__/meta_dialog_closable.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..926ad89df7bbbbdc03306a6e076eb40a965e27e2 Binary files /dev/null and b/examples/__pycache__/meta_dialog_closable.cpython-39.pyc differ diff --git a/examples/__pycache__/meta_notification_bar.cpython-39.pyc b/examples/__pycache__/meta_notification_bar.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c9a4a8d4d1bd8552a6566429e9f8e698540f30e5 Binary files /dev/null and b/examples/__pycache__/meta_notification_bar.cpython-39.pyc differ diff --git a/examples/__pycache__/meta_notification_bar_closable.cpython-39.pyc b/examples/__pycache__/meta_notification_bar_closable.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5a60e5e279f00432bdecb78c31108a7acf67e090 Binary files /dev/null and b/examples/__pycache__/meta_notification_bar_closable.cpython-39.pyc differ diff --git a/examples/__pycache__/meta_theme.cpython-39.pyc b/examples/__pycache__/meta_theme.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..bea88592bca23fe479cce1760157818225ec4c2e Binary files /dev/null and b/examples/__pycache__/meta_theme.cpython-39.pyc differ diff --git a/examples/__pycache__/nav.cpython-39.pyc b/examples/__pycache__/nav.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6da5a0ed9492a9ad9417e24d8047e56515bd1a13 Binary files /dev/null and b/examples/__pycache__/nav.cpython-39.pyc differ diff --git a/examples/__pycache__/persona.cpython-39.pyc b/examples/__pycache__/persona.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b966350f4cf8bd92da2f2563dc63f02f53c2afee Binary files /dev/null and b/examples/__pycache__/persona.cpython-39.pyc differ diff --git a/examples/__pycache__/plot_app.cpython-39.pyc b/examples/__pycache__/plot_app.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1d382fe965dbebd482d12bf4ca5bee0f3ca703b3 Binary files /dev/null and b/examples/__pycache__/plot_app.cpython-39.pyc differ diff --git a/examples/__pycache__/plot_events.cpython-39.pyc b/examples/__pycache__/plot_events.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..22edbeb54e9e13e2442a9a0f21625636cffea41f Binary files /dev/null and b/examples/__pycache__/plot_events.cpython-39.pyc differ diff --git a/examples/__pycache__/plot_form.cpython-39.pyc b/examples/__pycache__/plot_form.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..828f4ad6412b55f35c2fa120e608fa13a9f2b907 Binary files /dev/null and b/examples/__pycache__/plot_form.cpython-39.pyc differ diff --git a/examples/__pycache__/plot_line.cpython-39.pyc b/examples/__pycache__/plot_line.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a355dd0c36d5ab052752c9cdf658c07b2d84d57b Binary files /dev/null and b/examples/__pycache__/plot_line.cpython-39.pyc differ diff --git a/examples/__pycache__/plot_matplotlib.cpython-37.pyc b/examples/__pycache__/plot_matplotlib.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2e3335f3431b06a99cfbf55f3efdec3cc91dece4 Binary files /dev/null and b/examples/__pycache__/plot_matplotlib.cpython-37.pyc differ diff --git a/examples/__pycache__/plot_plotly.cpython-39.pyc b/examples/__pycache__/plot_plotly.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7d67da54e35dd23b25c25e70d1ca9ef2f77beb6a Binary files /dev/null and b/examples/__pycache__/plot_plotly.cpython-39.pyc differ diff --git a/examples/__pycache__/plot_theme.cpython-39.pyc b/examples/__pycache__/plot_theme.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3ab7fe60fb47a5ec5cb296649d97f945dea82897 Binary files /dev/null and b/examples/__pycache__/plot_theme.cpython-39.pyc differ diff --git a/examples/__pycache__/plot_vegalite_update.cpython-39.pyc b/examples/__pycache__/plot_vegalite_update.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..08537deab13c276cbe6a88096b2601b6b0b2eed9 Binary files /dev/null and b/examples/__pycache__/plot_vegalite_update.cpython-39.pyc differ diff --git a/examples/__pycache__/pycon.cpython-39.pyc b/examples/__pycache__/pycon.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..249d5d6e30468362eafcd972b74fa1be81abd4a3 Binary files /dev/null and b/examples/__pycache__/pycon.cpython-39.pyc differ diff --git a/examples/__pycache__/site_async.cpython-39.pyc b/examples/__pycache__/site_async.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..d7437ce43c31af8d2b9858ebcc5ee5b75e315fb5 Binary files /dev/null and b/examples/__pycache__/site_async.cpython-39.pyc differ diff --git a/examples/__pycache__/slider.cpython-39.pyc b/examples/__pycache__/slider.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f8809e798e70f361eb73de97a482a86ad940dbf Binary files /dev/null and b/examples/__pycache__/slider.cpython-39.pyc differ diff --git a/examples/__pycache__/spinbox.cpython-39.pyc b/examples/__pycache__/spinbox.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5cb22952ff848de2c670132843da260b77c2d642 Binary files /dev/null and b/examples/__pycache__/spinbox.cpython-39.pyc differ diff --git a/examples/__pycache__/stepper.cpython-37.pyc b/examples/__pycache__/stepper.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..df2d1c4d7ddce1be236bbb6bd730e7f48b2f406d Binary files /dev/null and b/examples/__pycache__/stepper.cpython-37.pyc differ diff --git a/examples/__pycache__/swatch_picker.cpython-39.pyc b/examples/__pycache__/swatch_picker.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c71383f77ecc6307af0867ea68d600e3871d1dc5 Binary files /dev/null and b/examples/__pycache__/swatch_picker.cpython-39.pyc differ diff --git a/examples/__pycache__/synth.cpython-37.pyc b/examples/__pycache__/synth.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..7c11ee1231409eeaa9df315e50319e3d0aecaacf Binary files /dev/null and b/examples/__pycache__/synth.cpython-37.pyc differ diff --git a/examples/__pycache__/synth.cpython-39.pyc b/examples/__pycache__/synth.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b9cc2d1b60b721c5213470ec0f765932c3d614c8 Binary files /dev/null and b/examples/__pycache__/synth.cpython-39.pyc differ diff --git a/examples/__pycache__/tab.cpython-39.pyc b/examples/__pycache__/tab.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a2bbe658e0152e38a2fdfeee593af541ae5eabcb Binary files /dev/null and b/examples/__pycache__/tab.cpython-39.pyc differ diff --git a/examples/__pycache__/table.cpython-37.pyc b/examples/__pycache__/table.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..15e4196178122a8081793b789db11737be7b1564 Binary files /dev/null and b/examples/__pycache__/table.cpython-37.pyc differ diff --git a/examples/__pycache__/table.cpython-39.pyc b/examples/__pycache__/table.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..577105b9c8560d455d82aa7c94656268b0bd4f8a Binary files /dev/null and b/examples/__pycache__/table.cpython-39.pyc differ diff --git a/examples/__pycache__/table_column_alignment.cpython-39.pyc b/examples/__pycache__/table_column_alignment.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..3c34bd15dd5d7726fb7132c51379ee19fa53a6c8 Binary files /dev/null and b/examples/__pycache__/table_column_alignment.cpython-39.pyc differ diff --git a/examples/__pycache__/table_download.cpython-39.pyc b/examples/__pycache__/table_download.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..33146e91c3656bfe4e2ba79215e5aa1ecd3cf8c5 Binary files /dev/null and b/examples/__pycache__/table_download.cpython-39.pyc differ diff --git a/examples/__pycache__/table_filter.cpython-39.pyc b/examples/__pycache__/table_filter.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a05c340e5b3cadd58223b49b25d2915316f24aac Binary files /dev/null and b/examples/__pycache__/table_filter.cpython-39.pyc differ diff --git a/examples/__pycache__/table_groupby.cpython-39.pyc b/examples/__pycache__/table_groupby.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a17f99373d2bab65c80644a4abcb4052d0fa611b Binary files /dev/null and b/examples/__pycache__/table_groupby.cpython-39.pyc differ diff --git a/examples/__pycache__/table_markdown.cpython-37.pyc b/examples/__pycache__/table_markdown.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b896623607da04c9bb1b219447f98f4b23ad14e0 Binary files /dev/null and b/examples/__pycache__/table_markdown.cpython-37.pyc differ diff --git a/examples/__pycache__/table_markdown.cpython-39.pyc b/examples/__pycache__/table_markdown.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..26715bdda9478d4bd7e65a36829d3e29312ccf3c Binary files /dev/null and b/examples/__pycache__/table_markdown.cpython-39.pyc differ diff --git a/examples/__pycache__/table_markdown_overflow.cpython-39.pyc b/examples/__pycache__/table_markdown_overflow.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5fa06e38f573a3ffb63b80e2cb81bfdf1689c138 Binary files /dev/null and b/examples/__pycache__/table_markdown_overflow.cpython-39.pyc differ diff --git a/examples/__pycache__/table_menu.cpython-39.pyc b/examples/__pycache__/table_menu.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..762a7b03a2c4fa2ebf71c56a39b11eddb7a7bcac Binary files /dev/null and b/examples/__pycache__/table_menu.cpython-39.pyc differ diff --git a/examples/__pycache__/table_pagination.cpython-39.pyc b/examples/__pycache__/table_pagination.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ca9555c861ffefa80c0ea09ca9944acb27e1b25c Binary files /dev/null and b/examples/__pycache__/table_pagination.cpython-39.pyc differ diff --git a/examples/__pycache__/table_pagination_download.cpython-39.pyc b/examples/__pycache__/table_pagination_download.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2cdad0136ee8a53c4c3a744da75b216b403063d2 Binary files /dev/null and b/examples/__pycache__/table_pagination_download.cpython-39.pyc differ diff --git a/examples/__pycache__/table_pagination_groups.cpython-39.pyc b/examples/__pycache__/table_pagination_groups.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a53939c172b98672484c63bea06760047cbb2e26 Binary files /dev/null and b/examples/__pycache__/table_pagination_groups.cpython-39.pyc differ diff --git a/examples/__pycache__/table_pagination_wavedb.cpython-37.pyc b/examples/__pycache__/table_pagination_wavedb.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f22d71fdba8c08381bac22ee5c6fcf2ee1eb4a65 Binary files /dev/null and b/examples/__pycache__/table_pagination_wavedb.cpython-37.pyc differ diff --git a/examples/__pycache__/table_search.cpython-39.pyc b/examples/__pycache__/table_search.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a5a896df9caed1d23d01e4318a511fbe02c44c5c Binary files /dev/null and b/examples/__pycache__/table_search.cpython-39.pyc differ diff --git a/examples/__pycache__/table_search_groupable.cpython-39.pyc b/examples/__pycache__/table_search_groupable.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..db19233fd156d48120a36b95589f7cf225fc4292 Binary files /dev/null and b/examples/__pycache__/table_search_groupable.cpython-39.pyc differ diff --git a/examples/__pycache__/table_select_single.cpython-39.pyc b/examples/__pycache__/table_select_single.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4976ddc53030ba2354cd3508ba74a45e58c2401f Binary files /dev/null and b/examples/__pycache__/table_select_single.cpython-39.pyc differ diff --git a/examples/__pycache__/table_tags.cpython-39.pyc b/examples/__pycache__/table_tags.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..e08be0bfc225098a63acded5a7f40443b29fb6a9 Binary files /dev/null and b/examples/__pycache__/table_tags.cpython-39.pyc differ diff --git a/examples/__pycache__/tabs.cpython-39.pyc b/examples/__pycache__/tabs.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6dd7dfc34131180dd3067a30e876c7fc6604ebca Binary files /dev/null and b/examples/__pycache__/tabs.cpython-39.pyc differ diff --git a/examples/__pycache__/test.cpython-39.pyc b/examples/__pycache__/test.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..db99fdcccb837d4bed4faa3e3d3e5d8ad9326638 Binary files /dev/null and b/examples/__pycache__/test.cpython-39.pyc differ diff --git a/examples/__pycache__/text_annotator.cpython-37.pyc b/examples/__pycache__/text_annotator.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..56bfaa9ab4f5f3e5444d34e04f8816fb2eabb9e3 Binary files /dev/null and b/examples/__pycache__/text_annotator.cpython-37.pyc differ diff --git a/examples/__pycache__/text_annotator.cpython-39.pyc b/examples/__pycache__/text_annotator.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..da6eb77cef27a8c97f1342501b8bc1d586a2f679 Binary files /dev/null and b/examples/__pycache__/text_annotator.cpython-39.pyc differ diff --git a/examples/__pycache__/textbox.cpython-37.pyc b/examples/__pycache__/textbox.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6959599451913042c748b53d65f4e7a9c87003ba Binary files /dev/null and b/examples/__pycache__/textbox.cpython-37.pyc differ diff --git a/examples/__pycache__/textbox.cpython-39.pyc b/examples/__pycache__/textbox.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b3951b0620e676a962b5a5c6e5b6862891793cbf Binary files /dev/null and b/examples/__pycache__/textbox.cpython-39.pyc differ diff --git a/examples/__pycache__/theme_generator.cpython-39.pyc b/examples/__pycache__/theme_generator.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..15f8de1539ac315a0ddb2975cfac135eb18b7f75 Binary files /dev/null and b/examples/__pycache__/theme_generator.cpython-39.pyc differ diff --git a/examples/__pycache__/time_picker.cpython-37.pyc b/examples/__pycache__/time_picker.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..dfd7020b5d0e16d9b8ab14676a8d73d6531c5d63 Binary files /dev/null and b/examples/__pycache__/time_picker.cpython-37.pyc differ diff --git a/examples/__pycache__/time_picker.cpython-39.pyc b/examples/__pycache__/time_picker.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..b1e325388d2675f6d0fac14d7ff13342dd5059f7 Binary files /dev/null and b/examples/__pycache__/time_picker.cpython-39.pyc differ diff --git a/examples/__pycache__/todo.cpython-39.pyc b/examples/__pycache__/todo.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..38865d8038d74c3530942b25bf4c45a29fa69a24 Binary files /dev/null and b/examples/__pycache__/todo.cpython-39.pyc differ diff --git a/examples/__pycache__/token.cpython-39.pyc b/examples/__pycache__/token.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c6d148bfa86a58a46c6f12f29b06eb4a32575754 Binary files /dev/null and b/examples/__pycache__/token.cpython-39.pyc differ diff --git a/examples/__pycache__/tour.cpython-37.pyc b/examples/__pycache__/tour.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c656205eb289b665b6fa926234cc7b01c6ad4655 Binary files /dev/null and b/examples/__pycache__/tour.cpython-37.pyc differ diff --git a/examples/__pycache__/tour.cpython-39.pyc b/examples/__pycache__/tour.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..2f4460bcdf47d069c1cfbbdce22ee0ddffb68d03 Binary files /dev/null and b/examples/__pycache__/tour.cpython-39.pyc differ diff --git a/examples/__pycache__/wizard.cpython-37.pyc b/examples/__pycache__/wizard.cpython-37.pyc new file mode 100644 index 0000000000000000000000000000000000000000..cafce89d7ae7ae65b2333864e32d447d907c6174 Binary files /dev/null and b/examples/__pycache__/wizard.cpython-37.pyc differ diff --git a/examples/__pycache__/wizard.cpython-38.pyc b/examples/__pycache__/wizard.cpython-38.pyc new file mode 100644 index 0000000000000000000000000000000000000000..8e53355c0af89cbb0e8c5901d923669398707f9a Binary files /dev/null and b/examples/__pycache__/wizard.cpython-38.pyc differ diff --git a/examples/__pycache__/wizard.cpython-39.pyc b/examples/__pycache__/wizard.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..18f717a176f5a15a074f7ed99d0d7ee9440cd736 Binary files /dev/null and b/examples/__pycache__/wizard.cpython-39.pyc differ diff --git a/examples/article.py b/examples/article.py new file mode 100644 index 0000000000000000000000000000000000000000..7d89b0cce539d38b3374bad60a8b4d376027a69e --- /dev/null +++ b/examples/article.py @@ -0,0 +1,33 @@ +# Article +# Create an article card for longer texts. +# --- +from h2o_wave import site, ui + +page = site['/demo'] + +page.add('example', ui.article_card( + box='1 1 4 6', + title='Title', + items=[ + ui.mini_buttons([ + ui.mini_button(name='like', label='4', icon='Heart'), + ui.mini_button(name='comment', label='2', icon='Blog'), + ui.mini_button(name='share', label='1', icon='Relationship'), + ]) + ], + content=''' +Duis porttitor tincidunt justo ac semper. Vestibulum et molestie lectus. Proin vel eros a ex condimentum aliquam. +Sed accumsan tellus sit amet nulla ullamcorper. Suspendisse bibendum tristique sem, quis lacinia ex pulvinar quis. +Nam elementum accumsan porta. Sed eget aliquam elit, sed luctus lorem. Nulla gravida malesuada purus eu eleifend. +Maecenas in ante interdum, hendrerit velit at, tempus eros. Nullam convallis tempor libero at viverra. + +## Heading 2 + +Duis porttitor tincidunt justo ac semper. Vestibulum et molestie lectus. Proin vel eros a ex condimentum aliquam. +Sed accumsan tellus sit amet nulla ullamcorper. Suspendisse bibendum tristique sem, quis lacinia ex pulvinar quis. +Nam elementum accumsan porta. Sed eget aliquam elit, sed luctus lorem. Nulla gravida malesuada purus eu eleifend. +Maecenas in ante interdum, hendrerit velit at, tempus eros. Nullam convallis tempor libero at viverra. +''' +)) + +page.save() diff --git a/examples/background.py b/examples/background.py new file mode 100644 index 0000000000000000000000000000000000000000..e85a31830d146c916520adcde7257a891278efa1 --- /dev/null +++ b/examples/background.py @@ -0,0 +1,34 @@ +# Background Tasks +# Use q.run() to execute functions in the background, in-process. +# #background_tasks +# --- +import time +import random +from h2o_wave import main, app, Q, ui + + +def blocking_function(secs) -> str: + time.sleep(secs) # Blocks! + return f'Done waiting for {secs} seconds!' + + +@app('/demo') +async def serve(q: Q): + if q.args.start: + q.page['form'] = ui.form_card(box='1 1 6 2', items=[ui.progress('Running...')]) + await q.page.save() + + seconds = random.randint(1, 6) + + # DON'T DO THIS! + # This will make your app unresponsive for some time: + # message = blocking_function(seconds) + + # Do this instead: + message = await q.run(blocking_function, seconds) + + q.page['form'] = ui.form_card(box='1 1 6 1', items=[ui.message_bar('info', message)]) + await q.page.save() + else: + q.page['form'] = ui.form_card(box='1 1 2 1', items=[ui.button(name='start', label='Start')]) + await q.page.save() diff --git a/examples/background_executor.py b/examples/background_executor.py new file mode 100644 index 0000000000000000000000000000000000000000..c831f2cde29052efca06659f462b08d449170fba --- /dev/null +++ b/examples/background_executor.py @@ -0,0 +1,40 @@ +# Background Tasks / Executor +# Use q.exec() to execute background functions using a thread-pool or process-pool. +# #background_tasks #executor +# --- +import time +import random +import concurrent.futures +from h2o_wave import main, app, Q, ui + + +def blocking_function(secs) -> str: + time.sleep(secs) # Blocks! + return f'Done waiting for {secs} seconds!' + + +@app('/demo') +async def serve(q: Q): + if q.args.start: + q.page['form'] = ui.form_card(box='1 1 6 2', items=[ui.progress('Running...')]) + await q.page.save() + + seconds = random.randint(1, 6) + + # DON'T DO THIS! + # This will make your app unresponsive for some time: + # message = blocking_function(seconds) + + # Do this instead: + with concurrent.futures.ThreadPoolExecutor() as pool: + message = await q.exec(pool, blocking_function, seconds) + + # You can also pass a ProcessPoolExecutor, like this: + # with concurrent.futures.ProcessPoolExecutor() as pool: + # message = await q.exec(pool, blocking_function, seconds) + + q.page['form'] = ui.form_card(box='1 1 6 1', items=[ui.message_bar('info', message)]) + await q.page.save() + else: + q.page['form'] = ui.form_card(box='1 1 2 1', items=[ui.button(name='start', label='Start')]) + await q.page.save() diff --git a/examples/background_progress.py b/examples/background_progress.py new file mode 100644 index 0000000000000000000000000000000000000000..f418828ca442257efaf2d2f8878ba6ad3dfba229 --- /dev/null +++ b/examples/background_progress.py @@ -0,0 +1,55 @@ +# Background Tasks / Progress +# Execute background functions while incrementing a #progress bar. +# #background_tasks +# --- +import time +import asyncio +import concurrent.futures +from h2o_wave import main, app, Q, ui + + +# A long-running that performs a blocking operation, in this case time.sleep() +def blocking_function(secs) -> str: + time.sleep(secs) # Blocks! + return 'Download completed!' + + +# An async function that displays a progress bar +async def display_progress_bar(q: Q, form, seconds: int): + for i in range(seconds): + progress_value = (i + 1.0) / seconds + form.items = [ + ui.progress( + label='Downloading the interwebs...', + caption=f'{int(progress_value * 100)}%', + value=progress_value, + ) + ] + await q.page.save() + await q.sleep(1) + + +@app('/demo') +async def serve(q: Q): + if q.args.start: # The button named 'start' was clicked + seconds = 5 + + # Grab a reference to the form + form = q.page['form'] + + # Start incrementing the progress bar in the background + future = asyncio.ensure_future(display_progress_bar(q, form, seconds)) + + # Execute our long-running function in the background + with concurrent.futures.ThreadPoolExecutor() as pool: + message = await q.exec(pool, blocking_function, seconds) + + # Stop the progress bar (optional unless we used a infinite while loop in display_progress_bar()). + future.cancel() + + # At this point, we're done with the long-running function; so display a completion message + form.items = [ui.message_bar('info', message)] + await q.page.save() + else: + q.page['form'] = ui.form_card(box='1 1 2 2', items=[ui.button(name='start', label='Start')]) + await q.page.save() diff --git a/examples/breadcrumbs.py b/examples/breadcrumbs.py new file mode 100644 index 0000000000000000000000000000000000000000..751fe472ac9892709ec54a7d73726af374428301 --- /dev/null +++ b/examples/breadcrumbs.py @@ -0,0 +1,43 @@ +# Breadcrumbs +# #Breadcrumbs should be used as a navigational aid in your app or site. +# They indicate the current page’s location within a hierarchy and help +# the user understand where they are in relation to the rest of that hierarchy. +# They also afford one-click access to higher levels of that hierarchy. +# Breadcrumbs are typically placed, in horizontal form, under the masthead +# or #navigation of an experience, above the primary content area. +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + blurb_items = [ui.button(name='#submenu', label='Go to submenu', link=True)] + blurb_title = 'Welcome to Menu' + breadcrumbs = [ui.breadcrumb(name='#menu', label='Menu')] + + if q.args['#'] == 'menu': + blurb_items = [ui.button(name='#submenu', label='Go to submenu', link=True)] + blurb_title = 'Welcome to Menu!' + breadcrumbs = [ + ui.breadcrumb(name='#menu', label='Menu'), + ] + elif q.args['#'] == 'submenu': + blurb_items = [ui.button(name='#subsubmenu', label='Go to subsubmenu', link=True)] + blurb_title = 'Welcome to Submenu!' + breadcrumbs = [ + ui.breadcrumb(name='#menu', label='Menu'), + ui.breadcrumb(name='#submenu', label='Submenu'), + ] + elif q.args['#'] == 'subsubmenu': + blurb_items = [ui.text('You cannot go deeper, click on Breadcrumbs above to navigate back')] + blurb_title = 'Welcome to Subsubmenu!' + breadcrumbs = [ + ui.breadcrumb(name='#menu', label='Menu'), + ui.breadcrumb(name='#submenu', label='Submenu'), + ui.breadcrumb(name='#subsubmenu', label='Subsubmenu'), + ] + + q.page['blurb'] = ui.form_card(box='1 2 3 2', title=blurb_title, items=blurb_items) + q.page['breadcrumbs'] = ui.breadcrumbs_card(box='1 1 3 1', items=breadcrumbs) + + await q.page.save() diff --git a/examples/button.py b/examples/button.py new file mode 100644 index 0000000000000000000000000000000000000000..2ed1bf4c1d50c79099840ddb4f631f284faf132d --- /dev/null +++ b/examples/button.py @@ -0,0 +1,53 @@ +# Form / Button +# Use #buttons to enable a user to commit a change or complete steps in a task. +# #form +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if 'basic_button' in q.args: + q.page['example'].items = [ + ui.text(f'basic_button={q.args.basic_button}'), + ui.text(f'primary_button={q.args.primary_button}'), + ui.text(f'link_button={q.args.link_button}'), + ui.text(f'basic_disabled_button={q.args.basic_disabled_button}'), + ui.text(f'primary_disabled_button={q.args.primary_disabled_button}'), + ui.text(f'link_disabled_button={q.args.link_disabled_button}'), + ui.text(f'basic_caption_button={q.args.basic_caption_button}'), + ui.text(f'primary_caption_button={q.args.primary_caption_button}'), + ui.text(f'basic_caption_disabled_button={q.args.basic_caption_disabled_button}'), + ui.text(f'primary_caption_disabled_button={q.args.primary_caption_disabled_button}'), + ui.text(f'button_with_icon={q.args.button_with_icon}'), + ui.text(f'icon_button={q.args.icon_button}'), + ui.text(f'external_path_button={q.args.external_path_button}'), + ui.text(f'command_button={q.args.command_button}'), + ui.text(f'command_button:first_command={q.args.first_command}'), + ui.text(f'command_button:second_command={q.args.second_command}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 10', items=[ + ui.button(name='basic_button', label='Basic'), + ui.button(name='primary_button', label='Primary', primary=True), + ui.button(name='link_button', label='Link', link=True), + ui.button(name='basic_disabled_button', label='Basic (Disabled)', disabled=True), + ui.button(name='primary_disabled_button', label='Primary (Disabled)', primary=True, disabled=True), + ui.button(name='link_disabled_button', label='Link (Disabled)', link=True, disabled=True), + ui.button(name='basic_caption_button', label='Basic', caption='Caption Button.'), + ui.button(name='primary_caption_button', label='Primary', caption='Caption Button', primary=True), + ui.button(name='basic_caption_disabled_button', label='Basic (Disabled)', caption='Caption Button', + disabled=True), + ui.button(name='primary_caption_disabled_button', label='Primary (Disabled)', caption='Caption Button', + primary=True, disabled=True), + ui.button(name='button_with_icon', label='Button with an icon', icon='Search'), + ui.button(name='icon_button', icon='Heart', caption='Tooltip text'), + ui.button(name='external_path_button', label='External', path='https://h2o.ai/'), + ui.button(name='command_button', label='Button with commands', primary=True, commands=[ + ui.command(name='first_command', label='First command'), + ui.command(name='second_command', label='Second command'), + ] + ), + ]) + await q.page.save() diff --git a/examples/buttons.py b/examples/buttons.py new file mode 100644 index 0000000000000000000000000000000000000000..9c4411d94d0d5ec63d4a6967e1899b392cfb4cb0 --- /dev/null +++ b/examples/buttons.py @@ -0,0 +1,25 @@ +# Form / Buttons +# Use the `ui.buttons()` function to group related #buttons. +# #form +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if 'standard_button' in q.args: + q.page['example'].items = [ + ui.text(f'primary_button={q.args.primary_button}'), + ui.text(f'standard_button={q.args.standard_button}'), + ui.text(f'standard_disabled_button={q.args.standard_disabled_button}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 5', items=[ + ui.buttons([ + ui.button(name='primary_button', label='Primary', primary=True), + ui.button(name='standard_button', label='Standard'), + ui.button(name='standard_disabled_button', label='Standard', disabled=True), + ]), + ]) + await q.page.save() diff --git a/examples/canvas.py b/examples/canvas.py new file mode 100644 index 0000000000000000000000000000000000000000..e13b25f0a24223c07939e385e068f5750da33eb3 --- /dev/null +++ b/examples/canvas.py @@ -0,0 +1,19 @@ +# Canvas +# A card that displays a freeform drawing canvas. +# A canvas card can synchronize its state with other canvas cards at the same URL. +# Open `/demo` in multiple browsers and watch them synchronize in realtime. +# #collaboration +# --- +from h2o_wave import site, data, ui + +page = site['/demo'] +page.drop() + +page.add('example', ui.canvas_card( + box='1 1 4 7', + title='Sample Canvas', + width=500, + height=500, + data=dict(), +)) +page.save() diff --git a/examples/card_menu.py b/examples/card_menu.py new file mode 100644 index 0000000000000000000000000000000000000000..2018d6d7edb814b61ec375055d15c056065343ca --- /dev/null +++ b/examples/card_menu.py @@ -0,0 +1,71 @@ +# Context Menu +# Display a context menu on a card. +# #context_menu +# --- +import json +from h2o_wave import main, app, Q, ui, data + +# Vega lite spec for a bar plot, defaults to linear scale. +spec_linear_scale = json.dumps(dict( + mark='bar', + encoding=dict( + x=dict(field='a', type='ordinal'), + y=dict(field='b', type='quantitative') + ) +)) + +# Vega lite spec for a bar plot, log scaled. +spec_log_scale = json.dumps(dict( + mark='bar', + encoding=dict( + x=dict(field='a', type='ordinal'), + y=dict(field='b', type='quantitative', scale=dict(type='log')) + ) +)) + +# Data for our plot. +plot_data = data(fields=["a", "b"], rows=[ + ["A", 28], ["B", 55], ["C", 43], + ["D", 91], ["E", 81], ["F", 53], + ["G", 19], ["H", 87], ["I", 52] +]) + +# Create a couple of context menu commands. +log_scale_command = ui.command( + name='to_log_scale', + label='Log Scale', + icon='LineChart', +) +linear_scale_command = ui.command( + name='to_linear_scale', + label='Linear Scale', + icon='LineChart', +) + + +@app('/demo') +async def serve(q: Q): + if q.client.plot_added: # Have we already added a plot? + example = q.page['example'] + if q.args.to_log_scale: + # Change to log scale + example.title = 'Plot (Log Scale)', + example.specification = spec_log_scale + example.commands = [linear_scale_command] + else: + # Change to linear scale + example.title = 'Plot (Linear Scale)', + example.specification = spec_linear_scale + example.commands = [log_scale_command] + else: # Add a new plot + q.page['example'] = ui.vega_card( + box='1 1 2 4', + title='Plot (Linear Scale)', + specification=spec_linear_scale, + data=plot_data, + commands=[log_scale_command], + ) + # Flag to indicate that we've added a plot + q.client.plot_added = True + + await q.page.save() diff --git a/examples/chat_room.py b/examples/chat_room.py new file mode 100644 index 0000000000000000000000000000000000000000..21af5fe119af6e44a7d7ecf4331312da07be71af --- /dev/null +++ b/examples/chat_room.py @@ -0,0 +1,17 @@ +# Chat room +# A card that displays a chat room. +# A chat room card can synchronize its state with other chat room cards at the same URL. +# Open `/demo` in multiple browsers and watch them synchronize in realtime. +# #collaboration +# --- +from h2o_wave import site, data, ui + +page = site['/demo'] +page.drop() + +page.add('example', ui.chat_card( + box='1 1 4 6', + title='Chat room', + data=dict(), +)) +page.save() diff --git a/examples/chatbot.py b/examples/chatbot.py new file mode 100644 index 0000000000000000000000000000000000000000..23fdb5e0584c41668ff3ee51f9d0cb607ecbf538 --- /dev/null +++ b/examples/chatbot.py @@ -0,0 +1,27 @@ +# Chatbot +# Use this card for chat interactions. +# #chat +# --- +from h2o_wave import main, app, Q, ui, data + + +MAX_MESSAGES = 500 + + +@app('/demo') +async def serve(q: Q): + if not q.client.initialized: + # Cyclic buffer drops oldest messages when full. Must have exactly 2 columns - msg and fromUser. + cyclic_buffer = data(fields='msg fromUser', size=-MAX_MESSAGES) + q.page['example'] = ui.chatbot_card(box='1 1 5 5', data=cyclic_buffer, name='chatbot') + q.page['meta'] = ui.meta_card(box='', theme='h2o-dark') + q.client.initialized = True + + # A new message arrived. + if q.args.chatbot: + # Append user message. + q.page['example'].data[-1] = [q.args.chatbot, True] + # Append bot response. + q.page['example'].data[-1] = ['I am a fake chatbot. Sorry, I cannot help you.', False] + + await q.page.save() diff --git a/examples/checkbox.py b/examples/checkbox.py new file mode 100644 index 0000000000000000000000000000000000000000..f632437747ab36c97ae8e2542b61619d8a1bad8a --- /dev/null +++ b/examples/checkbox.py @@ -0,0 +1,31 @@ +# Form / Checkbox +# Use checkboxes to switch between two mutually exclusive options. +# #form #checkbox +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'checkbox_unchecked={q.args.checkbox_unchecked}'), + ui.text(f'checkbox_checked={q.args.checkbox_checked}'), + ui.text(f'checkbox_indeterminate={q.args.checkbox_indeterminate}'), + ui.text(f'checkbox_unchecked_disabled={q.args.checkbox_unchecked_disabled}'), + ui.text(f'checkbox_checked_disabled={q.args.checkbox_checked_disabled}'), + ui.text(f'checkbox_indeterminate_disabled={q.args.checkbox_indeterminate_disabled}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 7', items=[ + ui.checkbox(name='checkbox_unchecked', label='Not checked'), + ui.checkbox(name='checkbox_checked', label='Checked', value=True), + ui.checkbox(name='checkbox_indeterminate', label='Indeterminate', indeterminate=True), + ui.checkbox(name='checkbox_unchecked_disabled', label='Not checked (Disabled)', disabled=True), + ui.checkbox(name='checkbox_checked_disabled', label='Checked (Disabled)', value=True, disabled=True), + ui.checkbox(name='checkbox_indeterminate_disabled', label='Indeterminate (Disabled)', indeterminate=True, + disabled=True), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/checklist.py b/examples/checklist.py new file mode 100644 index 0000000000000000000000000000000000000000..f17822594c6c471680b9de086fbd551583909250 --- /dev/null +++ b/examples/checklist.py @@ -0,0 +1,21 @@ +# Form / Checklist +# Use a #checklist to group a set of related checkboxes. +# #form +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'selected={q.args.checklist}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 7', items=[ + ui.checklist(name='checklist', label='Choices', + choices=[ui.choice(name=x, label=x) for x in ['Egg', 'Bacon', 'Spam']]), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/checklist_inline.py b/examples/checklist_inline.py new file mode 100644 index 0000000000000000000000000000000000000000..91952c96d4416eef44e7686d0b1bdb9cdcd00e7e --- /dev/null +++ b/examples/checklist_inline.py @@ -0,0 +1,24 @@ +# Form / Checklist / Inline +# Use a #checklist to group a set of related checkboxes. +# #form +# --- +from h2o_wave import main, app, Q, ui + + +choices = ['Egg', 'Bacon', 'Spam', 'Hamburger', 'Banana', 'Orange', 'Strawberry', 'Apple'] + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'selected={q.args.checklist}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 6', items=[ + ui.checklist(name='checklist', label='Choices', inline=True, + choices=[ui.choice(name=x, label=x) for x in choices]), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/checkpoint.py b/examples/checkpoint.py new file mode 100644 index 0000000000000000000000000000000000000000..12201e409e7f3f0cf897baa9b3846982a54e99e2 --- /dev/null +++ b/examples/checkpoint.py @@ -0,0 +1,25 @@ +# Checkpoint +# Set the H2O_WAVE_CHECKPOINT_DIR environment variable to enable saving and reloading application and session state. +# For example, run `checkpoint.py` using `$ H2O_WAVE_CHECKPOINT_DIR=./temp wave run examples.checkpoint`. +# You will observe that every time you stop and restart the application, the counts are preserved. +# #checkpoint +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.increment_app: + q.app.count = (q.app.count or 0) + 1 + elif q.args.increment_user: + q.user.count = (q.user.count or 0) + 1 + elif q.args.increment_client: + q.client.count = (q.client.count or 0) + 1 + + q.page['example'] = ui.form_card(box='1 1 12 10', items=[ + ui.button(name='increment_app', label=f'App Count={q.app.count or 0}'), + ui.button(name='increment_user', label=f'User Count={q.user.count or 0}'), + ui.button(name='increment_client', label=f'Client Count={q.client.count or 0}'), + ]) + + await q.page.save() diff --git a/examples/choice_group.py b/examples/choice_group.py new file mode 100644 index 0000000000000000000000000000000000000000..cb300ed0c90896a214a4e234148ca4489aab3ec5 --- /dev/null +++ b/examples/choice_group.py @@ -0,0 +1,27 @@ +# Form / Choice Group +# Use #choice groups to let users select one option from two or more choices. +# #form #choice_group +# --- +from h2o_wave import main, app, Q, ui + +choices = [ + ui.choice('A', 'Option A'), + ui.choice('B', 'Option B'), + ui.choice('C', 'Option C', disabled=True), + ui.choice('D', 'Option D'), +] + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'selected={q.args.choice_group}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 7', items=[ + ui.choice_group(name='choice_group', label='Pick one', value='B', required=True, choices=choices), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/choice_group_inline.py b/examples/choice_group_inline.py new file mode 100644 index 0000000000000000000000000000000000000000..a5d87e842910521da132e4034fe7c4e26b3ce637 --- /dev/null +++ b/examples/choice_group_inline.py @@ -0,0 +1,32 @@ +# Form / Choice Group / Inline +# Use #choice groups to let users select one option from two or more choices and inline to present the choices horizontally. +# #form #choice_group #inline +# --- +from h2o_wave import main, app, Q, ui + +choices = [ + ui.choice('A', 'Option A'), + ui.choice('B', 'Option B'), + ui.choice('C', 'Option C', disabled=True), + ui.choice('D', 'Option D'), + ui.choice('E', 'Option E'), + ui.choice('F', 'Option F'), + ui.choice('G', 'Option H'), + ui.choice('I', 'Option I'), +] + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'selected={q.args.choice_group}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 10', items=[ + ui.choice_group(name='choice_group', inline=True, label='Pick one', + value='B', required=True, choices=choices), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/color_picker.py b/examples/color_picker.py new file mode 100644 index 0000000000000000000000000000000000000000..3a1d9e37848f07fbcd7b4e242b5589213ed9ace8 --- /dev/null +++ b/examples/color_picker.py @@ -0,0 +1,20 @@ +# Form / Color Picker +# Use a color picker to allow a user to select a color. +# #form #color_picker +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'color={q.args.color}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 7', items=[ + ui.color_picker(name='color', label='Pick a color', value='#F25F5C'), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/combobox.py b/examples/combobox.py new file mode 100644 index 0000000000000000000000000000000000000000..d9f59208e08a689eaff6832acd0c6c1e4f04f2ff --- /dev/null +++ b/examples/combobox.py @@ -0,0 +1,35 @@ +# Form / Combobox +# Use comboboxes to allow users to either choose between available choices or indicate a choice by free-form editing. +# #form #combobox +# --- +from h2o_wave import main, app, Q, ui + +combobox_choices = ['Cyan', 'Magenta', 'Yellow', 'Black'] + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'combobox={q.args.combobox}'), + ui.text(f'combobox_required={q.args.combobox_required}'), + ui.text(f'combobox_disabled={q.args.combobox_disabled}'), + ui.text(f'combobox_error={q.args.combobox_error}'), + ui.text(f'combobox_multivalued={q.args.combobox_multivalued}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 7', items=[ + ui.combobox(name='combobox', label='Enter or choose a color', placeholder='Color...', value='Blue', + choices=combobox_choices), + ui.combobox(name='combobox_required', label='Enter or choose a color', placeholder='Color...', value='Blue', + choices=combobox_choices, required=True), + ui.combobox(name='combobox_disabled', label='Enter or choose a color', placeholder='Color...', value='Blue', + choices=combobox_choices, disabled=True), + ui.combobox(name='combobox_error', label='Enter or choose a color', placeholder='Color...', value='Blue', + choices=combobox_choices, error='This combobox has an error!'), + ui.combobox(name='combobox_multivalued', label='Enter or choose a color (multi select)', placeholder='Color...', values=['Blue', 'Magenta'], + choices=combobox_choices), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/combobox_trigger.py b/examples/combobox_trigger.py new file mode 100644 index 0000000000000000000000000000000000000000..d73c5fa17a4c07ed3bb07e609409cfba96505986 --- /dev/null +++ b/examples/combobox_trigger.py @@ -0,0 +1,26 @@ +# Form / Combobox / Trigger +# To handle live changes to a #combobox, enable the `trigger` attribute. +# #combobox #trigger +# --- +from h2o_wave import main, app, Q, ui + +combobox_choices = ['Cyan', 'Magenta', 'Yellow', 'Black'] + + +def get_form_items(choice: str): + return [ + ui.combobox(name='combobox', trigger=True, label='Enter or choose a color', placeholder='Color...', value='Blue', + choices=combobox_choices), + ui.label('Sent to server'), + ui.text(choice), + ] + + +@app('/demo') +async def serve(q: Q): + if not q.client.initialized: + q.page['example'] = ui.form_card(box='1 1 4 10', items=get_form_items('')) + q.client.initialized = True + if q.args.combobox is not None: + q.page['example'].items = get_form_items(q.args.combobox) + await q.page.save() diff --git a/examples/copyable_text.py b/examples/copyable_text.py new file mode 100644 index 0000000000000000000000000000000000000000..c49303477ab883d83ed90d4ffc869be58a8e4ccb --- /dev/null +++ b/examples/copyable_text.py @@ -0,0 +1,28 @@ + +# Form / Copyable Text +# Use copyable text component to enable user quick text copy pasting. +# #copyable_text +# --- +from h2o_wave import site, ui + + +multiline_content = '''Wave is truly awesome. +You should try all the features!''' +big_multiline_content = '''Wave is truly awesome. +You should try all the features! +Like having a big height textbox! +... +... +... +... +Woohoo!''' +page = site['/demo'] + +page['hello'] = ui.form_card(box='1 1 3 10', items=[ + ui.copyable_text(label='Copyable text', value='Hello world!'), + ui.copyable_text(label='Multiline Copyable text', value=multiline_content, multiline=True), + ui.copyable_text(label='Multiline Copyable text with height=200px', value=big_multiline_content, multiline=True, height='200px'), + ui.copyable_text(label='Multiline Copyable text filling remaining card space', value=big_multiline_content, multiline=True, height='1'), +]) + +page.save() diff --git a/examples/counter_broadcast.py b/examples/counter_broadcast.py new file mode 100644 index 0000000000000000000000000000000000000000..76b23110c96867cd5464f7dae3d38b037a6beedf --- /dev/null +++ b/examples/counter_broadcast.py @@ -0,0 +1,23 @@ +# Mode / Broadcast +# Launch the server in #broadcast #mode to synchronize browser state across users. +# Open `/demo` in multiple browsers and watch them synchronize in realtime. +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo', mode='broadcast') +async def serve(q: Q): + if not q.client.initialized: + if q.app.count is None: + q.app.count = 0 + + q.page['example'] = ui.form_card(box='1 1 2 1', items=[ + ui.button(name='increment', label=f'Count={q.app.count}') + ]) + q.client.initialized = True + + if q.args.increment: + q.app.count += 1 + q.page['example'].increment.label = f'Count={q.app.count}' + + await q.page.save() diff --git a/examples/counter_global.py b/examples/counter_global.py new file mode 100644 index 0000000000000000000000000000000000000000..c56ee164913187a8e910ef7d4d81980d6225d9d5 --- /dev/null +++ b/examples/counter_global.py @@ -0,0 +1,25 @@ +# Mode / Broadcast / Global +# Launch the server in #broadcast #mode to synchronize browser state across users. +# Global variables can be used to manage state. +# Open `/demo` in multiple browsers and watch them synchronize in realtime. +# --- +from h2o_wave import main, app, Q, ui, pack + +count = 0 + + +@app('/demo', mode='broadcast') +async def serve(q: Q): + global count + if 'increment' in q.args: + count += 1 + + items = pack([ui.button(name='increment', label=f'Count={count}')]) + + if count > 0: + form = q.page['example'] + form.items = items + else: + q.page['example'] = ui.form_card(box='1 1 2 1', items=items) + + await q.page.save() diff --git a/examples/counter_multicast.py b/examples/counter_multicast.py new file mode 100644 index 0000000000000000000000000000000000000000..139c1ddc408c24062891946bcd60ebaa6593705d --- /dev/null +++ b/examples/counter_multicast.py @@ -0,0 +1,23 @@ +# Mode / Multicast +# Launch the server in #multicast #mode to synchronize browser state across a user's clients. +# Open `/demo` in multiple browsers and watch them synchronize in realtime. +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo', mode='multicast') +async def serve(q: Q): + if not q.client.initialized: + if q.user.count is None: + q.user.count = 0 + + q.page['example'] = ui.form_card(box='1 1 2 1', items=[ + ui.button(name='increment', label=f'Count={q.user.count}') + ]) + q.client.initialized = True + + if q.args.increment: + q.user.count += 1 + q.page['example'].increment.label = f'Count={q.user.count}' + + await q.page.save() diff --git a/examples/counter_unicast.py b/examples/counter_unicast.py new file mode 100644 index 0000000000000000000000000000000000000000..a8defb6cbca151105d835d14f21e21cb3677dbe8 --- /dev/null +++ b/examples/counter_unicast.py @@ -0,0 +1,20 @@ +# Mode / Unicast +# Launch the server in #unicast #mode and use `q.client` to manage client-local state. +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if not q.client.initialized: + q.client.count = 0 + q.page['example'] = ui.form_card(box='1 1 2 1', items=[ + ui.button(name='increment', label=f'Count={q.client.count}') + ]) + q.client.initialized = True + + if q.args.increment: + q.client.count += 1 + q.page['example'].increment.label = f'Count={q.client.count}' + + await q.page.save() diff --git a/examples/dashboard.py b/examples/dashboard.py new file mode 100644 index 0000000000000000000000000000000000000000..7eb466072cdd3d1673b5764da85d3c2e332f826a --- /dev/null +++ b/examples/dashboard.py @@ -0,0 +1,265 @@ +# Dashboard +# Make a #dashboard using a multitude of cards and update them live. +# --- +from faker import Faker +import time +from h2o_wave import site, data, ui +from synth import FakePercent, FakeCategoricalSeries + +fake = Faker() + +light_theme_colors = '$red $pink $purple $violet $indigo $blue $azure $cyan $teal $mint $green $amber $orange $tangerine'.split() # noqa: E501 +dark_theme_colors = '$red $pink $blue $azure $cyan $teal $mint $green $lime $yellow $amber $orange $tangerine'.split() + +_color_index = -1 +colors = dark_theme_colors + + +def next_color(): + global _color_index + _color_index += 1 + return colors[_color_index % len(colors)] + + +_curve_index = -1 +curves = 'linear smooth step step-after step-before'.split() + + +def next_curve(): + global _curve_index + _curve_index += 1 + return curves[_curve_index % len(curves)] + + +def create_dashboard(update_freq=0.0): + page = site['/demo'] + simples = [] + for i in range(1, 7): + f = FakePercent() + val, pc = f.next() + c = page.add(f'a{i}', ui.small_stat_card( + box=f'{i} 1 1 1', + title=fake.cryptocurrency_name(), + value=f'${val:.2f}', + )) + simples.append((f, c)) + + simples_colored = [] + for i in range(1, 7): + f = FakeCategoricalSeries() + cat, val, pc = f.next() + c = page.add(f'aa{i}', ui.small_series_stat_card( + box=f'{6 + i} 1 1 1', + title=fake.cryptocurrency_code(), + value='=${{intl qux minimum_fraction_digits=2 maximum_fraction_digits=2}}', + data=dict(qux=val, quux=pc / 100), + plot_category='foo', + plot_value='qux', + plot_color=next_color(), + plot_data=data('foo qux', -15), + plot_zero_value=0, + plot_curve=next_curve(), + )) + simples_colored.append((f, c)) + + lines = [] + for i in range(1, 13, 2): + f = FakeCategoricalSeries() + cat, val, pc = f.next() + c = page.add(f'b{i}', ui.wide_series_stat_card( + box=f'{i} 2 2 1', + title=fake.cryptocurrency_name(), + value='=${{intl qux minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value='={{intl quux style="percent" minimum_fraction_digits=1 maximum_fraction_digits=1}}', + data=dict(qux=val, quux=pc / 100), + plot_category='foo', + plot_value='qux', + plot_color=next_color(), + plot_data=data('foo qux', -15), + plot_zero_value=0, + plot_curve=next_curve(), + )) + lines.append((f, c)) + + bars = [] + for i in range(1, 13, 2): + f = FakeCategoricalSeries() + cat, val, pc = f.next() + c = page.add(f'c{i}', ui.wide_series_stat_card( + box=f'{i} 3 2 1', + title=fake.cryptocurrency_name(), + value='=${{intl qux minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value='={{intl quux style="percent" minimum_fraction_digits=1 maximum_fraction_digits=1}}', + data=dict(qux=val, quux=pc), + plot_type='interval', + plot_category='foo', + plot_value='qux', + plot_color=next_color(), + plot_data=data('foo qux', -25), + plot_zero_value=0 + )) + bars.append((f, c)) + + large_pcs = [] + for i in range(1, 13): + f = FakePercent() + val, pc = f.next() + c = page.add(f'd{i}', ui.tall_gauge_stat_card( + box=f'{i} 4 1 2', + title=fake.cryptocurrency_name(), + value='=${{intl foo minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value='={{intl bar style="percent" minimum_fraction_digits=2 maximum_fraction_digits=2}}', + plot_color=next_color(), + progress=pc, + data=dict(foo=val, bar=pc / 100), + )) + large_pcs.append((f, c)) + + large_lines = [] + for i in range(1, 13): + f = FakeCategoricalSeries() + cat, val, pc = f.next() + c = page.add(f'e{i}', ui.tall_series_stat_card( + box=f'{i} 6 1 2', + title=fake.cryptocurrency_name(), + value='=${{intl qux minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value='={{intl quux style="percent" minimum_fraction_digits=1 maximum_fraction_digits=1}}', + data=dict(qux=val, quux=pc), + plot_type='area', + plot_category='foo', + plot_value='qux', + plot_color=next_color(), + plot_data=data('foo qux', -15), + plot_zero_value=0, + plot_curve=next_curve(), + )) + large_lines.append((f, c)) + + small_pcs = [] + for i in range(1, 7, 2): + f = FakePercent() + val, pc = f.next() + c = page.add(f'f{i}', ui.wide_gauge_stat_card( + box=f'{i} 8 2 1', + title=fake.cryptocurrency_name(), + value='=${{intl foo minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value='={{intl bar style="percent" minimum_fraction_digits=2 maximum_fraction_digits=2}}', + plot_color=next_color(), + progress=pc, + data=dict(foo=val, bar=pc / 100), + )) + small_pcs.append((f, c)) + + small_pbs = [] + for i in range(7, 13, 2): + f = FakePercent() + val, pc = f.next() + c = page.add(f'f{i}', ui.wide_bar_stat_card( + box=f'{i} 8 2 1', + title=fake.cryptocurrency_name(), + value='=${{intl foo minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value='={{intl bar style="percent" minimum_fraction_digits=2 maximum_fraction_digits=2}}', + plot_color=next_color(), + progress=pc, + data=dict(foo=val, bar=pc / 100), + )) + small_pbs.append((f, c)) + + large_cards = [] + for i in range(1, 7, 2): + f = FakePercent() + val, pc = f.next() + c = page.add(f'g{i}', ui.large_stat_card( + box=f'{i} 9 2 2', + title=fake.cryptocurrency_name(), + value='=${{intl qux minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value='={{intl quux style="percent" minimum_fraction_digits=1 maximum_fraction_digits=1}}', + data=dict(qux=val, quux=pc / 100), + caption=' '.join(fake.sentences()), + )) + large_cards.append((f, c)) + + large_pbs = [] + for i in range(7, 13, 2): + f = FakePercent() + val, pc = f.next() + c = page.add(f'g{i}', ui.large_bar_stat_card( + box=f'{i} 9 2 2', + title=fake.cryptocurrency_name(), + value='=${{intl foo minimum_fraction_digits=2 maximum_fraction_digits=2}}', + value_caption='This Month', + aux_value='={{intl bar style="percent" minimum_fraction_digits=2 maximum_fraction_digits=2}}', + aux_value_caption='Previous Month', + plot_color=next_color(), + progress=pc, + data=dict(foo=val, bar=pc / 100), + caption=' '.join(fake.sentences(2)), + )) + large_pbs.append((f, c)) + + page.save() + + while update_freq > 0: + time.sleep(update_freq) + + for f, c in simples: + val, pc = f.next() + c.value = f'${val:.2f}', + + for f, c in simples_colored: + cat, val, pc = f.next() + c.data.qux = val + c.data.quux = pc / 100 + c.plot_data[-1] = [cat, val] + + for f, c in lines: + cat, val, pc = f.next() + c.data.qux = val + c.data.quux = pc / 100 + c.plot_data[-1] = [cat, val] + + for f, c in bars: + cat, val, pc = f.next() + c.data.qux = val + c.data.quux = pc / 100 + c.plot_data[-1] = [cat, val] + + for f, c in large_lines: + cat, val, pc = f.next() + c.data.qux = val + c.data.quux = pc / 100 + c.plot_data[-1] = [cat, val] + + for f, c in large_pcs: + val, pc = f.next() + c.data.foo = val + c.data.bar = pc + c.progress = pc + + for f, c in small_pcs: + val, pc = f.next() + c.data.foo = val + c.data.bar = pc + c.progress = pc + + for f, c in small_pbs: + val, pc = f.next() + c.data.foo = val + c.data.bar = pc + c.progress = pc + + for f, c in large_cards: + val, pc = f.next() + c.data.qux = val + c.data.quux = pc + + for f, c in large_pbs: + val, pc = f.next() + c.data.foo = val + c.data.bar = pc + c.progress = pc + + page.save() + + +create_dashboard(update_freq=0.25) diff --git a/examples/date_picker.py b/examples/date_picker.py new file mode 100644 index 0000000000000000000000000000000000000000..1ebccc29ed6a4264a4748fc1a7680486d258bb51 --- /dev/null +++ b/examples/date_picker.py @@ -0,0 +1,26 @@ +# Form / Date Picker +# Use date pickers to allow users to pick dates. +# #form #date_picker +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'date={q.args.date}'), + ui.text(f'date_placeholder={q.args.date_placeholder}'), + ui.text(f'date_disabled={q.args.date_disabled}'), + ui.text(f'date_boundaries={q.args.date_boundaries}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 7', items=[ + ui.date_picker(name='date', label='Standard date picker', value='2017-10-19'), + ui.date_picker(name='date_placeholder', label='Date picker with placeholder', placeholder='Pick a date'), + ui.date_picker(name='date_disabled', label='Disabled date picker', value='2017-10-19', disabled=True), + ui.date_picker(name='date_boundaries', label='Date with boundaries', value='2017-10-19', min="2017-10-19", max="2017-10-25"), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/date_picker_trigger.py b/examples/date_picker_trigger.py new file mode 100644 index 0000000000000000000000000000000000000000..923fe1e79cbc34f6dd3a265ea8c8034e2a09f535 --- /dev/null +++ b/examples/date_picker_trigger.py @@ -0,0 +1,23 @@ +# Form / Date Picker / Trigger +# To handle live changes to a date picker, enable the `trigger` attribute. +# #form #date_picker #trigger +# --- +from typing import Optional +from h2o_wave import main, app, Q, ui + + +def get_form_items(value: Optional[str]): + return [ + ui.text(f'date_trigger={value}'), + ui.date_picker(name='date_trigger', label='Pick a date', trigger=True), + ] + + +@app('/demo') +async def serve(q: Q): + if not q.client.initialized: + q.page['example'] = ui.form_card(box='1 1 4 5', items=get_form_items(None)) + q.client.initialized = True + else: + q.page['example'].items = get_form_items(q.args.date_trigger) + await q.page.save() diff --git a/examples/db.py b/examples/db.py new file mode 100644 index 0000000000000000000000000000000000000000..f952754bd02499b7b06144c85322f0d01f6bdc0f --- /dev/null +++ b/examples/db.py @@ -0,0 +1,86 @@ +# WaveDB +# How to use WaveDB, a simple sqlite3 database server that ships with Wave. +# --- + +# Before you run this example, start WaveDB (`wavedb`). +# By default, WaveDB listens on port 10100. +# +# To run this example, execute `python db.py` +# +# If your WaveDB instance is configured differently, you might want to set +# the following environment variables accordingly: +# H2O_WAVEDB_ADDRESS - the ip:port of the database server +# H2O_WAVEDB_ACCESS_KEY_ID - the API access key ID +# H2O_WAVEDB_ACCESS_KEY_SECRET - the API access key secret + +import asyncio +from h2o_wave import connect + + +async def main(): + # Create a database connection + connection = connect() + + # Access the 'employees' database. + # A new database is created automatically if it does not exist. + db = connection["employees"] + + # Execute some statements. + await db.exec("drop table if exists employee") + await db.exec("create table employee(empid integer, name text, title text)") + + # Execute a statement and handle errors. + results, err = await db.exec("insert into employee values(?, ?, ?)", 101, 'Jeffrey Lebowski', 'Slacker') + if err: + raise ValueError(err) + + # Execute many statements. + insert_employee = "insert into employee values(?, ?, ?)" + await db.exec_many( + (insert_employee, 102, 'Walter Sobchak', 'Veteran'), + (insert_employee, 103, 'Donny Kerabatsos', 'Sidekick'), + (insert_employee, 104, 'Jesus Quintana', 'Bowler'), + (insert_employee, 105, 'Uli Kunkel', 'Nihilist'), + ) + + # Execute many statements as a transaction. + await db.exec_atomic( + (insert_employee, 106, 'Brandt', 'Butler'), + (insert_employee, 107, 'Maude Lebowski', 'Artist'), + (insert_employee, 108, 'Franz', 'Nihilist'), + (insert_employee, 109, 'Kieffer', 'Nihilist'), + ) + + # Read records. + rows, err = await db.exec("select * from employee") + if err: + raise ValueError(err) + + print(rows) + + # Prints: + # [ + # [101, 'Jeffrey Lebowski', 'Slacker'], + # [102, 'Walter Sobchak', 'Veteran'], + # [103, 'Donny Kerabatsos', 'Sidekick'], + # [104, 'Jesus Quintana', 'Bowler'], + # [105, 'Uli Kunkel', 'Nihilist'], + # [106, 'Brandt', 'Butler'], + # [107, 'Maude Lebowski', 'Artist'], + # [108, 'Franz', 'Nihilist'], + # [109, 'Kieffer', 'Nihilist'] + # ] + + # Clean up. + await db.exec("drop table employee") + + # Drop the database entirely. Warning: A database is irrecoverable once dropped. + await db.drop() + + # Close connection. + await connection.close() + + +loop = asyncio.new_event_loop() +asyncio.set_event_loop(loop) +loop.run_until_complete(main()) diff --git a/examples/db_todo.py b/examples/db_todo.py new file mode 100644 index 0000000000000000000000000000000000000000..4af3ff8135d6b68f86e3fda2f2b756a9c1aeb62d --- /dev/null +++ b/examples/db_todo.py @@ -0,0 +1,109 @@ +# WaveDB / To-do App +# A multi-user To-do list application using WaveDB for data management. +# This example is very similar to the todo.py example, except that this +# example uses WaveDB instead of an in-memory list. +# --- +from h2o_wave import main, app, Q, ui, connect, WaveDB, expando_to_dict + + +# A simple class that represents a to-do item. +class TodoItem: + def __init__(self, id, label, done): + self.id = id + self.label = label + self.done = done + + +async def setup_db() -> WaveDB: + db = connect()['todo'] + _, err = await db.exec_atomic( + """ + create table if not exists todo ( + id integer primary key, + user text not null, + label text not null, + done integer not null default 0 + ) + """ + ) + if err: + raise RuntimeError(f'Failed setting up database: {err}') + return db + + +@app('/demo') +async def serve(q: Q): + if q.app.db is None: + q.app.db = await setup_db() + + if q.args.new_todo: # Display an input form. + await new_todo(q) + elif q.args.add_todo: # Add an item. + await add_todo(q) + else: # Show all items. + await show_todos(q) + + +async def show_todos(q: Q): + # Get items for this user. + db: WaveDB = q.app.db + + # Check if we have any updates, i.e. the user has checked/unchecked any item. + updates = [] + for key, done in expando_to_dict(q.args).items(): + # We've named each todo item `todo_{id}' (e.g. todo_42, todo_43, and so on) + # So identify the todo items from their 'todo_' prefix, then extract the ids from the names. + if key.startswith('todo_'): + _, id = key.split('_', 1) + updates.append(('update todo set done=? where id=?', 1 if done else 0, int(id))) + + # If we have updates, update our database. + if len(updates): + _, err = await db.exec_many(*updates) + if err: + raise RuntimeError(f'Failed updating todos: {err}') + + # Fetch latest todos for our user + rows, err = await db.exec('select id, label, done from todo where user=?', q.auth.subject) + if err: + raise RuntimeError(f'Failed fetching todos: {err}') + todos = [TodoItem(id, label, done) for id, label, done in rows] + + # Create done/not-done checkboxes. + done = [ui.checkbox(name=f'todo_{todo.id}', label=todo.label, value=True, trigger=True) for todo in todos if + todo.done] + not_done = [ui.checkbox(name=f'todo_{todo.id}', label=todo.label, trigger=True) for todo in todos if not todo.done] + + # Display list + q.page['form'] = ui.form_card(box='1 1 4 10', items=[ + ui.text_l('To Do'), + ui.button(name='new_todo', label='Add To Do...', primary=True), + *not_done, + *([ui.separator('Done')] if len(done) else []), + *done, + ]) + await q.page.save() + + +async def add_todo(q: Q): + # Insert a new item + db: WaveDB = q.app.db + _, err = await db.exec('insert into todo (user, label) values (? , ?)', q.auth.subject, q.args.label or 'Untitled') + if err: + raise RuntimeError(f'Failed inserting todo: {err}') + + # Go back to our list. + await show_todos(q) + + +async def new_todo(q: Q): + # Display an input form + q.page['form'] = ui.form_card(box='1 1 4 10', items=[ + ui.text_l('Add To Do'), + ui.textbox(name='label', label='What needs to be done?', multiline=True), + ui.buttons([ + ui.button(name='add_todo', label='Add', primary=True), + ui.button(name='show_todos', label='Back'), + ]), + ]) + await q.page.save() diff --git a/examples/dropdown.py b/examples/dropdown.py new file mode 100644 index 0000000000000000000000000000000000000000..4a150c6da475a30e72c3d7b8ec41e8fab4ce3497 --- /dev/null +++ b/examples/dropdown.py @@ -0,0 +1,44 @@ +# Form / Dropdown +# Use dropdowns to allow users to choose between available choices. +# #form #dropdown #choice +# --- +from h2o_wave import main, app, Q, ui + +choices = [ + ui.choice('A', 'Option A'), + ui.choice('B', 'Option B'), + ui.choice('C', 'Option C', disabled=True), + ui.choice('D', 'Option D'), +] + +choices_dialog = [ui.choice(str(i), f'Option {i}') for i in range(1, 102)] + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'dropdown={q.args.dropdown}'), + ui.text(f'dropdown_multi={q.args.dropdown_multi}'), + ui.text(f'dropdown_disabled={q.args.dropdown_disabled}'), + ui.text(f'dropdown_dialog={q.args.dropdown_dialog}'), + ui.text(f'dropdown_popup_always={q.args.dropdown_popup_always}'), + ui.text(f'dropdown_popup_never={q.args.dropdown_popup_never}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 7', items=[ + ui.dropdown(name='dropdown', label='Pick one', value='B', required=True, choices=choices), + ui.dropdown(name='dropdown_multi', label='Pick multiple', values=['B', 'D'], required=True, + choices=choices), + ui.dropdown(name='dropdown_disabled', label='Pick one (Disabled)', value='B', choices=choices, + disabled=True), + ui.dropdown(name='dropdown_dialog', label='Pick multiple in dialog (>100 choices)', values=['1'], + required=True, choices=choices_dialog), + ui.dropdown(name='dropdown_popup_always', label='Always show popup even when choices < 100', value='A', + required=True, choices=choices, popup='always'), + ui.dropdown(name='dropdown_popup_never', label='Never show popup even when choices > 100', value='1', + required=True, choices=choices_dialog, popup='never'), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/facepile.py b/examples/facepile.py new file mode 100644 index 0000000000000000000000000000000000000000..60401d4ce7d2609cc5f6630df0e34f7eae2a21b8 --- /dev/null +++ b/examples/facepile.py @@ -0,0 +1,42 @@ +# Form / Facepile +# A face pile displays a list of personas. Each circle represents a person and contains their image or initials. +# Often this control is used when sharing who has access to a specific view or file. +# #form +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.facepile: + q.page['example'].items = [ + ui.text_m(f'q.args.facepile={q.args.facepile}'), + ui.button(name='back', label='Back', primary=True), + ] + elif q.args.facepile_value: + q.page['example'].items = [ + ui.text_m(f'q.args.facepile_value={q.args.facepile_value}'), + ui.button(name='back', label='Back', primary=True), + ] + else: + image = 'https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg?auto=compress&h=750&w=1260' + q.page['example'] = ui.form_card(box='1 1 2 2', items=[ + ui.text(content='Add button sends true'), + ui.facepile(name='facepile', max=4, items=[ + ui.persona(title='John Doe', image=image), + ui.persona(title='John Doe', image=image), + ui.persona(title='John Doe'), + ui.persona(title='John Doe', image=image), + ui.persona(title='John Doe', image=image), + ]), + ui.text(content='Add button sends set value'), + ui.facepile(name='facepile_value', value='submitted value', max=4, items=[ + ui.persona(title='John Doe', image=image), + ui.persona(title='John Doe', image=image), + ui.persona(title='John Doe'), + ui.persona(title='John Doe', image=image), + ui.persona(title='John Doe', image=image), + ]), + ]) + + await q.page.save() diff --git a/examples/file_stream.py b/examples/file_stream.py new file mode 100644 index 0000000000000000000000000000000000000000..8a9271c71ae53621b19dc3b919b072c6ebe01465 --- /dev/null +++ b/examples/file_stream.py @@ -0,0 +1,41 @@ +# Image / Stream +# Display an image and continuously update it in real time. +# --- +import io +import time +import uuid + +import cv2 +from h2o_wave import app, Q, ui, main +import numpy as np + +frame_count = 256 + + +def create_random_image(): + frame = (np.random.rand(100, 100, 3) * 255).astype(np.uint8) + _, img = cv2.imencode('.jpg', frame) + return io.BytesIO(img) + + +@app('/demo') +async def serve(q: Q): + # Mint a unique name for our image stream + stream_name = f'stream/demo/{uuid.uuid4()}.jpeg' + + # Send image + endpoint = await q.site.uplink(stream_name, 'image/jpeg', create_random_image()) + + # Display image + q.page['qux'] = ui.form_card(box='1 1 5 5', items=[ui.image('Image Stream', path=endpoint)]) + await q.page.save() + + t0 = time.time() + # Update image in a loop + for i in range(frame_count): + # Send image (use stream name as before). + await q.site.uplink(stream_name, 'image/jpeg', create_random_image()) + + await q.site.unlink(stream_name) + + print(f'{frame_count / (time.time() - t0)}fps') diff --git a/examples/file_upload.py b/examples/file_upload.py new file mode 100644 index 0000000000000000000000000000000000000000..b116d67e5139115daff8d036ad81aedfd7cd2ff4 --- /dev/null +++ b/examples/file_upload.py @@ -0,0 +1,23 @@ +# Form / File Upload +# Use a file #upload component to allow users to upload files. +# #form #file_upload +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if 'file_upload' in q.args: + q.page['example'] = ui.form_card(box='1 1 4 10', items=[ + ui.text(f'file_upload={q.args.file_upload}'), + ui.button(name='show_upload', label='Back', primary=True), + ]) + else: + q.page['example'] = ui.form_card( + box='1 1 4 7', + items=[ + ui.file_upload(name='file_upload', label='Upload!', multiple=True, + file_extensions=['csv', 'gz'], max_file_size=10, max_size=15) + ] + ) + await q.page.save() diff --git a/examples/file_upload_compact.py b/examples/file_upload_compact.py new file mode 100644 index 0000000000000000000000000000000000000000..7090652ecb29e20447036146457d6c097f85bccf --- /dev/null +++ b/examples/file_upload_compact.py @@ -0,0 +1,24 @@ +# Form / File Upload / Compact +# Use a compact file #upload component to take less form space. +# #form #file_upload #compact +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if 'file_upload' in q.args: + q.page['example'] = ui.form_card(box='1 1 4 10', items=[ + ui.text(f'file_upload={q.args.file_upload}'), + ui.button(name='show_upload', label='Back', primary=True), + ]) + else: + q.page['example'] = ui.form_card( + box='1 1 4 7', + items=[ + ui.file_upload(name='file_upload', label='Select one or more files to upload', compact=True, + multiple=True, file_extensions=['jpg', 'png'], max_file_size=1, max_size=15), + ui.button(name='submit', label='Submit', primary=True) + ] + ) + await q.page.save() diff --git a/examples/flex.py b/examples/flex.py new file mode 100644 index 0000000000000000000000000000000000000000..485604fdda24dac2adfb64e8ee6e54dddf8760cb --- /dev/null +++ b/examples/flex.py @@ -0,0 +1,28 @@ +# Flex +# Use a flex card to tile multiple child cards along one dimension, with optional wrapping. +# #flex +# --- +import random + +from faker import Faker + +from h2o_wave import site, ui, pack, data + +fake = Faker() + +page = site['/demo'] + +c = page.add('example', ui.flex_card( + box='1 1 1 1', + direction='horizontal', + justify='between', + wrap='between', + item_view='template', + item_props=pack(dict( + content='
' # noqa: E501 + )), + data=data('code loss', -10), +)) +c.data = [[fake.cryptocurrency_code(), random.randint(0, 1)] for _ in range(10)] + +page.save() diff --git a/examples/footer.py b/examples/footer.py new file mode 100644 index 0000000000000000000000000000000000000000..34b8c1eb76204c8572bad012795f162f12699fd8 --- /dev/null +++ b/examples/footer.py @@ -0,0 +1,36 @@ +# Footer +# Use a footer card to display a page #footer. +# --- +from h2o_wave import site, ui + +page = site['/demo'] +caption = ''' +![theme-generator](https://wave.h2o.ai/img/logo.svg) + +Made with 💛 by H2O Wave Team.''' +page['footer1'] = ui.footer_card(box='1 1 -1 1', caption='Made with 💛 by H2O Wave Team.') +page['footer2'] = ui.footer_card(box='1 2 -1 3', caption=caption) +page['footer3'] = ui.footer_card( + box='1 5 -1 3', + caption=caption, + items=[ + ui.inline(justify='end', items=[ + ui.links(label='First Column', width='200px', items=[ + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ]), + ui.links(label='Second Column', width='200px', items=[ + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ]), + ui.links(label='Third Column', width='200px', items=[ + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ui.link(label='Sample link', path='https://www.h2o.ai/', target='_blank'), + ]), + ]), + ] +) +page.save() diff --git a/examples/form.py b/examples/form.py new file mode 100644 index 0000000000000000000000000000000000000000..eeabb695de54b2d1bfad3998a86b08db077af9ce --- /dev/null +++ b/examples/form.py @@ -0,0 +1,141 @@ +# Form +# Use a #form to collect data or show textual information. +# --- +from .synth import FakeCategoricalSeries +from h2o_wave import main, app, Q, ui, pack, data +import random + +html = ''' +', '') + return html + + +@app('/demo') +async def serve(q: Q): + if not q.client.initialized: + image = 'https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg?auto=compress&h=750&w=1260' + q.client.primary = '#000000' + q.client.page = '#e2e2e2' + q.client.card = '#ffffff' + q.client.text = '#000000' + q.page['meta'] = ui.meta_card(box='', theme='custom', layouts=[ + ui.layout( + breakpoint='xs', + zones=[ + ui.zone('header'), + ui.zone('content', direction=ui.ZoneDirection.ROW, zones=[ + ui.zone('colors', size='400px'), + ui.zone('preview') + ]), + ui.zone('footer') + ] + ) + ]) + q.page['header'] = ui.header_card(box='header', title='Theme generator', subtitle='Color your app easily', + icon='Color', icon_color='$card') + q.page['form'] = ui.form_card(box='colors', items=[ + ui.color_picker(name='primary', label='Primary', trigger=True, alpha=False, inline=True, value=q.client.primary), + ui.color_picker(name='text', label='Text', trigger=True, alpha=False, inline=True, value=q.client.text), + ui.color_picker(name='card', label='Card', trigger=True, alpha=False, inline=True, value=q.client.card), + ui.color_picker(name='page', label='Page', trigger=True, alpha=False, inline=True, value=q.client.page), + ui.text_xl('Check contrast'), + ui.message_bar(name='text_card', type='success', text='Contrast between **text** and **card** is great!'), + ui.message_bar(name='card_primary', type='success', text='Contrast between **card** and **primary** is great!'), + ui.message_bar(name='text_page', type='success', text='Contrast between **text** and **page** is great!'), + ui.message_bar(name='page_primary', type='success', text='Contrast between **page** and **primary** is great!'), + ui.text_xl('Copy code'), + ui.frame(name='frame', content=get_theme_code(q), height='180px'), + ]) + q.page['sample'] = ui.form_card(box='preview', items=[ + ui.text_xl(content='Sample App to show colors'), + ui.progress(label='A progress bar'), + ui.inline([ + ui.checkbox(name='checkbox1', label='A checkbox', value=True), + ui.checkbox(name='checkbox2', label='Another checkbox'), + ui.checkbox(name='checkbox3', label='Yet another checkbox'), + ui.toggle(name='toggle', label='Toggle', value=True), + ]), + ui.inline([ + ui.date_picker(name='date_picker', label='Date picker'), + ui.picker(name='picker', label='Picker', choices=[ + ui.choice('choice1', label='Choice 1'), + ui.choice('choice2', label='Choice 2'), + ui.choice('choice3', label='Choice 3'), + ]), + ui.combobox(name='combobox', label='Combobox', choices=['Choice 1', 'Choice 2', 'Choice 3']), + ui.persona(title='John Doe', subtitle='Data Scientist', size='s', image=image), + ]), + ui.slider(name='slider', label='Slider', value=70), + ui.link(label='Link'), + ui.inline(justify='between', items=[ + ui.stepper(name='stepper', width='500px', items=[ + ui.step(label='Step 1', icon='MailLowImportance'), + ui.step(label='Step 2', icon='TaskManagerMirrored'), + ui.step(label='Step 3', icon='Cafe'), + ]), + ui.tabs(name='menu', value='email', items=[ + ui.tab(name='email', label='Mail', icon='Mail'), + ui.tab(name='events', label='Events', icon='Calendar'), + ui.tab(name='spam', label='Spam'), + ]), + ]), + ui.inline(items=[ + ui.table( + name='table', + width='50%', + columns=[ + ui.table_column(name='name', label='Name', min_width='80px'), + ui.table_column(name='surname', label='Surname', filterable=True), + ui.table_column(name='age', label='Age', sortable=True, max_width='80px'), + ui.table_column(name='progress', label='Progress', + cell_type=ui.progress_table_cell_type(color='$themePrimary')), + ], + rows=[ + ui.table_row(name='row1', cells=['John', 'Doe', '25', '0.90']), + ui.table_row(name='row2', cells=['Ann', 'Doe', '35', '0.75']), + ui.table_row(name='row3', cells=['Casey', 'Smith', '40', '0.33']), + ], + height='330px', + ), + ui.visualization( + width='50%', + data=data('profession salary', 5, rows=[ + ('medicine', 23000), + ('fire fighting', 18000), + ('pedagogy', 24000), + ('psychology', 22500), + ('computer science', 36000), + ], pack=True), + plot=ui.plot([ui.mark(type='interval', x='=profession', y='=salary', y_min=0)]) + ), + ]), + ui.buttons([ + ui.button(name='primary_button', label='Primary', primary=True), + ui.button(name='standard_button', label='Standard'), + ui.button(name='standard_disabled_button', label='Disabled', disabled=True), + ui.button(name='icon_button', icon='Heart', caption='Tooltip text'), + ]), + ]) + q.page['footer'] = ui.footer_card(box='footer', caption='(c) 2021 H2O.ai. All rights reserved.') + q.client.themes = [ui.theme(name='custom', text=q.client.text, card=q.client.card, + page=q.client.page, primary=q.client.primary)] + q.client.initialized = True + + if q.args.primary: + q.client.themes[0].primary = q.args.primary + q.client.primary = q.args.primary + if q.args.text: + q.client.themes[0].text = q.args.text + q.client.text = q.args.text + if q.args.card: + q.client.themes[0].card = q.args.card + q.client.card = q.args.card + if q.args.page: + q.client.themes[0].page = q.args.page + q.client.page = q.args.page + + q.page['meta'].themes = q.client.themes + update_contrast_check('text', 'card', q) + update_contrast_check('card', 'primary', q) + update_contrast_check('text', 'page', q) + update_contrast_check('page', 'primary', q) + q.page['form'].frame.content = get_theme_code(q) + await q.page.save() diff --git a/examples/time_picker.py b/examples/time_picker.py new file mode 100644 index 0000000000000000000000000000000000000000..c91436214aff47a34c9db51709615c8d8956dd15 --- /dev/null +++ b/examples/time_picker.py @@ -0,0 +1,32 @@ +# Form / TimePicker +# Use time pickers to allow users to pick times. +# #form #timepicker +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'timepicker={q.args.timepicker}'), + ui.text(f'timepicker_required={q.args.timepicker_required}'), + ui.text(f'timepicker_disabled={q.args.timepicker_disabled}'), + ui.text(f'timepicker_placeholder={q.args.timepicker_placeholder}'), + ui.text(f'timepicker_h24={q.args.timepicker_h24}'), + ui.text(f'timepicker_boundaries={q.args.timepicker_boundaries}'), + ui.text(f'timepicker_step={q.args.timepicker_step}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 8', items=[ + ui.time_picker(name='timepicker', label="Standard time picker"), + ui.time_picker(name='timepicker_required', label="Time picker - required", required=True), + ui.time_picker(name='timepicker_disabled', label="Disabled time picker", value='11:15', disabled=True), + ui.time_picker(name='timepicker_placeholder', label="Time picker with custom placeholder", placeholder='Select a time'), + ui.time_picker(name='timepicker_h24', label="Time picker with 24 hour time format", hour_format='24', value="18:35"), + ui.time_picker(name='timepicker_boundaries', label="Time picker with boundaries", min='10:00', max='18:00', value='13:36'), + ui.time_picker(name='timepicker_step', label="Time picker with minutes step", minutes_step=10), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/todo.py b/examples/todo.py new file mode 100644 index 0000000000000000000000000000000000000000..fbe323dcdecf3e3e012b433e39dab56cd34ac6b8 --- /dev/null +++ b/examples/todo.py @@ -0,0 +1,76 @@ +# To-do List App +# A simple multi-user To-do list application. +# --- +from h2o_wave import main, app, Q, ui +from typing import List + +_id = 0 + + +# A simple class that represents a to-do item. +class TodoItem: + def __init__(self, label): + global _id + _id += 1 + self.id = f'todo_{_id}' + self.done = False + self.label = label + + +@app('/demo') +async def serve(q: Q): + if q.args.new_todo: # Display an input form. + await new_todo(q) + elif q.args.add_todo: # Add an item. + await add_todo(q) + else: # Show all items. + await show_todos(q) + + +async def show_todos(q: Q): + # Get items for this user. + todos: List[TodoItem] = q.user.todos + + # Create a sample list if we don't have any. + if todos is None: + q.user.todos = todos = [TodoItem('Do this'), TodoItem('Do that'), TodoItem('Do something else')] + + # If the user checked/unchecked an item, update our list. + for todo in todos: + if todo.id in q.args: + todo.done = q.args[todo.id] + + # Create done/not-done checkboxes. + done = [ui.checkbox(name=todo.id, label=todo.label, value=True, trigger=True) for todo in todos if todo.done] + not_done = [ui.checkbox(name=todo.id, label=todo.label, trigger=True) for todo in todos if not todo.done] + + # Display list + q.page['form'] = ui.form_card(box='1 1 4 3', items=[ + ui.text_l('To Do'), + ui.button(name='new_todo', label='Add To Do...', primary=True), + *not_done, + *([ui.separator('Done')] if len(done) else []), + *done, + ]) + await q.page.save() + + +async def add_todo(q: Q): + # Insert a new item + q.user.todos.insert(0, TodoItem(q.args.label or 'Untitled')) + + # Go back to our list. + await show_todos(q) + + +async def new_todo(q: Q): + # Display an input form + q.page['form'] = ui.form_card(box='1 1 4 3', items=[ + ui.text_l('Add To Do'), + ui.textbox(name='label', label='What needs to be done?', multiline=True), + ui.buttons([ + ui.button(name='add_todo', label='Add', primary=True), + ui.button(name='show_todos', label='Back'), + ]), + ]) + await q.page.save() diff --git a/examples/toggle.py b/examples/toggle.py new file mode 100644 index 0000000000000000000000000000000000000000..376f2d9ab8ec300698e635f95d8627a0152384d9 --- /dev/null +++ b/examples/toggle.py @@ -0,0 +1,26 @@ +# Form / Toggle +# Use a #toggle to present users with two mutually exclusive options (to turn settings on and off). +# #form +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if q.args.show_inputs: + q.page['example'].items = [ + ui.text(f'toggle_unchecked={q.args.toggle_unchecked}'), + ui.text(f'toggle_checked={q.args.toggle_checked}'), + ui.text(f'toggle_unchecked_disabled={q.args.toggle_unchecked_disabled}'), + ui.text(f'toggle_checked_disabled={q.args.toggle_checked_disabled}'), + ui.button(name='show_form', label='Back', primary=True), + ] + else: + q.page['example'] = ui.form_card(box='1 1 4 5', items=[ + ui.toggle(name='toggle_unchecked', label='Not checked'), + ui.toggle(name='toggle_checked', label='Checked', value=True), + ui.toggle(name='toggle_unchecked_disabled', label='Not checked (Disabled)', disabled=True), + ui.toggle(name='toggle_checked_disabled', label='Checked (Disabled)', value=True, disabled=True), + ui.button(name='show_inputs', label='Submit', primary=True), + ]) + await q.page.save() diff --git a/examples/toolbar.py b/examples/toolbar.py new file mode 100644 index 0000000000000000000000000000000000000000..b9ea257526e7e979fbb40233c880b089f2cdfef3 --- /dev/null +++ b/examples/toolbar.py @@ -0,0 +1,33 @@ +# Toolbar +# Use toolbars to provide commands that operate on the content of a page. +# #toolbar #command +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + q.page['nav'] = ui.toolbar_card( + box='1 1 4 1', + items=[ + ui.command( + name='new', label='New', icon='Add', items=[ + ui.command(name='email', label='Email Message', icon='Mail'), + ui.command(name='calendar', label='Calendar Event', icon='Calendar'), + ] + ), + ui.command(name='upload', label='Upload', icon='Upload'), + ui.command(name='share', label='Share', icon='Share'), + ui.command(name='download', label='Download', icon='Download'), + ], + secondary_items=[ + ui.command(name='tile', caption='Grid View', icon='Tiles'), + ui.command(name='info', caption='Info', icon='Info'), + ], + overflow_items=[ + ui.command(name='move', label='Move to...', icon='MoveToFolder'), + ui.command(name='copy', label='Copy to...', icon='Copy'), + ui.command(name='rename', label='Rename', icon='Edit'), + ], + ) + await q.page.save() diff --git a/examples/toolbar_routing.py b/examples/toolbar_routing.py new file mode 100644 index 0000000000000000000000000000000000000000..2b8727f69290ceb9aa11bc9e4a3df5761aafd31d --- /dev/null +++ b/examples/toolbar_routing.py @@ -0,0 +1,40 @@ +# Routing / Toolbar +# This example demonstrates how you can observe and handle changes to the browser's +# [location hash](https://developer.mozilla.org/en-US/docs/Web/API/Location/hash). +# +# The location hash can be accessed using `q.args['#']`. +# #routing #toolbar +# --- +from h2o_wave import main, app, Q, ui + + +@app('/demo') +async def serve(q: Q): + if not q.client.initialized: + q.page['nav'] = ui.toolbar_card( + box='1 1 4 1', + items=[ + ui.command(name='#menu/spam', label='Spam'), + ui.command(name='#menu/ham', label='Ham'), + ui.command(name='#menu/eggs', label='Eggs'), + ui.command(name='#about', label='About'), + ], + ) + q.page['blurb'] = ui.markdown_card( + box='1 2 4 2', + title='Store', + content='Welcome to our store!', + ) + q.client.initialized = True + hash = q.args['#'] + if hash: + blurb = q.page['blurb'] + if hash == 'menu/spam': + blurb.content = "Sorry, we're out of spam!" + elif hash == 'menu/ham': + blurb.content = "Sorry, we're out of ham!" + elif hash == 'menu/eggs': + blurb.content = "Sorry, we're out of eggs!" + elif hash == 'about': + blurb.content = 'Everything here is gluten-free!' + await q.page.save() diff --git a/examples/tour-assets/h2o-logo.svg b/examples/tour-assets/h2o-logo.svg new file mode 100644 index 0000000000000000000000000000000000000000..d6b04435700ffae6284031d15b2220ea53bdce7f --- /dev/null +++ b/examples/tour-assets/h2o-logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/examples/tour-assets/loader.min.js b/examples/tour-assets/loader.min.js new file mode 100644 index 0000000000000000000000000000000000000000..ab03d505e7f4fe9c5722a0a71c4ebb93809de34e --- /dev/null +++ b/examples/tour-assets/loader.min.js @@ -0,0 +1,4 @@ +"use strict";var define,AMDLoader,_amdLoaderGlobal=this,_commonjsGlobal="object"==typeof global?global:{};!function(e){e.global=_amdLoaderGlobal;var t=(Object.defineProperty(r.prototype,"isWindows",{get:function(){return this._detect(),this._isWindows},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isNode",{get:function(){return this._detect(),this._isNode},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isElectronRenderer",{get:function(){return this._detect(),this._isElectronRenderer},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isWebWorker",{get:function(){return this._detect(),this._isWebWorker},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isElectronNodeIntegrationWebWorker",{get:function(){return this._detect(),this._isElectronNodeIntegrationWebWorker},enumerable:!1,configurable:!0}),r.prototype._detect=function(){this._detected||(this._detected=!0,this._isWindows=r._isWindows(),this._isNode="undefined"!=typeof module&&!!module.exports,this._isElectronRenderer="undefined"!=typeof process&&void 0!==process.versions&&void 0!==process.versions.electron&&"renderer"===process.type,this._isWebWorker="function"==typeof e.global.importScripts,this._isElectronNodeIntegrationWebWorker=this._isWebWorker&&"undefined"!=typeof process&&void 0!==process.versions&&void 0!==process.versions.electron&&"worker"===process.type)},r._isWindows=function(){return!!("undefined"!=typeof navigator&&navigator.userAgent&&0<=navigator.userAgent.indexOf("Windows"))||"undefined"!=typeof process&&"win32"===process.platform},r);function r(){this._detected=!1,this._isWindows=!1,this._isNode=!1,this._isElectronRenderer=!1,this._isWebWorker=!1,this._isElectronNodeIntegrationWebWorker=!1}e.Environment=t}(AMDLoader=AMDLoader||{}),function(r){var n=function(e,t,r){this.type=e,this.detail=t,this.timestamp=r};r.LoaderEvent=n;var e=(t.prototype.record=function(e,t){this._events.push(new n(e,t,r.Utilities.getHighPerformanceTimestamp()))},t.prototype.getEvents=function(){return this._events},t);function t(e){this._events=[new n(1,"",e)]}r.LoaderEventRecorder=e;o.prototype.record=function(e,t){},o.prototype.getEvents=function(){return[]},o.INSTANCE=new o,e=o;function o(){}r.NullLoaderEventRecorder=e}(AMDLoader=AMDLoader||{}),function(e){var t=(n.fileUriToFilePath=function(e,t){if(t=decodeURI(t).replace(/%23/g,"#"),e){if(/^file:\/\/\//.test(t))return t.substr(8);if(/^file:\/\//.test(t))return t.substr(5)}else if(/^file:\/\//.test(t))return t.substr(7);return t},n.startsWith=function(e,t){return e.length>=t.length&&e.substr(0,t.length)===t},n.endsWith=function(e,t){return e.length>=t.length&&e.substr(e.length-t.length)===t},n.containsQueryString=function(e){return/^[^\#]*\?/gi.test(e)},n.isAbsolutePath=function(e){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(e)},n.forEachProperty=function(e,t){if(e){var r=void 0;for(r in e)e.hasOwnProperty(r)&&t(r,e[r])}},n.isEmpty=function(e){var t=!0;return n.forEachProperty(e,function(){t=!1}),t},n.recursiveClone=function(e){if(!e||"object"!=typeof e||e instanceof RegExp||!Array.isArray(e)&&Object.getPrototypeOf(e)!==Object.prototype)return e;var r=Array.isArray(e)?[]:{};return n.forEachProperty(e,function(e,t){r[e]=t&&"object"==typeof t?n.recursiveClone(t):t}),r},n.generateAnonymousModule=function(){return"===anonymous"+n.NEXT_ANONYMOUS_ID+++"==="},n.isAnonymousModule=function(e){return n.startsWith(e,"===anonymous")},n.getHighPerformanceTimestamp=function(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=e.global.performance&&"function"==typeof e.global.performance.now),(this.HAS_PERFORMANCE_NOW?e.global.performance:Date).now()},n.NEXT_ANONYMOUS_ID=1,n.PERFORMANCE_NOW_PROBED=!1,n.HAS_PERFORMANCE_NOW=!1,n);function n(){}e.Utilities=t}(AMDLoader=AMDLoader||{}),function(d){function r(e){if(e instanceof Error)return e;var t=new Error(e.message||String(e)||"Unknown Error");return e.stack&&(t.stack=e.stack),t}d.ensureError=r;var o=(n.validateConfigurationOptions=function(e){var t;return"string"!=typeof(e=e||{}).baseUrl&&(e.baseUrl=""),"boolean"!=typeof e.isBuild&&(e.isBuild=!1),"object"!=typeof e.paths&&(e.paths={}),"object"!=typeof e.config&&(e.config={}),void 0===e.catchError&&(e.catchError=!1),void 0===e.recordStats&&(e.recordStats=!1),"string"!=typeof e.urlArgs&&(e.urlArgs=""),"function"!=typeof e.onError&&(e.onError=function(e){if("loading"===e.phase)return console.error('Loading "'+e.moduleId+'" failed'),console.error(e),console.error("Here are the modules that depend on it:"),void console.error(e.neededBy);"factory"===e.phase&&(console.error('The factory method of "'+e.moduleId+'" has thrown an exception'),console.error(e))}),Array.isArray(e.ignoreDuplicateModules)||(e.ignoreDuplicateModules=[]),0=o.length)d._onLoadError(n,e);else{var t=o[i],r=d.getRecorder();if(d._config.isBuild()&&"empty:"===t)return d._buildInfoPath[n]=t,d.defineModule(d._moduleIdProvider.getStrModuleId(n),[],null,null,null),void d._onLoad(n);r.record(10,t),d._scriptLoader.load(d,t,function(){d._config.isBuild()&&(d._buildInfoPath[n]=t),r.record(11,t),d._onLoad(n)},function(e){r.record(12,t),s(e)})}})(null))},l.prototype._loadPluginDependency=function(e,t){var r,n=this;this._modules2[t.id]||this._knownModules2[t.id]||(this._knownModules2[t.id]=!0,(r=function(e){n.defineModule(n._moduleIdProvider.getStrModuleId(t.id),[],e,null,null)}).error=function(e){n._config.onError(n._createLoadError(t.id,e))},e.load(t.pluginParam,this._createRequire(a.ROOT),r,this._config.getOptionsLiteral()))},l.prototype._resolve=function(e){var t=this,r=e.dependencies;if(r)for(var n=0,o=r.length;n +`)),e.unresolvedDependenciesCount--):(this._inverseDependencies2[i.id]=this._inverseDependencies2[i.id]||[],this._inverseDependencies2[i.id].push(e.id),i instanceof u?(s=this._modules2[i.pluginId])&&s.isComplete()?this._loadPluginDependency(s.exports,i):((s=this._inversePluginDependencies2.get(i.pluginId))||this._inversePluginDependencies2.set(i.pluginId,s=[]),s.push(i),this._loadModule(i.pluginId)):this._loadModule(i.id))}else e.unresolvedDependenciesCount--;else e.unresolvedDependenciesCount--;else e.exportsPassedIn=!0,e.unresolvedDependenciesCount--}0===e.unresolvedDependenciesCount&&this._onModuleComplete(e)},l.prototype._onModuleComplete=function(e){var t=this,r=this.getRecorder();if(!e.isComplete()){var n=e.dependencies,o=[];if(n)for(var i=0,s=n.length;i =0?!0:typeof process!="undefined"?process.platform==="win32":!1},E}();U.Environment=r})(re||(re={}));var re;(function(U){var r=function(){function N(o,w,g){this.type=o,this.detail=w,this.timestamp=g}return N}();U.LoaderEvent=r;var E=function(){function N(o){this._events=[new r(1,"",o)]}return N.prototype.record=function(o,w){this._events.push(new r(o,w,U.Utilities.getHighPerformanceTimestamp()))},N.prototype.getEvents=function(){return this._events},N}();U.LoaderEventRecorder=E;var e=function(){function N(){}return N.prototype.record=function(o,w){},N.prototype.getEvents=function(){return[]},N.INSTANCE=new N,N}();U.NullLoaderEventRecorder=e})(re||(re={}));var re;(function(U){var r=function(){function E(){}return E.fileUriToFilePath=function(e,N){if(N=decodeURI(N).replace(/%23/g,"#"),e){if(/^file:\/\/\//.test(N))return N.substr(8);if(/^file:\/\//.test(N))return N.substr(5)}else if(/^file:\/\//.test(N))return N.substr(7);return N},E.startsWith=function(e,N){return e.length>=N.length&&e.substr(0,N.length)===N},E.endsWith=function(e,N){return e.length>=N.length&&e.substr(e.length-N.length)===N},E.containsQueryString=function(e){return/^[^\#]*\?/gi.test(e)},E.isAbsolutePath=function(e){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)|(\/))/.test(e)},E.forEachProperty=function(e,N){if(e){var o=void 0;for(o in e)e.hasOwnProperty(o)&&N(o,e[o])}},E.isEmpty=function(e){var N=!0;return E.forEachProperty(e,function(){N=!1}),N},E.recursiveClone=function(e){if(!e||typeof e!="object"||e instanceof RegExp||!Array.isArray(e)&&Object.getPrototypeOf(e)!==Object.prototype)return e;var N=Array.isArray(e)?[]:{};return E.forEachProperty(e,function(o,w){w&&typeof w=="object"?N[o]=E.recursiveClone(w):N[o]=w}),N},E.generateAnonymousModule=function(){return"===anonymous"+E.NEXT_ANONYMOUS_ID+++"==="},E.isAnonymousModule=function(e){return E.startsWith(e,"===anonymous")},E.getHighPerformanceTimestamp=function(){return this.PERFORMANCE_NOW_PROBED||(this.PERFORMANCE_NOW_PROBED=!0,this.HAS_PERFORMANCE_NOW=U.global.performance&&typeof U.global.performance.now=="function"),this.HAS_PERFORMANCE_NOW?U.global.performance.now():Date.now()},E.NEXT_ANONYMOUS_ID=1,E.PERFORMANCE_NOW_PROBED=!1,E.HAS_PERFORMANCE_NOW=!1,E}();U.Utilities=r})(re||(re={}));var re;(function(U){function r(N){if(N instanceof Error)return N;var o=new Error(N.message||String(N)||"Unknown Error");return N.stack&&(o.stack=N.stack),o}U.ensureError=r;var E=function(){function N(){}return N.validateConfigurationOptions=function(o){function w(c){if(c.phase==="loading"){console.error('Loading "'+c.moduleId+'" failed'),console.error(c),console.error("Here are the modules that depend on it:"),console.error(c.neededBy);return}if(c.phase==="factory"){console.error('The factory method of "'+c.moduleId+'" has thrown an exception'),console.error(c);return}}if(o=o||{},typeof o.baseUrl!="string"&&(o.baseUrl=""),typeof o.isBuild!="boolean"&&(o.isBuild=!1),typeof o.paths!="object"&&(o.paths={}),typeof o.config!="object"&&(o.config={}),typeof o.catchError=="undefined"&&(o.catchError=!1),typeof o.recordStats=="undefined"&&(o.recordStats=!1),typeof o.urlArgs!="string"&&(o.urlArgs=""),typeof o.onError!="function"&&(o.onError=w),Array.isArray(o.ignoreDuplicateModules)||(o.ignoreDuplicateModules=[]),o.baseUrl.length>0&&(U.Utilities.endsWith(o.baseUrl,"/")||(o.baseUrl+="/")),typeof o.cspNonce!="string"&&(o.cspNonce=""),typeof o.preferScriptTags=="undefined"&&(o.preferScriptTags=!1),Array.isArray(o.nodeModules)||(o.nodeModules=[]),o.nodeCachedData&&typeof o.nodeCachedData=="object"&&(typeof o.nodeCachedData.seed!="string"&&(o.nodeCachedData.seed="seed"),(typeof o.nodeCachedData.writeDelay!="number"||o.nodeCachedData.writeDelay<0)&&(o.nodeCachedData.writeDelay=1e3*7),!o.nodeCachedData.path||typeof o.nodeCachedData.path!="string")){var g=r(new Error("INVALID cached data configuration, 'path' MUST be set"));g.phase="configuration",o.onError(g),o.nodeCachedData=void 0}return o},N.mergeConfigurationOptions=function(o,w){o===void 0&&(o=null),w===void 0&&(w=null);var g=U.Utilities.recursiveClone(w||{});return U.Utilities.forEachProperty(o,function(c,m){c==="ignoreDuplicateModules"&&typeof g.ignoreDuplicateModules!="undefined"?g.ignoreDuplicateModules=g.ignoreDuplicateModules.concat(m):c==="paths"&&typeof g.paths!="undefined"?U.Utilities.forEachProperty(m,function(S,t){return g.paths[S]=t}):c==="config"&&typeof g.config!="undefined"?U.Utilities.forEachProperty(m,function(S,t){return g.config[S]=t}):g[c]=U.Utilities.recursiveClone(m)}),N.validateConfigurationOptions(g)},N}();U.ConfigurationOptionsUtil=E;var e=function(){function N(o,w){if(this._env=o,this.options=E.mergeConfigurationOptions(w),this._createIgnoreDuplicateModulesMap(),this._createNodeModulesMap(),this._createSortedPathsRules(),this.options.baseUrl===""){if(this.options.nodeRequire&&this.options.nodeRequire.main&&this.options.nodeRequire.main.filename&&this._env.isNode){var g=this.options.nodeRequire.main.filename,c=Math.max(g.lastIndexOf("/"),g.lastIndexOf("\\"));this.options.baseUrl=g.substring(0,c+1)}if(this.options.nodeMain&&this._env.isNode){var g=this.options.nodeMain,c=Math.max(g.lastIndexOf("/"),g.lastIndexOf("\\"));this.options.baseUrl=g.substring(0,c+1)}}}return N.prototype._createIgnoreDuplicateModulesMap=function(){this.ignoreDuplicateModulesMap={};for(var o=0;o=5)){if(s.length 0?(L=s.slice(0,16),v=s.slice(16),t.record(60,S)):t.record(61,S),y()})}},c.prototype._verifyCachedData=function(m,S,t,d,h){var v=this;!d||m.cachedDataRejected||setTimeout(function(){var L=v._crypto.createHash("md5").update(S,"utf8").digest();d.equals(L)||(h.getConfig().onError(new Error("FAILED TO VERIFY CACHED DATA, deleting stale '"+t+"' now, but a RESTART IS REQUIRED")),v._fs.unlink(t,function(C){C&&h.getConfig().onError(C)}))},Math.ceil(5e3*(1+Math.random())))},c._BOM=65279,c._PREFIX="(function (require, define, __filename, __dirname) { ",c._SUFFIX=` +});`,c}();function w(c,m){if(m.__$__isRecorded)return m;var S=function(d){c.record(33,d);try{return m(d)}finally{c.record(34,d)}};return S.__$__isRecorded=!0,S}U.ensureRecordedNodeRequire=w;function g(c){return new r(c)}U.createScriptLoader=g})(re||(re={}));var re;(function(U){var r=function(){function g(c){var m=c.lastIndexOf("/");m!==-1?this.fromModulePath=c.substr(0,m+1):this.fromModulePath=""}return g._normalizeModuleId=function(c){var m=c,S;for(S=/\/\.\//;S.test(m);)m=m.replace(S,"/");for(m=m.replace(/^\.\//g,""),S=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;S.test(m);)m=m.replace(S,"/");return m=m.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),m},g.prototype.resolveModule=function(c){var m=c;return U.Utilities.isAbsolutePath(m)||(U.Utilities.startsWith(m,"./")||U.Utilities.startsWith(m,"../"))&&(m=g._normalizeModuleId(this.fromModulePath+m)),m},g.ROOT=new g(""),g}();U.ModuleIdResolver=r;var E=function(){function g(c,m,S,t,d,h){this.id=c,this.strId=m,this.dependencies=S,this._callback=t,this._errorback=d,this.moduleIdResolver=h,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}return g._safeInvokeFunction=function(c,m){try{return{returnedValue:c.apply(U.global,m),producedError:null}}catch(S){return{returnedValue:null,producedError:S}}},g._invokeFactory=function(c,m,S,t){return c.isBuild()&&!U.Utilities.isAnonymousModule(m)?{returnedValue:null,producedError:null}:c.shouldCatchError()?this._safeInvokeFunction(S,t):{returnedValue:S.apply(U.global,t),producedError:null}},g.prototype.complete=function(c,m,S){this._isComplete=!0;var t=null;if(this._callback)if(typeof this._callback=="function"){c.record(21,this.strId);var d=g._invokeFactory(m,this.strId,this._callback,S);t=d.producedError,c.record(22,this.strId),!t&&typeof d.returnedValue!="undefined"&&(!this.exportsPassedIn||U.Utilities.isEmpty(this.exports))&&(this.exports=d.returnedValue)}else this.exports=this._callback;if(t){var h=U.ensureError(t);h.phase="factory",h.moduleId=this.strId,this.error=h,m.onError(h)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null},g.prototype.onDependencyError=function(c){return this._isComplete=!0,this.error=c,this._errorback?(this._errorback(c),!0):!1},g.prototype.isComplete=function(){return this._isComplete},g}();U.Module=E;var e=function(){function g(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}return g.prototype.getMaxModuleId=function(){return this._nextId},g.prototype.getModuleId=function(c){var m=this._strModuleIdToIntModuleId.get(c);return typeof m=="undefined"&&(m=this._nextId++,this._strModuleIdToIntModuleId.set(c,m),this._intModuleIdToStrModuleId[m]=c),m},g.prototype.getStrModuleId=function(c){return this._intModuleIdToStrModuleId[c]},g}(),N=function(){function g(c){this.id=c}return g.EXPORTS=new g(0),g.MODULE=new g(1),g.REQUIRE=new g(2),g}();U.RegularDependency=N;var o=function(){function g(c,m,S){this.id=c,this.pluginId=m,this.pluginParam=S}return g}();U.PluginDependency=o;var w=function(){function g(c,m,S,t,d){d===void 0&&(d=0),this._env=c,this._scriptLoader=m,this._loaderAvailableTimestamp=d,this._defineFunc=S,this._requireFunc=t,this._moduleIdProvider=new e,this._config=new U.Configuration(this._env),this._hasDependencyCycle=!1,this._modules2=[],this._knownModules2=[],this._inverseDependencies2=[],this._inversePluginDependencies2=new Map,this._currentAnonymousDefineCall=null,this._recorder=null,this._buildInfoPath=[],this._buildInfoDefineStack=[],this._buildInfoDependencies=[]}return g.prototype.reset=function(){return new g(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)},g.prototype.getGlobalAMDDefineFunc=function(){return this._defineFunc},g.prototype.getGlobalAMDRequireFunc=function(){return this._requireFunc},g._findRelevantLocationInStack=function(c,m){for(var S=function(i){return i.replace(/\\/g,"/")},t=S(c),d=m.split(/\n/),h=0;h =0){var t=m.resolveModule(c.substr(0,S)),d=m.resolveModule(c.substr(S+1)),h=this._moduleIdProvider.getModuleId(t+"!"+d),v=this._moduleIdProvider.getModuleId(t);return new o(h,v,d)}return new N(this._moduleIdProvider.getModuleId(m.resolveModule(c)))},g.prototype._normalizeDependencies=function(c,m){for(var S=[],t=0,d=0,h=c.length;d 0;){var C=L.shift(),y=this._modules2[C];y&&(v=y.onDependencyError(S)||v);var p=this._inverseDependencies2[C];if(p)for(var d=0,h=p.length;d 0;){var L=v.shift(),C=L.dependencies;if(C)for(var d=0,h=C.length;d =t.length)m._onLoadError(c,L);else{var C=t[h],y=m.getRecorder();if(m._config.isBuild()&&C==="empty:"){m._buildInfoPath[c]=C,m.defineModule(m._moduleIdProvider.getStrModuleId(c),[],null,null,null),m._onLoad(c);return}y.record(10,C),m._scriptLoader.load(m,C,function(){m._config.isBuild()&&(m._buildInfoPath[c]=C),y.record(11,C),m._onLoad(c)},function(p){y.record(12,C),v(p)})}};v(null)}},g.prototype._loadPluginDependency=function(c,m){var S=this;if(!(this._modules2[m.id]||this._knownModules2[m.id])){this._knownModules2[m.id]=!0;var t=function(d){S.defineModule(S._moduleIdProvider.getStrModuleId(m.id),[],d,null,null)};t.error=function(d){S._config.onError(S._createLoadError(m.id,d))},c.load(m.pluginParam,this._createRequire(r.ROOT),t,this._config.getOptionsLiteral())}},g.prototype._resolve=function(c){var m=this,S=c.dependencies;if(S)for(var t=0,d=S.length;t +`)),c.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[h.id]=this._inverseDependencies2[h.id]||[],this._inverseDependencies2[h.id].push(c.id),h instanceof o){var C=this._modules2[h.pluginId];if(C&&C.isComplete()){this._loadPluginDependency(C.exports,h);continue}var y=this._inversePluginDependencies2.get(h.pluginId);y||(y=[],this._inversePluginDependencies2.set(h.pluginId,y)),y.push(h),this._loadModule(h.pluginId);continue}this._loadModule(h.id)}c.unresolvedDependenciesCount===0&&this._onModuleComplete(c)},g.prototype._onModuleComplete=function(c){var m=this,S=this.getRecorder();if(!c.isComplete()){var t=c.dependencies,d=[];if(t)for(var h=0,v=t.length;h O===V){if(R===I)return!0;if(!R||!I||R.length!==I.length)return!1;for(let O=0,V=R.length;O 0)V=K-1;else return K}return-(O+1)}r.binarySearch=o;function w(R,I){let F=0,O=R.length;if(O===0)return 0;for(;F =I.length)throw new TypeError("invalid index");let O=I[Math.floor(I.length*Math.random())],V=[],K=[],$=[];for(let z of I){const n=F(z,O);n<0?V.push(z):n>0?K.push(z):$.push(z)}return R !!I)}r.coalesce=m;function S(R){return!Array.isArray(R)||R.length===0}r.isFalsyOrEmpty=S;function t(R){return Array.isArray(R)&&R.length>0}r.isNonEmptyArray=t;function d(R,I=F=>F){const F=new Set;return R.filter(O=>{const V=I(O);return F.has(V)?!1:(F.add(V),!0)})}r.distinct=d;function h(R,I){const F=v(R,I);if(F!==-1)return R[F]}r.findLast=h;function v(R,I){for(let F=R.length-1;F>=0;F--){const O=R[F];if(I(O))return F}return-1}r.lastIndex=v;function L(R,I){return R.length>0?R[0]:I}r.firstOrDefault=L;function C(R){return[].concat(...R)}r.flatten=C;function y(R,I){let F=typeof I=="number"?R:0;typeof I=="number"?F=R:(F=0,I=R);const O=[];if(F<=I)for(let V=F;VI;V--)O.push(V);return O}r.range=y;function p(R,I,F){const O=R.slice(0,I),V=R.slice(I);return O.concat(F,V)}r.arrayInsert=p;function s(R,I){const F=R.indexOf(I);F>-1&&(R.splice(F,1),R.unshift(I))}r.pushToStart=s;function i(R,I){const F=R.indexOf(I);F>-1&&(R.splice(F,1),R.push(I))}r.pushToEnd=i;function a(R){return Array.isArray(R)?R:[R]}r.asArray=a;function l(R,I,F){const O=u(R,I),V=R.length,K=F.length;R.length=V+K;for(let $=V-1;$>=O;$--)R[$+K]=R[$];for(let $=0;$ I(R(F),R(O))}r.compareBy=_;const b=(R,I)=>R-I;r.numberComparator=b;function A(R,I){if(R.length===0)return;let F=R[0];for(let O=1;O 0&&(F=V)}return F}r.findMaxBy=A;function P(R,I){if(R.length===0)return;let F=R[0];for(let O=1;O =0&&(F=V)}return F}r.findLastMaxBy=P;function D(R,I){return A(R,(F,O)=>-I(F,O))}r.findMinBy=D;class k{constructor(I){this.items=I,this.firstIdx=0,this.lastIdx=this.items.length-1}takeWhile(I){let F=this.firstIdx;for(;F =0&&I(this.items[F]);)F--;const O=F===this.lastIdx?null:this.items.slice(F+1,this.lastIdx+1);return this.lastIdx=F,O}peek(){return this.items[this.firstIdx]}dequeue(){const I=this.items[this.firstIdx];return this.firstIdx++,I}takeCount(I){const F=this.items.slice(this.firstIdx,this.firstIdx+I);return this.firstIdx+=I,F}}r.ArrayQueue=k}),Y(Q[17],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LRUCachedComputed=void 0;class E{constructor(N){this.computeFn=N,this.lastCache=void 0,this.lastArgKey=void 0}get(N){const o=JSON.stringify(N);return this.lastArgKey!==o&&(this.lastArgKey=o,this.lastCache=this.computeFn(N)),this.lastCache}}r.LRUCachedComputed=E}),Y(Q[18],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CSSIcon=r.Codicon=r.getCodiconAriaLabel=void 0;function E(o){return o?o.replace(/\$\((.*?)\)/g,(w,g)=>` ${g} `).trim():""}r.getCodiconAriaLabel=E;class e{constructor(w,g,c){this.id=w,this.definition=g,this.description=c,e._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return e._allCodicons}}r.Codicon=e,e._allCodicons=[],e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolCustomColor=new e("symbol-customcolor",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"}),e.newLine=new e("newline",{fontCharacter:"\\ebea"}),e.layout=new e("layout",{fontCharacter:"\\ebeb"}),e.layoutActivitybarLeft=new e("layout-activitybar-left",{fontCharacter:"\\ebec"}),e.layoutActivitybarRight=new e("layout-activitybar-right",{fontCharacter:"\\ebed"}),e.layoutPanelLeft=new e("layout-panel-left",{fontCharacter:"\\ebee"}),e.layoutPanelCenter=new e("layout-panel-center",{fontCharacter:"\\ebef"}),e.layoutPanelJustify=new e("layout-panel-justify",{fontCharacter:"\\ebf0"}),e.layoutPanelRight=new e("layout-panel-right",{fontCharacter:"\\ebf1"}),e.layoutPanel=new e("layout-panel",{fontCharacter:"\\ebf2"}),e.layoutSidebarLeft=new e("layout-sidebar-left",{fontCharacter:"\\ebf3"}),e.layoutSidebarRight=new e("layout-sidebar-right",{fontCharacter:"\\ebf4"}),e.layoutStatusbar=new e("layout-statusbar",{fontCharacter:"\\ebf5"}),e.layoutMenubar=new e("layout-menubar",{fontCharacter:"\\ebf6"}),e.layoutCentered=new e("layout-centered",{fontCharacter:"\\ebf7"}),e.target=new e("target",{fontCharacter:"\\ebf8"}),e.indent=new e("indent",{fontCharacter:"\\ebf9"}),e.recordSmall=new e("record-small",{fontCharacter:"\\ebfa"}),e.errorSmall=new e("error-small",{fontCharacter:"\\ebfb"}),e.arrowCircleDown=new e("arrow-circle-down",{fontCharacter:"\\ebfc"}),e.arrowCircleLeft=new e("arrow-circle-left",{fontCharacter:"\\ebfd"}),e.arrowCircleRight=new e("arrow-circle-right",{fontCharacter:"\\ebfe"}),e.arrowCircleUp=new e("arrow-circle-up",{fontCharacter:"\\ebff"}),e.dialogError=new e("dialog-error",e.error.definition),e.dialogWarning=new e("dialog-warning",e.warning.definition),e.dialogInfo=new e("dialog-info",e.info.definition),e.dialogClose=new e("dialog-close",e.close.definition),e.treeItemExpanded=new e("tree-item-expanded",e.chevronDown.definition),e.treeFilterOnTypeOn=new e("tree-filter-on-type-on",e.listFilter.definition),e.treeFilterOnTypeOff=new e("tree-filter-on-type-off",e.listSelection.definition),e.treeFilterClear=new e("tree-filter-clear",e.close.definition),e.treeItemLoading=new e("tree-item-loading",e.loading.definition),e.menuSelection=new e("menu-selection",e.check.definition),e.menuSubmenu=new e("menu-submenu",e.chevronRight.definition),e.menuBarMore=new e("menubar-more",e.more.definition),e.scrollbarButtonLeft=new e("scrollbar-button-left",e.triangleLeft.definition),e.scrollbarButtonRight=new e("scrollbar-button-right",e.triangleRight.definition),e.scrollbarButtonUp=new e("scrollbar-button-up",e.triangleUp.definition),e.scrollbarButtonDown=new e("scrollbar-button-down",e.triangleDown.definition),e.toolBarMore=new e("toolbar-more",e.more.definition),e.quickInputBack=new e("quick-input-back",e.arrowLeft.definition);var N;(function(o){o.iconNameSegment="[A-Za-z0-9]+",o.iconNameExpression="[A-Za-z0-9-]+",o.iconModifierExpression="~[A-Za-z]+",o.iconNameCharacter="[A-Za-z0-9~-]";const w=new RegExp(`^(${o.iconNameExpression})(${o.iconModifierExpression})?$`);function g(S){if(S instanceof e)return["codicon","codicon-"+S.id];const t=w.exec(S.id);if(!t)return g(e.error);let[,d,h]=t;const v=["codicon","codicon-"+d];return h&&v.push("codicon-modifier-"+h.substr(1)),v}o.asClassNameArray=g;function c(S){return g(S).join(" ")}o.asClassName=c;function m(S){return"."+g(S).join(".")}o.asCSSSelector=m})(N=r.CSSIcon||(r.CSSIcon={}))}),Y(Q[19],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DiffChange=void 0;class E{constructor(N,o,w,g){this.originalStart=N,this.originalLength=o,this.modifiedStart=w,this.modifiedLength=g}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}}r.DiffChange=E}),Y(Q[10],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.NotSupportedError=r.illegalState=r.illegalArgument=r.canceled=r.CancellationError=r.isCancellationError=r.transformErrorForSerialization=r.onUnexpectedExternalError=r.onUnexpectedError=r.errorHandler=r.ErrorHandler=void 0;class E{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(v){setTimeout(()=>{throw v.stack?new Error(v.message+` + +`+v.stack):v},0)}}emit(v){this.listeners.forEach(L=>{L(v)})}onUnexpectedError(v){this.unexpectedErrorHandler(v),this.emit(v)}onUnexpectedExternalError(v){this.unexpectedErrorHandler(v)}}r.ErrorHandler=E,r.errorHandler=new E;function e(h){g(h)||r.errorHandler.onUnexpectedError(h)}r.onUnexpectedError=e;function N(h){g(h)||r.errorHandler.onUnexpectedExternalError(h)}r.onUnexpectedExternalError=N;function o(h){if(h instanceof Error){let{name:v,message:L}=h;const C=h.stacktrace||h.stack;return{$isError:!0,name:v,message:L,stack:C}}return h}r.transformErrorForSerialization=o;const w="Canceled";function g(h){return h instanceof c?!0:h instanceof Error&&h.name===w&&h.message===w}r.isCancellationError=g;class c extends Error{constructor(){super(w);this.name=this.message}}r.CancellationError=c;function m(){const h=new Error(w);return h.name=h.message,h}r.canceled=m;function S(h){return h?new Error(`Illegal argument: ${h}`):new Error("Illegal argument")}r.illegalArgument=S;function t(h){return h?new Error(`Illegal state: ${h}`):new Error("Illegal state")}r.illegalState=t;class d extends Error{constructor(v){super("NotSupported");v&&(this.message=v)}}r.NotSupportedError=d}),Y(Q[20],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.once=void 0;function E(e){const N=this;let o=!1,w;return function(){return o||(o=!0,w=e.apply(N,arguments)),w}}r.once=E}),Y(Q[21],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Iterable=void 0;var E;(function(e){function N(a){return a&&typeof a=="object"&&typeof a[Symbol.iterator]=="function"}e.is=N;const o=Object.freeze([]);function w(){return o}e.empty=w;function*g(a){yield a}e.single=g;function c(a){return a||o}e.from=c;function m(a){return!a||a[Symbol.iterator]().next().done===!0}e.isEmpty=m;function S(a){return a[Symbol.iterator]().next().value}e.first=S;function t(a,l){for(const f of a)if(l(f))return!0;return!1}e.some=t;function d(a,l){for(const f of a)if(l(f))return f}e.find=d;function*h(a,l){for(const f of a)l(f)&&(yield f)}e.filter=h;function*v(a,l){let f=0;for(const u of a)yield l(u,f++)}e.map=v;function*L(...a){for(const l of a)for(const f of l)yield f}e.concat=L;function*C(a){for(const l of a)for(const f of l)yield f}e.concatNested=C;function y(a,l,f){let u=f;for(const _ of a)u=l(u,_);return u}e.reduce=y;function*p(a,l,f=a.length){for(l<0&&(l+=a.length),f<0?f+=a.length:f>a.length&&(f=a.length);l u===_){const u=a[Symbol.iterator](),_=l[Symbol.iterator]();for(;;){const b=u.next(),A=_.next();if(b.done!==A.done)return!1;if(b.done)return!0;if(!f(b.value,A.value))return!1}}e.equals=i})(E=r.Iterable||(r.Iterable={}))}),Y(Q[22],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.KeyChord=r.KeyCodeUtils=r.IMMUTABLE_KEY_CODE_TO_CODE=r.IMMUTABLE_CODE_TO_KEY_CODE=r.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE=r.EVENT_KEY_CODE_MAP=void 0;class E{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(d,h){this._keyCodeToStr[d]=h,this._strToKeyCode[h.toLowerCase()]=d}keyCodeToStr(d){return this._keyCodeToStr[d]}strToKeyCode(d){return this._strToKeyCode[d.toLowerCase()]||0}}const e=new E,N=new E,o=new E;r.EVENT_KEY_CODE_MAP=new Array(230),r.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE={};const w=[],g=Object.create(null),c=Object.create(null);r.IMMUTABLE_CODE_TO_KEY_CODE=[],r.IMMUTABLE_KEY_CODE_TO_CODE=[];for(let t=0;t<=193;t++)r.IMMUTABLE_CODE_TO_KEY_CODE[t]=-1;for(let t=0;t<=127;t++)r.IMMUTABLE_KEY_CODE_TO_CODE[t]=-1;(function(){const t="",d=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",t,t],[0,1,1,"Hyper",0,t,0,t,t,t],[0,1,2,"Super",0,t,0,t,t,t],[0,1,3,"Fn",0,t,0,t,t,t],[0,1,4,"FnLock",0,t,0,t,t,t],[0,1,5,"Suspend",0,t,0,t,t,t],[0,1,6,"Resume",0,t,0,t,t,t],[0,1,7,"Turbo",0,t,0,t,t,t],[0,1,8,"Sleep",0,t,0,"VK_SLEEP",t,t],[0,1,9,"WakeUp",0,t,0,t,t,t],[31,0,10,"KeyA",31,"A",65,"VK_A",t,t],[32,0,11,"KeyB",32,"B",66,"VK_B",t,t],[33,0,12,"KeyC",33,"C",67,"VK_C",t,t],[34,0,13,"KeyD",34,"D",68,"VK_D",t,t],[35,0,14,"KeyE",35,"E",69,"VK_E",t,t],[36,0,15,"KeyF",36,"F",70,"VK_F",t,t],[37,0,16,"KeyG",37,"G",71,"VK_G",t,t],[38,0,17,"KeyH",38,"H",72,"VK_H",t,t],[39,0,18,"KeyI",39,"I",73,"VK_I",t,t],[40,0,19,"KeyJ",40,"J",74,"VK_J",t,t],[41,0,20,"KeyK",41,"K",75,"VK_K",t,t],[42,0,21,"KeyL",42,"L",76,"VK_L",t,t],[43,0,22,"KeyM",43,"M",77,"VK_M",t,t],[44,0,23,"KeyN",44,"N",78,"VK_N",t,t],[45,0,24,"KeyO",45,"O",79,"VK_O",t,t],[46,0,25,"KeyP",46,"P",80,"VK_P",t,t],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",t,t],[48,0,27,"KeyR",48,"R",82,"VK_R",t,t],[49,0,28,"KeyS",49,"S",83,"VK_S",t,t],[50,0,29,"KeyT",50,"T",84,"VK_T",t,t],[51,0,30,"KeyU",51,"U",85,"VK_U",t,t],[52,0,31,"KeyV",52,"V",86,"VK_V",t,t],[53,0,32,"KeyW",53,"W",87,"VK_W",t,t],[54,0,33,"KeyX",54,"X",88,"VK_X",t,t],[55,0,34,"KeyY",55,"Y",89,"VK_Y",t,t],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",t,t],[22,0,36,"Digit1",22,"1",49,"VK_1",t,t],[23,0,37,"Digit2",23,"2",50,"VK_2",t,t],[24,0,38,"Digit3",24,"3",51,"VK_3",t,t],[25,0,39,"Digit4",25,"4",52,"VK_4",t,t],[26,0,40,"Digit5",26,"5",53,"VK_5",t,t],[27,0,41,"Digit6",27,"6",54,"VK_6",t,t],[28,0,42,"Digit7",28,"7",55,"VK_7",t,t],[29,0,43,"Digit8",29,"8",56,"VK_8",t,t],[30,0,44,"Digit9",30,"9",57,"VK_9",t,t],[21,0,45,"Digit0",21,"0",48,"VK_0",t,t],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",t,t],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",t,t],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",t,t],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",t,t],[10,1,50,"Space",10,"Space",32,"VK_SPACE",t,t],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,t,0,t,t,t],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",t,t],[59,1,64,"F1",59,"F1",112,"VK_F1",t,t],[60,1,65,"F2",60,"F2",113,"VK_F2",t,t],[61,1,66,"F3",61,"F3",114,"VK_F3",t,t],[62,1,67,"F4",62,"F4",115,"VK_F4",t,t],[63,1,68,"F5",63,"F5",116,"VK_F5",t,t],[64,1,69,"F6",64,"F6",117,"VK_F6",t,t],[65,1,70,"F7",65,"F7",118,"VK_F7",t,t],[66,1,71,"F8",66,"F8",119,"VK_F8",t,t],[67,1,72,"F9",67,"F9",120,"VK_F9",t,t],[68,1,73,"F10",68,"F10",121,"VK_F10",t,t],[69,1,74,"F11",69,"F11",122,"VK_F11",t,t],[70,1,75,"F12",70,"F12",123,"VK_F12",t,t],[0,1,76,"PrintScreen",0,t,0,t,t,t],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",t,t],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",t,t],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",t,t],[14,1,80,"Home",14,"Home",36,"VK_HOME",t,t],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",t,t],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",t,t],[13,1,83,"End",13,"End",35,"VK_END",t,t],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",t,t],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",t],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",t],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",t],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",t],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",t,t],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",t,t],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",t,t],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",t,t],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",t,t],[3,1,94,"NumpadEnter",3,t,0,t,t,t],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",t,t],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",t,t],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",t,t],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",t,t],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",t,t],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",t,t],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",t,t],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",t,t],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",t,t],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",t,t],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",t,t],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",t,t],[58,1,107,"ContextMenu",58,"ContextMenu",93,t,t,t],[0,1,108,"Power",0,t,0,t,t,t],[0,1,109,"NumpadEqual",0,t,0,t,t,t],[71,1,110,"F13",71,"F13",124,"VK_F13",t,t],[72,1,111,"F14",72,"F14",125,"VK_F14",t,t],[73,1,112,"F15",73,"F15",126,"VK_F15",t,t],[74,1,113,"F16",74,"F16",127,"VK_F16",t,t],[75,1,114,"F17",75,"F17",128,"VK_F17",t,t],[76,1,115,"F18",76,"F18",129,"VK_F18",t,t],[77,1,116,"F19",77,"F19",130,"VK_F19",t,t],[0,1,117,"F20",0,t,0,"VK_F20",t,t],[0,1,118,"F21",0,t,0,"VK_F21",t,t],[0,1,119,"F22",0,t,0,"VK_F22",t,t],[0,1,120,"F23",0,t,0,"VK_F23",t,t],[0,1,121,"F24",0,t,0,"VK_F24",t,t],[0,1,122,"Open",0,t,0,t,t,t],[0,1,123,"Help",0,t,0,t,t,t],[0,1,124,"Select",0,t,0,t,t,t],[0,1,125,"Again",0,t,0,t,t,t],[0,1,126,"Undo",0,t,0,t,t,t],[0,1,127,"Cut",0,t,0,t,t,t],[0,1,128,"Copy",0,t,0,t,t,t],[0,1,129,"Paste",0,t,0,t,t,t],[0,1,130,"Find",0,t,0,t,t,t],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",t,t],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",t,t],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",t,t],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",t,t],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",t,t],[0,1,136,"KanaMode",0,t,0,t,t,t],[0,0,137,"IntlYen",0,t,0,t,t,t],[0,1,138,"Convert",0,t,0,t,t,t],[0,1,139,"NonConvert",0,t,0,t,t,t],[0,1,140,"Lang1",0,t,0,t,t,t],[0,1,141,"Lang2",0,t,0,t,t,t],[0,1,142,"Lang3",0,t,0,t,t,t],[0,1,143,"Lang4",0,t,0,t,t,t],[0,1,144,"Lang5",0,t,0,t,t,t],[0,1,145,"Abort",0,t,0,t,t,t],[0,1,146,"Props",0,t,0,t,t,t],[0,1,147,"NumpadParenLeft",0,t,0,t,t,t],[0,1,148,"NumpadParenRight",0,t,0,t,t,t],[0,1,149,"NumpadBackspace",0,t,0,t,t,t],[0,1,150,"NumpadMemoryStore",0,t,0,t,t,t],[0,1,151,"NumpadMemoryRecall",0,t,0,t,t,t],[0,1,152,"NumpadMemoryClear",0,t,0,t,t,t],[0,1,153,"NumpadMemoryAdd",0,t,0,t,t,t],[0,1,154,"NumpadMemorySubtract",0,t,0,t,t,t],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",t,t],[0,1,156,"NumpadClearEntry",0,t,0,t,t,t],[5,1,0,t,5,"Ctrl",17,"VK_CONTROL",t,t],[4,1,0,t,4,"Shift",16,"VK_SHIFT",t,t],[6,1,0,t,6,"Alt",18,"VK_MENU",t,t],[57,1,0,t,57,"Meta",0,"VK_COMMAND",t,t],[5,1,157,"ControlLeft",5,t,0,"VK_LCONTROL",t,t],[4,1,158,"ShiftLeft",4,t,0,"VK_LSHIFT",t,t],[6,1,159,"AltLeft",6,t,0,"VK_LMENU",t,t],[57,1,160,"MetaLeft",57,t,0,"VK_LWIN",t,t],[5,1,161,"ControlRight",5,t,0,"VK_RCONTROL",t,t],[4,1,162,"ShiftRight",4,t,0,"VK_RSHIFT",t,t],[6,1,163,"AltRight",6,t,0,"VK_RMENU",t,t],[57,1,164,"MetaRight",57,t,0,"VK_RWIN",t,t],[0,1,165,"BrightnessUp",0,t,0,t,t,t],[0,1,166,"BrightnessDown",0,t,0,t,t,t],[0,1,167,"MediaPlay",0,t,0,t,t,t],[0,1,168,"MediaRecord",0,t,0,t,t,t],[0,1,169,"MediaFastForward",0,t,0,t,t,t],[0,1,170,"MediaRewind",0,t,0,t,t,t],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",t,t],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",t,t],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",t,t],[0,1,174,"Eject",0,t,0,t,t,t],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",t,t],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",t,t],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",t,t],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",t,t],[0,1,179,"LaunchApp1",0,t,0,"VK_MEDIA_LAUNCH_APP1",t,t],[0,1,180,"SelectTask",0,t,0,t,t,t],[0,1,181,"LaunchScreenSaver",0,t,0,t,t,t],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",t,t],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",t,t],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",t,t],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",t,t],[0,1,186,"BrowserStop",0,t,0,"VK_BROWSER_STOP",t,t],[0,1,187,"BrowserRefresh",0,t,0,"VK_BROWSER_REFRESH",t,t],[0,1,188,"BrowserFavorites",0,t,0,"VK_BROWSER_FAVORITES",t,t],[0,1,189,"ZoomToggle",0,t,0,t,t,t],[0,1,190,"MailReply",0,t,0,t,t,t],[0,1,191,"MailForward",0,t,0,t,t,t],[0,1,192,"MailSend",0,t,0,t,t,t],[109,1,0,t,109,"KeyInComposition",229,t,t,t],[111,1,0,t,111,"ABNT_C2",194,"VK_ABNT_C2",t,t],[91,1,0,t,91,"OEM_8",223,"VK_OEM_8",t,t],[0,1,0,t,0,t,0,"VK_KANA",t,t],[0,1,0,t,0,t,0,"VK_HANGUL",t,t],[0,1,0,t,0,t,0,"VK_JUNJA",t,t],[0,1,0,t,0,t,0,"VK_FINAL",t,t],[0,1,0,t,0,t,0,"VK_HANJA",t,t],[0,1,0,t,0,t,0,"VK_KANJI",t,t],[0,1,0,t,0,t,0,"VK_CONVERT",t,t],[0,1,0,t,0,t,0,"VK_NONCONVERT",t,t],[0,1,0,t,0,t,0,"VK_ACCEPT",t,t],[0,1,0,t,0,t,0,"VK_MODECHANGE",t,t],[0,1,0,t,0,t,0,"VK_SELECT",t,t],[0,1,0,t,0,t,0,"VK_PRINT",t,t],[0,1,0,t,0,t,0,"VK_EXECUTE",t,t],[0,1,0,t,0,t,0,"VK_SNAPSHOT",t,t],[0,1,0,t,0,t,0,"VK_HELP",t,t],[0,1,0,t,0,t,0,"VK_APPS",t,t],[0,1,0,t,0,t,0,"VK_PROCESSKEY",t,t],[0,1,0,t,0,t,0,"VK_PACKET",t,t],[0,1,0,t,0,t,0,"VK_DBE_SBCSCHAR",t,t],[0,1,0,t,0,t,0,"VK_DBE_DBCSCHAR",t,t],[0,1,0,t,0,t,0,"VK_ATTN",t,t],[0,1,0,t,0,t,0,"VK_CRSEL",t,t],[0,1,0,t,0,t,0,"VK_EXSEL",t,t],[0,1,0,t,0,t,0,"VK_EREOF",t,t],[0,1,0,t,0,t,0,"VK_PLAY",t,t],[0,1,0,t,0,t,0,"VK_ZOOM",t,t],[0,1,0,t,0,t,0,"VK_NONAME",t,t],[0,1,0,t,0,t,0,"VK_PA1",t,t],[0,1,0,t,0,t,0,"VK_OEM_CLEAR",t,t]];let h=[],v=[];for(const L of d){const[C,y,p,s,i,a,l,f,u,_]=L;if(v[p]||(v[p]=!0,w[p]=s,g[s]=p,c[s.toLowerCase()]=p,y&&(r.IMMUTABLE_CODE_TO_KEY_CODE[p]=i,i!==0&&i!==3&&i!==5&&i!==4&&i!==6&&i!==57&&(r.IMMUTABLE_KEY_CODE_TO_CODE[i]=p))),!h[i]){if(h[i]=!0,!a)throw new Error(`String representation missing for key code ${i} around scan code ${s}`);e.define(i,a),N.define(i,u||a),o.define(i,_||u||a)}l&&(r.EVENT_KEY_CODE_MAP[l]=i),f&&(r.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[f]=i)}r.IMMUTABLE_KEY_CODE_TO_CODE[3]=46})();var m;(function(t){function d(p){return e.keyCodeToStr(p)}t.toString=d;function h(p){return e.strToKeyCode(p)}t.fromString=h;function v(p){return N.keyCodeToStr(p)}t.toUserSettingsUS=v;function L(p){return o.keyCodeToStr(p)}t.toUserSettingsGeneral=L;function C(p){return N.strToKeyCode(p)||o.strToKeyCode(p)}t.fromUserSettings=C;function y(p){if(p>=93&&p<=108)return null;switch(p){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return e.keyCodeToStr(p)}t.toElectronAccelerator=y})(m=r.KeyCodeUtils||(r.KeyCodeUtils={}));function S(t,d){const h=(d&65535)<<16>>>0;return(t|h)>>>0}r.KeyChord=S}),Y(Q[23],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Lazy=void 0;class E{constructor(N){this.executor=N,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(N){this._error=N}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}r.Lazy=E}),Y(Q[8],Z([0,1,20,21]),function(U,r,E,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ImmortalReference=r.SafeDisposable=r.MutableDisposable=r.Disposable=r.DisposableStore=r.toDisposable=r.combinedDisposable=r.dispose=r.isDisposable=r.MultiDisposeError=r.markAsSingleton=r.setDisposableTracker=void 0;const N=!1;let o=null;function w(l){o=l}if(r.setDisposableTracker=w,N){const l="__is_disposable_tracked__";w(new class{trackDisposable(f){const u=new Error("Potentially leaked disposable").stack;setTimeout(()=>{f[l]||console.log(u)},3e3)}setParent(f,u){if(f&&f!==p.None)try{f[l]=!0}catch{}}markAsDisposed(f){if(f&&f!==p.None)try{f[l]=!0}catch{}}markAsSingleton(f){}})}function g(l){return o==null||o.trackDisposable(l),l}function c(l){o==null||o.markAsDisposed(l)}function m(l,f){o==null||o.setParent(l,f)}function S(l,f){if(!!o)for(const u of l)o.setParent(u,f)}function t(l){return o==null||o.markAsSingleton(l),l}r.markAsSingleton=t;class d extends Error{constructor(f){super(`Encountered errors while disposing of store. Errors: [${f.join(", ")}]`);this.errors=f}}r.MultiDisposeError=d;function h(l){return typeof l.dispose=="function"&&l.dispose.length===0}r.isDisposable=h;function v(l){if(e.Iterable.is(l)){let f=[];for(const u of l)if(u)try{u.dispose()}catch(_){f.push(_)}if(f.length===1)throw f[0];if(f.length>1)throw new d(f);return Array.isArray(l)?[]:l}else if(l)return l.dispose(),l}r.dispose=v;function L(...l){const f=C(()=>v(l));return S(l,f),f}r.combinedDisposable=L;function C(l){const f=g({dispose:(0,E.once)(()=>{c(f),l()})});return f}r.toDisposable=C;class y{constructor(){this._toDispose=new Set,this._isDisposed=!1,g(this)}dispose(){this._isDisposed||(c(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{v(this._toDispose.values())}finally{this._toDispose.clear()}}add(f){if(!f)return f;if(f===this)throw new Error("Cannot register a disposable on itself!");return m(f,this),this._isDisposed?y.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(f),f}}r.DisposableStore=y,y.DISABLE_DISPOSED_WARNING=!1;class p{constructor(){this._store=new y,g(this),m(this._store,this)}dispose(){c(this),this._store.dispose()}_register(f){if(f===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(f)}}r.Disposable=p,p.None=Object.freeze({dispose(){}});class s{constructor(){this._isDisposed=!1,g(this)}get value(){return this._isDisposed?void 0:this._value}set value(f){var u;this._isDisposed||f===this._value||((u=this._value)===null||u===void 0||u.dispose(),f&&m(f,this),this._value=f)}clear(){this.value=void 0}dispose(){var f;this._isDisposed=!0,c(this),(f=this._value)===null||f===void 0||f.dispose(),this._value=void 0}clearAndLeak(){const f=this._value;return this._value=void 0,f&&m(f,null),f}}r.MutableDisposable=s;class i{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,g(this)}set(f){let u=f;return this.unset=()=>u=void 0,this.isset=()=>u!==void 0,this.dispose=()=>{u&&(u(),u=void 0,c(this))},this}}r.SafeDisposable=i;class a{constructor(f){this.object=f}dispose(){}}r.ImmortalReference=a}),Y(Q[24],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LinkedList=void 0;class E{constructor(o){this.element=o,this.next=E.Undefined,this.prev=E.Undefined}}E.Undefined=new E(void 0);class e{constructor(){this._first=E.Undefined,this._last=E.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===E.Undefined}clear(){let o=this._first;for(;o!==E.Undefined;){const w=o.next;o.prev=E.Undefined,o.next=E.Undefined,o=w}this._first=E.Undefined,this._last=E.Undefined,this._size=0}unshift(o){return this._insert(o,!1)}push(o){return this._insert(o,!0)}_insert(o,w){const g=new E(o);if(this._first===E.Undefined)this._first=g,this._last=g;else if(w){const m=this._last;this._last=g,g.prev=m,m.next=g}else{const m=this._first;this._first=g,g.next=m,m.prev=g}this._size+=1;let c=!1;return()=>{c||(c=!0,this._remove(g))}}shift(){if(this._first!==E.Undefined){const o=this._first.element;return this._remove(this._first),o}}pop(){if(this._last!==E.Undefined){const o=this._last.element;return this._remove(this._last),o}}_remove(o){if(o.prev!==E.Undefined&&o.next!==E.Undefined){const w=o.prev;w.next=o.next,o.next.prev=w}else o.prev===E.Undefined&&o.next===E.Undefined?(this._first=E.Undefined,this._last=E.Undefined):o.next===E.Undefined?(this._last=this._last.prev,this._last.next=E.Undefined):o.prev===E.Undefined&&(this._first=this._first.next,this._first.prev=E.Undefined);this._size-=1}*[Symbol.iterator](){let o=this._first;for(;o!==E.Undefined;)yield o.element,o=o.next}}r.LinkedList=e}),Y(Q[5],Z([0,1]),function(U,r){"use strict";var E;Object.defineProperty(r,"__esModule",{value:!0}),r.isAndroid=r.isEdge=r.isSafari=r.isFirefox=r.isChrome=r.isLittleEndian=r.OS=r.setTimeout0=r.language=r.userAgent=r.isIOS=r.isWebWorker=r.isWeb=r.isNative=r.isLinux=r.isMacintosh=r.isWindows=r.globals=void 0;const e="en";let N=!1,o=!1,w=!1,g=!1,c=!1,m=!1,S=!1,t=!1,d=!1,h,v=e,L,C;r.globals=typeof self=="object"?self:typeof global=="object"?global:{};let y;typeof r.globals.vscode!="undefined"&&typeof r.globals.vscode.process!="undefined"?y=r.globals.vscode.process:typeof process!="undefined"&&(y=process);const p=typeof((E=y==null?void 0:y.versions)===null||E===void 0?void 0:E.electron)=="string",s=p&&(y==null?void 0:y.type)==="renderer";if(typeof navigator=="object"&&!s)C=navigator.userAgent,N=C.indexOf("Windows")>=0,o=C.indexOf("Macintosh")>=0,t=(C.indexOf("Macintosh")>=0||C.indexOf("iPad")>=0||C.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,w=C.indexOf("Linux")>=0,m=!0,h=navigator.language,v=h;else if(typeof y=="object"){N=y.platform==="win32",o=y.platform==="darwin",w=y.platform==="linux",g=w&&!!y.env.SNAP&&!!y.env.SNAP_REVISION,S=p,d=!!y.env.CI||!!y.env.BUILD_ARTIFACTSTAGINGDIRECTORY,h=e,v=e;const u=y.env.VSCODE_NLS_CONFIG;if(u)try{const _=JSON.parse(u),b=_.availableLanguages["*"];h=_.locale,v=b||e,L=_._translationsConfigFile}catch{}c=!0}else console.error("Unable to resolve platform.");let i=0;o?i=1:N?i=3:w&&(i=2),r.isWindows=N,r.isMacintosh=o,r.isLinux=w,r.isNative=c,r.isWeb=m,r.isWebWorker=m&&typeof r.globals.importScripts=="function",r.isIOS=t,r.userAgent=C,r.language=v,r.setTimeout0=(()=>{if(typeof r.globals.postMessage=="function"&&!r.globals.importScripts){let u=[];r.globals.addEventListener("message",b=>{if(b.data&&b.data.vscodeScheduleAsyncWork)for(let A=0,P=u.length;A {const A=++_;u.push({id:A,callback:b}),r.globals.postMessage({vscodeScheduleAsyncWork:A},"*")}}return u=>setTimeout(u)})(),r.OS=o||t?2:N?1:3;let a=!0,l=!1;function f(){if(!l){l=!0;const u=new Uint8Array(2);u[0]=1,u[1]=2,a=new Uint16Array(u.buffer)[0]===(2<<8)+1}return a}r.isLittleEndian=f,r.isChrome=!!(r.userAgent&&r.userAgent.indexOf("Chrome")>=0),r.isFirefox=!!(r.userAgent&&r.userAgent.indexOf("Firefox")>=0),r.isSafari=!!(!r.isChrome&&r.userAgent&&r.userAgent.indexOf("Safari")>=0),r.isEdge=!!(r.userAgent&&r.userAgent.indexOf("Edg/")>=0),r.isAndroid=!!(r.userAgent&&r.userAgent.indexOf("Android")>=0)}),Y(Q[25],Z([0,1,5]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.platform=r.env=r.cwd=void 0;let e;if(typeof E.globals.vscode!="undefined"&&typeof E.globals.vscode.process!="undefined"){const N=E.globals.vscode.process;e={get platform(){return N.platform},get arch(){return N.arch},get env(){return N.env},cwd(){return N.cwd()}}}else typeof process!="undefined"?e={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:e={get platform(){return E.isWindows?"win32":E.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};r.cwd=e.cwd,r.env=e.env,r.platform=e.platform}),Y(Q[26],Z([0,1,25]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.sep=r.extname=r.basename=r.dirname=r.relative=r.resolve=r.normalize=r.posix=r.win32=void 0;const e=65,N=97,o=90,w=122,g=46,c=47,m=92,S=58,t=63;class d extends Error{constructor(i,a,l){let f;typeof a=="string"&&a.indexOf("not ")===0?(f="must not be",a=a.replace(/^not /,"")):f="must be";const u=i.indexOf(".")!==-1?"property":"argument";let _=`The "${i}" ${u} ${f} of type ${a}`;_+=`. Received type ${typeof l}`;super(_);this.code="ERR_INVALID_ARG_TYPE"}}function h(s,i){if(typeof s!="string")throw new d(i,"string",s)}function v(s){return s===c||s===m}function L(s){return s===c}function C(s){return s>=e&&s<=o||s>=N&&s<=w}function y(s,i,a,l){let f="",u=0,_=-1,b=0,A=0;for(let P=0;P<=s.length;++P){if(P
2){const D=f.lastIndexOf(a);D===-1?(f="",u=0):(f=f.slice(0,D),u=f.length-1-f.lastIndexOf(a)),_=P,b=0;continue}else if(f.length!==0){f="",u=0,_=P,b=0;continue}}i&&(f+=f.length>0?`${a}..`:"..",u=2)}else f.length>0?f+=`${a}${s.slice(_+1,P)}`:f=s.slice(_+1,P),u=P-_-1;_=P,b=0}else A===g&&b!==-1?++b:b=-1}return f}function p(s,i){if(i===null||typeof i!="object")throw new d("pathObject","Object",i);const a=i.dir||i.root,l=i.base||`${i.name||""}${i.ext||""}`;return a?a===i.root?`${a}${l}`:`${a}${s}${l}`:l}r.win32={resolve(...s){let i="",a="",l=!1;for(let f=s.length-1;f>=-1;f--){let u;if(f>=0){if(u=s[f],h(u,"path"),u.length===0)continue}else i.length===0?u=E.cwd():(u=E.env[`=${i}`]||E.cwd(),(u===void 0||u.slice(0,2).toLowerCase()!==i.toLowerCase()&&u.charCodeAt(2)===m)&&(u=`${i}\\`));const _=u.length;let b=0,A="",P=!1;const D=u.charCodeAt(0);if(_===1)v(D)&&(b=1,P=!0);else if(v(D))if(P=!0,v(u.charCodeAt(1))){let k=2,R=k;for(;k<_&&!v(u.charCodeAt(k));)k++;if(k<_&&k!==R){const I=u.slice(R,k);for(R=k;k<_&&v(u.charCodeAt(k));)k++;if(k<_&&k!==R){for(R=k;k<_&&!v(u.charCodeAt(k));)k++;(k===_||k!==R)&&(A=`\\\\${I}\\${u.slice(R,k)}`,b=k)}}}else b=1;else C(D)&&u.charCodeAt(1)===S&&(A=u.slice(0,2),b=2,_>2&&v(u.charCodeAt(2))&&(P=!0,b=3));if(A.length>0)if(i.length>0){if(A.toLowerCase()!==i.toLowerCase())continue}else i=A;if(l){if(i.length>0)break}else if(a=`${u.slice(b)}\\${a}`,l=P,P&&i.length>0)break}return a=y(a,!l,"\\",v),l?`${i}\\${a}`:`${i}${a}`||"."},normalize(s){h(s,"path");const i=s.length;if(i===0)return".";let a=0,l,f=!1;const u=s.charCodeAt(0);if(i===1)return L(u)?"\\":s;if(v(u))if(f=!0,v(s.charCodeAt(1))){let b=2,A=b;for(;b2&&v(s.charCodeAt(2))&&(f=!0,a=3));let _=a0&&v(s.charCodeAt(i-1))&&(_+="\\"),l===void 0?f?`\\${_}`:_:f?`${l}\\${_}`:`${l}${_}`},isAbsolute(s){h(s,"path");const i=s.length;if(i===0)return!1;const a=s.charCodeAt(0);return v(a)||i>2&&C(a)&&s.charCodeAt(1)===S&&v(s.charCodeAt(2))},join(...s){if(s.length===0)return".";let i,a;for(let u=0;u 0&&(i===void 0?i=a=_:i+=`\\${_}`)}if(i===void 0)return".";let l=!0,f=0;if(typeof a=="string"&&v(a.charCodeAt(0))){++f;const u=a.length;u>1&&v(a.charCodeAt(1))&&(++f,u>2&&(v(a.charCodeAt(2))?++f:l=!1))}if(l){for(;f =2&&(i=`\\${i.slice(f)}`)}return r.win32.normalize(i)},relative(s,i){if(h(s,"from"),h(i,"to"),s===i)return"";const a=r.win32.resolve(s),l=r.win32.resolve(i);if(a===l||(s=a.toLowerCase(),i=l.toLowerCase(),s===i))return"";let f=0;for(;f f&&s.charCodeAt(u-1)===m;)u--;const _=u-f;let b=0;for(;b b&&i.charCodeAt(A-1)===m;)A--;const P=A-b,D=_ D){if(i.charCodeAt(b+R)===m)return l.slice(b+R+1);if(R===2)return l.slice(b+R)}_>D&&(s.charCodeAt(f+R)===m?k=R:R===2&&(k=3)),k===-1&&(k=0)}let I="";for(R=f+k+1;R<=u;++R)(R===u||s.charCodeAt(R)===m)&&(I+=I.length===0?"..":"\\..");return b+=k,I.length>0?`${I}${l.slice(b,A)}`:(l.charCodeAt(b)===m&&++b,l.slice(b,A))},toNamespacedPath(s){if(typeof s!="string")return s;if(s.length===0)return"";const i=r.win32.resolve(s);if(i.length<=2)return s;if(i.charCodeAt(0)===m){if(i.charCodeAt(1)===m){const a=i.charCodeAt(2);if(a!==t&&a!==g)return`\\\\?\\UNC\\${i.slice(2)}`}}else if(C(i.charCodeAt(0))&&i.charCodeAt(1)===S&&i.charCodeAt(2)===m)return`\\\\?\\${i}`;return s},dirname(s){h(s,"path");const i=s.length;if(i===0)return".";let a=-1,l=0;const f=s.charCodeAt(0);if(i===1)return v(f)?s:".";if(v(f)){if(a=l=1,v(s.charCodeAt(1))){let b=2,A=b;for(;b2&&v(s.charCodeAt(2))?3:2,l=a);let u=-1,_=!0;for(let b=i-1;b>=l;--b)if(v(s.charCodeAt(b))){if(!_){u=b;break}}else _=!1;if(u===-1){if(a===-1)return".";u=a}return s.slice(0,u)},basename(s,i){i!==void 0&&h(i,"ext"),h(s,"path");let a=0,l=-1,f=!0,u;if(s.length>=2&&C(s.charCodeAt(0))&&s.charCodeAt(1)===S&&(a=2),i!==void 0&&i.length>0&&i.length<=s.length){if(i===s)return"";let _=i.length-1,b=-1;for(u=s.length-1;u>=a;--u){const A=s.charCodeAt(u);if(v(A)){if(!f){a=u+1;break}}else b===-1&&(f=!1,b=u+1),_>=0&&(A===i.charCodeAt(_)?--_==-1&&(l=u):(_=-1,l=b))}return a===l?l=b:l===-1&&(l=s.length),s.slice(a,l)}for(u=s.length-1;u>=a;--u)if(v(s.charCodeAt(u))){if(!f){a=u+1;break}}else l===-1&&(f=!1,l=u+1);return l===-1?"":s.slice(a,l)},extname(s){h(s,"path");let i=0,a=-1,l=0,f=-1,u=!0,_=0;s.length>=2&&s.charCodeAt(1)===S&&C(s.charCodeAt(0))&&(i=l=2);for(let b=s.length-1;b>=i;--b){const A=s.charCodeAt(b);if(v(A)){if(!u){l=b+1;break}continue}f===-1&&(u=!1,f=b+1),A===g?a===-1?a=b:_!==1&&(_=1):a!==-1&&(_=-1)}return a===-1||f===-1||_===0||_===1&&a===f-1&&a===l+1?"":s.slice(a,f)},format:p.bind(null,"\\"),parse(s){h(s,"path");const i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;const a=s.length;let l=0,f=s.charCodeAt(0);if(a===1)return v(f)?(i.root=i.dir=s,i):(i.base=i.name=s,i);if(v(f)){if(l=1,v(s.charCodeAt(1))){let k=2,R=k;for(;k0&&(i.root=s.slice(0,l));let u=-1,_=l,b=-1,A=!0,P=s.length-1,D=0;for(;P>=l;--P){if(f=s.charCodeAt(P),v(f)){if(!A){_=P+1;break}continue}b===-1&&(A=!1,b=P+1),f===g?u===-1?u=P:D!==1&&(D=1):u!==-1&&(D=-1)}return b!==-1&&(u===-1||D===0||D===1&&u===b-1&&u===_+1?i.base=i.name=s.slice(_,b):(i.name=s.slice(_,u),i.base=s.slice(_,b),i.ext=s.slice(u,b))),_>0&&_!==l?i.dir=s.slice(0,_-1):i.dir=i.root,i},sep:"\\",delimiter:";",win32:null,posix:null},r.posix={resolve(...s){let i="",a=!1;for(let l=s.length-1;l>=-1&&!a;l--){const f=l>=0?s[l]:E.cwd();h(f,"path"),f.length!==0&&(i=`${f}/${i}`,a=f.charCodeAt(0)===c)}return i=y(i,!a,"/",L),a?`/${i}`:i.length>0?i:"."},normalize(s){if(h(s,"path"),s.length===0)return".";const i=s.charCodeAt(0)===c,a=s.charCodeAt(s.length-1)===c;return s=y(s,!i,"/",L),s.length===0?i?"/":a?"./":".":(a&&(s+="/"),i?`/${s}`:s)},isAbsolute(s){return h(s,"path"),s.length>0&&s.charCodeAt(0)===c},join(...s){if(s.length===0)return".";let i;for(let a=0;a
0&&(i===void 0?i=l:i+=`/${l}`)}return i===void 0?".":r.posix.normalize(i)},relative(s,i){if(h(s,"from"),h(i,"to"),s===i||(s=r.posix.resolve(s),i=r.posix.resolve(i),s===i))return"";const a=1,l=s.length,f=l-a,u=1,_=i.length-u,b=f<_?f:_;let A=-1,P=0;for(;Pb){if(i.charCodeAt(u+P)===c)return i.slice(u+P+1);if(P===0)return i.slice(u+P)}else f>b&&(s.charCodeAt(a+P)===c?A=P:P===0&&(A=0));let D="";for(P=a+A+1;P<=l;++P)(P===l||s.charCodeAt(P)===c)&&(D+=D.length===0?"..":"/..");return`${D}${i.slice(u+A)}`},toNamespacedPath(s){return s},dirname(s){if(h(s,"path"),s.length===0)return".";const i=s.charCodeAt(0)===c;let a=-1,l=!0;for(let f=s.length-1;f>=1;--f)if(s.charCodeAt(f)===c){if(!l){a=f;break}}else l=!1;return a===-1?i?"/":".":i&&a===1?"//":s.slice(0,a)},basename(s,i){i!==void 0&&h(i,"ext"),h(s,"path");let a=0,l=-1,f=!0,u;if(i!==void 0&&i.length>0&&i.length<=s.length){if(i===s)return"";let _=i.length-1,b=-1;for(u=s.length-1;u>=0;--u){const A=s.charCodeAt(u);if(A===c){if(!f){a=u+1;break}}else b===-1&&(f=!1,b=u+1),_>=0&&(A===i.charCodeAt(_)?--_==-1&&(l=u):(_=-1,l=b))}return a===l?l=b:l===-1&&(l=s.length),s.slice(a,l)}for(u=s.length-1;u>=0;--u)if(s.charCodeAt(u)===c){if(!f){a=u+1;break}}else l===-1&&(f=!1,l=u+1);return l===-1?"":s.slice(a,l)},extname(s){h(s,"path");let i=-1,a=0,l=-1,f=!0,u=0;for(let _=s.length-1;_>=0;--_){const b=s.charCodeAt(_);if(b===c){if(!f){a=_+1;break}continue}l===-1&&(f=!1,l=_+1),b===g?i===-1?i=_:u!==1&&(u=1):i!==-1&&(u=-1)}return i===-1||l===-1||u===0||u===1&&i===l-1&&i===a+1?"":s.slice(i,l)},format:p.bind(null,"/"),parse(s){h(s,"path");const i={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return i;const a=s.charCodeAt(0)===c;let l;a?(i.root="/",l=1):l=0;let f=-1,u=0,_=-1,b=!0,A=s.length-1,P=0;for(;A>=l;--A){const D=s.charCodeAt(A);if(D===c){if(!b){u=A+1;break}continue}_===-1&&(b=!1,_=A+1),D===g?f===-1?f=A:P!==1&&(P=1):f!==-1&&(P=-1)}if(_!==-1){const D=u===0&&a?1:u;f===-1||P===0||P===1&&f===_-1&&f===u+1?i.base=i.name=s.slice(D,_):(i.name=s.slice(D,f),i.base=s.slice(D,_),i.ext=s.slice(f,_))}return u>0?i.dir=s.slice(0,u-1):a&&(i.dir="/"),i},sep:"/",delimiter:":",win32:null,posix:null},r.posix.win32=r.win32.win32=r.win32,r.posix.posix=r.win32.posix=r.posix,r.normalize=E.platform==="win32"?r.win32.normalize:r.posix.normalize,r.resolve=E.platform==="win32"?r.win32.resolve:r.posix.resolve,r.relative=E.platform==="win32"?r.win32.relative:r.posix.relative,r.dirname=E.platform==="win32"?r.win32.dirname:r.posix.dirname,r.basename=E.platform==="win32"?r.win32.basename:r.posix.basename,r.extname=E.platform==="win32"?r.win32.extname:r.posix.extname,r.sep=E.platform==="win32"?r.win32.sep:r.posix.sep}),Y(Q[11],Z([0,1,5]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StopWatch=void 0;const e=E.globals.performance&&typeof E.globals.performance.now=="function";class N{constructor(w){this._highResolution=e&&w,this._startTime=this._now(),this._stopTime=-1}static create(w=!0){return new N(w)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?E.globals.performance.now():Date.now()}}r.StopWatch=N}),Y(Q[6],Z([0,1,10,8,24,11]),function(U,r,E,e,N,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Relay=r.EventBufferer=r.DebounceEmitter=r.PauseableEmitter=r.Emitter=r.Event=void 0;let w=!1,g=!1;var c;(function(s){s.None=()=>e.Disposable.None;function i(X){if(g){const{onListenerDidAdd:q}=X,G=d.create();let H=0;X.onListenerDidAdd=()=>{++H==2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),G.print()),q==null||q()}}}function a(X){return(q,G=null,H)=>{let J=!1,x;return x=X(ee=>{if(!J)return x?x.dispose():J=!0,q.call(G,ee)},null,H),J&&x.dispose(),x}}s.once=a;function l(X,q,G){return P((H,J=null,x)=>X(ee=>H.call(J,q(ee)),null,x),G)}s.map=l;function f(X,q,G){return P((H,J=null,x)=>X(ee=>{q(ee),H.call(J,ee)},null,x),G)}s.forEach=f;function u(X,q,G){return P((H,J=null,x)=>X(ee=>q(ee)&&H.call(J,ee),null,x),G)}s.filter=u;function _(X){return X}s.signal=_;function b(...X){return(q,G=null,H)=>(0,e.combinedDisposable)(...X.map(J=>J(x=>q.call(G,x),null,H)))}s.any=b;function A(X,q,G,H){let J=G;return l(X,x=>(J=q(J,x),J),H)}s.reduce=A;function P(X,q){let G;const H={onFirstListenerAdd(){G=X(J.fire,J)},onLastListenerRemove(){G.dispose()}};q||i(H);const J=new v(H);return q&&q.add(J),J.event}function D(X,q,G=100,H=!1,J,x){let ee,ie,he,_e=0;const be={leakWarningThreshold:J,onFirstListenerAdd(){ee=X(Ce=>{_e++,ie=q(ie,Ce),H&&!he&&(me.fire(ie),ie=void 0),clearTimeout(he),he=setTimeout(()=>{const le=ie;ie=void 0,he=void 0,(!H||_e>1)&&me.fire(le),_e=0},G)})},onLastListenerRemove(){ee.dispose()}};x||i(be);const me=new v(be);return x&&x.add(me),me.event}s.debounce=D;function k(X,q=(H,J)=>H===J,G){let H=!0,J;return u(X,x=>{const ee=H||!q(x,J);return H=!1,J=x,ee},G)}s.latch=k;function R(X,q,G){return[s.filter(X,q,G),s.filter(X,H=>!q(H),G)]}s.split=R;function I(X,q=!1,G=[]){let H=G.slice(),J=X(ie=>{H?H.push(ie):ee.fire(ie)});const x=()=>{H&&H.forEach(ie=>ee.fire(ie)),H=null},ee=new v({onFirstListenerAdd(){J||(J=X(ie=>ee.fire(ie)))},onFirstListenerDidAdd(){H&&(q?setTimeout(x):x())},onLastListenerRemove(){J&&J.dispose(),J=null}});return ee.event}s.buffer=I;class F{constructor(q){this.event=q}map(q){return new F(l(this.event,q))}forEach(q){return new F(f(this.event,q))}filter(q){return new F(u(this.event,q))}reduce(q,G){return new F(A(this.event,q,G))}latch(){return new F(k(this.event))}debounce(q,G=100,H=!1,J){return new F(D(this.event,q,G,H,J))}on(q,G,H){return this.event(q,G,H)}once(q,G,H){return a(this.event)(q,G,H)}}function O(X){return new F(X)}s.chain=O;function V(X,q,G=H=>H){const H=(...ie)=>ee.fire(G(...ie)),J=()=>X.on(q,H),x=()=>X.removeListener(q,H),ee=new v({onFirstListenerAdd:J,onLastListenerRemove:x});return ee.event}s.fromNodeEventEmitter=V;function K(X,q,G=H=>H){const H=(...ie)=>ee.fire(G(...ie)),J=()=>X.addEventListener(q,H),x=()=>X.removeEventListener(q,H),ee=new v({onFirstListenerAdd:J,onLastListenerRemove:x});return ee.event}s.fromDOMEventEmitter=K;function $(X){return new Promise(q=>a(X)(q))}s.toPromise=$;function z(X,q){return q(void 0),X(G=>q(G))}s.runAndSubscribe=z;function n(X,q){let G=null;function H(x){G==null||G.dispose(),G=new e.DisposableStore,q(x,G)}H(void 0);const J=X(x=>H(x));return(0,e.toDisposable)(()=>{J.dispose(),G==null||G.dispose()})}s.runAndSubscribeWithStore=n})(c=r.Event||(r.Event={}));class m{constructor(i){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${i}_${m._idPool++}`}start(i){this._stopWatch=new o.StopWatch(!0),this._listenerCount=i}stop(){if(this._stopWatch){const i=this._stopWatch.elapsed();this._elapsedOverall+=i,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${i.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}m._idPool=0;let S=-1;class t{constructor(i,a=Math.random().toString(18).slice(2,5)){this.customThreshold=i,this.name=a,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(i,a){let l=S;if(typeof this.customThreshold=="number"&&(l=this.customThreshold),l<=0||a {const u=this._stacks.get(i.value)||0;this._stacks.set(i.value,u-1)}}}class d{constructor(i){this.value=i}static create(){var i;return new d((i=new Error().stack)!==null&&i!==void 0?i:"")}print(){console.warn(this.value.split(` +`).slice(2).join(` +`))}}class h{constructor(i,a,l){this.callback=i,this.callbackThis=a,this.stack=l,this.subscription=new e.SafeDisposable}invoke(i){this.callback.call(this.callbackThis,i)}}class v{constructor(i){var a;this._disposed=!1,this._options=i,this._leakageMon=S>0?new t(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=((a=this._options)===null||a===void 0?void 0:a._profName)?new m(this._options._profName):void 0}dispose(){var i,a,l,f;if(!this._disposed){if(this._disposed=!0,this._listeners){if(w){const u=Array.from(this._listeners);queueMicrotask(()=>{var _;for(const b of u)b.subscription.isset()&&(b.subscription.unset(),(_=b.stack)===null||_===void 0||_.print())})}this._listeners.clear()}(i=this._deliveryQueue)===null||i===void 0||i.clear(),(l=(a=this._options)===null||a===void 0?void 0:a.onLastListenerRemove)===null||l===void 0||l.call(a),(f=this._leakageMon)===null||f===void 0||f.dispose()}}get event(){return this._event||(this._event=(i,a,l)=>{var f,u,_;this._listeners||(this._listeners=new N.LinkedList);const b=this._listeners.isEmpty();b&&((f=this._options)===null||f===void 0?void 0:f.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let A,P;this._leakageMon&&this._listeners.size>=30&&(P=d.create(),A=this._leakageMon.check(P,this._listeners.size+1)),w&&(P=P??d.create());const D=new h(i,a,P),k=this._listeners.push(D);b&&((u=this._options)===null||u===void 0?void 0:u.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),((_=this._options)===null||_===void 0?void 0:_.onListenerDidAdd)&&this._options.onListenerDidAdd(this,i,a);const R=D.subscription.set(()=>{A&&A(),this._disposed||(k(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return l instanceof e.DisposableStore?l.add(R):Array.isArray(l)&&l.push(R),R}),this._event}fire(i){var a,l;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new N.LinkedList);for(let f of this._listeners)this._deliveryQueue.push([f,i]);for((a=this._perfMon)===null||a===void 0||a.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[f,u]=this._deliveryQueue.shift();try{f.invoke(u)}catch(_){(0,E.onUnexpectedError)(_)}}(l=this._perfMon)===null||l===void 0||l.stop()}}}r.Emitter=v;class L extends v{constructor(i){super(i);this._isPaused=0,this._eventQueue=new N.LinkedList,this._mergeFn=i==null?void 0:i.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){const i=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(i))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(i){this._listeners&&(this._isPaused!==0?this._eventQueue.push(i):super.fire(i))}}r.PauseableEmitter=L;class C extends L{constructor(i){var a;super(i);this._delay=(a=i.delay)!==null&&a!==void 0?a:100}fire(i){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(i)}}r.DebounceEmitter=C;class y{constructor(){this.buffers=[]}wrapEvent(i){return(a,l,f)=>i(u=>{const _=this.buffers[this.buffers.length-1];_?_.push(()=>a.call(l,u)):a.call(l,u)},void 0,f)}bufferEvents(i){const a=[];this.buffers.push(a);const l=i();return this.buffers.pop(),a.forEach(f=>f()),l}}r.EventBufferer=y;class p{constructor(){this.listening=!1,this.inputEvent=c.None,this.inputEventListener=e.Disposable.None,this.emitter=new v({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(i){this.inputEvent=i,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=i(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}r.Relay=p}),Y(Q[27],Z([0,1,6]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CancellationTokenSource=r.CancellationToken=void 0;const e=Object.freeze(function(g,c){const m=setTimeout(g.bind(c),0);return{dispose(){clearTimeout(m)}}});var N;(function(g){function c(m){return m===g.None||m===g.Cancelled||m instanceof o?!0:!m||typeof m!="object"?!1:typeof m.isCancellationRequested=="boolean"&&typeof m.onCancellationRequested=="function"}g.isCancellationToken=c,g.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:E.Event.None}),g.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:e})})(N=r.CancellationToken||(r.CancellationToken={}));class o{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?e:(this._emitter||(this._emitter=new E.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class w{constructor(c){this._token=void 0,this._parentListener=void 0,this._parentListener=c&&c.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new o),this._token}cancel(){this._token?this._token instanceof o&&this._token.cancel():this._token=N.Cancelled}dispose(c=!1){c&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof o&&this._token.dispose():this._token=N.None}}r.CancellationTokenSource=w}),Y(Q[2],Z([0,1,17,23]),function(U,r,E,e){"use strict";var N;Object.defineProperty(r,"__esModule",{value:!0}),r.InvisibleCharacters=r.AmbiguousCharacters=r.noBreakWhitespace=r.getLeftDeleteOffset=r.singleLetterHash=r.containsUppercaseCharacter=r.startsWithUTF8BOM=r.UTF8_BOM_CHARACTER=r.isEmojiImprecise=r.isFullWidthCharacter=r.containsUnusualLineTerminators=r.UNUSUAL_LINE_TERMINATORS=r.isBasicASCII=r.containsRTL=r.getCharContainingOffset=r.prevCharLength=r.nextCharLength=r.GraphemeIterator=r.CodePointIterator=r.getNextCodePoint=r.computeCodePoint=r.isLowSurrogate=r.isHighSurrogate=r.commonSuffixLength=r.commonPrefixLength=r.startsWithIgnoreCase=r.equalsIgnoreCase=r.isUpperAsciiLetter=r.isLowerAsciiLetter=r.compareSubstringIgnoreCase=r.compareIgnoreCase=r.compareSubstring=r.compare=r.lastNonWhitespaceIndex=r.getLeadingWhitespace=r.firstNonWhitespaceIndex=r.splitLines=r.regExpFlags=r.regExpLeadsToEndlessLoop=r.createRegExp=r.stripWildcards=r.convertSimple2RegExpPattern=r.rtrim=r.ltrim=r.trim=r.escapeRegExpCharacters=r.escape=r.format=r.isFalsyOrWhitespace=void 0;function o(M){return!M||typeof M!="string"?!0:M.trim().length===0}r.isFalsyOrWhitespace=o;const w=/{(\d+)}/g;function g(M,...T){return T.length===0?M:M.replace(w,function(B,W){const j=parseInt(W,10);return isNaN(j)||j<0||j>=T.length?B:T[j]})}r.format=g;function c(M){return M.replace(/[<>&]/g,function(T){switch(T){case"<":return"<";case">":return">";case"&":return"&";default:return T}})}r.escape=c;function m(M){return M.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}r.escapeRegExpCharacters=m;function S(M,T=" "){const B=t(M,T);return d(B,T)}r.trim=S;function t(M,T){if(!M||!T)return M;const B=T.length;if(B===0||M.length===0)return M;let W=0;for(;M.indexOf(T,W)===W;)W=W+B;return M.substring(W)}r.ltrim=t;function d(M,T){if(!M||!T)return M;const B=T.length,W=M.length;if(B===0||W===0)return M;let j=W,te=-1;for(;te=M.lastIndexOf(T,j-1),!(te===-1||te+B!==j);){if(te===0)return"";j=te}return M.substring(0,j)}r.rtrim=d;function h(M){return M.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}r.convertSimple2RegExpPattern=h;function v(M){return M.replace(/\*/g,"")}r.stripWildcards=v;function L(M,T,B={}){if(!M)throw new Error("Cannot create regex from empty string");T||(M=m(M)),B.wholeWord&&(/\B/.test(M.charAt(0))||(M="\\b"+M),/\B/.test(M.charAt(M.length-1))||(M=M+"\\b"));let W="";return B.global&&(W+="g"),B.matchCase||(W+="i"),B.multiline&&(W+="m"),B.unicode&&(W+="u"),new RegExp(M,W)}r.createRegExp=L;function C(M){return M.source==="^"||M.source==="^$"||M.source==="$"||M.source==="^\\s*$"?!1:!!(M.exec("")&&M.lastIndex===0)}r.regExpLeadsToEndlessLoop=C;function y(M){return(M.global?"g":"")+(M.ignoreCase?"i":"")+(M.multiline?"m":"")+(M.unicode?"u":"")}r.regExpFlags=y;function p(M){return M.split(/\r\n|\r|\n/)}r.splitLines=p;function s(M){for(let T=0,B=M.length;T=0;B--){const W=M.charCodeAt(B);if(W!==32&&W!==9)return B}return-1}r.lastNonWhitespaceIndex=a;function l(M,T){return M T?1:0}r.compare=l;function f(M,T,B=0,W=M.length,j=0,te=T.length){for(;B ne)return 1}const se=W-B,de=te-j;return se de?1:0}r.compareSubstring=f;function u(M,T){return _(M,T,0,M.length,0,T.length)}r.compareIgnoreCase=u;function _(M,T,B=0,W=M.length,j=0,te=T.length){for(;B =128||ne>=128)return f(M.toLowerCase(),T.toLowerCase(),B,W,j,te);b(ce)&&(ce-=32),b(ne)&&(ne-=32);const ae=ce-ne;if(ae!==0)return ae}const se=W-B,de=te-j;return se de?1:0}r.compareSubstringIgnoreCase=_;function b(M){return M>=97&&M<=122}r.isLowerAsciiLetter=b;function A(M){return M>=65&&M<=90}r.isUpperAsciiLetter=A;function P(M,T){return M.length===T.length&&_(M,T)===0}r.equalsIgnoreCase=P;function D(M,T){const B=T.length;return T.length>M.length?!1:_(M,T,0,B)===0}r.startsWithIgnoreCase=D;function k(M,T){let B,W=Math.min(M.length,T.length);for(B=0;B 1){const W=M.charCodeAt(T-2);if(I(W))return O(W,B)}return B}class ${constructor(T,B=0){this._str=T,this._len=T.length,this._offset=B}get offset(){return this._offset}setOffset(T){this._offset=T}prevCodePoint(){const T=K(this._str,this._offset);return this._offset-=T>=65536?2:1,T}nextCodePoint(){const T=V(this._str,this._len,this._offset);return this._offset+=T>=65536?2:1,T}eol(){return this._offset>=this._len}}r.CodePointIterator=$;class z{constructor(T,B=0){this._iterator=new $(T,B)}get offset(){return this._iterator.offset}nextGraphemeLength(){const T=le.getInstance(),B=this._iterator,W=B.offset;let j=T.getGraphemeBreakType(B.nextCodePoint());for(;!B.eol();){const te=B.offset,se=T.getGraphemeBreakType(B.nextCodePoint());if(Ce(j,se)){B.setOffset(te);break}j=se}return B.offset-W}prevGraphemeLength(){const T=le.getInstance(),B=this._iterator,W=B.offset;let j=T.getGraphemeBreakType(B.prevCodePoint());for(;B.offset>0;){const te=B.offset,se=T.getGraphemeBreakType(B.prevCodePoint());if(Ce(se,j)){B.setOffset(te);break}j=se}return W-B.offset}eol(){return this._iterator.eol()}}r.GraphemeIterator=z;function n(M,T){return new z(M,T).nextGraphemeLength()}r.nextCharLength=n;function X(M,T){return new z(M,T).prevGraphemeLength()}r.prevCharLength=X;function q(M,T){T>0&&F(M.charCodeAt(T))&&T--;const B=T+n(M,T);return[B-X(M,B),B]}r.getCharContainingOffset=q;const G=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function H(M){return G.test(M)}r.containsRTL=H;const J=/^[\t\n\r\x20-\x7E]*$/;function x(M){return J.test(M)}r.isBasicASCII=x,r.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function ee(M){return r.UNUSUAL_LINE_TERMINATORS.test(M)}r.containsUnusualLineTerminators=ee;function ie(M){return M>=11904&&M<=55215||M>=63744&&M<=64255||M>=65281&&M<=65374}r.isFullWidthCharacter=ie;function he(M){return M>=127462&&M<=127487||M===8986||M===8987||M===9200||M===9203||M>=9728&&M<=10175||M===11088||M===11093||M>=127744&&M<=128591||M>=128640&&M<=128764||M>=128992&&M<=129008||M>=129280&&M<=129535||M>=129648&&M<=129782}r.isEmojiImprecise=he,r.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function _e(M){return!!(M&&M.length>0&&M.charCodeAt(0)===65279)}r.startsWithUTF8BOM=_e;function be(M,T=!1){return M?(T&&(M=M.replace(/\\./g,"")),M.toLowerCase()!==M):!1}r.containsUppercaseCharacter=be;function me(M){const T=90-65+1;return M=M%(2*T),M B[3*j+1])j=2*j+1;else return B[3*j+2];return 0}}le._INSTANCE=null;function ye(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function Le(M,T){if(M===0)return 0;const B=Ne(M,T);if(B!==void 0)return B;const W=new $(T,M);return W.prevCodePoint(),W.offset}r.getLeftDeleteOffset=Le;function Ne(M,T){const B=new $(T,M);let W=B.prevCodePoint();for(;Ae(W)||W===65039||W===8419;){if(B.offset===0)return;W=B.prevCodePoint()}if(!he(W))return;let j=B.offset;return j>0&&B.prevCodePoint()===8205&&(j=B.offset),j}function Ae(M){return 127995<=M&&M<=127999}r.noBreakWhitespace="\xA0";class ue{constructor(T){this.confusableDictionary=T}static getInstance(T){return ue.cache.get(Array.from(T))}static getLocales(){return ue._locales.getValue()}isAmbiguous(T){return this.confusableDictionary.has(T)}getPrimaryConfusable(T){return this.confusableDictionary.get(T)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}r.AmbiguousCharacters=ue,N=ue,ue.ambiguousCharacterData=new e.Lazy(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),ue.cache=new E.LRUCachedComputed(M=>{function T(ne){const ae=new Map;for(let fe=0;fe !ne.startsWith("_")&&ne in j);te.length===0&&(te=["_default"]);let se;for(const ne of te){const ae=T(j[ne]);se=W(se,ae)}const de=T(j._common),ce=B(de,se);return new ue(ce)}),ue._locales=new e.Lazy(()=>Object.keys(ue.ambiguousCharacterData.getValue()).filter(M=>!M.startsWith("_")));class ge{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(ge.getRawData())),this._data}static isInvisibleCharacter(T){return ge.getData().has(T)}static get codePoints(){return ge.getData()}}r.InvisibleCharacters=ge,ge._data=void 0}),Y(Q[28],Z([0,1,2]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.StringSHA1=r.toHexString=r.stringHash=r.numberHash=r.doHash=r.hash=void 0;function e(L){return N(L,0)}r.hash=e;function N(L,C){switch(typeof L){case"object":return L===null?o(349,C):Array.isArray(L)?c(L,C):m(L,C);case"string":return g(L,C);case"boolean":return w(L,C);case"number":return o(L,C);case"undefined":return o(937,C);default:return o(617,C)}}r.doHash=N;function o(L,C){return(C<<5)-C+L|0}r.numberHash=o;function w(L,C){return o(L?433:863,C)}function g(L,C){C=o(149417,C);for(let y=0,p=L.length;y N(p,y),C)}function m(L,C){return C=o(181387,C),Object.keys(L).sort().reduce((y,p)=>(y=g(p,y),N(L[p],y)),C)}function S(L,C,y=32){const p=y-C,s=~((1<
>>p)>>>0}function t(L,C=0,y=L.byteLength,p=0){for(let s=0;s
y.toString(16).padStart(2,"0")).join(""):d((L>>>0).toString(16),C/4)}r.toHexString=h;class v{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(C){const y=C.length;if(y===0)return;const p=this._buff;let s=this._buffLen,i=this._leftoverHighSurrogate,a,l;for(i!==0?(a=i,l=-1,i=0):(a=C.charCodeAt(0),l=0);;){let f=a;if(E.isHighSurrogate(a))if(l+1 >>6,C[y++]=128|(p&63)>>>0):p<65536?(C[y++]=224|(p&61440)>>>12,C[y++]=128|(p&4032)>>>6,C[y++]=128|(p&63)>>>0):(C[y++]=240|(p&1835008)>>>18,C[y++]=128|(p&258048)>>>12,C[y++]=128|(p&4032)>>>6,C[y++]=128|(p&63)>>>0),y>=64&&(this._step(),y-=64,this._totalLen+=64,C[0]=C[64+0],C[1]=C[64+1],C[2]=C[64+2]),y}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),h(this._h0)+h(this._h1)+h(this._h2)+h(this._h3)+h(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,t(this._buff,this._buffLen),this._buffLen>56&&(this._step(),t(this._buff));const C=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(C/4294967296),!1),this._buffDV.setUint32(60,C%4294967296,!1),this._step()}_step(){const C=v._bigBlock32,y=this._buffDV;for(let b=0;b<64;b+=4)C.setUint32(b,y.getUint32(b,!1),!1);for(let b=64;b<320;b+=4)C.setUint32(b,S(C.getUint32(b-12,!1)^C.getUint32(b-32,!1)^C.getUint32(b-56,!1)^C.getUint32(b-64,!1),1),!1);let p=this._h0,s=this._h1,i=this._h2,a=this._h3,l=this._h4,f,u,_;for(let b=0;b<80;b++)b<20?(f=s&i|~s&a,u=1518500249):b<40?(f=s^i^a,u=1859775393):b<60?(f=s&i|s&a|i&a,u=2400959708):(f=s^i^a,u=3395469782),_=S(p,5)+f+l+u+C.getUint32(b*4,!1)&4294967295,l=a,a=i,i=S(s,30),s=p,p=_;this._h0=this._h0+p&4294967295,this._h1=this._h1+s&4294967295,this._h2=this._h2+i&4294967295,this._h3=this._h3+a&4294967295,this._h4=this._h4+l&4294967295}}r.StringSHA1=v,v._bigBlock32=new DataView(new ArrayBuffer(320))}),Y(Q[12],Z([0,1,19,28]),function(U,r,E,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.LcsDiff=r.MyArray=r.Debug=r.stringDiff=r.StringDiffSequence=void 0;class N{constructor(t){this.source=t}getElements(){const t=this.source,d=new Int32Array(t.length);for(let h=0,v=t.length;h 0||this.m_modifiedCount>0)&&this.m_changes.push(new E.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,d){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,d),this.m_originalCount++}AddModifiedElement(t,d){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,d),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class m{constructor(t,d,h=null){this.ContinueProcessingPredicate=h,this._originalSequence=t,this._modifiedSequence=d;const[v,L,C]=m._getElements(t),[y,p,s]=m._getElements(d);this._hasStrings=C&&s,this._originalStringElements=v,this._originalElementsOrHash=L,this._modifiedStringElements=y,this._modifiedElementsOrHash=p,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const d=t.getElements();if(m._isStringArray(d)){const h=new Int32Array(d.length);for(let v=0,L=d.length;v =t&&v>=h&&this.ElementsAreEqual(d,v);)d--,v--;if(t>d||h>v){let a;return h<=v?(w.Assert(t===d+1,"originalStart should only be one more than originalEnd"),a=[new E.DiffChange(t,0,h,v-h+1)]):t<=d?(w.Assert(h===v+1,"modifiedStart should only be one more than modifiedEnd"),a=[new E.DiffChange(t,d-t+1,h,0)]):(w.Assert(t===d+1,"originalStart should only be one more than originalEnd"),w.Assert(h===v+1,"modifiedStart should only be one more than modifiedEnd"),a=[]),a}const C=[0],y=[0],p=this.ComputeRecursionPoint(t,d,h,v,C,y,L),s=C[0],i=y[0];if(p!==null)return p;if(!L[0]){const a=this.ComputeDiffRecursive(t,s,h,i,L);let l=[];return L[0]?l=[new E.DiffChange(s+1,d-(s+1)+1,i+1,v-(i+1)+1)]:l=this.ComputeDiffRecursive(s+1,d,i+1,v,L),this.ConcatenateChanges(a,l)}return[new E.DiffChange(t,d-t+1,h,v-h+1)]}WALKTRACE(t,d,h,v,L,C,y,p,s,i,a,l,f,u,_,b,A,P){let D=null,k=null,R=new c,I=d,F=h,O=f[0]-b[0]-v,V=-1073741824,K=this.m_forwardHistory.length-1;do{const $=O+t;$===I||$ =0&&(s=this.m_forwardHistory[K],t=s[0],I=1,F=s.length-1)}while(--K>=-1);if(D=R.getReverseChanges(),P[0]){let $=f[0]+1,z=b[0]+1;if(D!==null&&D.length>0){const n=D[D.length-1];$=Math.max($,n.getOriginalEnd()),z=Math.max(z,n.getModifiedEnd())}k=[new E.DiffChange($,l-$+1,z,_-z+1)]}else{R=new c,I=C,F=y,O=f[0]-b[0]-p,V=1073741824,K=A?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const $=O+L;$===I||$ =i[$+1]?(a=i[$+1]-1,u=a-O-p,a>V&&R.MarkNextChange(),V=a+1,R.AddOriginalElement(a+1,u+1),O=$+1-L):(a=i[$-1],u=a-O-p,a>V&&R.MarkNextChange(),V=a,R.AddModifiedElement(a+1,u+1),O=$-1-L),K>=0&&(i=this.m_reverseHistory[K],L=i[0],I=1,F=i.length-1)}while(--K>=-1);k=R.getChanges()}return this.ConcatenateChanges(D,k)}ComputeRecursionPoint(t,d,h,v,L,C,y){let p=0,s=0,i=0,a=0,l=0,f=0;t--,h--,L[0]=0,C[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const u=d-t+(v-h),_=u+1,b=new Int32Array(_),A=new Int32Array(_),P=v-h,D=d-t,k=t-h,R=d-v,F=(D-P)%2==0;b[P]=t,A[D]=d,y[0]=!1;for(let O=1;O<=u/2+1;O++){let V=0,K=0;i=this.ClipDiagonalBound(P-O,O,P,_),a=this.ClipDiagonalBound(P+O,O,P,_);for(let z=i;z<=a;z+=2){z===i||zV+K&&(V=p,K=s),!F&&Math.abs(z-D)<=O-1&&p>=A[z])return L[0]=p,C[0]=s,n<=A[z]&&1447>0&&O<=1447+1?this.WALKTRACE(P,i,a,k,D,l,f,R,b,A,p,d,L,s,v,C,F,y):null}const $=(V-t+(K-h)-O)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(V,$))return y[0]=!0,L[0]=V,C[0]=K,$>0&&1447>0&&O<=1447+1?this.WALKTRACE(P,i,a,k,D,l,f,R,b,A,p,d,L,s,v,C,F,y):(t++,h++,[new E.DiffChange(t,d-t+1,h,v-h+1)]);l=this.ClipDiagonalBound(D-O,O,D,_),f=this.ClipDiagonalBound(D+O,O,D,_);for(let z=l;z<=f;z+=2){z===l||z =A[z+1]?p=A[z+1]-1:p=A[z-1],s=p-(z-D)-R;const n=p;for(;p>t&&s>h&&this.ElementsAreEqual(p,s);)p--,s--;if(A[z]=p,F&&Math.abs(z-P)<=O&&p<=b[z])return L[0]=p,C[0]=s,n>=b[z]&&1447>0&&O<=1447+1?this.WALKTRACE(P,i,a,k,D,l,f,R,b,A,p,d,L,s,v,C,F,y):null}if(O<=1447){let z=new Int32Array(a-i+2);z[0]=P-i+1,g.Copy2(b,i,z,1,a-i+1),this.m_forwardHistory.push(z),z=new Int32Array(f-l+2),z[0]=D-l+1,g.Copy2(A,l,z,1,f-l+1),this.m_reverseHistory.push(z)}}return this.WALKTRACE(P,i,a,k,D,l,f,R,b,A,p,d,L,s,v,C,F,y)}PrettifyChanges(t){for(let d=0;d 0,y=h.modifiedLength>0;for(;h.originalStart+h.originalLength =0;d--){const h=t[d];let v=0,L=0;if(d>0){const a=t[d-1];v=a.originalStart+a.originalLength,L=a.modifiedStart+a.modifiedLength}const C=h.originalLength>0,y=h.modifiedLength>0;let p=0,s=this._boundaryScore(h.originalStart,h.originalLength,h.modifiedStart,h.modifiedLength);for(let a=1;;a++){const l=h.originalStart-a,f=h.modifiedStart-a;if(l s&&(s=_,p=a)}h.originalStart-=p,h.modifiedStart-=p;const i=[null];if(d>0&&this.ChangesOverlap(t[d-1],t[d],i)){t[d-1]=i[0],t.splice(d,1),d++;continue}}if(this._hasStrings)for(let d=1,h=t.length;d 0&&f>p&&(p=f,s=a,i=l)}return p>0?[s,i]:null}_contiguousSequenceScore(t,d,h){let v=0;for(let L=0;L =this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,d){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(d>0){const h=t+d;if(this._OriginalIsBoundary(h-1)||this._OriginalIsBoundary(h))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,d){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(d>0){const h=t+d;if(this._ModifiedIsBoundary(h-1)||this._ModifiedIsBoundary(h))return!0}return!1}_boundaryScore(t,d,h,v){const L=this._OriginalRegionIsBoundary(t,d)?1:0,C=this._ModifiedRegionIsBoundary(h,v)?1:0;return L+C}ConcatenateChanges(t,d){let h=[];if(t.length===0||d.length===0)return d.length>0?d:t;if(this.ChangesOverlap(t[t.length-1],d[0],h)){const v=new Array(t.length+d.length-1);return g.Copy(t,0,v,0,t.length-1),v[t.length-1]=h[0],g.Copy(d,1,v,t.length,d.length-1),v}else{const v=new Array(t.length+d.length);return g.Copy(t,0,v,0,t.length),g.Copy(d,0,v,t.length,d.length),v}}ChangesOverlap(t,d,h){if(w.Assert(t.originalStart<=d.originalStart,"Left change is not less than or equal to right change"),w.Assert(t.modifiedStart<=d.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=d.originalStart||t.modifiedStart+t.modifiedLength>=d.modifiedStart){const v=t.originalStart;let L=t.originalLength;const C=t.modifiedStart;let y=t.modifiedLength;return t.originalStart+t.originalLength>=d.originalStart&&(L=d.originalStart+d.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=d.modifiedStart&&(y=d.modifiedStart+d.modifiedLength-t.modifiedStart),h[0]=new E.DiffChange(v,L,C,y),!0}else return h[0]=null,!1}ClipDiagonalBound(t,d,h,v){if(t>=0&&t function(){const b=Array.prototype.slice.call(arguments,0);return l(_,b)};let u={};for(const _ of a)u[_]=f(_);return u}r.createProxyObject=p;function s(a){return a===null?void 0:a}r.withNullAsUndefined=s;function i(a,l="Unreachable"){throw new Error(l)}r.assertNever=i}),Y(Q[29],Z([0,1,7]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getOrDefault=r.equals=r.mixin=r.cloneAndChange=r.deepFreeze=r.deepClone=void 0;function e(t){if(!t||typeof t!="object"||t instanceof RegExp)return t;const d=Array.isArray(t)?[]:{};return Object.keys(t).forEach(h=>{t[h]&&typeof t[h]=="object"?d[h]=e(t[h]):d[h]=t[h]}),d}r.deepClone=e;function N(t){if(!t||typeof t!="object")return t;const d=[t];for(;d.length>0;){const h=d.shift();Object.freeze(h);for(const v in h)if(o.call(h,v)){const L=h[v];typeof L=="object"&&!Object.isFrozen(L)&&d.push(L)}}return t}r.deepFreeze=N;const o=Object.prototype.hasOwnProperty;function w(t,d){return g(t,d,new Set)}r.cloneAndChange=w;function g(t,d,h){if((0,E.isUndefinedOrNull)(t))return t;const v=d(t);if(typeof v!="undefined")return v;if((0,E.isArray)(t)){const L=[];for(const C of t)L.push(g(C,d,h));return L}if((0,E.isObject)(t)){if(h.has(t))throw new Error("Cannot clone recursive data-structure");h.add(t);const L={};for(let C in t)o.call(t,C)&&(L[C]=g(t[C],d,h));return h.delete(t),L}return t}function c(t,d,h=!0){return(0,E.isObject)(t)?((0,E.isObject)(d)&&Object.keys(d).forEach(v=>{v in t?h&&((0,E.isObject)(t[v])&&(0,E.isObject)(d[v])?c(t[v],d[v],h):t[v]=d[v]):t[v]=d[v]}),t):d}r.mixin=c;function m(t,d){if(t===d)return!0;if(t==null||d===null||d===void 0||typeof t!=typeof d||typeof t!="object"||Array.isArray(t)!==Array.isArray(d))return!1;let h,v;if(Array.isArray(t)){if(t.length!==d.length)return!1;for(h=0;h 255?255:N|0}r.toUint8=E;function e(N){return N<0?0:N>4294967295?4294967295:N|0}r.toUint32=e}),Y(Q[9],Z([0,1,26,5]),function(U,r,E,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.uriToFsPath=r.URI=void 0;const N=/^\w[\w\d+.-]*$/,o=/^\//,w=/^\/\//;function g(u,_){if(!u.scheme&&_)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${u.authority}", path: "${u.path}", query: "${u.query}", fragment: "${u.fragment}"}`);if(u.scheme&&!N.test(u.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(u.path){if(u.authority){if(!o.test(u.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(w.test(u.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function c(u,_){return!u&&!_?"file":u}function m(u,_){switch(u){case"https":case"http":case"file":_?_[0]!==t&&(_=t+_):_=t;break}return _}const S="",t="/",d=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class h{constructor(_,b,A,P,D,k=!1){typeof _=="object"?(this.scheme=_.scheme||S,this.authority=_.authority||S,this.path=_.path||S,this.query=_.query||S,this.fragment=_.fragment||S):(this.scheme=c(_,k),this.authority=b||S,this.path=m(this.scheme,A||S),this.query=P||S,this.fragment=D||S,g(this,k))}static isUri(_){return _ instanceof h?!0:_?typeof _.authority=="string"&&typeof _.fragment=="string"&&typeof _.path=="string"&&typeof _.query=="string"&&typeof _.scheme=="string"&&typeof _.fsPath=="string"&&typeof _.with=="function"&&typeof _.toString=="function":!1}get fsPath(){return s(this,!1)}with(_){if(!_)return this;let{scheme:b,authority:A,path:P,query:D,fragment:k}=_;return b===void 0?b=this.scheme:b===null&&(b=S),A===void 0?A=this.authority:A===null&&(A=S),P===void 0?P=this.path:P===null&&(P=S),D===void 0?D=this.query:D===null&&(D=S),k===void 0?k=this.fragment:k===null&&(k=S),b===this.scheme&&A===this.authority&&P===this.path&&D===this.query&&k===this.fragment?this:new L(b,A,P,D,k)}static parse(_,b=!1){const A=d.exec(_);return A?new L(A[2]||S,f(A[4]||S),f(A[5]||S),f(A[7]||S),f(A[9]||S),b):new L(S,S,S,S,S)}static file(_){let b=S;if(e.isWindows&&(_=_.replace(/\\/g,t)),_[0]===t&&_[1]===t){const A=_.indexOf(t,2);A===-1?(b=_.substring(2),_=t):(b=_.substring(2,A),_=_.substring(A)||t)}return new L("file",b,_,S,S)}static from(_){const b=new L(_.scheme,_.authority,_.path,_.query,_.fragment);return g(b,!0),b}static joinPath(_,...b){if(!_.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let A;return e.isWindows&&_.scheme==="file"?A=h.file(E.win32.join(s(_,!0),...b)).path:A=E.posix.join(_.path,...b),_.with({path:A})}toString(_=!1){return i(this,_)}toJSON(){return this}static revive(_){if(_){if(_ instanceof h)return _;{const b=new L(_);return b._formatted=_.external,b._fsPath=_._sep===v?_.fsPath:null,b}}else return _}}r.URI=h;const v=e.isWindows?1:void 0;class L extends h{constructor(){super(...arguments);this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=s(this,!1)),this._fsPath}toString(_=!1){return _?i(this,!0):(this._formatted||(this._formatted=i(this,!1)),this._formatted)}toJSON(){const _={$mid:1};return this._fsPath&&(_.fsPath=this._fsPath,_._sep=v),this._formatted&&(_.external=this._formatted),this.path&&(_.path=this.path),this.scheme&&(_.scheme=this.scheme),this.authority&&(_.authority=this.authority),this.query&&(_.query=this.query),this.fragment&&(_.fragment=this.fragment),_}}const C={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function y(u,_){let b,A=-1;for(let P=0;P =97&&D<=122||D>=65&&D<=90||D>=48&&D<=57||D===45||D===46||D===95||D===126||_&&D===47)A!==-1&&(b+=encodeURIComponent(u.substring(A,P)),A=-1),b!==void 0&&(b+=u.charAt(P));else{b===void 0&&(b=u.substr(0,P));const k=C[D];k!==void 0?(A!==-1&&(b+=encodeURIComponent(u.substring(A,P)),A=-1),b+=k):A===-1&&(A=P)}}return A!==-1&&(b+=encodeURIComponent(u.substring(A))),b!==void 0?b:u}function p(u){let _;for(let b=0;b 1&&u.scheme==="file"?b=`//${u.authority}${u.path}`:u.path.charCodeAt(0)===47&&(u.path.charCodeAt(1)>=65&&u.path.charCodeAt(1)<=90||u.path.charCodeAt(1)>=97&&u.path.charCodeAt(1)<=122)&&u.path.charCodeAt(2)===58?_?b=u.path.substr(1):b=u.path[1].toLowerCase()+u.path.substr(2):b=u.path,e.isWindows&&(b=b.replace(/\//g,"\\")),b}r.uriToFsPath=s;function i(u,_){const b=_?p:y;let A="",{scheme:P,authority:D,path:k,query:R,fragment:I}=u;if(P&&(A+=P,A+=":"),(D||P==="file")&&(A+=t,A+=t),D){let F=D.indexOf("@");if(F!==-1){const O=D.substr(0,F);D=D.substr(F+1),F=O.indexOf(":"),F===-1?A+=b(O,!1):(A+=b(O.substr(0,F),!1),A+=":",A+=b(O.substr(F+1),!1)),A+="@"}D=D.toLowerCase(),F=D.indexOf(":"),F===-1?A+=b(D,!1):(A+=b(D.substr(0,F),!1),A+=D.substr(F))}if(k){if(k.length>=3&&k.charCodeAt(0)===47&&k.charCodeAt(2)===58){const F=k.charCodeAt(1);F>=65&&F<=90&&(k=`/${String.fromCharCode(F+32)}:${k.substr(3)}`)}else if(k.length>=2&&k.charCodeAt(1)===58){const F=k.charCodeAt(0);F>=65&&F<=90&&(k=`${String.fromCharCode(F+32)}:${k.substr(2)}`)}A+=b(k,!0)}return R&&(A+="?",A+=b(R,!1)),I&&(A+="#",A+=_?I:y(I,!1)),A}function a(u){try{return decodeURIComponent(u)}catch{return u.length>3?u.substr(0,3)+a(u.substr(3)):u}}const l=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function f(u){return u.match(l)?u.replace(l,_=>a(_)):u}}),Y(Q[44],Z([0,1,10,6,8,5,7,2]),function(U,r,E,e,N,o,w,g){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.create=r.SimpleWorkerServer=r.SimpleWorkerClient=r.logOnceWebWorkerWarning=void 0;const c="$initialize";let m=!1;function S(f){!o.isWeb||(m||(m=!0,console.warn("Could not create web worker(s). Falling back to loading web worker code in main thread, which might cause UI freezes. Please see https://github.com/microsoft/monaco-editor#faq")),console.warn(f.message))}r.logOnceWebWorkerWarning=S;class t{constructor(u,_,b,A){this.vsWorker=u,this.req=_,this.method=b,this.args=A,this.type=0}}class d{constructor(u,_,b,A){this.vsWorker=u,this.seq=_,this.res=b,this.err=A,this.type=1}}class h{constructor(u,_,b,A){this.vsWorker=u,this.req=_,this.eventName=b,this.arg=A,this.type=2}}class v{constructor(u,_,b){this.vsWorker=u,this.req=_,this.event=b,this.type=3}}class L{constructor(u,_){this.vsWorker=u,this.req=_,this.type=4}}class C{constructor(u){this._workerId=-1,this._handler=u,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(u){this._workerId=u}sendMessage(u,_){const b=String(++this._lastSentReq);return new Promise((A,P)=>{this._pendingReplies[b]={resolve:A,reject:P},this._send(new t(this._workerId,b,u,_))})}listen(u,_){let b=null;const A=new e.Emitter({onFirstListenerAdd:()=>{b=String(++this._lastSentReq),this._pendingEmitters.set(b,A),this._send(new h(this._workerId,b,u,_))},onLastListenerRemove:()=>{this._pendingEmitters.delete(b),this._send(new L(this._workerId,b)),b=null}});return A.event}handleMessage(u){!u||!u.vsWorker||this._workerId!==-1&&u.vsWorker!==this._workerId||this._handleMessage(u)}_handleMessage(u){switch(u.type){case 1:return this._handleReplyMessage(u);case 0:return this._handleRequestMessage(u);case 2:return this._handleSubscribeEventMessage(u);case 3:return this._handleEventMessage(u);case 4:return this._handleUnsubscribeEventMessage(u)}}_handleReplyMessage(u){if(!this._pendingReplies[u.seq]){console.warn("Got reply to unknown seq");return}let _=this._pendingReplies[u.seq];if(delete this._pendingReplies[u.seq],u.err){let b=u.err;u.err.$isError&&(b=new Error,b.name=u.err.name,b.message=u.err.message,b.stack=u.err.stack),_.reject(b);return}_.resolve(u.res)}_handleRequestMessage(u){let _=u.req;this._handler.handleMessage(u.method,u.args).then(A=>{this._send(new d(this._workerId,_,A,void 0))},A=>{A.detail instanceof Error&&(A.detail=(0,E.transformErrorForSerialization)(A.detail)),this._send(new d(this._workerId,_,void 0,(0,E.transformErrorForSerialization)(A)))})}_handleSubscribeEventMessage(u){const _=u.req,b=this._handler.handleEvent(u.eventName,u.arg)(A=>{this._send(new v(this._workerId,_,A))});this._pendingEvents.set(_,b)}_handleEventMessage(u){if(!this._pendingEmitters.has(u.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(u.req).fire(u.event)}_handleUnsubscribeEventMessage(u){if(!this._pendingEvents.has(u.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(u.req).dispose(),this._pendingEvents.delete(u.req)}_send(u){let _=[];if(u.type===0)for(let b=0;b {this._protocol.handleMessage(I)},I=>{A&&A(I)})),this._protocol=new C({sendMessage:(I,F)=>{this._worker.postMessage(I,F)},handleMessage:(I,F)=>{if(typeof b[I]!="function")return Promise.reject(new Error("Missing method "+I+" on main thread host."));try{return Promise.resolve(b[I].apply(b,F))}catch(O){return Promise.reject(O)}},handleEvent:(I,F)=>{if(s(I)){const O=b[I].call(b,F);if(typeof O!="function")throw new Error(`Missing dynamic event ${I} on main thread host.`);return O}if(p(I)){const O=b[I];if(typeof O!="function")throw new Error(`Missing event ${I} on main thread host.`);return O}throw new Error(`Malformed event name ${I}`)}}),this._protocol.setWorkerId(this._worker.getId());let P=null;typeof o.globals.require!="undefined"&&typeof o.globals.require.getConfig=="function"?P=o.globals.require.getConfig():typeof o.globals.requirejs!="undefined"&&(P=o.globals.requirejs.s.contexts._.config);const D=w.getAllMethodNames(b);this._onModuleLoaded=this._protocol.sendMessage(c,[this._worker.getId(),JSON.parse(JSON.stringify(P)),_,D]);const k=(I,F)=>this._request(I,F),R=(I,F)=>this._protocol.listen(I,F);this._lazyProxy=new Promise((I,F)=>{A=F,this._onModuleLoaded.then(O=>{I(i(O,k,R))},O=>{F(O),this._onError("Worker failed to load "+_,O)})})}getProxyObject(){return this._lazyProxy}_request(u,_){return new Promise((b,A)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(u,_).then(b,A)},A)})}_onError(u,_){console.error(u),console.info(_)}}r.SimpleWorkerClient=y;function p(f){return f[0]==="o"&&f[1]==="n"&&g.isUpperAsciiLetter(f.charCodeAt(2))}function s(f){return/^onDynamic/.test(f)&&g.isUpperAsciiLetter(f.charCodeAt(9))}function i(f,u,_){const b=D=>function(){const k=Array.prototype.slice.call(arguments,0);return u(D,k)},A=D=>function(k){return _(D,k)};let P={};for(const D of f){if(s(D)){P[D]=A(D);continue}if(p(D)){P[D]=_(D,void 0);continue}P[D]=b(D)}return P}class a{constructor(u,_){this._requestHandlerFactory=_,this._requestHandler=null,this._protocol=new C({sendMessage:(b,A)=>{u(b,A)},handleMessage:(b,A)=>this._handleMessage(b,A),handleEvent:(b,A)=>this._handleEvent(b,A)})}onmessage(u){this._protocol.handleMessage(u)}_handleMessage(u,_){if(u===c)return this.initialize(_[0],_[1],_[2],_[3]);if(!this._requestHandler||typeof this._requestHandler[u]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+u));try{return Promise.resolve(this._requestHandler[u].apply(this._requestHandler,_))}catch(b){return Promise.reject(b)}}_handleEvent(u,_){if(!this._requestHandler)throw new Error("Missing requestHandler");if(s(u)){const b=this._requestHandler[u].call(this._requestHandler,_);if(typeof b!="function")throw new Error(`Missing dynamic event ${u} on request handler.`);return b}if(p(u)){const b=this._requestHandler[u];if(typeof b!="function")throw new Error(`Missing event ${u} on request handler.`);return b}throw new Error(`Malformed event name ${u}`)}initialize(u,_,b,A){this._protocol.setWorkerId(u);const k=i(A,(R,I)=>this._protocol.sendMessage(R,I),(R,I)=>this._protocol.listen(R,I));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(k),Promise.resolve(w.getAllMethodNames(this._requestHandler))):(_&&(typeof _.baseUrl!="undefined"&&delete _.baseUrl,typeof _.paths!="undefined"&&typeof _.paths.vs!="undefined"&&delete _.paths.vs,typeof _.trustedTypesPolicy!==void 0&&delete _.trustedTypesPolicy,_.catchError=!0,o.globals.require.config(_)),new Promise((R,I)=>{(o.globals.require||U)([b],O=>{if(this._requestHandler=O.create(k),!this._requestHandler){I(new Error("No RequestHandler!"));return}R(w.getAllMethodNames(this._requestHandler))},I)}))}}r.SimpleWorkerServer=a;function l(f){return new a(f,null)}r.create=l}),Y(Q[14],Z([0,1,13]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.CharacterSet=r.CharacterClassifier=void 0;class e{constructor(w){const g=(0,E.toUint8)(w);this._defaultValue=g,this._asciiMap=e._createAsciiMap(g),this._map=new Map}static _createAsciiMap(w){const g=new Uint8Array(256);for(let c=0;c<256;c++)g[c]=w;return g}set(w,g){const c=(0,E.toUint8)(g);w>=0&&w<256?this._asciiMap[w]=c:this._map.set(w,c)}get(w){return w>=0&&w<256?this._asciiMap[w]:this._map.get(w)||this._defaultValue}}r.CharacterClassifier=e;class N{constructor(){this._actual=new e(0)}add(w){this._actual.set(w,1)}has(w){return this._actual.get(w)===1}}r.CharacterSet=N}),Y(Q[3],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Position=void 0;class E{constructor(N,o){this.lineNumber=N,this.column=o}with(N=this.lineNumber,o=this.column){return N===this.lineNumber&&o===this.column?this:new E(N,o)}delta(N=0,o=0){return this.with(this.lineNumber+N,this.column+o)}equals(N){return E.equals(this,N)}static equals(N,o){return!N&&!o?!0:!!N&&!!o&&N.lineNumber===o.lineNumber&&N.column===o.column}isBefore(N){return E.isBefore(this,N)}static isBefore(N,o){return N.lineNumber g||o===g&&w>c?(this.startLineNumber=g,this.startColumn=c,this.endLineNumber=o,this.endColumn=w):(this.startLineNumber=o,this.startColumn=w,this.endLineNumber=g,this.endColumn=c)}isEmpty(){return e.isEmpty(this)}static isEmpty(o){return o.startLineNumber===o.endLineNumber&&o.startColumn===o.endColumn}containsPosition(o){return e.containsPosition(this,o)}static containsPosition(o,w){return!(w.lineNumber o.endLineNumber||w.lineNumber===o.startLineNumber&&w.column o.endColumn)}static strictContainsPosition(o,w){return!(w.lineNumber o.endLineNumber||w.lineNumber===o.startLineNumber&&w.column<=o.startColumn||w.lineNumber===o.endLineNumber&&w.column>=o.endColumn)}containsRange(o){return e.containsRange(this,o)}static containsRange(o,w){return!(w.startLineNumber o.endLineNumber||w.endLineNumber>o.endLineNumber||w.startLineNumber===o.startLineNumber&&w.startColumn o.endColumn)}strictContainsRange(o){return e.strictContainsRange(this,o)}static strictContainsRange(o,w){return!(w.startLineNumber o.endLineNumber||w.endLineNumber>o.endLineNumber||w.startLineNumber===o.startLineNumber&&w.startColumn<=o.startColumn||w.endLineNumber===o.endLineNumber&&w.endColumn>=o.endColumn)}plusRange(o){return e.plusRange(this,o)}static plusRange(o,w){let g,c,m,S;return w.startLineNumber o.endLineNumber?(m=w.endLineNumber,S=w.endColumn):w.endLineNumber===o.endLineNumber?(m=w.endLineNumber,S=Math.max(w.endColumn,o.endColumn)):(m=o.endLineNumber,S=o.endColumn),new e(g,c,m,S)}intersectRanges(o){return e.intersectRanges(this,o)}static intersectRanges(o,w){let g=o.startLineNumber,c=o.startColumn,m=o.endLineNumber,S=o.endColumn,t=w.startLineNumber,d=w.startColumn,h=w.endLineNumber,v=w.endColumn;return g h?(m=h,S=v):m===h&&(S=Math.min(S,v)),g>m||g===m&&c>S?null:new e(g,c,m,S)}equalsRange(o){return e.equalsRange(this,o)}static equalsRange(o,w){return!!o&&!!w&&o.startLineNumber===w.startLineNumber&&o.startColumn===w.startColumn&&o.endLineNumber===w.endLineNumber&&o.endColumn===w.endColumn}getEndPosition(){return e.getEndPosition(this)}static getEndPosition(o){return new E.Position(o.endLineNumber,o.endColumn)}getStartPosition(){return e.getStartPosition(this)}static getStartPosition(o){return new E.Position(o.startLineNumber,o.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(o,w){return new e(this.startLineNumber,this.startColumn,o,w)}setStartPosition(o,w){return new e(o,w,this.endLineNumber,this.endColumn)}collapseToStart(){return e.collapseToStart(this)}static collapseToStart(o){return new e(o.startLineNumber,o.startColumn,o.startLineNumber,o.startColumn)}static fromPositions(o,w=o){return new e(o.lineNumber,o.column,w.lineNumber,w.column)}static lift(o){return o?new e(o.startLineNumber,o.startColumn,o.endLineNumber,o.endColumn):null}static isIRange(o){return o&&typeof o.startLineNumber=="number"&&typeof o.startColumn=="number"&&typeof o.endLineNumber=="number"&&typeof o.endColumn=="number"}static areIntersectingOrTouching(o,w){return!(o.endLineNumber o.startLineNumber}toJSON(){return this}}r.Range=e}),Y(Q[30],Z([0,1,3,4]),function(U,r,E,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Selection=void 0;class N extends e.Range{constructor(w,g,c,m){super(w,g,c,m);this.selectionStartLineNumber=w,this.selectionStartColumn=g,this.positionLineNumber=c,this.positionColumn=m}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(w){return N.selectionsEqual(this,w)}static selectionsEqual(w,g){return w.selectionStartLineNumber===g.selectionStartLineNumber&&w.selectionStartColumn===g.selectionStartColumn&&w.positionLineNumber===g.positionLineNumber&&w.positionColumn===g.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(w,g){return this.getDirection()===0?new N(this.startLineNumber,this.startColumn,w,g):new N(w,g,this.startLineNumber,this.startColumn)}getPosition(){return new E.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new E.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(w,g){return this.getDirection()===0?new N(w,g,this.endLineNumber,this.endColumn):new N(this.endLineNumber,this.endColumn,w,g)}static fromPositions(w,g=w){return new N(w.lineNumber,w.column,g.lineNumber,g.column)}static fromRange(w,g){return g===0?new N(w.startLineNumber,w.startColumn,w.endLineNumber,w.endColumn):new N(w.endLineNumber,w.endColumn,w.startLineNumber,w.startColumn)}static liftSelection(w){return new N(w.selectionStartLineNumber,w.selectionStartColumn,w.positionLineNumber,w.positionColumn)}static selectionsArrEqual(w,g){if(w&&!g||!w&&g)return!1;if(!w&&!g)return!0;if(w.length!==g.length)return!1;for(let c=0,m=w.length;c (w.hasOwnProperty(g)||(w[g]=o(g)),w[g])}r.getMapForWordSeparators=N(o=>new e(o))}),Y(Q[15],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getWordAtText=r.ensureValidWordDefinition=r.DEFAULT_WORD_REGEXP=r.USUAL_WORD_SEPARATORS=void 0,r.USUAL_WORD_SEPARATORS="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function E(g=""){let c="(-?\\d*\\.\\d\\w*)|([^";for(const m of r.USUAL_WORD_SEPARATORS)g.indexOf(m)>=0||(c+="\\"+m);return c+="\\s]+)",new RegExp(c,"g")}r.DEFAULT_WORD_REGEXP=E();function e(g){let c=r.DEFAULT_WORD_REGEXP;if(g&&g instanceof RegExp)if(g.global)c=g;else{let m="g";g.ignoreCase&&(m+="i"),g.multiline&&(m+="m"),g.unicode&&(m+="u"),c=new RegExp(g.source,m)}return c.lastIndex=0,c}r.ensureValidWordDefinition=e;const N={maxLen:1e3,windowSize:15,timeBudget:150};function o(g,c,m,S,t=N){if(m.length>t.maxLen){let C=g-t.maxLen/2;return C<0?C=0:S+=C,m=m.substring(C,g+t.maxLen/2),o(g,c,m,S,t)}const d=Date.now(),h=g-1-S;let v=-1,L=null;for(let C=1;!(Date.now()-d>=t.timeBudget);C++){const y=h-t.windowSize*C;c.lastIndex=Math.max(0,y);const p=w(c,m,h,v);if(!p&&L||(L=p,y<=0))break;v=y}if(L){const C={word:L[0],startColumn:S+1+L.index,endColumn:S+1+L.index+L[0].length};return c.lastIndex=0,C}return null}r.getWordAtText=o;function w(g,c,m,S){let t;for(;t=g.exec(c);){const d=t.index||0;if(d<=m&&g.lastIndex>=m)return t;if(S>0&&d>S)return null}return null}}),Y(Q[32],Z([0,1,12,2]),function(U,r,E,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.DiffComputer=void 0;const N=3;function o(L,C,y,p){return new E.LcsDiff(L,C,y).ComputeDiff(p)}class w{constructor(C){const y=[],p=[];for(let s=0,i=C.length;s0&&y.originalLength<20&&y.modifiedLength>0&&y.modifiedLength<20&&i()){const P=p.createCharSequence(C,y.originalStart,y.originalStart+y.originalLength-1),D=s.createCharSequence(C,y.modifiedStart,y.modifiedStart+y.modifiedLength-1);let k=o(P,D,i,!0).changes;l&&(k=m(k)),A=[];for(let R=0,I=k.length;R1&&k>1;){const R=A.charCodeAt(D-2),I=P.charCodeAt(k-2);if(R!==I)break;D--,k--}(D>1||k>1)&&this._pushTrimWhitespaceCharChange(s,i+1,1,D,a+1,1,k)}{let D=h(A,1),k=h(P,1);const R=A.length+1,I=P.length+1;for(;D !0;const C=Date.now();return()=>Date.now()-C h&&(h=s),p>v&&(v=p),i>v&&(v=i)}h++,v++;const L=new e(v,h,0);for(let C=0,y=d.length;C =this._maxCharCode?0:this._states.get(d,h)}}r.StateMachine=N;let o=null;function w(){return o===null&&(o=new N([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),o}let g=null;function c(){if(g===null){g=new E.CharacterClassifier(0);const t=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let h=0;h L);if(L>0){const p=h.charCodeAt(L-1),s=h.charCodeAt(y);(p===40&&s===41||p===91&&s===93||p===123&&s===125)&&y--}return{range:{startLineNumber:v,startColumn:L+1,endLineNumber:v,endColumn:y+2},url:h.substring(L,y+1)}}static computeLinks(d,h=w()){const v=c(),L=[];for(let C=1,y=d.getLineCount();C<=y;C++){const p=d.getLineContent(C),s=p.length;let i=0,a=0,l=0,f=1,u=!1,_=!1,b=!1,A=!1;for(;i =0?(g+=w?1:-1,g<0?g=N.length-1:g%=N.length,N[g]):null}}r.BasicInplaceReplace=E,E.INSTANCE=new E}),Y(Q[35],Z([0,1,29]),function(U,r,E){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.shouldSynchronizeModel=r.ApplyEditsResult=r.SearchData=r.ValidAnnotatedEditOperation=r.FindMatch=r.TextModelResolvedOptions=r.InjectedTextCursorStops=r.MinimapPosition=r.OverviewRulerLane=void 0;var e;(function(d){d[d.Left=1]="Left",d[d.Center=2]="Center",d[d.Right=4]="Right",d[d.Full=7]="Full"})(e=r.OverviewRulerLane||(r.OverviewRulerLane={}));var N;(function(d){d[d.Inline=1]="Inline",d[d.Gutter=2]="Gutter"})(N=r.MinimapPosition||(r.MinimapPosition={}));var o;(function(d){d[d.Both=0]="Both",d[d.Right=1]="Right",d[d.Left=2]="Left",d[d.None=3]="None"})(o=r.InjectedTextCursorStops||(r.InjectedTextCursorStops={}));class w{constructor(h){this._textModelResolvedOptionsBrand=void 0,this.tabSize=Math.max(1,h.tabSize|0),this.indentSize=h.tabSize|0,this.insertSpaces=Boolean(h.insertSpaces),this.defaultEOL=h.defaultEOL|0,this.trimAutoWhitespace=Boolean(h.trimAutoWhitespace),this.bracketPairColorizationOptions=h.bracketPairColorizationOptions}equals(h){return this.tabSize===h.tabSize&&this.indentSize===h.indentSize&&this.insertSpaces===h.insertSpaces&&this.defaultEOL===h.defaultEOL&&this.trimAutoWhitespace===h.trimAutoWhitespace&&(0,E.equals)(this.bracketPairColorizationOptions,h.bracketPairColorizationOptions)}createChangeEvent(h){return{tabSize:this.tabSize!==h.tabSize,indentSize:this.indentSize!==h.indentSize,insertSpaces:this.insertSpaces!==h.insertSpaces,trimAutoWhitespace:this.trimAutoWhitespace!==h.trimAutoWhitespace}}}r.TextModelResolvedOptions=w;class g{constructor(h,v){this._findMatchBrand=void 0,this.range=h,this.matches=v}}r.FindMatch=g;class c{constructor(h,v,L,C,y,p){this.identifier=h,this.range=v,this.text=L,this.forceMoveMarkers=C,this.isAutoWhitespaceEdit=y,this._isTracked=p}}r.ValidAnnotatedEditOperation=c;class m{constructor(h,v,L){this.regex=h,this.wordSeparators=v,this.simpleSearch=L}}r.SearchData=m;class S{constructor(h,v,L){this.reverseEdits=h,this.changes=v,this.trimAutoWhitespaceLineNumbers=L}}r.ApplyEditsResult=S;function t(d){return!d.isTooLargeForSyncing()&&!d.isForSimpleWidget}r.shouldSynchronizeModel=t}),Y(Q[36],Z([0,1,16,13]),function(U,r,E,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.PrefixSumIndexOfResult=r.ConstantTimePrefixSumComputer=r.PrefixSumComputer=void 0;class N{constructor(c){this.values=c,this.prefixSum=new Uint32Array(c.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(c,m){c=(0,e.toUint32)(c);const S=this.values,t=this.prefixSum,d=m.length;return d===0?!1:(this.values=new Uint32Array(S.length+d),this.values.set(S.subarray(0,c),0),this.values.set(S.subarray(c),c+d),this.values.set(m,c),c-1=0&&this.prefixSum.set(t.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(c,m){return c=(0,e.toUint32)(c),m=(0,e.toUint32)(m),this.values[c]===m?!1:(this.values[c]=m,c-1 =S.length)return!1;const d=S.length-c;return m>=d&&(m=d),m===0?!1:(this.values=new Uint32Array(S.length-m),this.values.set(S.subarray(0,c),0),this.values.set(S.subarray(c+m),c),this.prefixSum=new Uint32Array(this.values.length),c-1 =0&&this.prefixSum.set(t.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(c){return c<0?0:(c=(0,e.toUint32)(c),this._getPrefixSum(c))}_getPrefixSum(c){if(c<=this.prefixSumValidIndex[0])return this.prefixSum[c];let m=this.prefixSumValidIndex[0]+1;m===0&&(this.prefixSum[0]=this.values[0],m++),c>=this.values.length&&(c=this.values.length-1);for(let S=m;S<=c;S++)this.prefixSum[S]=this.prefixSum[S-1]+this.values[S];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],c),this.prefixSum[c]}getIndexOf(c){c=Math.floor(c),this.getTotalSum();let m=0,S=this.values.length-1,t=0,d=0,h=0;for(;m<=S;)if(t=m+(S-m)/2|0,d=this.prefixSum[t],h=d-this.values[t],c =d)m=t+1;else break;return new w(t,c-h)}}r.PrefixSumComputer=N;class o{constructor(c){this._values=c,this._isValid=!1,this._validEndIndex=-1,this._prefixSum=[],this._indexBySum=[]}getTotalSum(){return this._ensureValid(),this._indexBySum.length}getPrefixSum(c){return this._ensureValid(),c===0?0:this._prefixSum[c-1]}getIndexOf(c){this._ensureValid();const m=this._indexBySum[c],S=m>0?this._prefixSum[m-1]:0;return new w(m,c-S)}removeValues(c,m){this._values.splice(c,m),this._invalidate(c)}insertValues(c,m){this._values=(0,E.arrayInsert)(this._values,c,m),this._invalidate(c)}_invalidate(c){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,c-1)}_ensureValid(){if(!this._isValid){for(let c=this._validEndIndex+1,m=this._values.length;c 0?this._prefixSum[c-1]:0;this._prefixSum[c]=t+S;for(let d=0;d =0;let s=null;try{s=E.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:p,global:!0,unicode:!0})}catch{return null}if(!s)return null;let i=!this.isRegex&&!p;return i&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(i=this.matchCase),new w.SearchData(s,this.wordSeparators?(0,e.getMapForWordSeparators)(this.wordSeparators):null,i?this.searchString:null)}}r.SearchParams=c;function m(y){if(!y||y.length===0)return!1;for(let p=0,s=y.length;p=s)break;const a=y.charCodeAt(p);if(a===110||a===114||a===87)return!0}return!1}r.isMultilineRegexSource=m;function S(y,p,s){if(!s)return new w.FindMatch(y,null);const i=[];for(let a=0,l=p.length;a>0);s[l]>=p?a=l-1:s[l+1]>=p?(i=l,a=l):i=l+1}return i+1}}class d{static findMatches(p,s,i,a,l){const f=s.parseSearchRequest();return f?f.regex.multiline?this._doFindMatchesMultiline(p,i,new C(f.wordSeparators,f.regex),a,l):this._doFindMatchesLineByLine(p,i,f,a,l):[]}static _getMultilineMatchRange(p,s,i,a,l,f){let u,_=0;a?(_=a.findLineFeedCountBeforeOffset(l),u=s+l+_):u=s+l;let b;if(a){const k=a.findLineFeedCountBeforeOffset(l+f.length)-_;b=u+f.length+k}else b=u+f.length;const A=p.getPositionAt(u),P=p.getPositionAt(b);return new o.Range(A.lineNumber,A.column,P.lineNumber,P.column)}static _doFindMatchesMultiline(p,s,i,a,l){const f=p.getOffsetAt(s.getStartPosition()),u=p.getValueInRange(s,1),_=p.getEOL()===`\r +`?new t(u):null,b=[];let A=0,P;for(i.reset(0);P=i.next(u);)if(b[A++]=S(this._getMultilineMatchRange(p,f,u,_,P.index,P[0]),P,a),A>=l)return b;return b}static _doFindMatchesLineByLine(p,s,i,a,l){const f=[];let u=0;if(s.startLineNumber===s.endLineNumber){const b=p.getLineContent(s.startLineNumber).substring(s.startColumn-1,s.endColumn-1);return u=this._findMatchesInLine(i,b,s.startLineNumber,s.startColumn-1,u,f,a,l),f}const _=p.getLineContent(s.startLineNumber).substring(s.startColumn-1);u=this._findMatchesInLine(i,_,s.startLineNumber,s.startColumn-1,u,f,a,l);for(let b=s.startLineNumber+1;b =_))return l;return l}const A=new C(p.wordSeparators,p.regex);let P;A.reset(0);do if(P=A.next(s),P&&(f[l++]=S(new o.Range(i,P.index+1+a,i,P.index+1+P[0].length+a),P,u),l>=_))return l;while(P);return l}static findNextMatch(p,s,i,a){const l=s.parseSearchRequest();if(!l)return null;const f=new C(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindNextMatchMultiline(p,i,f,a):this._doFindNextMatchLineByLine(p,i,f,a)}static _doFindNextMatchMultiline(p,s,i,a){const l=new N.Position(s.lineNumber,1),f=p.getOffsetAt(l),u=p.getLineCount(),_=p.getValueInRange(new o.Range(l.lineNumber,l.column,u,p.getLineMaxColumn(u)),1),b=p.getEOL()===`\r +`?new t(_):null;i.reset(s.column-1);let A=i.next(_);return A?S(this._getMultilineMatchRange(p,f,_,b,A.index,A[0]),A,a):s.lineNumber!==1||s.column!==1?this._doFindNextMatchMultiline(p,new N.Position(1,1),i,a):null}static _doFindNextMatchLineByLine(p,s,i,a){const l=p.getLineCount(),f=s.lineNumber,u=p.getLineContent(f),_=this._findFirstMatchInLine(i,u,f,s.column,a);if(_)return _;for(let b=1;b<=l;b++){const A=(f+b-1)%l,P=p.getLineContent(A+1),D=this._findFirstMatchInLine(i,P,A+1,1,a);if(D)return D}return null}static _findFirstMatchInLine(p,s,i,a,l){p.reset(a-1);const f=p.next(s);return f?S(new o.Range(i,f.index+1,i,f.index+1+f[0].length),f,l):null}static findPreviousMatch(p,s,i,a){const l=s.parseSearchRequest();if(!l)return null;const f=new C(l.wordSeparators,l.regex);return l.regex.multiline?this._doFindPreviousMatchMultiline(p,i,f,a):this._doFindPreviousMatchLineByLine(p,i,f,a)}static _doFindPreviousMatchMultiline(p,s,i,a){const l=this._doFindMatchesMultiline(p,new o.Range(1,1,s.lineNumber,s.column),i,a,10*g);if(l.length>0)return l[l.length-1];const f=p.getLineCount();return s.lineNumber!==f||s.column!==p.getLineMaxColumn(f)?this._doFindPreviousMatchMultiline(p,new N.Position(f,p.getLineMaxColumn(f)),i,a):null}static _doFindPreviousMatchLineByLine(p,s,i,a){const l=p.getLineCount(),f=s.lineNumber,u=p.getLineContent(f).substring(0,s.column-1),_=this._findLastMatchInLine(i,u,f,a);if(_)return _;for(let b=1;b<=l;b++){const A=(l+f-b-1)%l,P=p.getLineContent(A+1),D=this._findLastMatchInLine(i,P,A+1,a);if(D)return D}return null}static _findLastMatchInLine(p,s,i,a){let l=null,f;for(p.reset(0);f=p.next(s);)l=S(new o.Range(i,f.index+1,i,f.index+1+f[0].length),f,a);return l}}r.TextModelSearch=d;function h(y,p,s,i,a){if(i===0)return!0;const l=p.charCodeAt(i-1);if(y.get(l)!==0||l===13||l===10)return!0;if(a>0){const f=p.charCodeAt(i);if(y.get(f)!==0)return!0}return!1}function v(y,p,s,i,a){if(i+a===s)return!0;const l=p.charCodeAt(i+a);if(y.get(l)!==0||l===13||l===10)return!0;if(a>0){const f=p.charCodeAt(i+a-1);if(y.get(f)!==0)return!0}return!1}function L(y,p,s,i,a){return h(y,p,s,i,a)&&v(y,p,s,i,a)}r.isValidMatch=L;class C{constructor(p,s){this._wordSeparators=p,this._searchRegex=s,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(p){this._searchRegex.lastIndex=p,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(p){const s=p.length;let i;do{if(this._prevMatchStartIndex+this._prevMatchLength===s||(i=this._searchRegex.exec(p),!i))return null;const a=i.index,l=i[0].length;if(a===this._prevMatchStartIndex&&l===this._prevMatchLength){if(l===0){E.getNextCodePoint(p,s,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=a,this._prevMatchLength=l,!this._wordSeparators||L(this._wordSeparators,p,s,a,l))return i}while(i);return null}}r.Searcher=C}),Y(Q[39],Z([0,1,4,38,2,7,15]),function(U,r,E,e,N,o,w){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.UnicodeTextModelHighlighter=void 0;class g{static computeUnicodeHighlights(d,h,v){const L=v?v.startLineNumber:1,C=v?v.endLineNumber:d.getLineCount(),y=new m(h),p=y.getCandidateCodePoints();let s;p==="allNonBasicAscii"?s=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):s=new RegExp(`${c(Array.from(p))}`,"g");const i=new e.Searcher(null,s),a=[];let l=!1,f,u=0,_=0,b=0;e:for(let A=L,P=C;A<=P;A++){const D=d.getLineContent(A),k=D.length;i.reset(0);do if(f=i.next(D),f){let R=f.index,I=f.index+f[0].length;if(R>0){const K=D.charCodeAt(R-1);N.isHighSurrogate(K)&&R--}if(I+1 =K){l=!0;break e}a.push(new E.Range(A,R+1,A,I+1))}}while(f)}return{ranges:a,hasMore:l,ambiguousCharacterCount:u,invisibleCharacterCount:_,nonBasicAsciiCharacterCount:b}}static computeUnicodeHighlightReason(d,h){const v=new m(h);switch(v.shouldHighlightNonBasicASCII(d,null)){case 0:return null;case 2:return{kind:1};case 3:{const C=d.codePointAt(0),y=v.ambiguousCharacters.getPrimaryConfusable(C),p=N.AmbiguousCharacters.getLocales().filter(s=>!N.AmbiguousCharacters.getInstance(new Set([...h.allowedLocales,s])).isAmbiguous(C));return{kind:0,confusableWith:String.fromCodePoint(y),notAmbiguousInLocales:p}}case 1:return{kind:2}}}}r.UnicodeTextModelHighlighter=g;function c(t,d){return`[${N.escapeRegExpCharacters(t.map(v=>String.fromCodePoint(v)).join(""))}]`}class m{constructor(d){this.options=d,this.allowedCodePoints=new Set(d.allowedCodePoints),this.ambiguousCharacters=N.AmbiguousCharacters.getInstance(new Set(d.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";const d=new Set;if(this.options.invisibleCharacters)for(const h of N.InvisibleCharacters.codePoints)S(String.fromCodePoint(h))||d.add(h);if(this.options.ambiguousCharacters)for(const h of this.ambiguousCharacters.getConfusableCodePoints())d.add(h);for(const h of this.allowedCodePoints)d.delete(h);return d}shouldHighlightNonBasicASCII(d,h){const v=d.codePointAt(0);if(this.allowedCodePoints.has(v))return 0;if(this.options.nonBasicASCII)return 1;let L=!1,C=!1;if(h)for(let y of h){const p=y.codePointAt(0),s=N.isBasicASCII(y);L=L||s,!s&&!this.ambiguousCharacters.isAmbiguous(p)&&!N.InvisibleCharacters.isInvisibleCharacter(p)&&(C=!0)}return!L&&C?0:this.options.invisibleCharacters&&!S(d)&&N.InvisibleCharacters.isInvisibleCharacter(v)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(v)?3:0}}function S(t){return t===" "||t===` +`||t===" "}}),Y(Q[40],Z([0,1]),function(U,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.WrappingIndent=r.TrackedRangeStickiness=r.TextEditorCursorStyle=r.TextEditorCursorBlinkingStyle=r.SymbolTag=r.SymbolKind=r.SignatureHelpTriggerKind=r.SelectionDirection=r.ScrollbarVisibility=r.ScrollType=r.RenderMinimap=r.RenderLineNumbersType=r.PositionAffinity=r.OverviewRulerLane=r.OverlayWidgetPositionPreference=r.MouseTargetType=r.MinimapPosition=r.MarkerTag=r.MarkerSeverity=r.KeyCode=r.InlineCompletionTriggerKind=r.InlayHintKind=r.InjectedTextCursorStops=r.IndentAction=r.EndOfLineSequence=r.EndOfLinePreference=r.EditorOption=r.EditorAutoIndentStrategy=r.DocumentHighlightKind=r.DefaultEndOfLine=r.CursorChangeReason=r.ContentWidgetPositionPreference=r.CompletionTriggerKind=r.CompletionItemTag=r.CompletionItemKind=r.CompletionItemInsertTextRule=r.AccessibilitySupport=void 0;var E;(function(n){n[n.Unknown=0]="Unknown",n[n.Disabled=1]="Disabled",n[n.Enabled=2]="Enabled"})(E=r.AccessibilitySupport||(r.AccessibilitySupport={}));var e;(function(n){n[n.KeepWhitespace=1]="KeepWhitespace",n[n.InsertAsSnippet=4]="InsertAsSnippet"})(e=r.CompletionItemInsertTextRule||(r.CompletionItemInsertTextRule={}));var N;(function(n){n[n.Method=0]="Method",n[n.Function=1]="Function",n[n.Constructor=2]="Constructor",n[n.Field=3]="Field",n[n.Variable=4]="Variable",n[n.Class=5]="Class",n[n.Struct=6]="Struct",n[n.Interface=7]="Interface",n[n.Module=8]="Module",n[n.Property=9]="Property",n[n.Event=10]="Event",n[n.Operator=11]="Operator",n[n.Unit=12]="Unit",n[n.Value=13]="Value",n[n.Constant=14]="Constant",n[n.Enum=15]="Enum",n[n.EnumMember=16]="EnumMember",n[n.Keyword=17]="Keyword",n[n.Text=18]="Text",n[n.Color=19]="Color",n[n.File=20]="File",n[n.Reference=21]="Reference",n[n.Customcolor=22]="Customcolor",n[n.Folder=23]="Folder",n[n.TypeParameter=24]="TypeParameter",n[n.User=25]="User",n[n.Issue=26]="Issue",n[n.Snippet=27]="Snippet"})(N=r.CompletionItemKind||(r.CompletionItemKind={}));var o;(function(n){n[n.Deprecated=1]="Deprecated"})(o=r.CompletionItemTag||(r.CompletionItemTag={}));var w;(function(n){n[n.Invoke=0]="Invoke",n[n.TriggerCharacter=1]="TriggerCharacter",n[n.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(w=r.CompletionTriggerKind||(r.CompletionTriggerKind={}));var g;(function(n){n[n.EXACT=0]="EXACT",n[n.ABOVE=1]="ABOVE",n[n.BELOW=2]="BELOW"})(g=r.ContentWidgetPositionPreference||(r.ContentWidgetPositionPreference={}));var c;(function(n){n[n.NotSet=0]="NotSet",n[n.ContentFlush=1]="ContentFlush",n[n.RecoverFromMarkers=2]="RecoverFromMarkers",n[n.Explicit=3]="Explicit",n[n.Paste=4]="Paste",n[n.Undo=5]="Undo",n[n.Redo=6]="Redo"})(c=r.CursorChangeReason||(r.CursorChangeReason={}));var m;(function(n){n[n.LF=1]="LF",n[n.CRLF=2]="CRLF"})(m=r.DefaultEndOfLine||(r.DefaultEndOfLine={}));var S;(function(n){n[n.Text=0]="Text",n[n.Read=1]="Read",n[n.Write=2]="Write"})(S=r.DocumentHighlightKind||(r.DocumentHighlightKind={}));var t;(function(n){n[n.None=0]="None",n[n.Keep=1]="Keep",n[n.Brackets=2]="Brackets",n[n.Advanced=3]="Advanced",n[n.Full=4]="Full"})(t=r.EditorAutoIndentStrategy||(r.EditorAutoIndentStrategy={}));var d;(function(n){n[n.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",n[n.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",n[n.accessibilitySupport=2]="accessibilitySupport",n[n.accessibilityPageSize=3]="accessibilityPageSize",n[n.ariaLabel=4]="ariaLabel",n[n.autoClosingBrackets=5]="autoClosingBrackets",n[n.autoClosingDelete=6]="autoClosingDelete",n[n.autoClosingOvertype=7]="autoClosingOvertype",n[n.autoClosingQuotes=8]="autoClosingQuotes",n[n.autoIndent=9]="autoIndent",n[n.automaticLayout=10]="automaticLayout",n[n.autoSurround=11]="autoSurround",n[n.bracketPairColorization=12]="bracketPairColorization",n[n.guides=13]="guides",n[n.codeLens=14]="codeLens",n[n.codeLensFontFamily=15]="codeLensFontFamily",n[n.codeLensFontSize=16]="codeLensFontSize",n[n.colorDecorators=17]="colorDecorators",n[n.columnSelection=18]="columnSelection",n[n.comments=19]="comments",n[n.contextmenu=20]="contextmenu",n[n.copyWithSyntaxHighlighting=21]="copyWithSyntaxHighlighting",n[n.cursorBlinking=22]="cursorBlinking",n[n.cursorSmoothCaretAnimation=23]="cursorSmoothCaretAnimation",n[n.cursorStyle=24]="cursorStyle",n[n.cursorSurroundingLines=25]="cursorSurroundingLines",n[n.cursorSurroundingLinesStyle=26]="cursorSurroundingLinesStyle",n[n.cursorWidth=27]="cursorWidth",n[n.disableLayerHinting=28]="disableLayerHinting",n[n.disableMonospaceOptimizations=29]="disableMonospaceOptimizations",n[n.domReadOnly=30]="domReadOnly",n[n.dragAndDrop=31]="dragAndDrop",n[n.emptySelectionClipboard=32]="emptySelectionClipboard",n[n.extraEditorClassName=33]="extraEditorClassName",n[n.fastScrollSensitivity=34]="fastScrollSensitivity",n[n.find=35]="find",n[n.fixedOverflowWidgets=36]="fixedOverflowWidgets",n[n.folding=37]="folding",n[n.foldingStrategy=38]="foldingStrategy",n[n.foldingHighlight=39]="foldingHighlight",n[n.foldingImportsByDefault=40]="foldingImportsByDefault",n[n.foldingMaximumRegions=41]="foldingMaximumRegions",n[n.unfoldOnClickAfterEndOfLine=42]="unfoldOnClickAfterEndOfLine",n[n.fontFamily=43]="fontFamily",n[n.fontInfo=44]="fontInfo",n[n.fontLigatures=45]="fontLigatures",n[n.fontSize=46]="fontSize",n[n.fontWeight=47]="fontWeight",n[n.formatOnPaste=48]="formatOnPaste",n[n.formatOnType=49]="formatOnType",n[n.glyphMargin=50]="glyphMargin",n[n.gotoLocation=51]="gotoLocation",n[n.hideCursorInOverviewRuler=52]="hideCursorInOverviewRuler",n[n.hover=53]="hover",n[n.inDiffEditor=54]="inDiffEditor",n[n.inlineSuggest=55]="inlineSuggest",n[n.letterSpacing=56]="letterSpacing",n[n.lightbulb=57]="lightbulb",n[n.lineDecorationsWidth=58]="lineDecorationsWidth",n[n.lineHeight=59]="lineHeight",n[n.lineNumbers=60]="lineNumbers",n[n.lineNumbersMinChars=61]="lineNumbersMinChars",n[n.linkedEditing=62]="linkedEditing",n[n.links=63]="links",n[n.matchBrackets=64]="matchBrackets",n[n.minimap=65]="minimap",n[n.mouseStyle=66]="mouseStyle",n[n.mouseWheelScrollSensitivity=67]="mouseWheelScrollSensitivity",n[n.mouseWheelZoom=68]="mouseWheelZoom",n[n.multiCursorMergeOverlapping=69]="multiCursorMergeOverlapping",n[n.multiCursorModifier=70]="multiCursorModifier",n[n.multiCursorPaste=71]="multiCursorPaste",n[n.occurrencesHighlight=72]="occurrencesHighlight",n[n.overviewRulerBorder=73]="overviewRulerBorder",n[n.overviewRulerLanes=74]="overviewRulerLanes",n[n.padding=75]="padding",n[n.parameterHints=76]="parameterHints",n[n.peekWidgetDefaultFocus=77]="peekWidgetDefaultFocus",n[n.definitionLinkOpensInPeek=78]="definitionLinkOpensInPeek",n[n.quickSuggestions=79]="quickSuggestions",n[n.quickSuggestionsDelay=80]="quickSuggestionsDelay",n[n.readOnly=81]="readOnly",n[n.renameOnType=82]="renameOnType",n[n.renderControlCharacters=83]="renderControlCharacters",n[n.renderFinalNewline=84]="renderFinalNewline",n[n.renderLineHighlight=85]="renderLineHighlight",n[n.renderLineHighlightOnlyWhenFocus=86]="renderLineHighlightOnlyWhenFocus",n[n.renderValidationDecorations=87]="renderValidationDecorations",n[n.renderWhitespace=88]="renderWhitespace",n[n.revealHorizontalRightPadding=89]="revealHorizontalRightPadding",n[n.roundedSelection=90]="roundedSelection",n[n.rulers=91]="rulers",n[n.scrollbar=92]="scrollbar",n[n.scrollBeyondLastColumn=93]="scrollBeyondLastColumn",n[n.scrollBeyondLastLine=94]="scrollBeyondLastLine",n[n.scrollPredominantAxis=95]="scrollPredominantAxis",n[n.selectionClipboard=96]="selectionClipboard",n[n.selectionHighlight=97]="selectionHighlight",n[n.selectOnLineNumbers=98]="selectOnLineNumbers",n[n.showFoldingControls=99]="showFoldingControls",n[n.showUnused=100]="showUnused",n[n.snippetSuggestions=101]="snippetSuggestions",n[n.smartSelect=102]="smartSelect",n[n.smoothScrolling=103]="smoothScrolling",n[n.stickyTabStops=104]="stickyTabStops",n[n.stopRenderingLineAfter=105]="stopRenderingLineAfter",n[n.suggest=106]="suggest",n[n.suggestFontSize=107]="suggestFontSize",n[n.suggestLineHeight=108]="suggestLineHeight",n[n.suggestOnTriggerCharacters=109]="suggestOnTriggerCharacters",n[n.suggestSelection=110]="suggestSelection",n[n.tabCompletion=111]="tabCompletion",n[n.tabIndex=112]="tabIndex",n[n.unicodeHighlighting=113]="unicodeHighlighting",n[n.unusualLineTerminators=114]="unusualLineTerminators",n[n.useShadowDOM=115]="useShadowDOM",n[n.useTabStops=116]="useTabStops",n[n.wordSeparators=117]="wordSeparators",n[n.wordWrap=118]="wordWrap",n[n.wordWrapBreakAfterCharacters=119]="wordWrapBreakAfterCharacters",n[n.wordWrapBreakBeforeCharacters=120]="wordWrapBreakBeforeCharacters",n[n.wordWrapColumn=121]="wordWrapColumn",n[n.wordWrapOverride1=122]="wordWrapOverride1",n[n.wordWrapOverride2=123]="wordWrapOverride2",n[n.wrappingIndent=124]="wrappingIndent",n[n.wrappingStrategy=125]="wrappingStrategy",n[n.showDeprecated=126]="showDeprecated",n[n.inlayHints=127]="inlayHints",n[n.editorClassName=128]="editorClassName",n[n.pixelRatio=129]="pixelRatio",n[n.tabFocusMode=130]="tabFocusMode",n[n.layoutInfo=131]="layoutInfo",n[n.wrappingInfo=132]="wrappingInfo"})(d=r.EditorOption||(r.EditorOption={}));var h;(function(n){n[n.TextDefined=0]="TextDefined",n[n.LF=1]="LF",n[n.CRLF=2]="CRLF"})(h=r.EndOfLinePreference||(r.EndOfLinePreference={}));var v;(function(n){n[n.LF=0]="LF",n[n.CRLF=1]="CRLF"})(v=r.EndOfLineSequence||(r.EndOfLineSequence={}));var L;(function(n){n[n.None=0]="None",n[n.Indent=1]="Indent",n[n.IndentOutdent=2]="IndentOutdent",n[n.Outdent=3]="Outdent"})(L=r.IndentAction||(r.IndentAction={}));var C;(function(n){n[n.Both=0]="Both",n[n.Right=1]="Right",n[n.Left=2]="Left",n[n.None=3]="None"})(C=r.InjectedTextCursorStops||(r.InjectedTextCursorStops={}));var y;(function(n){n[n.Type=1]="Type",n[n.Parameter=2]="Parameter"})(y=r.InlayHintKind||(r.InlayHintKind={}));var p;(function(n){n[n.Automatic=0]="Automatic",n[n.Explicit=1]="Explicit"})(p=r.InlineCompletionTriggerKind||(r.InlineCompletionTriggerKind={}));var s;(function(n){n[n.DependsOnKbLayout=-1]="DependsOnKbLayout",n[n.Unknown=0]="Unknown",n[n.Backspace=1]="Backspace",n[n.Tab=2]="Tab",n[n.Enter=3]="Enter",n[n.Shift=4]="Shift",n[n.Ctrl=5]="Ctrl",n[n.Alt=6]="Alt",n[n.PauseBreak=7]="PauseBreak",n[n.CapsLock=8]="CapsLock",n[n.Escape=9]="Escape",n[n.Space=10]="Space",n[n.PageUp=11]="PageUp",n[n.PageDown=12]="PageDown",n[n.End=13]="End",n[n.Home=14]="Home",n[n.LeftArrow=15]="LeftArrow",n[n.UpArrow=16]="UpArrow",n[n.RightArrow=17]="RightArrow",n[n.DownArrow=18]="DownArrow",n[n.Insert=19]="Insert",n[n.Delete=20]="Delete",n[n.Digit0=21]="Digit0",n[n.Digit1=22]="Digit1",n[n.Digit2=23]="Digit2",n[n.Digit3=24]="Digit3",n[n.Digit4=25]="Digit4",n[n.Digit5=26]="Digit5",n[n.Digit6=27]="Digit6",n[n.Digit7=28]="Digit7",n[n.Digit8=29]="Digit8",n[n.Digit9=30]="Digit9",n[n.KeyA=31]="KeyA",n[n.KeyB=32]="KeyB",n[n.KeyC=33]="KeyC",n[n.KeyD=34]="KeyD",n[n.KeyE=35]="KeyE",n[n.KeyF=36]="KeyF",n[n.KeyG=37]="KeyG",n[n.KeyH=38]="KeyH",n[n.KeyI=39]="KeyI",n[n.KeyJ=40]="KeyJ",n[n.KeyK=41]="KeyK",n[n.KeyL=42]="KeyL",n[n.KeyM=43]="KeyM",n[n.KeyN=44]="KeyN",n[n.KeyO=45]="KeyO",n[n.KeyP=46]="KeyP",n[n.KeyQ=47]="KeyQ",n[n.KeyR=48]="KeyR",n[n.KeyS=49]="KeyS",n[n.KeyT=50]="KeyT",n[n.KeyU=51]="KeyU",n[n.KeyV=52]="KeyV",n[n.KeyW=53]="KeyW",n[n.KeyX=54]="KeyX",n[n.KeyY=55]="KeyY",n[n.KeyZ=56]="KeyZ",n[n.Meta=57]="Meta",n[n.ContextMenu=58]="ContextMenu",n[n.F1=59]="F1",n[n.F2=60]="F2",n[n.F3=61]="F3",n[n.F4=62]="F4",n[n.F5=63]="F5",n[n.F6=64]="F6",n[n.F7=65]="F7",n[n.F8=66]="F8",n[n.F9=67]="F9",n[n.F10=68]="F10",n[n.F11=69]="F11",n[n.F12=70]="F12",n[n.F13=71]="F13",n[n.F14=72]="F14",n[n.F15=73]="F15",n[n.F16=74]="F16",n[n.F17=75]="F17",n[n.F18=76]="F18",n[n.F19=77]="F19",n[n.NumLock=78]="NumLock",n[n.ScrollLock=79]="ScrollLock",n[n.Semicolon=80]="Semicolon",n[n.Equal=81]="Equal",n[n.Comma=82]="Comma",n[n.Minus=83]="Minus",n[n.Period=84]="Period",n[n.Slash=85]="Slash",n[n.Backquote=86]="Backquote",n[n.BracketLeft=87]="BracketLeft",n[n.Backslash=88]="Backslash",n[n.BracketRight=89]="BracketRight",n[n.Quote=90]="Quote",n[n.OEM_8=91]="OEM_8",n[n.IntlBackslash=92]="IntlBackslash",n[n.Numpad0=93]="Numpad0",n[n.Numpad1=94]="Numpad1",n[n.Numpad2=95]="Numpad2",n[n.Numpad3=96]="Numpad3",n[n.Numpad4=97]="Numpad4",n[n.Numpad5=98]="Numpad5",n[n.Numpad6=99]="Numpad6",n[n.Numpad7=100]="Numpad7",n[n.Numpad8=101]="Numpad8",n[n.Numpad9=102]="Numpad9",n[n.NumpadMultiply=103]="NumpadMultiply",n[n.NumpadAdd=104]="NumpadAdd",n[n.NUMPAD_SEPARATOR=105]="NUMPAD_SEPARATOR",n[n.NumpadSubtract=106]="NumpadSubtract",n[n.NumpadDecimal=107]="NumpadDecimal",n[n.NumpadDivide=108]="NumpadDivide",n[n.KEY_IN_COMPOSITION=109]="KEY_IN_COMPOSITION",n[n.ABNT_C1=110]="ABNT_C1",n[n.ABNT_C2=111]="ABNT_C2",n[n.AudioVolumeMute=112]="AudioVolumeMute",n[n.AudioVolumeUp=113]="AudioVolumeUp",n[n.AudioVolumeDown=114]="AudioVolumeDown",n[n.BrowserSearch=115]="BrowserSearch",n[n.BrowserHome=116]="BrowserHome",n[n.BrowserBack=117]="BrowserBack",n[n.BrowserForward=118]="BrowserForward",n[n.MediaTrackNext=119]="MediaTrackNext",n[n.MediaTrackPrevious=120]="MediaTrackPrevious",n[n.MediaStop=121]="MediaStop",n[n.MediaPlayPause=122]="MediaPlayPause",n[n.LaunchMediaPlayer=123]="LaunchMediaPlayer",n[n.LaunchMail=124]="LaunchMail",n[n.LaunchApp2=125]="LaunchApp2",n[n.Clear=126]="Clear",n[n.MAX_VALUE=127]="MAX_VALUE"})(s=r.KeyCode||(r.KeyCode={}));var i;(function(n){n[n.Hint=1]="Hint",n[n.Info=2]="Info",n[n.Warning=4]="Warning",n[n.Error=8]="Error"})(i=r.MarkerSeverity||(r.MarkerSeverity={}));var a;(function(n){n[n.Unnecessary=1]="Unnecessary",n[n.Deprecated=2]="Deprecated"})(a=r.MarkerTag||(r.MarkerTag={}));var l;(function(n){n[n.Inline=1]="Inline",n[n.Gutter=2]="Gutter"})(l=r.MinimapPosition||(r.MinimapPosition={}));var f;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.TEXTAREA=1]="TEXTAREA",n[n.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",n[n.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",n[n.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",n[n.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",n[n.CONTENT_TEXT=6]="CONTENT_TEXT",n[n.CONTENT_EMPTY=7]="CONTENT_EMPTY",n[n.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",n[n.CONTENT_WIDGET=9]="CONTENT_WIDGET",n[n.OVERVIEW_RULER=10]="OVERVIEW_RULER",n[n.SCROLLBAR=11]="SCROLLBAR",n[n.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",n[n.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(f=r.MouseTargetType||(r.MouseTargetType={}));var u;(function(n){n[n.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",n[n.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",n[n.TOP_CENTER=2]="TOP_CENTER"})(u=r.OverlayWidgetPositionPreference||(r.OverlayWidgetPositionPreference={}));var _;(function(n){n[n.Left=1]="Left",n[n.Center=2]="Center",n[n.Right=4]="Right",n[n.Full=7]="Full"})(_=r.OverviewRulerLane||(r.OverviewRulerLane={}));var b;(function(n){n[n.Left=0]="Left",n[n.Right=1]="Right",n[n.None=2]="None"})(b=r.PositionAffinity||(r.PositionAffinity={}));var A;(function(n){n[n.Off=0]="Off",n[n.On=1]="On",n[n.Relative=2]="Relative",n[n.Interval=3]="Interval",n[n.Custom=4]="Custom"})(A=r.RenderLineNumbersType||(r.RenderLineNumbersType={}));var P;(function(n){n[n.None=0]="None",n[n.Text=1]="Text",n[n.Blocks=2]="Blocks"})(P=r.RenderMinimap||(r.RenderMinimap={}));var D;(function(n){n[n.Smooth=0]="Smooth",n[n.Immediate=1]="Immediate"})(D=r.ScrollType||(r.ScrollType={}));var k;(function(n){n[n.Auto=1]="Auto",n[n.Hidden=2]="Hidden",n[n.Visible=3]="Visible"})(k=r.ScrollbarVisibility||(r.ScrollbarVisibility={}));var R;(function(n){n[n.LTR=0]="LTR",n[n.RTL=1]="RTL"})(R=r.SelectionDirection||(r.SelectionDirection={}));var I;(function(n){n[n.Invoke=1]="Invoke",n[n.TriggerCharacter=2]="TriggerCharacter",n[n.ContentChange=3]="ContentChange"})(I=r.SignatureHelpTriggerKind||(r.SignatureHelpTriggerKind={}));var F;(function(n){n[n.File=0]="File",n[n.Module=1]="Module",n[n.Namespace=2]="Namespace",n[n.Package=3]="Package",n[n.Class=4]="Class",n[n.Method=5]="Method",n[n.Property=6]="Property",n[n.Field=7]="Field",n[n.Constructor=8]="Constructor",n[n.Enum=9]="Enum",n[n.Interface=10]="Interface",n[n.Function=11]="Function",n[n.Variable=12]="Variable",n[n.Constant=13]="Constant",n[n.String=14]="String",n[n.Number=15]="Number",n[n.Boolean=16]="Boolean",n[n.Array=17]="Array",n[n.Object=18]="Object",n[n.Key=19]="Key",n[n.Null=20]="Null",n[n.EnumMember=21]="EnumMember",n[n.Struct=22]="Struct",n[n.Event=23]="Event",n[n.Operator=24]="Operator",n[n.TypeParameter=25]="TypeParameter"})(F=r.SymbolKind||(r.SymbolKind={}));var O;(function(n){n[n.Deprecated=1]="Deprecated"})(O=r.SymbolTag||(r.SymbolTag={}));var V;(function(n){n[n.Hidden=0]="Hidden",n[n.Blink=1]="Blink",n[n.Smooth=2]="Smooth",n[n.Phase=3]="Phase",n[n.Expand=4]="Expand",n[n.Solid=5]="Solid"})(V=r.TextEditorCursorBlinkingStyle||(r.TextEditorCursorBlinkingStyle={}));var K;(function(n){n[n.Line=1]="Line",n[n.Block=2]="Block",n[n.Underline=3]="Underline",n[n.LineThin=4]="LineThin",n[n.BlockOutline=5]="BlockOutline",n[n.UnderlineThin=6]="UnderlineThin"})(K=r.TextEditorCursorStyle||(r.TextEditorCursorStyle={}));var $;(function(n){n[n.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",n[n.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",n[n.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",n[n.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})($=r.TrackedRangeStickiness||(r.TrackedRangeStickiness={}));var z;(function(n){n[n.None=0]="None",n[n.Same=1]="Same",n[n.Indent=2]="Indent",n[n.DeepIndent=3]="DeepIndent"})(z=r.WrappingIndent||(r.WrappingIndent={}))});var oe=this&&this.__awaiter||function(U,r,E,e){function N(o){return o instanceof E?o:new E(function(w){w(o)})}return new(E||(E=Promise))(function(o,w){function g(S){try{m(e.next(S))}catch(t){w(t)}}function c(S){try{m(e.throw(S))}catch(t){w(t)}}function m(S){S.done?o(S.value):N(S.value).then(g,c)}m((e=e.apply(U,r||[])).next())})};Y(Q[41],Z([0,1,6,8]),function(U,r,E,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TokenizationRegistry=void 0;class N{constructor(){this._map=new Map,this._factories=new Map,this._onDidChange=new E.Emitter,this.onDidChange=this._onDidChange.event,this._colorMap=null}fire(g){this._onDidChange.fire({changedLanguages:g,changedColorMap:!1})}register(g,c){return this._map.set(g,c),this.fire([g]),(0,e.toDisposable)(()=>{this._map.get(g)===c&&(this._map.delete(g),this.fire([g]))})}registerFactory(g,c){var m;(m=this._factories.get(g))===null||m===void 0||m.dispose();const S=new o(this,g,c);return this._factories.set(g,S),(0,e.toDisposable)(()=>{const t=this._factories.get(g);!t||t!==S||(this._factories.delete(g),t.dispose())})}getOrCreate(g){return oe(this,void 0,void 0,function*(){const c=this.get(g);if(c)return c;const m=this._factories.get(g);return!m||m.isResolved?null:(yield m.resolve(),this.get(g))})}get(g){return this._map.get(g)||null}isResolved(g){if(this.get(g))return!0;const m=this._factories.get(g);return!!(!m||m.isResolved)}setColorMap(g){this._colorMap=g,this._onDidChange.fire({changedLanguages:Array.from(this._map.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}}r.TokenizationRegistry=N;class o extends e.Disposable{constructor(g,c,m){super();this._registry=g,this._languageId=c,this._factory=m,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}get isResolved(){return this._isResolved}dispose(){this._isDisposed=!0,super.dispose()}resolve(){return oe(this,void 0,void 0,function*(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise})}_create(){return oe(this,void 0,void 0,function*(){const g=yield Promise.resolve(this._factory.createTokenizationSupport());this._isResolved=!0,g&&!this._isDisposed&&this._register(this._registry.register(this._languageId,g))})}}}),Y(Q[42],Z([0,1,9,4,41,18]),function(U,r,E,e,N,o){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TokenizationRegistry=r.InlayHintKind=r.Command=r.FoldingRangeKind=r.SymbolKinds=r.isLocationLink=r.DocumentHighlightKind=r.SignatureHelpTriggerKind=r.InlineCompletionTriggerKind=r.CompletionItemKinds=r.EncodedTokenizationResult=r.TokenizationResult=r.Token=r.TokenMetadata=void 0;class w{static getLanguageId(i){return(i&255)>>>0}static getTokenType(i){return(i&768)>>>8}static getFontStyle(i){return(i&15360)>>>10}static getForeground(i){return(i&8372224)>>>14}static getBackground(i){return(i&4286578688)>>>23}static getClassNameFromMetadata(i){const a=this.getForeground(i);let l="mtk"+a;const f=this.getFontStyle(i);return f&1&&(l+=" mtki"),f&2&&(l+=" mtkb"),f&4&&(l+=" mtku"),f&8&&(l+=" mtks"),l}static getInlineStyleFromMetadata(i,a){const l=this.getForeground(i),f=this.getFontStyle(i);let u=`color: ${a[l]};`;f&1&&(u+="font-style: italic;"),f&2&&(u+="font-weight: bold;");let _="";return f&4&&(_+=" underline"),f&8&&(_+=" line-through"),_&&(u+=`text-decoration:${_};`),u}static getPresentationFromMetadata(i){const a=this.getForeground(i),l=this.getFontStyle(i);return{foreground:a,italic:Boolean(l&1),bold:Boolean(l&2),underline:Boolean(l&4),strikethrough:Boolean(l&8)}}}r.TokenMetadata=w;class g{constructor(i,a,l){this._tokenBrand=void 0,this.offset=i,this.type=a,this.language=l}toString(){return"("+this.offset+", "+this.type+")"}}r.Token=g;class c{constructor(i,a){this._tokenizationResultBrand=void 0,this.tokens=i,this.endState=a}}r.TokenizationResult=c;class m{constructor(i,a){this._encodedTokenizationResultBrand=void 0,this.tokens=i,this.endState=a}}r.EncodedTokenizationResult=m;var S;(function(s){const i=new Map;i.set(0,o.Codicon.symbolMethod),i.set(1,o.Codicon.symbolFunction),i.set(2,o.Codicon.symbolConstructor),i.set(3,o.Codicon.symbolField),i.set(4,o.Codicon.symbolVariable),i.set(5,o.Codicon.symbolClass),i.set(6,o.Codicon.symbolStruct),i.set(7,o.Codicon.symbolInterface),i.set(8,o.Codicon.symbolModule),i.set(9,o.Codicon.symbolProperty),i.set(10,o.Codicon.symbolEvent),i.set(11,o.Codicon.symbolOperator),i.set(12,o.Codicon.symbolUnit),i.set(13,o.Codicon.symbolValue),i.set(15,o.Codicon.symbolEnum),i.set(14,o.Codicon.symbolConstant),i.set(15,o.Codicon.symbolEnum),i.set(16,o.Codicon.symbolEnumMember),i.set(17,o.Codicon.symbolKeyword),i.set(27,o.Codicon.symbolSnippet),i.set(18,o.Codicon.symbolText),i.set(19,o.Codicon.symbolColor),i.set(20,o.Codicon.symbolFile),i.set(21,o.Codicon.symbolReference),i.set(22,o.Codicon.symbolCustomColor),i.set(23,o.Codicon.symbolFolder),i.set(24,o.Codicon.symbolTypeParameter),i.set(25,o.Codicon.account),i.set(26,o.Codicon.issues);function a(u){let _=i.get(u);return _||(console.info("No codicon found for CompletionItemKind "+u),_=o.Codicon.symbolProperty),_}s.toIcon=a;const l=new Map;l.set("method",0),l.set("function",1),l.set("constructor",2),l.set("field",3),l.set("variable",4),l.set("class",5),l.set("struct",6),l.set("interface",7),l.set("module",8),l.set("property",9),l.set("event",10),l.set("operator",11),l.set("unit",12),l.set("value",13),l.set("constant",14),l.set("enum",15),l.set("enum-member",16),l.set("enumMember",16),l.set("keyword",17),l.set("snippet",27),l.set("text",18),l.set("color",19),l.set("file",20),l.set("reference",21),l.set("customcolor",22),l.set("folder",23),l.set("type-parameter",24),l.set("typeParameter",24),l.set("account",25),l.set("issue",26);function f(u,_){let b=l.get(u);return typeof b=="undefined"&&!_&&(b=9),b}s.fromString=f})(S=r.CompletionItemKinds||(r.CompletionItemKinds={}));var t;(function(s){s[s.Automatic=0]="Automatic",s[s.Explicit=1]="Explicit"})(t=r.InlineCompletionTriggerKind||(r.InlineCompletionTriggerKind={}));var d;(function(s){s[s.Invoke=1]="Invoke",s[s.TriggerCharacter=2]="TriggerCharacter",s[s.ContentChange=3]="ContentChange"})(d=r.SignatureHelpTriggerKind||(r.SignatureHelpTriggerKind={}));var h;(function(s){s[s.Text=0]="Text",s[s.Read=1]="Read",s[s.Write=2]="Write"})(h=r.DocumentHighlightKind||(r.DocumentHighlightKind={}));function v(s){return s&&E.URI.isUri(s.uri)&&e.Range.isIRange(s.range)&&(e.Range.isIRange(s.originSelectionRange)||e.Range.isIRange(s.targetSelectionRange))}r.isLocationLink=v;var L;(function(s){const i=new Map;i.set(0,o.Codicon.symbolFile),i.set(1,o.Codicon.symbolModule),i.set(2,o.Codicon.symbolNamespace),i.set(3,o.Codicon.symbolPackage),i.set(4,o.Codicon.symbolClass),i.set(5,o.Codicon.symbolMethod),i.set(6,o.Codicon.symbolProperty),i.set(7,o.Codicon.symbolField),i.set(8,o.Codicon.symbolConstructor),i.set(9,o.Codicon.symbolEnum),i.set(10,o.Codicon.symbolInterface),i.set(11,o.Codicon.symbolFunction),i.set(12,o.Codicon.symbolVariable),i.set(13,o.Codicon.symbolConstant),i.set(14,o.Codicon.symbolString),i.set(15,o.Codicon.symbolNumber),i.set(16,o.Codicon.symbolBoolean),i.set(17,o.Codicon.symbolArray),i.set(18,o.Codicon.symbolObject),i.set(19,o.Codicon.symbolKey),i.set(20,o.Codicon.symbolNull),i.set(21,o.Codicon.symbolEnumMember),i.set(22,o.Codicon.symbolStruct),i.set(23,o.Codicon.symbolEvent),i.set(24,o.Codicon.symbolOperator),i.set(25,o.Codicon.symbolTypeParameter);function a(l){let f=i.get(l);return f||(console.info("No codicon found for SymbolKind "+l),f=o.Codicon.symbolProperty),f}s.toIcon=a})(L=r.SymbolKinds||(r.SymbolKinds={}));class C{constructor(i){this.value=i}}r.FoldingRangeKind=C,C.Comment=new C("comment"),C.Imports=new C("imports"),C.Region=new C("region");var y;(function(s){function i(a){return!a||typeof a!="object"?!1:typeof a.id=="string"&&typeof a.title=="string"}s.is=i})(y=r.Command||(r.Command={}));var p;(function(s){s[s.Type=1]="Type",s[s.Parameter=2]="Parameter"})(p=r.InlayHintKind||(r.InlayHintKind={})),r.TokenizationRegistry=new N.TokenizationRegistry}),Y(Q[43],Z([0,1,27,6,22,9,3,4,30,42,40]),function(U,r,E,e,N,o,w,g,c,m,S){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createMonacoBaseAPI=r.KeyMod=void 0;class t{static chord(v,L){return(0,N.KeyChord)(v,L)}}r.KeyMod=t,t.CtrlCmd=2048,t.Shift=1024,t.Alt=512,t.WinCtrl=256;function d(){return{editor:void 0,languages:void 0,CancellationTokenSource:E.CancellationTokenSource,Emitter:e.Emitter,KeyCode:S.KeyCode,KeyMod:t,Position:w.Position,Range:g.Range,Selection:c.Selection,SelectionDirection:S.SelectionDirection,MarkerSeverity:S.MarkerSeverity,MarkerTag:S.MarkerTag,Uri:o.URI,Token:m.Token}}r.createMonacoBaseAPI=d}),Y(Q[45],Z([0,1,12,5,9,3,4,32,37,15,33,34,43,7,11,39]),function(U,r,E,e,N,o,w,g,c,m,S,t,d,h,v,L){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.create=r.EditorSimpleWorker=r.MirrorModel=void 0;class C extends c.MirrorTextModel{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(i){return this._lines[i-1]}getWordAtPosition(i,a){const l=(0,m.getWordAtText)(i.column,(0,m.ensureValidWordDefinition)(a),this._lines[i.lineNumber-1],0);return l?new w.Range(i.lineNumber,l.startColumn,i.lineNumber,l.endColumn):null}words(i){const a=this._lines,l=this._wordenize.bind(this);let f=0,u="",_=0,b=[];return{*[Symbol.iterator](){for(;;)if(_ this._lines.length)a=this._lines.length,l=this._lines[a-1].length+1,f=!0;else{const u=this._lines[a-1].length+1;l<1?(l=1,f=!0):l>u&&(l=u,f=!0)}return f?{lineNumber:a,column:l}:i}}r.MirrorModel=C;class y{constructor(i,a){this._host=i,this._models=Object.create(null),this._foreignModuleFactory=a,this._foreignModule=null}dispose(){this._models=Object.create(null)}_getModel(i){return this._models[i]}_getModels(){const i=[];return Object.keys(this._models).forEach(a=>i.push(this._models[a])),i}acceptNewModel(i){this._models[i.url]=new C(N.URI.parse(i.url),i.lines,i.EOL,i.versionId)}acceptModelChanged(i,a){if(!this._models[i])return;this._models[i].onEvents(a)}acceptRemovedModel(i){!this._models[i]||delete this._models[i]}computeUnicodeHighlights(i,a,l){return oe(this,void 0,void 0,function*(){const f=this._getModel(i);return f?L.UnicodeTextModelHighlighter.computeUnicodeHighlights(f,a,l):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}})}computeDiff(i,a,l,f){return oe(this,void 0,void 0,function*(){const u=this._getModel(i),_=this._getModel(a);if(!u||!_)return null;const b=u.getLinesContent(),A=_.getLinesContent(),D=new g.DiffComputer(b,A,{shouldComputeCharChanges:!0,shouldPostProcessCharChanges:!0,shouldIgnoreTrimWhitespace:l,shouldMakePrettyDiff:!0,maxComputationTime:f}).computeDiff(),k=D.changes.length>0?!1:this._modelsAreIdentical(u,_);return{quitEarly:D.quitEarly,identical:k,changes:D.changes}})}_modelsAreIdentical(i,a){const l=i.getLineCount(),f=a.getLineCount();if(l!==f)return!1;for(let u=1;u<=l;u++){const _=i.getLineContent(u),b=a.getLineContent(u);if(_!==b)return!1}return!0}computeMoreMinimalEdits(i,a){return oe(this,void 0,void 0,function*(){const l=this._getModel(i);if(!l)return a;const f=[];let u;a=a.slice(0).sort((_,b)=>{if(_.range&&b.range)return w.Range.compareRangesUsingStarts(_.range,b.range);const A=_.range?0:1,P=b.range?0:1;return A-P});for(let{range:_,text:b,eol:A}of a){if(typeof A=="number"&&(u=A),w.Range.isEmpty(_)&&!b)continue;const P=l.getValueInRange(_);if(b=b.replace(/\r\n|\n|\r/g,l.eol),P===b)continue;if(Math.max(b.length,P.length)>y._diffLimit){f.push({range:_,text:b});continue}const D=(0,E.stringDiff)(P,b,!1),k=l.offsetAt(w.Range.lift(_).getStartPosition());for(const R of D){const I=l.positionAt(k+R.originalStart),F=l.positionAt(k+R.originalStart+R.originalLength),O={text:b.substr(R.modifiedStart,R.modifiedLength),range:{startLineNumber:I.lineNumber,startColumn:I.column,endLineNumber:F.lineNumber,endColumn:F.column}};l.getValueInRange(O.range)!==O.text&&f.push(O)}}return typeof u=="number"&&f.push({eol:u,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),f})}computeLinks(i){return oe(this,void 0,void 0,function*(){const a=this._getModel(i);return a?(0,S.computeLinks)(a):null})}textualSuggest(i,a,l,f){return oe(this,void 0,void 0,function*(){const u=new v.StopWatch(!0),_=new RegExp(l,f),b=new Set;e:for(let A of i){const P=this._getModel(A);if(!!P){for(let D of P.words(_))if(!(D===a||!isNaN(Number(D)))&&(b.add(D),b.size>y._suggestionsLimit))break e}}return{words:Array.from(b),duration:u.elapsed()}})}computeWordRanges(i,a,l,f){return oe(this,void 0,void 0,function*(){const u=this._getModel(i);if(!u)return Object.create(null);const _=new RegExp(l,f),b=Object.create(null);for(let A=a.startLineNumber;A this._host.fhr(b,A),_={host:h.createProxyObject(l,f),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(_,a),Promise.resolve(h.getAllMethodNames(this._foreignModule))):new Promise((b,A)=>{U([i],P=>{this._foreignModule=P.create(_,a),b(h.getAllMethodNames(this._foreignModule))},A)})}fmr(i,a){if(!this._foreignModule||typeof this._foreignModule[i]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+i));try{return Promise.resolve(this._foreignModule[i].apply(this._foreignModule,a))}catch(l){return Promise.reject(l)}}}r.EditorSimpleWorker=y,y._diffLimit=1e5,y._suggestionsLimit=1e4;function p(s){return new y(s,null)}r.create=p,typeof importScripts=="function"&&(e.globals.monaco=(0,d.createMonacoBaseAPI)())}),function(){var U,r;const E=self.MonacoEnvironment,e=E&&E.baseUrl?E.baseUrl:"../../../",N=typeof((U=self.trustedTypes)===null||U===void 0?void 0:U.createPolicy)=="function"?(r=self.trustedTypes)===null||r===void 0?void 0:r.createPolicy("amdLoader",{createScriptURL:S=>S,createScript:(S,...t)=>{const d=t.slice(0,-1).join(","),h=t.pop().toString();return`(function anonymous(${d}) { +${h} +})`}}):void 0;function o(){try{return(N?self.eval(N.createScript("","true")):new Function("true")).call(self),!0}catch{return!1}}function w(){return new Promise((S,t)=>{if(typeof self.define=="function"&&self.define.amd)return S();const d=e+"vs/loader.js";if(!(/^((http:)|(https:)|(file:))/.test(d)&&d.substring(0,self.origin.length)!==self.origin)&&o()){fetch(d).then(v=>{if(v.status!==200)throw new Error(v.statusText);return v.text()}).then(v=>{v=`${v} +//# sourceURL=${d}`,(N?self.eval(N.createScript("",v)):new Function(v)).call(self),S()}).then(void 0,t);return}N?importScripts(N.createScriptURL(d)):importScripts(d),S()})}const g=function(S){w().then(()=>{require.config({baseUrl:e,catchError:!0,trustedTypesPolicy:N,amdModulesPattern:/^vs\//}),require([S],function(t){setTimeout(function(){let d=t.create((h,v)=>{self.postMessage(h,v)},null);for(self.onmessage=h=>d.onmessage(h.data,h.ports);m.length>0;)self.onmessage(m.shift())},0)})})};let c=!0,m=[];self.onmessage=S=>{if(!c){m.push(S);return}c=!1,g(S.data)}}()}).call(this); + +//# sourceMappingURL=../../../../min-maps/vs/base/worker/workerMain.js.map \ No newline at end of file diff --git a/examples/tour-assets/monaco/basic-languages/python/python.js b/examples/tour-assets/monaco/basic-languages/python/python.js new file mode 100644 index 0000000000000000000000000000000000000000..1b187b93349f2fb9e4fe9e8a36814d8a5174021a --- /dev/null +++ b/examples/tour-assets/monaco/basic-languages/python/python.js @@ -0,0 +1,10 @@ +/*!----------------------------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4) + * Released under the MIT license + * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt + *-----------------------------------------------------------------------------*/ +define("vs/basic-languages/python/python", ["require","require"],(require)=>{ +var moduleExports=(()=>{var d=Object.create;var o=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var l=e=>o(e,"__esModule",{value:!0});var b=(e=>typeof require!="undefined"?require:typeof Proxy!="undefined"?new Proxy(e,{get:(n,t)=>(typeof require!="undefined"?require:n)[t]}):e)(function(e){if(typeof require!="undefined")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var y=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),h=(e,n)=>{for(var t in n)o(e,t,{get:n[t],enumerable:!0})},i=(e,n,t,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of _(n))!f.call(e,r)&&(t||r!=="default")&&o(e,r,{get:()=>n[r],enumerable:!(a=m(n,r))||a.enumerable});return e},c=(e,n)=>i(l(o(e!=null?d(u(e)):{},"default",!n&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),x=(e=>(n,t)=>e&&e.get(n)||(t=i(l({}),n,1),e&&e.set(n,t),t))(typeof WeakMap!="undefined"?new WeakMap:0);var g=y((v,p)=>{var w=c(b("vs/editor/editor.api"));p.exports=w});var D={};h(D,{conf:()=>k,language:()=>$});var s={};i(s,c(g()));var k={comments:{lineComment:"#",blockComment:["'''","'''"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$"),action:{indentAction:s.languages.IndentAction.Indent}}],folding:{offSide:!0,markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},$={defaultToken:"",tokenPostfix:".python",keywords:["False","None","True","and","as","assert","async","await","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","nonlocal","not","or","pass","print","raise","return","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","self","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],tokenizer:{root:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/[,:;]/,"delimiter"],[/[{}\[\]()]/,"@brackets"],[/@[a-zA-Z_]\w*/,"tag"],[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@default":"identifier"}}]],whitespace:[[/\s+/,"white"],[/(^#.*$)/,"comment"],[/'''/,"string","@endDocString"],[/"""/,"string","@endDblDocString"]],endDocString:[[/[^']+/,"string"],[/\\'/,"string"],[/'''/,"string","@popall"],[/'/,"string"]],endDblDocString:[[/[^"]+/,"string"],[/\\"/,"string"],[/"""/,"string","@popall"],[/"/,"string"]],numbers:[[/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/,"number.hex"],[/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/,"number"]],strings:[[/'$/,"string.escape","@popall"],[/'/,"string.escape","@stringBody"],[/"$/,"string.escape","@popall"],[/"/,"string.escape","@dblStringBody"]],stringBody:[[/[^\\']+$/,"string","@popall"],[/[^\\']+/,"string"],[/\\./,"string"],[/'/,"string.escape","@popall"],[/\\$/,"string"]],dblStringBody:[[/[^\\"]+$/,"string","@popall"],[/[^\\"]+/,"string"],[/\\./,"string"],[/"/,"string.escape","@popall"],[/\\$/,"string"]]}};return x(D);})(); +return moduleExports; +}); diff --git a/examples/tour-assets/monaco/editor/editor.main.css b/examples/tour-assets/monaco/editor/editor.main.css new file mode 100644 index 0000000000000000000000000000000000000000..8ae93d13ba39416d28c7e25b7e9f3653ca31e68a --- /dev/null +++ b/examples/tour-assets/monaco/editor/editor.main.css @@ -0,0 +1,6 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.33.0(c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .codicon,.monaco-action-bar .action-item .icon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-label{margin-right:1px}.monaco-aria-container{position:absolute;left:-999em}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;justify-content:center;align-items:center}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled,.monaco-button.disabled:focus{opacity:.4!important;cursor:default}.monaco-text-button>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown>.monaco-dropdown-button{margin-left:1px}.monaco-description-button{flex-direction:column}.monaco-description-button .monaco-button-label{font-weight:500}.monaco-description-button .monaco-button-description{font-style:italic}.monaco-description-button .monaco-button-description,.monaco-description-button .monaco-button-label{display:flex;justify-content:center;align-items:center}.monaco-description-button .monaco-button-description>.codicon,.monaco-description-button .monaco-button-label>.codicon{margin:0 .2em;color:inherit!important}.monaco-custom-checkbox{margin-left:2px;float:left;cursor:pointer;overflow:hidden;width:20px;height:20px;border-radius:3px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-custom-checkbox:hover{background-color:var(--vscode-inputOption-hoverBackground)}.hc-black .monaco-custom-checkbox:hover{border:1px dashed var(--vscode-focusBorder)}.hc-black .monaco-custom-checkbox,.hc-black .monaco-custom-checkbox:hover{background:none}.monaco-custom-checkbox.monaco-simple-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-checkbox.monaco-simple-checkbox:not(.checked):before{visibility:hidden}@font-face{font-family:codicon;font-display:block;src:url(../base/browser/ui/codicons/codicon/codicon.ttf) format("truetype")}.codicon[class*=codicon-]{font:normal normal normal 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none;-ms-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(1turn)}}.codicon-gear.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin,.codicon-sync.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.context-view{position:absolute;z-index:2500}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;z-index:2500;color:inherit}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:400;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:hsla(0,0%,100%,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:hsla(0,0%,100%,.44)}99%{background:transparent}}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover a:hover{cursor:pointer}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover .code,.monaco-hover p,.monaco-hover ul{margin:8px 0}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0;border-right:0;margin:4px -8px -4px;height:1px}.monaco-hover .code:first-child,.monaco-hover p:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover .code:last-child,.monaco-hover p:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ol,.monaco-hover ul{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link,.monaco-hover .hover-contents a.code-link:hover{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:0;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;-ms-overflow-style:none;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-multiple,.monaco-list.selection-single{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{border:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;background:none;width:16px;height:16px;flex-shrink:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.monaco-list-type-filter>.controls>.filter{margin-left:4px}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:grab}.monaco-list-type-filter.dragging{cursor:grabbing}.monaco-mouse-cursor-text{cursor:text}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;transform:translateZ(0);animation-timing-function:linear}.monaco-progress-container.infinite.infinite-long-running .progress-bit{animation-timing-function:steps(100)}@keyframes progress{0%{transform:translateX(0) scaleX(1)}50%{transform:translateX(2500%) scaleX(3)}to{transform:translateX(4900%) scaleX(1)}}:root{--sash-size:4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--sash-size)*2);width:calc(var(--sash-size)*2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--sash-size)*-0.5);top:calc(var(--sash-size)*-1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--sash-size)*-0.5);bottom:calc(var(--sash-size)*-1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--sash-size)*-0.5);left:calc(var(--sash-size)*-1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--sash-size)*-0.5);right:calc(var(--sash-size)*-1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.monaco-sash.vertical:before{width:var(--sash-hover-size);left:calc(50% - var(--sash-hover-size)/2)}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - var(--sash-hover-size)/2)}.pointer-events-disabled{pointer-events:none!important}.monaco-sash.debug{background:#0ff}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:transparent;transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:auto}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:normal;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:700;overflow:hidden;text-overflow:ellipsis}.monaco-table-td,.monaco-table-th{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--sash-size)/2);width:0;border-left:1px solid transparent}.monaco-table>.monaco-split-view2,.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent;transition:border-color .1s linear}.monaco-tl-contents,.monaco-tl-twistie{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translateX(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.quick-input-widget{position:absolute;width:600px;z-index:2000;padding:0 1px 1px;left:50%;margin-left:-300px}.quick-input-titlebar{display:flex;align-items:center}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:50%;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:6px 6px 0;margin-bottom:-2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:27.5px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:440px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:700}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px;margin-right:4px}.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label,.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .current-line,.monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute;box-sizing:border-box}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.mtkcontrol{color:#fff!important;background:#960000!important}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:#fff}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover .minimap-slider.active,.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:hsla(0,0%,100%,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar,.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:transparent}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:hsla(0,0%,67.1%,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-diff-editor .delete-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-editor .insert-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-diff-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-editor.hc-black .insert-sign{opacity:1}.monaco-editor .inline-added-margin-view-zone,.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box}.monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{display:flex;align-items:center;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap;color:var(--vscode-editorCodeLens-foreground)}.monaco-editor .codelens-decoration>a,.monaco-editor .codelens-decoration>span{user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration>a:hover,.monaco-editor .codelens-decoration>a:hover .codicon{color:var(--vscode-editorLink-activeForeground)!important}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important;color:var(--vscode-editorCodeLens-foreground)}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none;-ms-user-select:none}.colorpicker-color-decoration{border:.1em solid #000;box-sizing:border-box;margin:.1em .2em 0;width:.8em;height:.8em;line-height:.8em;display:inline-block;cursor:pointer}.hc-black .colorpicker-color-decoration,.vs-dark .colorpicker-color-decoration{border:.1em solid #eee}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;display:flex;align-items:center;justify-content:center;line-height:24px;cursor:pointer;color:#fff;flex:1}.colorpicker-header .picked-color .codicon{color:inherit;font-size:14px;position:absolute;left:8px}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid #fff;border-radius:100%;box-shadow:0 0 2px rgba(0,0,0,.8);position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid hsla(0,0%,100%,.71);box-shadow:0 0 1px rgba(0,0,0,.85)}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor.vs .dnd-target{border-right:2px dotted #000;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #aeafad;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.hc-black.mac.mouse-default .view-lines,.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines{cursor:default}.monaco-editor.hc-black.mac.mouse-copy .view-lines,.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines{cursor:copy}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px))}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:4px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions,.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:50%;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{opacity:.3;cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon-folding-expanded{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays:hover .codicon{opacity:1}.monaco-editor .inline-folded:after{color:grey;margin:.1em .2em 0;content:"⋯";display:inline;line-height:1em;cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under;color:var(--vscode-textLink-foreground);color:var(--vscode-textLink-activeForeground)}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px;background-color:var(--vscode-peekViewResult-background);color:var(--vscode-peekViewResult-lineForeground)}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%;color:var(--vscode-peekViewResult-fileForeground)}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows>.monaco-list-row.selected:not(.highlighted){background-color:var(--vscode-peekViewResult-selectionBackground);color:var(--vscode-peekViewResult-selectionForeground)!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight{background-color:var(--vscode-peekViewResult-matchHighlightBackground)}.monaco-editor .reference-zone-widget .preview .reference-decoration{background-color:var(--vscode-peekViewEditor-matchHighlightBackground);border:2px solid var(--vscode-peekViewEditor-matchHighlightBorder);box-sizing:border-box}.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input,.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background{background-color:var(--vscode-peekViewEditor-background)}.monaco-editor .reference-zone-widget .preview .monaco-editor .margin{background-color:var(--vscode-peekViewEditorGutter-background)}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file{font-weight:700}.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight{border:1px dotted var(--vscode-contrastActiveBorder,transparent);box-sizing:border-box}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration,.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px;color:var(--vscode-inputValidation-infoForeground);background-color:var(--vscode-inputValidation-infoBackground);border:1px solid var(--vscode-inputValidation-infoBorder)}.monaco-editor.hc-black .monaco-editor-overlaymessage .message{border-width:2px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;z-index:1000;border:8px solid transparent;position:absolute}.monaco-editor .monaco-editor-overlaymessage .anchor.top{border-bottom-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage .anchor.below{border-top-color:var(--vscode-inputValidation-infoBorder)}.monaco-editor .monaco-editor-overlaymessage.below .anchor.below,.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .parameter-hints-widget{z-index:39;display:flex;flex-direction:column;line-height:1.5em}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .body,.monaco-editor .parameter-hints-widget .monaco-scrollable-element{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:normal}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .docs .code,.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:700}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:700;margin-right:.5em}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex;justify-content:space-between;flex-wrap:nowrap}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:center;font-size:13px;margin-left:20px;min-width:0;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em;text-overflow:ellipsis;overflow:hidden}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.monaco-editor .peekview-widget .head .peekview-title .dirname{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .rename-box{z-index:100;color:inherit}.monaco-editor .rename-box.preview{padding:3px 3px 0}.monaco-editor .rename-box .rename-input{padding:3px;width:calc(100% - 6px)}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetTabstopHighlightBorder,transparent)}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px;background-color:var(--vscode-editor-snippetFinalTabstopHighlightBackground,transparent);outline-color:var(--vscode-editor-snippetFinalTabstopHighlightBorder,transparent)}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-details,.monaco-editor .suggest-widget{flex:0 1 auto;width:100%;border:1px solid var(--vscode-editorSuggestWidget-border);background-color:var(--vscode-editorSuggestWidget-background)}.monaco-editor.hc-black .suggest-details,.monaco-editor.hc-black .suggest-widget{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid var(--vscode-editorSuggestWidget-border);overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{color:var(--vscode-editorSuggestWidgetStatus-foreground)}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused{color:var(--vscode-editorSuggestWidget-selectedForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon{color:var(--vscode-editorSuggestWidget-selectedIconForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label{color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:700}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-highlightForeground)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight{color:var(--vscode-editorSuggestWidget-focusHighlightForeground)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:normal;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:50%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default;color:var(--vscode-editorSuggestWidget-foreground)}.monaco-editor .suggest-details.focused{border-color:var(--vscode-focusBorder)}.monaco-editor .suggest-details a{color:var(--vscode-textLink-foreground)}.monaco-editor .suggest-details a:hover{color:var(--vscode-textLink-activeForeground)}.monaco-editor .suggest-details code{background-color:var(--vscode-textCodeBlock-background)}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px;overflow:hidden}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:normal;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source{white-space:pre}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ol,.monaco-editor .suggest-details ul{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.editor-banner{box-sizing:border-box;cursor:default;width:100%;font-size:12px;display:flex;overflow:visible;height:26px;background:var(--vscode-banner-background)}.editor-banner .icon-container{display:flex;flex-shrink:0;align-items:center;padding:0 6px 0 10px}.editor-banner .icon-container.custom-icon{background-repeat:no-repeat;background-position:50%;background-size:16px;width:16px;padding:0;margin:0 6px 0 10px}.editor-banner .message-container{display:flex;align-items:center;line-height:26px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.editor-banner .message-container p{margin-block-start:0;margin-block-end:0}.editor-banner .message-actions-container{flex-grow:1;flex-shrink:0;line-height:26px;margin:0 4px}.editor-banner .message-actions-container a.monaco-button{width:inherit;margin:2px 8px;padding:0 12px}.editor-banner .message-actions-container a{padding:3px;margin-left:12px;text-decoration:underline}.editor-banner .action-container{padding:0 10px 0 6px}.editor-banner{background-color:var(--vscode-banner-background)}.editor-banner,.editor-banner .action-container .codicon,.editor-banner .message-actions-container .monaco-link{color:var(--vscode-banner-foreground)}.editor-banner .icon-container .codicon{color:var(--vscode-banner-iconForeground)}.monaco-editor .unicode-highlight{border:1px solid var(--vscode-editorUnicodeHighlight-border);box-sizing:border-box}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjhWNC4wMXpNNC4wMDguMDA4QTQuMDAzIDQuMDAzIDAgMDAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwMDQuMDAzIDQuMDAyaDQ0LjAyOGE0LjAwMyA0LjAwMyAwIDAwNC4wMDMtNC4wMDJWNC4wMUE0LjAwMyA0LjAwMyAwIDAwNDguMDM2LjAwOEg0LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxVjguMDEzem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJWOC4wMTN6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyVjguMDEzem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDNWOC4wMTN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDNWOC4wMTN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnYtNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNoLTQuMDAzdi00LjAwM3ptMTIuMDA4IDBoLTQuMDAzdjQuMDAzaDQuMDAzdi00LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM2g4LjAwNXptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzdi00LjAwM3ptNC4wMDMgMGgyMC4wMTN2NC4wMDNIMTYuMDE2di00LjAwM3ptMjguMDE4IDBINDAuMDN2NC4wMDNoNC4wMDN2LTQuMDAzeiIgZmlsbD0iIzQyNDI0MiIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDUzdjM2SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+) 50% no-repeat;border:4px solid #f6f6f6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00OC4wMzYgNC4wMUg0LjAwOFYzMi4wM2g0NC4wMjhWNC4wMXpNNC4wMDguMDA4QTQuMDAzIDQuMDAzIDAgMDAuMDA1IDQuMDFWMzIuMDNhNC4wMDMgNC4wMDMgMCAwMDQuMDAzIDQuMDAyaDQ0LjAyOGE0LjAwMyA0LjAwMyAwIDAwNC4wMDMtNC4wMDJWNC4wMUE0LjAwMyA0LjAwMyAwIDAwNDguMDM2LjAwOEg0LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxVjguMDEzem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJWOC4wMTN6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyVjguMDEzem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDNWOC4wMTN6bTQuMDAyIDBoNC4wMDN2NC4wMDNINDAuMDNWOC4wMTN6bS0yNC4wMTUgOC4wMDVIOC4wMXY0LjAwM2g4LjAwNnYtNC4wMDN6bTQuMDAyIDBoNC4wMDN2NC4wMDNoLTQuMDAzdi00LjAwM3ptMTIuMDA4IDBoLTQuMDAzdjQuMDAzaDQuMDAzdi00LjAwM3ptMTIuMDA4IDB2NC4wMDNoLTguMDA1di00LjAwM2g4LjAwNXptLTMyLjAyMSA4LjAwNUg4LjAxdjQuMDAzaDQuMDAzdi00LjAwM3ptNC4wMDMgMGgyMC4wMTN2NC4wMDNIMTYuMDE2di00LjAwM3ptMjguMDE4IDBINDAuMDN2NC4wMDNoNC4wMDN2LTQuMDAzeiIgZmlsbD0iI0M1QzVDNSIvPjwvZz48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDUzdjM2SDB6Ii8+PC9jbGlwUGF0aD48L2RlZnM+PC9zdmc+) 50% no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:400;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,86.7%,.4);border:1px solid hsla(0,0%,80%,.4);border-bottom-color:hsla(0,0%,73.3%,.4);box-shadow:inset 0 -1px 0 hsla(0,0%,73.3%,.4);color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:1px solid #6fc3df;box-shadow:none;color:#fff}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:hsla(0,0%,50.2%,.17);border:1px solid rgba(51,51,51,.6);border-bottom-color:rgba(68,68,68,.6);box-shadow:inset 0 -1px 0 rgba(68,68,68,.6);color:#ccc}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,Segoe WPC,Segoe UI,HelveticaNeue-Light,system-ui,Ubuntu,Droid Sans,sans-serif;--monaco-monospace-font:"SF Mono",Monaco,Menlo,Consolas,"Ubuntu Mono","Liberation Mono","DejaVu Sans Mono","Courier New",monospace}.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs-dark .view-overlays .current-line,.monaco-editor.vs .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs-dark .cursor,.monaco-editor.vs .cursor{background-color:windowtext!important}.monaco-editor.vs-dark .dnd-target,.monaco-editor.vs .dnd-target{border-color:windowtext!important}.monaco-editor.vs-dark .selected-text,.monaco-editor.vs .selected-text{background-color:highlight!important}.monaco-editor.vs-dark .view-line,.monaco-editor.vs .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .view-line span,.monaco-editor.vs .view-line span{color:windowtext!important}.monaco-editor.vs-dark .view-line span.inline-selected-text,.monaco-editor.vs .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs-dark .view-overlays,.monaco-editor.vs .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs-dark .reference-decoration,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs .wordHighlightStrong{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs-dark .rangeHighlight,.monaco-editor.vs .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs-dark .bracket-match,.monaco-editor.vs .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs-dark .currentFindMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs .findMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs-dark .find-widget,.monaco-editor.vs .find-widget{border:1px solid windowtext}.monaco-editor.vs-dark .monaco-list .monaco-list-row,.monaco-editor.vs .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused,.monaco-editor.vs .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover,.monaco-editor.vs .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar,.monaco-editor.vs .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs-dark .decorationsOverviewRuler,.monaco-editor.vs .decorationsOverviewRuler{opacity:0}.monaco-editor.vs-dark .minimap,.monaco-editor.vs .minimap{display:none}.monaco-editor.vs-dark .squiggly-d-error,.monaco-editor.vs .squiggly-d-error{background:transparent!important;border-bottom:4px double #e47777}.monaco-editor.vs-dark .squiggly-b-info,.monaco-editor.vs-dark .squiggly-c-warning,.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs .squiggly-c-warning{border-bottom:4px double #71b771}.monaco-editor.vs-dark .squiggly-a-hint,.monaco-editor.vs .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs-dark .diffOverviewRuler,.monaco-diff-editor.vs .diffOverviewRuler{display:none}.monaco-editor.vs-dark .line-delete,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs .line-insert{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs-dark .char-delete,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs .char-insert{background:transparent!important}}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-light)}.hc-black .monaco-action-bar .action-item.menu-entry .action-label,.vs-dark .monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-light)}.hc-black .monaco-dropdown-with-default>.action-container.menu-entry>.action-label,.vs-dark .monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:50%;background-repeat:no-repeat}.context-view .monaco-menu{min-width:130px} \ No newline at end of file diff --git a/examples/tour-assets/monaco/editor/editor.main.js b/examples/tour-assets/monaco/editor/editor.main.js new file mode 100644 index 0000000000000000000000000000000000000000..23f518dd593608e299f73c2860088ee4c86c40d7 --- /dev/null +++ b/examples/tour-assets/monaco/editor/editor.main.js @@ -0,0 +1,805 @@ +/*!----------------------------------------------------------- + * Copyright (c) Microsoft Corporation. All rights reserved. + * Version: 0.33.0(c722ca6c7eed3d7987c0d5c3df5c45f6b15e77d1) + * Released under the MIT license + * https://github.com/microsoft/vscode/blob/main/LICENSE.txt + *-----------------------------------------------------------*/(function(){var te=["exports","require","vs/base/common/lifecycle","vs/editor/common/core/range","vs/base/common/event","vs/nls","vs/nls!vs/editor/editor.main","vs/base/browser/dom","vs/base/common/strings","vs/platform/instantiation/common/instantiation","vs/base/common/async","vs/editor/common/core/position","vs/css!vs/editor/editor.main","vs/base/common/errors","vs/platform/theme/common/themeService","vs/editor/browser/editorExtensions","vs/base/common/platform","vs/platform/contextkey/common/contextkey","vs/base/common/arrays","vs/base/common/types","vs/editor/common/services/languageFeatures","vs/base/common/cancellation","vs/editor/common/core/selection","vs/platform/theme/common/colorRegistry","vs/editor/common/editorContextKeys","vs/base/common/uri","vs/platform/commands/common/commands","vs/editor/common/languages","vs/base/common/codicons","vs/editor/browser/services/codeEditorService","vs/base/common/color","vs/base/browser/fastDomNode","vs/editor/common/config/editorOptions","vs/editor/common/languages/languageConfigurationRegistry","vs/base/browser/browser","vs/editor/common/languages/language","vs/platform/registry/common/platform","vs/platform/actions/common/actions","vs/editor/common/model/textModel","vs/platform/notification/common/notification","vs/base/common/objects","vs/platform/configuration/common/configuration","vs/base/common/resources","vs/platform/keybinding/common/keybinding","vs/base/browser/keyboardEvent","vs/base/common/network","vs/base/browser/ui/aria/aria","vs/base/common/actions","vs/editor/common/services/model","vs/base/common/map","vs/editor/common/model","vs/editor/browser/view/viewPart","vs/platform/instantiation/common/extensions","vs/platform/opener/common/opener","vs/editor/common/core/editorColorRegistry","vs/base/common/stopwatch","vs/editor/common/services/resolverService","vs/base/common/iterator","vs/base/common/keyCodes","vs/base/browser/mouseEvent","vs/base/browser/touch","vs/editor/common/cursorCommon","vs/base/browser/ui/widget","vs/editor/common/core/editOperation","vs/editor/browser/config/domFontInfo","vs/platform/accessibility/common/accessibility","vs/platform/log/common/log","vs/editor/common/services/languageFeatureDebounce","vs/base/common/htmlContent","vs/base/browser/ui/scrollbar/scrollableElement","vs/editor/common/core/cursorColumns","vs/editor/common/viewModel","vs/editor/common/standaloneStrings","vs/platform/progress/common/progress","vs/platform/theme/common/iconRegistry","vs/base/common/filters","vs/base/common/severity","vs/editor/common/tokens/lineTokens","vs/platform/contextview/browser/contextView","vs/platform/markers/common/markers","vs/platform/quickinput/common/quickInput","vs/editor/common/languages/modesRegistry","vs/platform/storage/common/storage","vs/base/common/linkedList","vs/base/common/path","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length","vs/editor/contrib/hover/browser/hoverTypes","vs/base/browser/ui/actionbar/actionbar","vs/editor/common/services/editorWorker","vs/platform/keybinding/common/keybindingsRegistry","vs/platform/telemetry/common/telemetry","vs/base/common/functional","vs/base/browser/event","vs/editor/common/core/stringBuilder","vs/editor/common/textModelEvents","vs/base/common/decorators","vs/base/common/keybindings","vs/base/common/iconLabels","vs/base/browser/globalMouseMoveMonitor","vs/editor/common/core/characterClassifier","vs/editor/common/commands/replaceCommand","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/smallImmutableSet","vs/editor/browser/view/dynamicViewOverlay","vs/editor/standalone/common/standaloneTheme","vs/platform/clipboard/common/clipboardService","vs/platform/configuration/common/configurationRegistry","vs/editor/contrib/markdownRenderer/browser/markdownRenderer","vs/platform/quickinput/common/quickAccess","vs/editor/contrib/editorState/browser/editorState","vs/editor/contrib/suggest/browser/suggest","vs/editor/contrib/peekView/browser/peekView","vs/base/browser/ui/tree/tree","vs/base/common/buffer","vs/base/common/numbers","vs/base/common/hash","vs/base/browser/ui/iconLabel/iconLabels","vs/base/browser/ui/sash/sash","vs/base/browser/ui/list/listWidget","vs/editor/browser/view/renderingContext","vs/editor/common/core/eolCounter","vs/editor/common/core/wordCharacterClassifier","vs/editor/common/core/wordHelper","vs/editor/common/languages/languageConfiguration","vs/editor/common/languages/supports","vs/editor/common/languages/nullTokenize","vs/editor/common/viewEventHandler","vs/editor/common/viewLayout/viewLineRenderer","vs/editor/contrib/snippet/browser/snippetParser","vs/base/browser/ui/actionbar/actionViewItems","vs/editor/contrib/gotoSymbol/browser/referencesModel","vs/platform/dialogs/common/dialogs","vs/platform/label/common/label","vs/platform/layout/browser/layoutService","vs/editor/browser/editorDom","vs/platform/theme/common/styler","vs/platform/theme/common/theme","vs/base/common/idGenerator","vs/base/common/lazy","vs/base/common/mime","vs/base/common/range","vs/base/common/scrollable","vs/base/common/diff/diff","vs/base/common/uint","vs/base/browser/ui/codicons/codiconStyles","vs/base/browser/ui/mouseCursor/mouseCursor","vs/css!vs/base/parts/quickinput/browser/media/quickInput","vs/editor/browser/stableEditorScroll","vs/editor/common/config/editorZoom","vs/editor/common/core/textModelDefaults","vs/editor/common/editorCommon","vs/editor/browser/editorBrowser","vs/editor/common/cursor/cursorWordOperations","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast","vs/editor/common/model/textModelSearch","vs/editor/common/viewLayout/lineDecorations","vs/editor/contrib/codeAction/browser/types","vs/editor/common/services/textResourceConfiguration","vs/platform/instantiation/common/serviceCollection","vs/editor/browser/coreCommands","vs/editor/contrib/codeAction/browser/codeAction","vs/editor/contrib/message/browser/messageController","vs/platform/list/browser/listService","vs/platform/undoRedo/common/undoRedo","vs/editor/browser/widget/codeEditorWidget","vs/editor/browser/widget/embeddedCodeEditorWidget","vs/editor/contrib/find/browser/findModel","vs/base/browser/dnd","vs/base/browser/canIUse","vs/base/common/extpath","vs/base/browser/ui/tree/indexTreeModel","vs/base/browser/ui/tree/objectTreeModel","vs/base/browser/formattedTextRenderer","vs/base/browser/ui/scrollbar/scrollbarArrow","vs/base/common/labels","vs/base/browser/ui/checkbox/checkbox","vs/base/browser/ui/list/listView","vs/editor/common/config/fontInfo","vs/editor/common/core/indentation","vs/editor/browser/controller/textAreaInput","vs/editor/browser/view/viewLayer","vs/editor/common/cursor/cursorMoveOperations","vs/editor/common/cursor/cursorDeleteOperations","vs/editor/common/cursor/cursorMoveCommands","vs/editor/common/languages/supports/richEditBrackets","vs/editor/common/model/utils","vs/editor/common/standalone/standaloneEnums","vs/editor/common/textModelGuides","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer","vs/editor/browser/viewParts/glyphMargin/glyphMargin","vs/editor/common/viewEvents","vs/editor/common/viewModelEventDispatcher","vs/editor/contrib/folding/browser/foldingRanges","vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture","vs/editor/contrib/inlineCompletions/browser/ghostText","vs/editor/contrib/inlineCompletions/browser/inlineCompletionToGhostText","vs/base/browser/ui/iconLabel/iconLabel","vs/base/browser/ui/tree/abstractTree","vs/base/browser/ui/inputbox/inputBox","vs/base/common/keybindingLabels","vs/platform/instantiation/common/descriptors","vs/editor/browser/services/bulkEditService","vs/editor/common/services/markerDecorations","vs/editor/common/commands/shiftCommand","vs/editor/common/cursor/cursorTypeOperations","vs/editor/contrib/parameterHints/browser/provideSignatureHelp","vs/editor/contrib/documentSymbols/browser/outlineModel","vs/platform/jsonschemas/common/jsonContributionRegistry","vs/editor/contrib/hover/browser/markdownHoverParticipant","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel","vs/platform/actions/browser/menuEntryActionViewItem","vs/editor/contrib/gotoSymbol/browser/goToCommands","vs/platform/workspace/common/workspace","vs/editor/contrib/snippet/browser/snippetController2","vs/editor/standalone/browser/standaloneServices","vs/base/browser/iframe","vs/base/browser/ui/scrollbar/scrollbarState","vs/base/common/assert","vs/base/common/collections","vs/base/common/glob","vs/base/common/marshalling","vs/base/browser/ui/highlightedlabel/highlightedLabel","vs/base/browser/ui/scrollbar/abstractScrollbar","vs/base/common/worker/simpleWorker","vs/base/parts/quickinput/common/quickInput","vs/css!vs/base/browser/ui/actionbar/actionbar","vs/base/browser/ui/contextview/contextview","vs/base/browser/ui/countBadge/countBadge","vs/css!vs/base/browser/ui/dropdown/dropdown","vs/css!vs/base/browser/ui/findinput/findInput","vs/css!vs/base/browser/ui/list/list","vs/base/browser/ui/hover/hoverWidget","vs/base/browser/ui/splitview/splitview","vs/base/parts/quickinput/browser/quickInputUtils","vs/editor/browser/config/elementSizeObserver","vs/editor/browser/config/tabFocus","vs/editor/browser/view/viewUserInputEvents","vs/editor/browser/viewParts/minimap/minimapCharSheet","vs/editor/browser/controller/textAreaState","vs/editor/browser/widget/diffNavigator","vs/editor/common/core/rgba","vs/editor/common/core/textChange","vs/editor/common/cursor/cursorAtomicMoveOperations","vs/editor/common/editorAction","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser","vs/editor/common/model/prefixSumComputer","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer","vs/editor/common/modelLineProjectionData","vs/editor/common/services/unicodeTextModelHighlighter","vs/editor/common/model/guidesTextModelPart","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets","vs/editor/common/services/editorBaseApi","vs/editor/common/languages/textToHtmlTokenizer","vs/editor/browser/viewParts/margin/margin","vs/editor/common/viewModel/minimapTokensColorTracker","vs/editor/common/viewModel/overviewZoneManager","vs/editor/contrib/comment/browser/blockCommentCommand","vs/editor/contrib/folding/browser/syntaxRangeProvider","vs/editor/contrib/format/browser/formattingEdit","vs/editor/contrib/hover/browser/hoverOperation","vs/editor/contrib/indentation/browser/indentUtils","vs/editor/contrib/inlayHints/browser/inlayHints","vs/editor/contrib/inlineCompletions/browser/consts","vs/editor/contrib/smartSelect/browser/bracketSelections","vs/editor/contrib/suggest/browser/resizable","vs/editor/standalone/common/monarch/monarchCommon","vs/editor/standalone/common/monarch/monarchLexer","vs/base/browser/ui/findinput/findInputCheckboxes","vs/base/browser/ui/tree/objectTree","vs/editor/browser/config/fontMeasurements","vs/editor/common/viewModel/viewModelDecorations","vs/editor/common/model/editStack","vs/platform/files/common/files","vs/editor/common/services/getSemanticTokens","vs/editor/contrib/codelens/browser/codelens","vs/editor/contrib/colorPicker/browser/color","vs/editor/common/cursor/cursor","vs/platform/contextkey/common/contextkeys","vs/platform/keybinding/common/resolvedKeybindingItem","vs/editor/standalone/browser/standaloneLayoutService","vs/editor/browser/services/editorWorkerService","vs/editor/contrib/suggest/browser/suggestWidgetDetails","vs/platform/history/browser/contextScopedHistoryWidget","vs/editor/browser/viewParts/lines/viewLine","vs/editor/browser/controller/mouseTarget","vs/editor/browser/viewParts/lineNumbers/lineNumbers","vs/editor/common/services/semanticTokensProviderStyling","vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess","vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/editor/standalone/browser/standaloneCodeEditorService","vs/editor/contrib/format/browser/format","vs/editor/contrib/gotoSymbol/browser/goToSymbol","vs/editor/contrib/hover/browser/getHover","vs/editor/contrib/codeAction/browser/codeActionCommands","vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode","vs/editor/contrib/wordOperations/browser/wordOperations","vs/editor/common/services/modelService","vs/editor/browser/widget/diffEditorWidget","vs/editor/contrib/colorPicker/browser/colorDetector","vs/editor/contrib/find/browser/findController","vs/editor/contrib/gotoError/browser/gotoError","vs/editor/contrib/gotoSymbol/browser/peek/referencesController","vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition","vs/editor/contrib/hover/browser/hover","vs/editor/contrib/inlayHints/browser/inlayHintsController","vs/editor/contrib/snippet/browser/snippetSession","vs/editor/contrib/suggest/browser/suggestController","vs/editor/contrib/inlineCompletions/browser/ghostTextController","vs/platform/workspace/common/workspaceTrust","vs/base/browser/ui/list/list","vs/base/browser/ui/list/splice","vs/base/common/cache","vs/base/common/diff/diffChange","vs/base/common/marked/marked","vs/base/common/navigator","vs/base/common/history","vs/base/common/process","vs/base/browser/ui/list/rangeMap","vs/base/browser/ui/scrollbar/scrollbarVisibilityController","vs/base/common/comparers","vs/base/browser/ui/tree/compressedObjectTreeModel","vs/base/common/fuzzyScorer","vs/base/common/search","vs/base/browser/ui/list/rowCache","vs/base/browser/ui/scrollbar/horizontalScrollbar","vs/base/browser/ui/scrollbar/verticalScrollbar","vs/base/browser/markdownRenderer","vs/base/common/uuid","vs/base/browser/defaultWorkerFactory","vs/base/parts/storage/common/storage","vs/css!vs/base/browser/ui/aria/aria","vs/css!vs/base/browser/ui/button/button","vs/base/browser/ui/button/button","vs/css!vs/base/browser/ui/checkbox/checkbox","vs/css!vs/base/browser/ui/codicons/codicon/codicon","vs/css!vs/base/browser/ui/codicons/codicon/codicon-modifiers","vs/css!vs/base/browser/ui/contextview/contextview","vs/css!vs/base/browser/ui/countBadge/countBadge","vs/css!vs/base/browser/ui/hover/hover","vs/css!vs/base/browser/ui/iconLabel/iconlabel","vs/css!vs/base/browser/ui/inputbox/inputBox","vs/css!vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/css!vs/base/browser/ui/mouseCursor/mouseCursor","vs/css!vs/base/browser/ui/progressbar/progressbar","vs/base/browser/ui/progressbar/progressbar","vs/css!vs/base/browser/ui/sash/sash","vs/css!vs/base/browser/ui/scrollbar/media/scrollbars","vs/base/browser/ui/list/listPaging","vs/css!vs/base/browser/ui/splitview/splitview","vs/css!vs/base/browser/ui/table/table","vs/base/browser/ui/table/tableWidget","vs/css!vs/base/browser/ui/tree/media/tree","vs/css!vs/editor/browser/controller/textAreaHandler","vs/css!vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight","vs/css!vs/editor/browser/viewParts/decorations/decorations","vs/css!vs/editor/browser/viewParts/glyphMargin/glyphMargin","vs/css!vs/editor/browser/viewParts/indentGuides/indentGuides","vs/css!vs/editor/browser/viewParts/lineNumbers/lineNumbers","vs/css!vs/editor/browser/viewParts/lines/viewLines","vs/css!vs/editor/browser/viewParts/linesDecorations/linesDecorations","vs/css!vs/editor/browser/viewParts/marginDecorations/marginDecorations","vs/css!vs/editor/browser/viewParts/minimap/minimap","vs/css!vs/editor/browser/viewParts/overlayWidgets/overlayWidgets","vs/css!vs/editor/browser/viewParts/rulers/rulers","vs/css!vs/editor/browser/viewParts/scrollDecoration/scrollDecoration","vs/css!vs/editor/browser/viewParts/selections/selections","vs/css!vs/editor/browser/viewParts/viewCursors/viewCursors","vs/css!vs/editor/browser/widget/media/diffEditor","vs/css!vs/editor/browser/widget/media/diffReview","vs/css!vs/editor/browser/widget/media/editor","vs/css!vs/editor/contrib/anchorSelect/browser/anchorSelect","vs/css!vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/css!vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/css!vs/editor/contrib/codelens/browser/codelensWidget","vs/css!vs/editor/contrib/colorPicker/browser/colorPicker","vs/css!vs/editor/contrib/dnd/browser/dnd","vs/css!vs/editor/contrib/find/browser/findWidget","vs/css!vs/editor/contrib/folding/browser/folding","vs/css!vs/editor/contrib/gotoError/browser/media/gotoErrorWidget","vs/css!vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition","vs/css!vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget","vs/css!vs/editor/contrib/inlineCompletions/browser/ghostText","vs/css!vs/editor/contrib/links/browser/links","vs/css!vs/editor/contrib/message/browser/messageController","vs/css!vs/editor/contrib/parameterHints/browser/parameterHints","vs/css!vs/editor/contrib/peekView/browser/media/peekViewWidget","vs/css!vs/editor/contrib/rename/browser/renameInputField","vs/css!vs/editor/contrib/snippet/browser/snippetSession","vs/css!vs/editor/contrib/suggest/browser/media/suggest","vs/css!vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/css!vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/css!vs/editor/contrib/zoneWidget/browser/zoneWidget","vs/css!vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp","vs/css!vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard","vs/css!vs/editor/standalone/browser/inspectTokens/inspectTokens","vs/css!vs/editor/standalone/browser/quickInput/standaloneQuickInput","vs/css!vs/editor/standalone/browser/standalone-tokens","vs/css!vs/platform/actions/browser/menuEntryActionViewItem","vs/css!vs/platform/contextview/browser/contextMenuHandler","vs/editor/browser/config/migrateOptions","vs/editor/browser/viewParts/lines/rangeUtil","vs/editor/browser/viewParts/minimap/minimapCharRenderer","vs/editor/browser/viewParts/minimap/minimapPreBaked","vs/editor/browser/viewParts/minimap/minimapCharRendererFactory","vs/editor/common/commands/trimTrailingWhitespaceCommand","vs/editor/common/commands/surroundSelectionCommand","vs/editor/common/cursor/cursorContext","vs/editor/common/diff/diffComputer","vs/editor/common/editorTheme","vs/editor/common/languageSelector","vs/editor/common/languages/linkComputer","vs/editor/common/cursor/cursorColumnSelection","vs/editor/common/cursor/oneCursor","vs/editor/common/cursor/cursorCollection","vs/editor/common/languages/supports/characterPair","vs/editor/common/languages/supports/indentRules","vs/editor/common/languages/supports/inplaceReplaceSupport","vs/editor/common/languages/supports/onEnter","vs/editor/common/languages/supports/electricCharacter","vs/editor/common/languages/supports/tokenization","vs/editor/common/languageFeatureRegistry","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees","vs/editor/common/model/indentationGuesser","vs/editor/common/model/intervalTree","vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase","vs/editor/common/model/mirrorTextModel","vs/editor/common/model/textModelPart","vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder","vs/editor/common/services/languagesAssociations","vs/editor/common/services/semanticTokensDto","vs/editor/common/textModelBracketPairs","vs/editor/common/tokenizationRegistry","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree","vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl","vs/editor/common/model/bracketPairsTextModelPart/fixBrackets","vs/editor/common/services/editorSimpleWorker","vs/editor/common/tokens/contiguousMultilineTokens","vs/editor/common/tokens/contiguousMultilineTokensBuilder","vs/editor/common/model/textModelTokens","vs/editor/common/tokens/contiguousTokensEditing","vs/editor/common/tokens/contiguousTokensStore","vs/editor/common/tokens/sparseMultilineTokens","vs/editor/common/tokens/sparseTokensStore","vs/editor/browser/viewParts/contentWidgets/contentWidgets","vs/editor/browser/viewParts/decorations/decorations","vs/editor/browser/viewParts/linesDecorations/linesDecorations","vs/editor/browser/viewParts/marginDecorations/marginDecorations","vs/editor/browser/viewParts/overlayWidgets/overlayWidgets","vs/editor/browser/viewParts/viewZones/viewZones","vs/editor/common/viewLayout/linesLayout","vs/editor/common/viewLayout/viewLinesViewportData","vs/editor/common/viewModel/modelLineProjection","vs/editor/common/viewModel/monospaceLineBreaksComputer","vs/editor/browser/viewParts/overviewRuler/overviewRuler","vs/editor/common/viewModel/viewContext","vs/editor/common/viewLayout/viewLayout","vs/editor/contrib/caretOperations/browser/moveCaretCommand","vs/editor/contrib/colorPicker/browser/colorPickerModel","vs/editor/contrib/dnd/browser/dragAndDropCommand","vs/editor/contrib/find/browser/replaceAllCommand","vs/editor/contrib/find/browser/replacePattern","vs/editor/contrib/folding/browser/foldingModel","vs/editor/contrib/folding/browser/hiddenRangeModel","vs/editor/contrib/folding/browser/indentRangeProvider","vs/editor/contrib/folding/browser/intializingRangeProvider","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplaceCommand","vs/editor/contrib/inlineCompletions/browser/utils","vs/editor/contrib/linesOperations/browser/copyLinesCommand","vs/editor/contrib/linesOperations/browser/sortLinesCommand","vs/editor/contrib/smartSelect/browser/wordSelections","vs/editor/contrib/suggest/browser/completionModel","vs/editor/contrib/suggest/browser/suggestCommitCharacters","vs/editor/contrib/suggest/browser/suggestOvertypingCapturer","vs/editor/contrib/suggest/browser/wordDistance","vs/editor/standalone/common/monarch/monarchCompile","vs/editor/standalone/browser/colorizer","vs/nls!vs/base/browser/ui/actionbar/actionViewItems","vs/nls!vs/base/browser/ui/findinput/findInput","vs/nls!vs/base/browser/ui/findinput/findInputCheckboxes","vs/nls!vs/base/browser/ui/findinput/replaceInput","vs/nls!vs/base/browser/ui/iconLabel/iconLabelHover","vs/base/browser/ui/iconLabel/iconLabelHover","vs/nls!vs/base/browser/ui/inputbox/inputBox","vs/nls!vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/nls!vs/base/browser/ui/tree/abstractTree","vs/base/browser/ui/tree/dataTree","vs/base/browser/ui/tree/asyncDataTree","vs/nls!vs/base/common/actions","vs/base/browser/ui/dropdown/dropdown","vs/base/browser/ui/dropdown/dropdownActionViewItem","vs/base/browser/ui/findinput/findInput","vs/base/browser/ui/findinput/replaceInput","vs/base/browser/ui/menu/menu","vs/base/parts/quickinput/browser/quickInputBox","vs/nls!vs/base/common/errorMessage","vs/base/common/errorMessage","vs/nls!vs/base/common/keybindingLabels","vs/base/browser/ui/keybindingLabel/keybindingLabel","vs/nls!vs/base/parts/quickinput/browser/quickInput","vs/nls!vs/base/parts/quickinput/browser/quickInputList","vs/base/parts/quickinput/browser/quickInputList","vs/base/parts/quickinput/browser/quickInput","vs/nls!vs/editor/browser/controller/textAreaHandler","vs/nls!vs/editor/browser/coreCommands","vs/nls!vs/editor/browser/editorExtensions","vs/nls!vs/editor/browser/widget/codeEditorWidget","vs/nls!vs/editor/browser/widget/diffEditorWidget","vs/nls!vs/editor/browser/widget/diffReview","vs/nls!vs/editor/browser/widget/inlineDiffMargin","vs/editor/browser/widget/inlineDiffMargin","vs/nls!vs/editor/common/config/editorConfigurationSchema","vs/nls!vs/editor/common/config/editorOptions","vs/editor/browser/config/charWidthReader","vs/editor/browser/view/domLineBreaksComputer","vs/editor/browser/view/viewOverlays","vs/editor/browser/viewParts/viewCursors/viewCursor","vs/nls!vs/editor/common/core/editorColorRegistry","vs/nls!vs/editor/common/editorContextKeys","vs/nls!vs/editor/common/languages/modesRegistry","vs/nls!vs/editor/common/model/editStack","vs/nls!vs/editor/common/standaloneStrings","vs/nls!vs/editor/contrib/anchorSelect/browser/anchorSelect","vs/nls!vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/nls!vs/editor/contrib/caretOperations/browser/caretOperations","vs/nls!vs/editor/contrib/caretOperations/browser/transpose","vs/nls!vs/editor/contrib/clipboard/browser/clipboard","vs/nls!vs/editor/contrib/codeAction/browser/codeActionCommands","vs/nls!vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/nls!vs/editor/contrib/codelens/browser/codelensController","vs/nls!vs/editor/contrib/colorPicker/browser/colorPickerWidget","vs/nls!vs/editor/contrib/comment/browser/comment","vs/nls!vs/editor/contrib/contextmenu/browser/contextmenu","vs/nls!vs/editor/contrib/cursorUndo/browser/cursorUndo","vs/nls!vs/editor/contrib/editorState/browser/keybindingCancellation","vs/nls!vs/editor/contrib/find/browser/findController","vs/nls!vs/editor/contrib/find/browser/findWidget","vs/nls!vs/editor/contrib/folding/browser/folding","vs/nls!vs/editor/contrib/folding/browser/foldingDecorations","vs/nls!vs/editor/contrib/fontZoom/browser/fontZoom","vs/nls!vs/editor/contrib/format/browser/format","vs/nls!vs/editor/contrib/format/browser/formatActions","vs/nls!vs/editor/contrib/gotoError/browser/gotoError","vs/nls!vs/editor/contrib/gotoError/browser/gotoErrorWidget","vs/nls!vs/editor/contrib/gotoSymbol/browser/goToCommands","vs/nls!vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition","vs/nls!vs/editor/contrib/gotoSymbol/browser/peek/referencesController","vs/nls!vs/editor/contrib/gotoSymbol/browser/peek/referencesTree","vs/nls!vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget","vs/nls!vs/editor/contrib/gotoSymbol/browser/referencesModel","vs/nls!vs/editor/contrib/gotoSymbol/browser/symbolNavigation","vs/nls!vs/editor/contrib/hover/browser/hover","vs/nls!vs/editor/contrib/hover/browser/markdownHoverParticipant","vs/nls!vs/editor/contrib/hover/browser/markerHoverParticipant","vs/nls!vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/nls!vs/editor/contrib/indentation/browser/indentation","vs/nls!vs/editor/contrib/inlayHints/browser/inlayHintsHover","vs/nls!vs/editor/contrib/inlineCompletions/browser/ghostTextController","vs/nls!vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHoverParticipant","vs/nls!vs/editor/contrib/lineSelection/browser/lineSelection","vs/nls!vs/editor/contrib/linesOperations/browser/linesOperations","vs/nls!vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/nls!vs/editor/contrib/links/browser/links","vs/nls!vs/editor/contrib/message/browser/messageController","vs/nls!vs/editor/contrib/multicursor/browser/multicursor","vs/nls!vs/editor/contrib/parameterHints/browser/parameterHints","vs/nls!vs/editor/contrib/parameterHints/browser/parameterHintsWidget","vs/nls!vs/editor/contrib/peekView/browser/peekView","vs/nls!vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess","vs/nls!vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess","vs/nls!vs/editor/contrib/rename/browser/rename","vs/nls!vs/editor/contrib/rename/browser/renameInputField","vs/nls!vs/editor/contrib/smartSelect/browser/smartSelect","vs/nls!vs/editor/contrib/snippet/browser/snippetController2","vs/nls!vs/editor/contrib/snippet/browser/snippetVariables","vs/nls!vs/editor/contrib/suggest/browser/suggest","vs/nls!vs/editor/contrib/suggest/browser/suggestController","vs/nls!vs/editor/contrib/suggest/browser/suggestWidget","vs/nls!vs/editor/contrib/suggest/browser/suggestWidgetDetails","vs/nls!vs/editor/contrib/suggest/browser/suggestWidgetRenderer","vs/nls!vs/editor/contrib/suggest/browser/suggestWidgetStatus","vs/nls!vs/editor/contrib/symbolIcons/browser/symbolIcons","vs/nls!vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode","vs/nls!vs/editor/contrib/tokenization/browser/tokenization","vs/nls!vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/nls!vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators","vs/nls!vs/editor/contrib/wordHighlighter/browser/wordHighlighter","vs/nls!vs/editor/contrib/wordOperations/browser/wordOperations","vs/nls!vs/platform/actions/browser/menuEntryActionViewItem","vs/nls!vs/platform/configuration/common/configurationRegistry","vs/nls!vs/platform/contextkey/browser/contextKeyService","vs/nls!vs/platform/contextkey/common/contextkeys","vs/nls!vs/platform/history/browser/contextScopedHistoryWidget","vs/nls!vs/platform/keybinding/common/abstractKeybindingService","vs/nls!vs/platform/list/browser/listService","vs/nls!vs/platform/markers/common/markers","vs/nls!vs/platform/quickinput/browser/commandsQuickAccess","vs/nls!vs/platform/quickinput/browser/helpQuickAccess","vs/nls!vs/platform/theme/common/colorRegistry","vs/nls!vs/platform/theme/common/iconRegistry","vs/nls!vs/platform/undoRedo/common/undoRedoService","vs/nls!vs/platform/workspace/common/workspace","vs/platform/editor/common/editor","vs/platform/extensions/common/extensions","vs/platform/history/browser/historyWidgetKeybindingHint","vs/platform/instantiation/common/graph","vs/editor/common/services/languageFeaturesService","vs/editor/contrib/links/browser/getLinks","vs/editor/contrib/comment/browser/lineCommentCommand","vs/editor/contrib/linesOperations/browser/moveLinesCommand","vs/editor/contrib/parameterHints/browser/parameterHintsModel","vs/editor/contrib/suggest/browser/suggestAlternatives","vs/editor/contrib/suggest/browser/wordContextKey","vs/editor/browser/config/editorConfiguration","vs/platform/accessibility/browser/accessibilityService","vs/platform/contextkey/browser/contextKeyService","vs/platform/instantiation/common/instantiationService","vs/platform/keybinding/common/abstractKeybindingService","vs/platform/keybinding/common/baseResolvedKeybinding","vs/platform/keybinding/common/keybindingResolver","vs/platform/keybinding/common/usLayoutResolvedKeybinding","vs/platform/contextview/browser/contextViewService","vs/editor/browser/services/webWorker","vs/editor/contrib/documentSymbols/browser/documentSymbols","vs/platform/clipboard/browser/clipboardService","vs/editor/contrib/gotoError/browser/markerNavigationService","vs/platform/markers/common/markerService","vs/editor/browser/services/openerService","vs/platform/quickinput/browser/pickerQuickAccess","vs/editor/common/config/editorConfigurationSchema","vs/editor/common/services/getIconClasses","vs/editor/common/services/languagesRegistry","vs/editor/common/services/languageService","vs/editor/contrib/hover/browser/marginHover","vs/platform/configuration/common/configurationModels","vs/platform/quickinput/browser/helpQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneHelpQuickAccess","vs/platform/quickinput/browser/quickAccess","vs/editor/contrib/codelens/browser/codeLensCache","vs/editor/contrib/suggest/browser/suggestMemory","vs/platform/quickinput/browser/commandsQuickAccess","vs/editor/contrib/quickAccess/browser/commandsQuickAccess","vs/platform/contextview/browser/contextMenuHandler","vs/editor/browser/controller/mouseHandler","vs/editor/browser/controller/pointerHandler","vs/editor/browser/viewParts/lines/viewLines","vs/editor/browser/services/abstractCodeEditorService","vs/editor/browser/viewParts/editorScrollbar/editorScrollbar","vs/editor/browser/viewParts/minimap/minimap","vs/editor/browser/viewParts/scrollDecoration/scrollDecoration","vs/editor/browser/viewParts/selections/selections","vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight","vs/editor/browser/viewParts/indentGuides/indentGuides","vs/editor/browser/controller/textAreaHandler","vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler","vs/editor/browser/viewParts/rulers/rulers","vs/editor/browser/viewParts/viewCursors/viewCursors","vs/editor/common/model/bracketPairsTextModelPart/colorizedBracketPairsDecorationProvider","vs/editor/common/services/markerDecorationsService","vs/editor/contrib/codeAction/browser/lightBulbWidget","vs/editor/contrib/colorPicker/browser/colorPickerWidget","vs/editor/contrib/gotoSymbol/browser/peek/referencesTree","vs/editor/contrib/inlineCompletions/browser/ghostTextWidget","vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess","vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess","vs/editor/contrib/rename/browser/renameInputField","vs/editor/standalone/common/themes","vs/editor/browser/services/markerDecorations","vs/editor/browser/view/viewController","vs/editor/browser/view","vs/editor/contrib/anchorSelect/browser/anchorSelect","vs/editor/contrib/caretOperations/browser/caretOperations","vs/editor/contrib/caretOperations/browser/transpose","vs/editor/contrib/clipboard/browser/clipboard","vs/editor/contrib/comment/browser/comment","vs/editor/contrib/contextmenu/browser/contextmenu","vs/editor/contrib/cursorUndo/browser/cursorUndo","vs/editor/contrib/editorState/browser/keybindingCancellation","vs/editor/contrib/codeAction/browser/codeActionMenu","vs/editor/contrib/codeAction/browser/codeActionModel","vs/editor/contrib/fontZoom/browser/fontZoom","vs/editor/contrib/format/browser/formatActions","vs/editor/contrib/gotoSymbol/browser/symbolNavigation","vs/editor/contrib/indentation/browser/indentation","vs/editor/contrib/lineSelection/browser/lineSelection","vs/editor/contrib/linesOperations/browser/linesOperations","vs/editor/contrib/codeAction/browser/codeActionUi","vs/editor/contrib/codeAction/browser/codeActionContributions","vs/editor/contrib/rename/browser/rename","vs/editor/contrib/smartSelect/browser/smartSelect","vs/editor/contrib/tokenization/browser/tokenization","vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators","vs/editor/contrib/wordPartOperations/browser/wordPartOperations","vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp","vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard","vs/editor/standalone/browser/inspectTokens/inspectTokens","vs/editor/standalone/browser/quickAccess/standaloneCommandsQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneGotoLineQuickAccess","vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess","vs/editor/standalone/browser/toggleHighContrast/toggleHighContrast","vs/editor/contrib/suggest/browser/suggestWidgetStatus","vs/platform/actions/common/menuService","vs/platform/contextview/browser/contextMenuService","vs/platform/opener/browser/link","vs/platform/quickinput/browser/quickInput","vs/editor/standalone/browser/quickInput/standaloneQuickInputService","vs/platform/severityIcon/common/severityIcon","vs/editor/browser/widget/diffReview","vs/editor/contrib/parameterHints/browser/parameterHintsWidget","vs/editor/contrib/parameterHints/browser/parameterHints","vs/editor/contrib/suggest/browser/suggestWidgetRenderer","vs/editor/contrib/unicodeHighlighter/browser/bannerController","vs/platform/theme/browser/iconsStyleSheet","vs/editor/standalone/browser/standaloneThemeService","vs/editor/common/viewModel/viewModelLines","vs/editor/common/viewModel/viewModelImpl","vs/editor/contrib/bracketMatching/browser/bracketMatching","vs/editor/contrib/codelens/browser/codelensWidget","vs/editor/contrib/codelens/browser/codelensController","vs/editor/contrib/colorPicker/browser/colorHoverParticipant","vs/editor/contrib/dnd/browser/dnd","vs/editor/contrib/find/browser/findDecorations","vs/editor/contrib/find/browser/findOptionsWidget","vs/editor/contrib/find/browser/findState","vs/editor/contrib/find/browser/findWidget","vs/editor/contrib/folding/browser/foldingDecorations","vs/editor/contrib/folding/browser/folding","vs/editor/contrib/hover/browser/contentHover","vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace","vs/editor/contrib/linkedEditing/browser/linkedEditing","vs/editor/contrib/links/browser/links","vs/editor/contrib/multicursor/browser/multicursor","vs/editor/contrib/suggest/browser/suggestWidget","vs/editor/contrib/viewportSemanticTokens/browser/viewportSemanticTokens","vs/editor/contrib/wordHighlighter/browser/wordHighlighter","vs/editor/contrib/zoneWidget/browser/zoneWidget","vs/editor/contrib/gotoError/browser/gotoErrorWidget","vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget","vs/editor/contrib/hover/browser/markerHoverParticipant","vs/editor/contrib/colorPicker/browser/colorContributions","vs/editor/contrib/inlayHints/browser/inlayHintsLocations","vs/editor/contrib/inlayHints/browser/inlayHintsHover","vs/editor/contrib/inlayHints/browser/inlayHintsContribution","vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch","vs/platform/undoRedo/common/undoRedoService","vs/editor/contrib/snippet/browser/snippetVariables","vs/editor/contrib/suggest/browser/suggestModel","vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider","vs/editor/contrib/inlineCompletions/browser/suggestWidgetPreviewModel","vs/editor/contrib/inlineCompletions/browser/ghostTextModel","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHoverParticipant","vs/editor/contrib/inlineCompletions/browser/inlineCompletionsContribution","vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter","vs/editor/editor.all","vs/editor/standalone/browser/standaloneCodeEditor","vs/editor/standalone/browser/standaloneEditor","vs/editor/standalone/browser/standaloneLanguages","vs/editor/editor.api","vs/base/browser/dompurify/dompurify","vs/editor/edcore.main"],ie=function(q){for(var e=[],L=0,m=q.length;L =0)},b}();function L(b,C,u){var g;return C.length===0?g=b:g=b.replace(/\{(\d+)\}/g,function(t,n){var i=n[0],o=C[i],c=t;return typeof o=="string"?c=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(c=String(o)),c}),u.isPseudo&&(g="\uFF3B"+g.replace(/[aouei]/g,"$&$&")+"\uFF3D"),g}function m(b,C){var u=b[C];return u||(u=b["*"],u)?u:null}function k(b,C,u){for(var g=[],t=3;t 1?L-1:0),k=1;k /gm),gn=ft(/^data-[\-\w.\u00B7-\uFFFF]/),fn=ft(/^aria-[\-\w]+$/),mn=ft(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),pn=ft(/^(?:\w+script|data):/i),Cn=ft(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Dt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q};function gt(q){if(Array.isArray(q)){for(var e=0,L=Array(q.length);e 0&&arguments[0]!==void 0?arguments[0]:vn(),e=function(Ee){return bi(Ee)};if(e.version="2.3.1",e.removed=[],!q||!q.document||q.document.nodeType!==9)return e.isSupported=!1,e;var L=q.document,m=q.document,k=q.DocumentFragment,I=q.HTMLTemplateElement,w=q.Node,b=q.Element,C=q.NodeFilter,u=q.NamedNodeMap,g=u===void 0?q.NamedNodeMap||q.MozNamedAttrMap:u,t=q.Text,n=q.Comment,i=q.DOMParser,o=q.trustedTypes,c=b.prototype,d=Rt(c,"cloneNode"),r=Rt(c,"nextSibling"),s=Rt(c,"childNodes"),a=Rt(c,"parentNode");if(typeof I=="function"){var l=m.createElement("template");l.content&&l.content.ownerDocument&&(m=l.content.ownerDocument)}var h=bn(o,L),f=h&&ue?h.createHTML(""):"",S=m,v=S.implementation,p=S.createNodeIterator,_=S.createDocumentFragment,y=S.getElementsByTagName,E=L.importNode,N={};try{N=St(m).documentMode?m.documentMode:{}}catch{}var D={};e.isSupported=typeof a=="function"&&v&&typeof v.createHTMLDocument!="undefined"&&N!==9;var M=un,B=hn,O=gn,T=fn,A=pn,P=Cn,F=mn,W=null,R=Qe({},[].concat(gt(mi),gt(jt),gt(qt),gt($t),gt(pi))),z=null,j=Qe({},[].concat(gt(Ci),gt(Gt),gt(vi),gt(Pt))),$=null,G=null,J=!0,re=!0,se=!1,Z=!1,V=!1,K=!1,X=!1,oe=!1,ae=!1,ee=!0,ue=!1,le=!0,x=!0,H=!1,U={},Q=null,Y=Qe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ne=null,ge=Qe({},["audio","video","img","source","image","track"]),fe=null,ce=Qe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",ve="http://www.w3.org/2000/svg",Ce="http://www.w3.org/1999/xhtml",be=Ce,de=!1,me=null,_e=m.createElement("form"),ye=function(Ee){me&&me===Ee||((!Ee||(typeof Ee=="undefined"?"undefined":Dt(Ee))!=="object")&&(Ee={}),Ee=St(Ee),W="ALLOWED_TAGS"in Ee?Qe({},Ee.ALLOWED_TAGS):R,z="ALLOWED_ATTR"in Ee?Qe({},Ee.ALLOWED_ATTR):j,fe="ADD_URI_SAFE_ATTR"in Ee?Qe(St(ce),Ee.ADD_URI_SAFE_ATTR):ce,ne="ADD_DATA_URI_TAGS"in Ee?Qe(St(ge),Ee.ADD_DATA_URI_TAGS):ge,Q="FORBID_CONTENTS"in Ee?Qe({},Ee.FORBID_CONTENTS):Y,$="FORBID_TAGS"in Ee?Qe({},Ee.FORBID_TAGS):{},G="FORBID_ATTR"in Ee?Qe({},Ee.FORBID_ATTR):{},U="USE_PROFILES"in Ee?Ee.USE_PROFILES:!1,J=Ee.ALLOW_ARIA_ATTR!==!1,re=Ee.ALLOW_DATA_ATTR!==!1,se=Ee.ALLOW_UNKNOWN_PROTOCOLS||!1,Z=Ee.SAFE_FOR_TEMPLATES||!1,V=Ee.WHOLE_DOCUMENT||!1,oe=Ee.RETURN_DOM||!1,ae=Ee.RETURN_DOM_FRAGMENT||!1,ee=Ee.RETURN_DOM_IMPORT!==!1,ue=Ee.RETURN_TRUSTED_TYPE||!1,X=Ee.FORCE_BODY||!1,le=Ee.SANITIZE_DOM!==!1,x=Ee.KEEP_CONTENT!==!1,H=Ee.IN_PLACE||!1,F=Ee.ALLOWED_URI_REGEXP||F,be=Ee.NAMESPACE||Ce,Z&&(re=!1),ae&&(oe=!0),U&&(W=Qe({},[].concat(gt(pi))),z=[],U.html===!0&&(Qe(W,mi),Qe(z,Ci)),U.svg===!0&&(Qe(W,jt),Qe(z,Gt),Qe(z,Pt)),U.svgFilters===!0&&(Qe(W,qt),Qe(z,Gt),Qe(z,Pt)),U.mathMl===!0&&(Qe(W,$t),Qe(z,vi),Qe(z,Pt))),Ee.ADD_TAGS&&(W===R&&(W=St(W)),Qe(W,Ee.ADD_TAGS)),Ee.ADD_ATTR&&(z===j&&(z=St(z)),Qe(z,Ee.ADD_ATTR)),Ee.ADD_URI_SAFE_ATTR&&Qe(fe,Ee.ADD_URI_SAFE_ATTR),Ee.FORBID_CONTENTS&&(Q===Y&&(Q=St(Q)),Qe(Q,Ee.FORBID_CONTENTS)),x&&(W["#text"]=!0),V&&Qe(W,["html","head","body"]),W.table&&(Qe(W,["tbody"]),delete $.tbody),rt&&rt(Ee),me=Ee)},ke=Qe({},["mi","mo","mn","ms","mtext"]),Te=Qe({},["foreignobject","desc","title","annotation-xml"]),Me=Qe({},jt);Qe(Me,qt),Qe(Me,dn);var We=Qe({},$t);Qe(We,cn);var xe=function(Ee){var Re=a(Ee);(!Re||!Re.tagName)&&(Re={namespaceURI:Ce,tagName:"template"});var Ae=_t(Ee.tagName),je=_t(Re.tagName);if(Ee.namespaceURI===ve)return Re.namespaceURI===Ce?Ae==="svg":Re.namespaceURI===he?Ae==="svg"&&(je==="annotation-xml"||ke[je]):Boolean(Me[Ae]);if(Ee.namespaceURI===he)return Re.namespaceURI===Ce?Ae==="math":Re.namespaceURI===ve?Ae==="math"&&Te[je]:Boolean(We[Ae]);if(Ee.namespaceURI===Ce){if(Re.namespaceURI===ve&&!Te[je]||Re.namespaceURI===he&&!ke[je])return!1;var et=Qe({},["title","style","font","a","script"]);return!We[Ae]&&(et[Ae]||!Me[Ae])}return!1},He=function(Ee){It(e.removed,{element:Ee});try{Ee.parentNode.removeChild(Ee)}catch{try{Ee.outerHTML=f}catch{Ee.remove()}}},Le=function(Ee,Re){try{It(e.removed,{attribute:Re.getAttributeNode(Ee),from:Re})}catch{It(e.removed,{attribute:null,from:Re})}if(Re.removeAttribute(Ee),Ee==="is"&&!z[Ee])if(oe||ae)try{He(Re)}catch{}else try{Re.setAttribute(Ee,"")}catch{}},Se=function(Ee){var Re=void 0,Ae=void 0;if(X)Ee=" "+Ee;else{var je=gi(Ee,/^[\r\n\t ]+/);Ae=je&&je[0]}var et=h?h.createHTML(Ee):Ee;if(be===Ce)try{Re=new i().parseFromString(et,"text/html")}catch{}if(!Re||!Re.documentElement){Re=v.createDocument(be,"template",null);try{Re.documentElement.innerHTML=de?"":et}catch{}}var Ze=Re.body||Re.documentElement;return Ee&&Ae&&Ze.insertBefore(m.createTextNode(Ae),Ze.childNodes[0]||null),be===Ce?y.call(Re,V?"html":"body")[0]:V?Re.documentElement:Ze},De=function(Ee){return p.call(Ee.ownerDocument||Ee,Ee,C.SHOW_ELEMENT|C.SHOW_COMMENT|C.SHOW_TEXT,null,!1)},Pe=function(Ee){return Ee instanceof t||Ee instanceof n?!1:typeof Ee.nodeName!="string"||typeof Ee.textContent!="string"||typeof Ee.removeChild!="function"||!(Ee.attributes instanceof g)||typeof Ee.removeAttribute!="function"||typeof Ee.setAttribute!="function"||typeof Ee.namespaceURI!="string"||typeof Ee.insertBefore!="function"},Fe=function(Ee){return(typeof w=="undefined"?"undefined":Dt(w))==="object"?Ee instanceof w:Ee&&(typeof Ee=="undefined"?"undefined":Dt(Ee))==="object"&&typeof Ee.nodeType=="number"&&typeof Ee.nodeName=="string"},ze=function(Ee,Re,Ae){!D[Ee]||on(D[Ee],function(je){je.call(e,Re,Ae,me)})},Ke=function(Ee){var Re=void 0;if(ze("beforeSanitizeElements",Ee,null),Pe(Ee)||gi(Ee.nodeName,/[\u0080-\uFFFF]/))return He(Ee),!0;var Ae=_t(Ee.nodeName);if(ze("uponSanitizeElement",Ee,{tagName:Ae,allowedTags:W}),!Fe(Ee.firstElementChild)&&(!Fe(Ee.content)||!Fe(Ee.content.firstElementChild))&&mt(/<[/\w]/g,Ee.innerHTML)&&mt(/<[/\w]/g,Ee.textContent)||Ae==="select"&&mt(/=0;--qe)je.insertBefore(d(et[qe],!0),r(Ee))}return He(Ee),!0}return Ee instanceof b&&!xe(Ee)||(Ae==="noscript"||Ae==="noembed")&&mt(/<\/no(script|embed)/i,Ee.innerHTML)?(He(Ee),!0):(Z&&Ee.nodeType===3&&(Re=Ee.textContent,Re=vt(Re,M," "),Re=vt(Re,B," "),Ee.textContent!==Re&&(It(e.removed,{element:Ee.cloneNode()}),Ee.textContent=Re)),ze("afterSanitizeElements",Ee,null),!1)},$e=function(Ee,Re,Ae){if(le&&(Re==="id"||Re==="name")&&(Ae in m||Ae in _e))return!1;if(!(re&&!G[Re]&&mt(O,Re))){if(!(J&&mt(T,Re))){if(!z[Re]||G[Re])return!1;if(!fe[Re]){if(!mt(F,vt(Ae,P,""))){if(!((Re==="src"||Re==="xlink:href"||Re==="href")&&Ee!=="script"&&rn(Ae,"data:")===0&&ne[Ee])){if(!(se&&!mt(A,vt(Ae,P,"")))){if(Ae)return!1}}}}}}return!0},Ve=function(Ee){var Re=void 0,Ae=void 0,je=void 0,et=void 0;ze("beforeSanitizeAttributes",Ee,null);var Ze=Ee.attributes;if(!!Ze){var qe={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z};for(et=Ze.length;et--;){Re=Ze[et];var Ne=Re,Oe=Ne.name,Ue=Ne.namespaceURI;if(Ae=an(Re.value),je=_t(Oe),qe.attrName=je,qe.attrValue=Ae,qe.keepAttr=!0,qe.forceKeepAttr=void 0,ze("uponSanitizeAttribute",Ee,qe),Ae=qe.attrValue,!qe.forceKeepAttr&&(Le(Oe,Ee),!!qe.keepAttr)){if(mt(/\/>/i,Ae)){Le(Oe,Ee);continue}Z&&(Ae=vt(Ae,M," "),Ae=vt(Ae,B," "));var Ge=Ee.nodeName.toLowerCase();if(!!$e(Ge,je,Ae))try{Ue?Ee.setAttributeNS(Ue,Oe,Ae):Ee.setAttribute(Oe,Ae),hi(e.removed)}catch{}}}ze("afterSanitizeAttributes",Ee,null)}},tt=function Be(Ee){var Re=void 0,Ae=De(Ee);for(ze("beforeSanitizeShadowDOM",Ee,null);Re=Ae.nextNode();)ze("uponSanitizeShadowNode",Re,null),!Ke(Re)&&(Re.content instanceof k&&Be(Re.content),Ve(Re));ze("afterSanitizeShadowDOM",Ee,null)};return e.sanitize=function(Be,Ee){var Re=void 0,Ae=void 0,je=void 0,et=void 0,Ze=void 0;if(de=!Be,de&&(Be=""),typeof Be!="string"&&!Fe(Be)){if(typeof Be.toString!="function")throw fi("toString is not a function");if(Be=Be.toString(),typeof Be!="string")throw fi("dirty is not a string, aborting")}if(!e.isSupported){if(Dt(q.toStaticHTML)==="object"||typeof q.toStaticHTML=="function"){if(typeof Be=="string")return q.toStaticHTML(Be);if(Fe(Be))return q.toStaticHTML(Be.outerHTML)}return Be}if(K||ye(Ee),e.removed=[],typeof Be=="string"&&(H=!1),!H)if(Be instanceof w)Re=Se(""),Ae=Re.ownerDocument.importNode(Be,!0),Ae.nodeType===1&&Ae.nodeName==="BODY"||Ae.nodeName==="HTML"?Re=Ae:Re.appendChild(Ae);else{if(!oe&&!Z&&!V&&Be.indexOf("<")===-1)return h&&ue?h.createHTML(Be):Be;if(Re=Se(Be),!Re)return oe?null:f}Re&&X&&He(Re.firstChild);for(var qe=De(H?Be:Re);je=qe.nextNode();)je.nodeType===3&&je===et||Ke(je)||(je.content instanceof k&&tt(je.content),Ve(je),et=je);if(et=null,H)return Be;if(oe){if(ae)for(Ze=_.call(Re.ownerDocument);Re.firstChild;)Ze.appendChild(Re.firstChild);else Ze=Re;return ee&&(Ze=E.call(L,Ze,!0)),Ze}var Ne=V?Re.outerHTML:Re.innerHTML;return Z&&(Ne=vt(Ne,M," "),Ne=vt(Ne,B," ")),h&&ue?h.createHTML(Ne):Ne},e.setConfig=function(Be){ye(Be),K=!0},e.clearConfig=function(){me=null,K=!1},e.isValidAttribute=function(Be,Ee,Re){me||ye({});var Ae=_t(Be),je=_t(Ee);return $e(Ae,je,Re)},e.addHook=function(Be,Ee){typeof Ee=="function"&&(D[Be]=D[Be]||[],It(D[Be],Ee))},e.removeHook=function(Be){D[Be]&&hi(D[Be])},e.removeHooks=function(Be){D[Be]&&(D[Be]=[])},e.removeAllHooks=function(){D={}},e}var _n=bi();define("vs/base/browser/dompurify/dompurify",function(){return _n}),define(te[31],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createFastDomNode=e.FastDomNode=void 0;class L{constructor(I){this.domNode=I,this._maxWidth=-1,this._width=-1,this._height=-1,this._top=-1,this._left=-1,this._bottom=-1,this._right=-1,this._fontFamily="",this._fontWeight="",this._fontSize=-1,this._fontStyle="",this._fontFeatureSettings="",this._textDecoration="",this._lineHeight=-1,this._letterSpacing=-100,this._className="",this._display="",this._position="",this._visibility="",this._color="",this._backgroundColor="",this._layerHint=!1,this._contain="none",this._boxShadow=""}setMaxWidth(I){this._maxWidth!==I&&(this._maxWidth=I,this.domNode.style.maxWidth=this._maxWidth+"px")}setWidth(I){this._width!==I&&(this._width=I,this.domNode.style.width=this._width+"px")}setHeight(I){this._height!==I&&(this._height=I,this.domNode.style.height=this._height+"px")}setTop(I){this._top!==I&&(this._top=I,this.domNode.style.top=this._top+"px")}unsetTop(){this._top!==-1&&(this._top=-1,this.domNode.style.top="")}setLeft(I){this._left!==I&&(this._left=I,this.domNode.style.left=this._left+"px")}setBottom(I){this._bottom!==I&&(this._bottom=I,this.domNode.style.bottom=this._bottom+"px")}setRight(I){this._right!==I&&(this._right=I,this.domNode.style.right=this._right+"px")}setFontFamily(I){this._fontFamily!==I&&(this._fontFamily=I,this.domNode.style.fontFamily=this._fontFamily)}setFontWeight(I){this._fontWeight!==I&&(this._fontWeight=I,this.domNode.style.fontWeight=this._fontWeight)}setFontSize(I){this._fontSize!==I&&(this._fontSize=I,this.domNode.style.fontSize=this._fontSize+"px")}setFontStyle(I){this._fontStyle!==I&&(this._fontStyle=I,this.domNode.style.fontStyle=this._fontStyle)}setFontFeatureSettings(I){this._fontFeatureSettings!==I&&(this._fontFeatureSettings=I,this.domNode.style.fontFeatureSettings=this._fontFeatureSettings)}setTextDecoration(I){this._textDecoration!==I&&(this._textDecoration=I,this.domNode.style.textDecoration=this._textDecoration)}setLineHeight(I){this._lineHeight!==I&&(this._lineHeight=I,this.domNode.style.lineHeight=this._lineHeight+"px")}setLetterSpacing(I){this._letterSpacing!==I&&(this._letterSpacing=I,this.domNode.style.letterSpacing=this._letterSpacing+"px")}setClassName(I){this._className!==I&&(this._className=I,this.domNode.className=this._className)}toggleClassName(I,w){this.domNode.classList.toggle(I,w),this._className=this.domNode.className}setDisplay(I){this._display!==I&&(this._display=I,this.domNode.style.display=this._display)}setPosition(I){this._position!==I&&(this._position=I,this.domNode.style.position=this._position)}setVisibility(I){this._visibility!==I&&(this._visibility=I,this.domNode.style.visibility=this._visibility)}setColor(I){this._color!==I&&(this._color=I,this.domNode.style.color=this._color)}setBackgroundColor(I){this._backgroundColor!==I&&(this._backgroundColor=I,this.domNode.style.backgroundColor=this._backgroundColor)}setLayerHinting(I){this._layerHint!==I&&(this._layerHint=I,this.domNode.style.transform=this._layerHint?"translate3d(0px, 0px, 0px)":"")}setBoxShadow(I){this._boxShadow!==I&&(this._boxShadow=I,this.domNode.style.boxShadow=I)}setContain(I){this._contain!==I&&(this._contain=I,this.domNode.style.contain=this._contain)}setAttribute(I,w){this.domNode.setAttribute(I,w)}removeAttribute(I){this.domNode.removeAttribute(I)}appendChild(I){this.domNode.appendChild(I.domNode)}removeChild(I){this.domNode.removeChild(I.domNode)}}e.FastDomNode=L;function m(k){return new L(k)}e.createFastDomNode=m}),define(te[214],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IframeUtils=void 0;let L=!1,m=null;function k(w){if(!w.parent||w.parent===w)return null;try{let b=w.location,C=w.parent.location;if(b.origin!=="null"&&C.origin!=="null"&&b.origin!==C.origin)return L=!0,null}catch{return L=!0,null}return w.parent}class I{static getSameOriginWindowChain(){if(!m){m=[];let b=window,C;do C=k(b),C?m.push({window:b,iframeElement:b.frameElement||null}):m.push({window:b,iframeElement:null}),b=C;while(b)}return m.slice(0)}static hasDifferentOriginAncestor(){return m||this.getSameOriginWindowChain(),L}static getPositionOfChildWindowRelativeToAncestorWindow(b,C){if(!C||b===C)return{top:0,left:0};let u=0,g=0,t=this.getSameOriginWindowChain();for(const n of t){if(u+=n.window.scrollY,g+=n.window.scrollX,n.window===C||!n.iframeElement)break;let i=n.iframeElement.getBoundingClientRect();u+=i.top,g+=i.left}return{top:u,left:g}}}e.IframeUtils=I}),define(te[310],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListError=void 0;class L extends Error{constructor(k,I){super(`ListError [${k}] ${I}`)}}e.ListError=L}),define(te[311],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CombinedSpliceable=void 0;class L{constructor(k){this.spliceables=k}splice(k,I,w){this.spliceables.forEach(b=>b.splice(k,I,w))}}e.CombinedSpliceable=L}),define(te[215],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarState=void 0;const L=20;class m{constructor(I,w,b,C,u,g){this._scrollbarSize=Math.round(w),this._oppositeScrollbarSize=Math.round(b),this._arrowSize=Math.round(I),this._visibleSize=C,this._scrollSize=u,this._scrollPosition=g,this._computedAvailableSize=0,this._computedIsNeeded=!1,this._computedSliderSize=0,this._computedSliderRatio=0,this._computedSliderPosition=0,this._refreshComputedValues()}clone(){return new m(this._arrowSize,this._scrollbarSize,this._oppositeScrollbarSize,this._visibleSize,this._scrollSize,this._scrollPosition)}setVisibleSize(I){const w=Math.round(I);return this._visibleSize!==w?(this._visibleSize=w,this._refreshComputedValues(),!0):!1}setScrollSize(I){const w=Math.round(I);return this._scrollSize!==w?(this._scrollSize=w,this._refreshComputedValues(),!0):!1}setScrollPosition(I){const w=Math.round(I);return this._scrollPosition!==w?(this._scrollPosition=w,this._refreshComputedValues(),!0):!1}setScrollbarSize(I){this._scrollbarSize=Math.round(I)}setOppositeScrollbarSize(I){this._oppositeScrollbarSize=Math.round(I)}static _computeValues(I,w,b,C,u){const g=Math.max(0,b-I),t=Math.max(0,g-2*w),n=C>0&&C>b;if(!n)return{computedAvailableSize:Math.round(g),computedIsNeeded:n,computedSliderSize:Math.round(t),computedSliderRatio:0,computedSliderPosition:0};const i=Math.round(Math.max(L,Math.floor(b*t/C))),o=(t-i)/(C-b),c=u*o;return{computedAvailableSize:Math.round(g),computedIsNeeded:n,computedSliderSize:Math.round(i),computedSliderRatio:o,computedSliderPosition:Math.round(c)}}_refreshComputedValues(){const I=m._computeValues(this._oppositeScrollbarSize,this._arrowSize,this._visibleSize,this._scrollSize,this._scrollPosition);this._computedAvailableSize=I.computedAvailableSize,this._computedIsNeeded=I.computedIsNeeded,this._computedSliderSize=I.computedSliderSize,this._computedSliderRatio=I.computedSliderRatio,this._computedSliderPosition=I.computedSliderPosition}getArrowSize(){return this._arrowSize}getScrollPosition(){return this._scrollPosition}getRectangleLargeSize(){return this._computedAvailableSize}getRectangleSmallSize(){return this._scrollbarSize}isNeeded(){return this._computedIsNeeded}getSliderSize(){return this._computedSliderSize}getSliderPosition(){return this._computedSliderPosition}getDesiredScrollPositionFromOffset(I){if(!this._computedIsNeeded)return 0;const w=I-this._arrowSize-this._computedSliderSize/2;return Math.round(w/this._computedSliderRatio)}getDesiredScrollPositionFromOffsetPaged(I){if(!this._computedIsNeeded)return 0;const w=I-this._arrowSize;let b=this._scrollPosition;return w T===A){if(M===B)return!0;if(!M||!B||M.length!==B.length)return!1;for(let T=0,A=M.length;T0)A=P-1;else return P}return-(T+1)}e.binarySearch=I;function w(M,B){let O=0,T=M.length;if(T===0)return 0;for(;O =B.length)throw new TypeError("invalid index");let T=B[Math.floor(B.length*Math.random())],A=[],P=[],F=[];for(let W of B){const R=O(W,T);R<0?A.push(W):R>0?P.push(W):F.push(W)}return M !!B)}e.coalesce=u;function g(M){return!Array.isArray(M)||M.length===0}e.isFalsyOrEmpty=g;function t(M){return Array.isArray(M)&&M.length>0}e.isNonEmptyArray=t;function n(M,B=O=>O){const O=new Set;return M.filter(T=>{const A=B(T);return O.has(A)?!1:(O.add(A),!0)})}e.distinct=n;function i(M,B){const O=o(M,B);if(O!==-1)return M[O]}e.findLast=i;function o(M,B){for(let O=M.length-1;O>=0;O--){const T=M[O];if(B(T))return O}return-1}e.lastIndex=o;function c(M,B){return M.length>0?M[0]:B}e.firstOrDefault=c;function d(M){return[].concat(...M)}e.flatten=d;function r(M,B){let O=typeof B=="number"?M:0;typeof B=="number"?O=M:(O=0,B=M);const T=[];if(O<=B)for(let A=O;AB;A--)T.push(A);return T}e.range=r;function s(M,B,O){const T=M.slice(0,B),A=M.slice(B);return T.concat(O,A)}e.arrayInsert=s;function a(M,B){const O=M.indexOf(B);O>-1&&(M.splice(O,1),M.unshift(B))}e.pushToStart=a;function l(M,B){const O=M.indexOf(B);O>-1&&(M.splice(O,1),M.push(B))}e.pushToEnd=l;function h(M){return Array.isArray(M)?M:[M]}e.asArray=h;function f(M,B,O){const T=v(M,B),A=M.length,P=O.length;M.length=A+P;for(let F=A-1;F>=T;F--)M[F+P]=M[F];for(let F=0;F B(M(O),M(T))}e.compareBy=p;const _=(M,B)=>M-B;e.numberComparator=_;function y(M,B){if(M.length===0)return;let O=M[0];for(let T=1;T
0&&(O=A)}return O}e.findMaxBy=y;function E(M,B){if(M.length===0)return;let O=M[0];for(let T=1;T =0&&(O=A)}return O}e.findLastMaxBy=E;function N(M,B){return y(M,(O,T)=>-B(O,T))}e.findMinBy=N;class D{constructor(B){this.items=B,this.firstIdx=0,this.lastIdx=this.items.length-1}takeWhile(B){let O=this.firstIdx;for(;O =0&&B(this.items[O]);)O--;const T=O===this.lastIdx?null:this.items.slice(O+1,this.lastIdx+1);return this.lastIdx=O,T}peek(){return this.items[this.firstIdx]}dequeue(){const B=this.items[this.firstIdx];return this.firstIdx++,B}takeCount(B){const O=this.items.slice(this.firstIdx,this.firstIdx+B);return this.firstIdx+=B,O}}e.ArrayQueue=D}),define(te[216],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ok=void 0;function L(m,k){if(!m)throw new Error(k?`Assertion failed (${k})`:"Assertion Failed")}e.ok=L}),define(te[112],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.writeUInt8=e.readUInt8=e.writeUInt32BE=e.readUInt32BE=e.writeUInt16LE=e.readUInt16LE=e.VSBuffer=void 0;const L=typeof Buffer!="undefined";let m;class k{constructor(n){this.buffer=n,this.byteLength=this.buffer.byteLength}static wrap(n){return L&&!Buffer.isBuffer(n)&&(n=Buffer.from(n.buffer,n.byteOffset,n.byteLength)),new k(n)}toString(){return L?this.buffer.toString():(m||(m=new TextDecoder),m.decode(this.buffer))}}e.VSBuffer=k;function I(t,n){return t[n+0]<<0>>>0|t[n+1]<<8>>>0}e.readUInt16LE=I;function w(t,n,i){t[i+0]=n&255,n=n>>>8,t[i+1]=n&255}e.writeUInt16LE=w;function b(t,n){return t[n]*Math.pow(2,24)+t[n+1]*Math.pow(2,16)+t[n+2]*Math.pow(2,8)+t[n+3]}e.readUInt32BE=b;function C(t,n,i){t[i+3]=n,n=n>>>8,t[i+2]=n,n=n>>>8,t[i+1]=n,n=n>>>8,t[i]=n}e.writeUInt32BE=C;function u(t,n){return t[n]}e.readUInt8=u;function g(t,n,i){t[i]=n}e.writeUInt8=g}),define(te[312],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCachedComputed=void 0;class L{constructor(k){this.computeFn=k,this.lastCache=void 0,this.lastArgKey=void 0}get(k){const I=JSON.stringify(k);return this.lastArgKey!==I&&(this.lastArgKey=I,this.lastCache=this.computeFn(k)),this.lastCache}}e.LRUCachedComputed=L}),define(te[28],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CSSIcon=e.Codicon=e.getCodiconAriaLabel=void 0;function L(I){return I?I.replace(/\$\((.*?)\)/g,(w,b)=>` ${b} `).trim():""}e.getCodiconAriaLabel=L;class m{constructor(w,b,C){this.id=w,this.definition=b,this.description=C,m._allCodicons.push(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}static getAll(){return m._allCodicons}}e.Codicon=m,m._allCodicons=[],m.add=new m("add",{fontCharacter:"\\ea60"}),m.plus=new m("plus",m.add.definition),m.gistNew=new m("gist-new",m.add.definition),m.repoCreate=new m("repo-create",m.add.definition),m.lightbulb=new m("lightbulb",{fontCharacter:"\\ea61"}),m.lightBulb=new m("light-bulb",{fontCharacter:"\\ea61"}),m.repo=new m("repo",{fontCharacter:"\\ea62"}),m.repoDelete=new m("repo-delete",{fontCharacter:"\\ea62"}),m.gistFork=new m("gist-fork",{fontCharacter:"\\ea63"}),m.repoForked=new m("repo-forked",{fontCharacter:"\\ea63"}),m.gitPullRequest=new m("git-pull-request",{fontCharacter:"\\ea64"}),m.gitPullRequestAbandoned=new m("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),m.recordKeys=new m("record-keys",{fontCharacter:"\\ea65"}),m.keyboard=new m("keyboard",{fontCharacter:"\\ea65"}),m.tag=new m("tag",{fontCharacter:"\\ea66"}),m.tagAdd=new m("tag-add",{fontCharacter:"\\ea66"}),m.tagRemove=new m("tag-remove",{fontCharacter:"\\ea66"}),m.person=new m("person",{fontCharacter:"\\ea67"}),m.personFollow=new m("person-follow",{fontCharacter:"\\ea67"}),m.personOutline=new m("person-outline",{fontCharacter:"\\ea67"}),m.personFilled=new m("person-filled",{fontCharacter:"\\ea67"}),m.gitBranch=new m("git-branch",{fontCharacter:"\\ea68"}),m.gitBranchCreate=new m("git-branch-create",{fontCharacter:"\\ea68"}),m.gitBranchDelete=new m("git-branch-delete",{fontCharacter:"\\ea68"}),m.sourceControl=new m("source-control",{fontCharacter:"\\ea68"}),m.mirror=new m("mirror",{fontCharacter:"\\ea69"}),m.mirrorPublic=new m("mirror-public",{fontCharacter:"\\ea69"}),m.star=new m("star",{fontCharacter:"\\ea6a"}),m.starAdd=new m("star-add",{fontCharacter:"\\ea6a"}),m.starDelete=new m("star-delete",{fontCharacter:"\\ea6a"}),m.starEmpty=new m("star-empty",{fontCharacter:"\\ea6a"}),m.comment=new m("comment",{fontCharacter:"\\ea6b"}),m.commentAdd=new m("comment-add",{fontCharacter:"\\ea6b"}),m.alert=new m("alert",{fontCharacter:"\\ea6c"}),m.warning=new m("warning",{fontCharacter:"\\ea6c"}),m.search=new m("search",{fontCharacter:"\\ea6d"}),m.searchSave=new m("search-save",{fontCharacter:"\\ea6d"}),m.logOut=new m("log-out",{fontCharacter:"\\ea6e"}),m.signOut=new m("sign-out",{fontCharacter:"\\ea6e"}),m.logIn=new m("log-in",{fontCharacter:"\\ea6f"}),m.signIn=new m("sign-in",{fontCharacter:"\\ea6f"}),m.eye=new m("eye",{fontCharacter:"\\ea70"}),m.eyeUnwatch=new m("eye-unwatch",{fontCharacter:"\\ea70"}),m.eyeWatch=new m("eye-watch",{fontCharacter:"\\ea70"}),m.circleFilled=new m("circle-filled",{fontCharacter:"\\ea71"}),m.primitiveDot=new m("primitive-dot",{fontCharacter:"\\ea71"}),m.closeDirty=new m("close-dirty",{fontCharacter:"\\ea71"}),m.debugBreakpoint=new m("debug-breakpoint",{fontCharacter:"\\ea71"}),m.debugBreakpointDisabled=new m("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),m.debugHint=new m("debug-hint",{fontCharacter:"\\ea71"}),m.primitiveSquare=new m("primitive-square",{fontCharacter:"\\ea72"}),m.edit=new m("edit",{fontCharacter:"\\ea73"}),m.pencil=new m("pencil",{fontCharacter:"\\ea73"}),m.info=new m("info",{fontCharacter:"\\ea74"}),m.issueOpened=new m("issue-opened",{fontCharacter:"\\ea74"}),m.gistPrivate=new m("gist-private",{fontCharacter:"\\ea75"}),m.gitForkPrivate=new m("git-fork-private",{fontCharacter:"\\ea75"}),m.lock=new m("lock",{fontCharacter:"\\ea75"}),m.mirrorPrivate=new m("mirror-private",{fontCharacter:"\\ea75"}),m.close=new m("close",{fontCharacter:"\\ea76"}),m.removeClose=new m("remove-close",{fontCharacter:"\\ea76"}),m.x=new m("x",{fontCharacter:"\\ea76"}),m.repoSync=new m("repo-sync",{fontCharacter:"\\ea77"}),m.sync=new m("sync",{fontCharacter:"\\ea77"}),m.clone=new m("clone",{fontCharacter:"\\ea78"}),m.desktopDownload=new m("desktop-download",{fontCharacter:"\\ea78"}),m.beaker=new m("beaker",{fontCharacter:"\\ea79"}),m.microscope=new m("microscope",{fontCharacter:"\\ea79"}),m.vm=new m("vm",{fontCharacter:"\\ea7a"}),m.deviceDesktop=new m("device-desktop",{fontCharacter:"\\ea7a"}),m.file=new m("file",{fontCharacter:"\\ea7b"}),m.fileText=new m("file-text",{fontCharacter:"\\ea7b"}),m.more=new m("more",{fontCharacter:"\\ea7c"}),m.ellipsis=new m("ellipsis",{fontCharacter:"\\ea7c"}),m.kebabHorizontal=new m("kebab-horizontal",{fontCharacter:"\\ea7c"}),m.mailReply=new m("mail-reply",{fontCharacter:"\\ea7d"}),m.reply=new m("reply",{fontCharacter:"\\ea7d"}),m.organization=new m("organization",{fontCharacter:"\\ea7e"}),m.organizationFilled=new m("organization-filled",{fontCharacter:"\\ea7e"}),m.organizationOutline=new m("organization-outline",{fontCharacter:"\\ea7e"}),m.newFile=new m("new-file",{fontCharacter:"\\ea7f"}),m.fileAdd=new m("file-add",{fontCharacter:"\\ea7f"}),m.newFolder=new m("new-folder",{fontCharacter:"\\ea80"}),m.fileDirectoryCreate=new m("file-directory-create",{fontCharacter:"\\ea80"}),m.trash=new m("trash",{fontCharacter:"\\ea81"}),m.trashcan=new m("trashcan",{fontCharacter:"\\ea81"}),m.history=new m("history",{fontCharacter:"\\ea82"}),m.clock=new m("clock",{fontCharacter:"\\ea82"}),m.folder=new m("folder",{fontCharacter:"\\ea83"}),m.fileDirectory=new m("file-directory",{fontCharacter:"\\ea83"}),m.symbolFolder=new m("symbol-folder",{fontCharacter:"\\ea83"}),m.logoGithub=new m("logo-github",{fontCharacter:"\\ea84"}),m.markGithub=new m("mark-github",{fontCharacter:"\\ea84"}),m.github=new m("github",{fontCharacter:"\\ea84"}),m.terminal=new m("terminal",{fontCharacter:"\\ea85"}),m.console=new m("console",{fontCharacter:"\\ea85"}),m.repl=new m("repl",{fontCharacter:"\\ea85"}),m.zap=new m("zap",{fontCharacter:"\\ea86"}),m.symbolEvent=new m("symbol-event",{fontCharacter:"\\ea86"}),m.error=new m("error",{fontCharacter:"\\ea87"}),m.stop=new m("stop",{fontCharacter:"\\ea87"}),m.variable=new m("variable",{fontCharacter:"\\ea88"}),m.symbolVariable=new m("symbol-variable",{fontCharacter:"\\ea88"}),m.array=new m("array",{fontCharacter:"\\ea8a"}),m.symbolArray=new m("symbol-array",{fontCharacter:"\\ea8a"}),m.symbolModule=new m("symbol-module",{fontCharacter:"\\ea8b"}),m.symbolPackage=new m("symbol-package",{fontCharacter:"\\ea8b"}),m.symbolNamespace=new m("symbol-namespace",{fontCharacter:"\\ea8b"}),m.symbolObject=new m("symbol-object",{fontCharacter:"\\ea8b"}),m.symbolMethod=new m("symbol-method",{fontCharacter:"\\ea8c"}),m.symbolFunction=new m("symbol-function",{fontCharacter:"\\ea8c"}),m.symbolConstructor=new m("symbol-constructor",{fontCharacter:"\\ea8c"}),m.symbolBoolean=new m("symbol-boolean",{fontCharacter:"\\ea8f"}),m.symbolNull=new m("symbol-null",{fontCharacter:"\\ea8f"}),m.symbolNumeric=new m("symbol-numeric",{fontCharacter:"\\ea90"}),m.symbolNumber=new m("symbol-number",{fontCharacter:"\\ea90"}),m.symbolStructure=new m("symbol-structure",{fontCharacter:"\\ea91"}),m.symbolStruct=new m("symbol-struct",{fontCharacter:"\\ea91"}),m.symbolParameter=new m("symbol-parameter",{fontCharacter:"\\ea92"}),m.symbolTypeParameter=new m("symbol-type-parameter",{fontCharacter:"\\ea92"}),m.symbolKey=new m("symbol-key",{fontCharacter:"\\ea93"}),m.symbolText=new m("symbol-text",{fontCharacter:"\\ea93"}),m.symbolReference=new m("symbol-reference",{fontCharacter:"\\ea94"}),m.goToFile=new m("go-to-file",{fontCharacter:"\\ea94"}),m.symbolEnum=new m("symbol-enum",{fontCharacter:"\\ea95"}),m.symbolValue=new m("symbol-value",{fontCharacter:"\\ea95"}),m.symbolRuler=new m("symbol-ruler",{fontCharacter:"\\ea96"}),m.symbolUnit=new m("symbol-unit",{fontCharacter:"\\ea96"}),m.activateBreakpoints=new m("activate-breakpoints",{fontCharacter:"\\ea97"}),m.archive=new m("archive",{fontCharacter:"\\ea98"}),m.arrowBoth=new m("arrow-both",{fontCharacter:"\\ea99"}),m.arrowDown=new m("arrow-down",{fontCharacter:"\\ea9a"}),m.arrowLeft=new m("arrow-left",{fontCharacter:"\\ea9b"}),m.arrowRight=new m("arrow-right",{fontCharacter:"\\ea9c"}),m.arrowSmallDown=new m("arrow-small-down",{fontCharacter:"\\ea9d"}),m.arrowSmallLeft=new m("arrow-small-left",{fontCharacter:"\\ea9e"}),m.arrowSmallRight=new m("arrow-small-right",{fontCharacter:"\\ea9f"}),m.arrowSmallUp=new m("arrow-small-up",{fontCharacter:"\\eaa0"}),m.arrowUp=new m("arrow-up",{fontCharacter:"\\eaa1"}),m.bell=new m("bell",{fontCharacter:"\\eaa2"}),m.bold=new m("bold",{fontCharacter:"\\eaa3"}),m.book=new m("book",{fontCharacter:"\\eaa4"}),m.bookmark=new m("bookmark",{fontCharacter:"\\eaa5"}),m.debugBreakpointConditionalUnverified=new m("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),m.debugBreakpointConditional=new m("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),m.debugBreakpointConditionalDisabled=new m("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),m.debugBreakpointDataUnverified=new m("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),m.debugBreakpointData=new m("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),m.debugBreakpointDataDisabled=new m("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),m.debugBreakpointLogUnverified=new m("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),m.debugBreakpointLog=new m("debug-breakpoint-log",{fontCharacter:"\\eaab"}),m.debugBreakpointLogDisabled=new m("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),m.briefcase=new m("briefcase",{fontCharacter:"\\eaac"}),m.broadcast=new m("broadcast",{fontCharacter:"\\eaad"}),m.browser=new m("browser",{fontCharacter:"\\eaae"}),m.bug=new m("bug",{fontCharacter:"\\eaaf"}),m.calendar=new m("calendar",{fontCharacter:"\\eab0"}),m.caseSensitive=new m("case-sensitive",{fontCharacter:"\\eab1"}),m.check=new m("check",{fontCharacter:"\\eab2"}),m.checklist=new m("checklist",{fontCharacter:"\\eab3"}),m.chevronDown=new m("chevron-down",{fontCharacter:"\\eab4"}),m.dropDownButton=new m("drop-down-button",m.chevronDown.definition),m.chevronLeft=new m("chevron-left",{fontCharacter:"\\eab5"}),m.chevronRight=new m("chevron-right",{fontCharacter:"\\eab6"}),m.chevronUp=new m("chevron-up",{fontCharacter:"\\eab7"}),m.chromeClose=new m("chrome-close",{fontCharacter:"\\eab8"}),m.chromeMaximize=new m("chrome-maximize",{fontCharacter:"\\eab9"}),m.chromeMinimize=new m("chrome-minimize",{fontCharacter:"\\eaba"}),m.chromeRestore=new m("chrome-restore",{fontCharacter:"\\eabb"}),m.circleOutline=new m("circle-outline",{fontCharacter:"\\eabc"}),m.debugBreakpointUnverified=new m("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),m.circleSlash=new m("circle-slash",{fontCharacter:"\\eabd"}),m.circuitBoard=new m("circuit-board",{fontCharacter:"\\eabe"}),m.clearAll=new m("clear-all",{fontCharacter:"\\eabf"}),m.clippy=new m("clippy",{fontCharacter:"\\eac0"}),m.closeAll=new m("close-all",{fontCharacter:"\\eac1"}),m.cloudDownload=new m("cloud-download",{fontCharacter:"\\eac2"}),m.cloudUpload=new m("cloud-upload",{fontCharacter:"\\eac3"}),m.code=new m("code",{fontCharacter:"\\eac4"}),m.collapseAll=new m("collapse-all",{fontCharacter:"\\eac5"}),m.colorMode=new m("color-mode",{fontCharacter:"\\eac6"}),m.commentDiscussion=new m("comment-discussion",{fontCharacter:"\\eac7"}),m.compareChanges=new m("compare-changes",{fontCharacter:"\\eafd"}),m.creditCard=new m("credit-card",{fontCharacter:"\\eac9"}),m.dash=new m("dash",{fontCharacter:"\\eacc"}),m.dashboard=new m("dashboard",{fontCharacter:"\\eacd"}),m.database=new m("database",{fontCharacter:"\\eace"}),m.debugContinue=new m("debug-continue",{fontCharacter:"\\eacf"}),m.debugDisconnect=new m("debug-disconnect",{fontCharacter:"\\ead0"}),m.debugPause=new m("debug-pause",{fontCharacter:"\\ead1"}),m.debugRestart=new m("debug-restart",{fontCharacter:"\\ead2"}),m.debugStart=new m("debug-start",{fontCharacter:"\\ead3"}),m.debugStepInto=new m("debug-step-into",{fontCharacter:"\\ead4"}),m.debugStepOut=new m("debug-step-out",{fontCharacter:"\\ead5"}),m.debugStepOver=new m("debug-step-over",{fontCharacter:"\\ead6"}),m.debugStop=new m("debug-stop",{fontCharacter:"\\ead7"}),m.debug=new m("debug",{fontCharacter:"\\ead8"}),m.deviceCameraVideo=new m("device-camera-video",{fontCharacter:"\\ead9"}),m.deviceCamera=new m("device-camera",{fontCharacter:"\\eada"}),m.deviceMobile=new m("device-mobile",{fontCharacter:"\\eadb"}),m.diffAdded=new m("diff-added",{fontCharacter:"\\eadc"}),m.diffIgnored=new m("diff-ignored",{fontCharacter:"\\eadd"}),m.diffModified=new m("diff-modified",{fontCharacter:"\\eade"}),m.diffRemoved=new m("diff-removed",{fontCharacter:"\\eadf"}),m.diffRenamed=new m("diff-renamed",{fontCharacter:"\\eae0"}),m.diff=new m("diff",{fontCharacter:"\\eae1"}),m.discard=new m("discard",{fontCharacter:"\\eae2"}),m.editorLayout=new m("editor-layout",{fontCharacter:"\\eae3"}),m.emptyWindow=new m("empty-window",{fontCharacter:"\\eae4"}),m.exclude=new m("exclude",{fontCharacter:"\\eae5"}),m.extensions=new m("extensions",{fontCharacter:"\\eae6"}),m.eyeClosed=new m("eye-closed",{fontCharacter:"\\eae7"}),m.fileBinary=new m("file-binary",{fontCharacter:"\\eae8"}),m.fileCode=new m("file-code",{fontCharacter:"\\eae9"}),m.fileMedia=new m("file-media",{fontCharacter:"\\eaea"}),m.filePdf=new m("file-pdf",{fontCharacter:"\\eaeb"}),m.fileSubmodule=new m("file-submodule",{fontCharacter:"\\eaec"}),m.fileSymlinkDirectory=new m("file-symlink-directory",{fontCharacter:"\\eaed"}),m.fileSymlinkFile=new m("file-symlink-file",{fontCharacter:"\\eaee"}),m.fileZip=new m("file-zip",{fontCharacter:"\\eaef"}),m.files=new m("files",{fontCharacter:"\\eaf0"}),m.filter=new m("filter",{fontCharacter:"\\eaf1"}),m.flame=new m("flame",{fontCharacter:"\\eaf2"}),m.foldDown=new m("fold-down",{fontCharacter:"\\eaf3"}),m.foldUp=new m("fold-up",{fontCharacter:"\\eaf4"}),m.fold=new m("fold",{fontCharacter:"\\eaf5"}),m.folderActive=new m("folder-active",{fontCharacter:"\\eaf6"}),m.folderOpened=new m("folder-opened",{fontCharacter:"\\eaf7"}),m.gear=new m("gear",{fontCharacter:"\\eaf8"}),m.gift=new m("gift",{fontCharacter:"\\eaf9"}),m.gistSecret=new m("gist-secret",{fontCharacter:"\\eafa"}),m.gist=new m("gist",{fontCharacter:"\\eafb"}),m.gitCommit=new m("git-commit",{fontCharacter:"\\eafc"}),m.gitCompare=new m("git-compare",{fontCharacter:"\\eafd"}),m.gitMerge=new m("git-merge",{fontCharacter:"\\eafe"}),m.githubAction=new m("github-action",{fontCharacter:"\\eaff"}),m.githubAlt=new m("github-alt",{fontCharacter:"\\eb00"}),m.globe=new m("globe",{fontCharacter:"\\eb01"}),m.grabber=new m("grabber",{fontCharacter:"\\eb02"}),m.graph=new m("graph",{fontCharacter:"\\eb03"}),m.gripper=new m("gripper",{fontCharacter:"\\eb04"}),m.heart=new m("heart",{fontCharacter:"\\eb05"}),m.home=new m("home",{fontCharacter:"\\eb06"}),m.horizontalRule=new m("horizontal-rule",{fontCharacter:"\\eb07"}),m.hubot=new m("hubot",{fontCharacter:"\\eb08"}),m.inbox=new m("inbox",{fontCharacter:"\\eb09"}),m.issueClosed=new m("issue-closed",{fontCharacter:"\\eba4"}),m.issueReopened=new m("issue-reopened",{fontCharacter:"\\eb0b"}),m.issues=new m("issues",{fontCharacter:"\\eb0c"}),m.italic=new m("italic",{fontCharacter:"\\eb0d"}),m.jersey=new m("jersey",{fontCharacter:"\\eb0e"}),m.json=new m("json",{fontCharacter:"\\eb0f"}),m.kebabVertical=new m("kebab-vertical",{fontCharacter:"\\eb10"}),m.key=new m("key",{fontCharacter:"\\eb11"}),m.law=new m("law",{fontCharacter:"\\eb12"}),m.lightbulbAutofix=new m("lightbulb-autofix",{fontCharacter:"\\eb13"}),m.linkExternal=new m("link-external",{fontCharacter:"\\eb14"}),m.link=new m("link",{fontCharacter:"\\eb15"}),m.listOrdered=new m("list-ordered",{fontCharacter:"\\eb16"}),m.listUnordered=new m("list-unordered",{fontCharacter:"\\eb17"}),m.liveShare=new m("live-share",{fontCharacter:"\\eb18"}),m.loading=new m("loading",{fontCharacter:"\\eb19"}),m.location=new m("location",{fontCharacter:"\\eb1a"}),m.mailRead=new m("mail-read",{fontCharacter:"\\eb1b"}),m.mail=new m("mail",{fontCharacter:"\\eb1c"}),m.markdown=new m("markdown",{fontCharacter:"\\eb1d"}),m.megaphone=new m("megaphone",{fontCharacter:"\\eb1e"}),m.mention=new m("mention",{fontCharacter:"\\eb1f"}),m.milestone=new m("milestone",{fontCharacter:"\\eb20"}),m.mortarBoard=new m("mortar-board",{fontCharacter:"\\eb21"}),m.move=new m("move",{fontCharacter:"\\eb22"}),m.multipleWindows=new m("multiple-windows",{fontCharacter:"\\eb23"}),m.mute=new m("mute",{fontCharacter:"\\eb24"}),m.noNewline=new m("no-newline",{fontCharacter:"\\eb25"}),m.note=new m("note",{fontCharacter:"\\eb26"}),m.octoface=new m("octoface",{fontCharacter:"\\eb27"}),m.openPreview=new m("open-preview",{fontCharacter:"\\eb28"}),m.package_=new m("package",{fontCharacter:"\\eb29"}),m.paintcan=new m("paintcan",{fontCharacter:"\\eb2a"}),m.pin=new m("pin",{fontCharacter:"\\eb2b"}),m.play=new m("play",{fontCharacter:"\\eb2c"}),m.run=new m("run",{fontCharacter:"\\eb2c"}),m.plug=new m("plug",{fontCharacter:"\\eb2d"}),m.preserveCase=new m("preserve-case",{fontCharacter:"\\eb2e"}),m.preview=new m("preview",{fontCharacter:"\\eb2f"}),m.project=new m("project",{fontCharacter:"\\eb30"}),m.pulse=new m("pulse",{fontCharacter:"\\eb31"}),m.question=new m("question",{fontCharacter:"\\eb32"}),m.quote=new m("quote",{fontCharacter:"\\eb33"}),m.radioTower=new m("radio-tower",{fontCharacter:"\\eb34"}),m.reactions=new m("reactions",{fontCharacter:"\\eb35"}),m.references=new m("references",{fontCharacter:"\\eb36"}),m.refresh=new m("refresh",{fontCharacter:"\\eb37"}),m.regex=new m("regex",{fontCharacter:"\\eb38"}),m.remoteExplorer=new m("remote-explorer",{fontCharacter:"\\eb39"}),m.remote=new m("remote",{fontCharacter:"\\eb3a"}),m.remove=new m("remove",{fontCharacter:"\\eb3b"}),m.replaceAll=new m("replace-all",{fontCharacter:"\\eb3c"}),m.replace=new m("replace",{fontCharacter:"\\eb3d"}),m.repoClone=new m("repo-clone",{fontCharacter:"\\eb3e"}),m.repoForcePush=new m("repo-force-push",{fontCharacter:"\\eb3f"}),m.repoPull=new m("repo-pull",{fontCharacter:"\\eb40"}),m.repoPush=new m("repo-push",{fontCharacter:"\\eb41"}),m.report=new m("report",{fontCharacter:"\\eb42"}),m.requestChanges=new m("request-changes",{fontCharacter:"\\eb43"}),m.rocket=new m("rocket",{fontCharacter:"\\eb44"}),m.rootFolderOpened=new m("root-folder-opened",{fontCharacter:"\\eb45"}),m.rootFolder=new m("root-folder",{fontCharacter:"\\eb46"}),m.rss=new m("rss",{fontCharacter:"\\eb47"}),m.ruby=new m("ruby",{fontCharacter:"\\eb48"}),m.saveAll=new m("save-all",{fontCharacter:"\\eb49"}),m.saveAs=new m("save-as",{fontCharacter:"\\eb4a"}),m.save=new m("save",{fontCharacter:"\\eb4b"}),m.screenFull=new m("screen-full",{fontCharacter:"\\eb4c"}),m.screenNormal=new m("screen-normal",{fontCharacter:"\\eb4d"}),m.searchStop=new m("search-stop",{fontCharacter:"\\eb4e"}),m.server=new m("server",{fontCharacter:"\\eb50"}),m.settingsGear=new m("settings-gear",{fontCharacter:"\\eb51"}),m.settings=new m("settings",{fontCharacter:"\\eb52"}),m.shield=new m("shield",{fontCharacter:"\\eb53"}),m.smiley=new m("smiley",{fontCharacter:"\\eb54"}),m.sortPrecedence=new m("sort-precedence",{fontCharacter:"\\eb55"}),m.splitHorizontal=new m("split-horizontal",{fontCharacter:"\\eb56"}),m.splitVertical=new m("split-vertical",{fontCharacter:"\\eb57"}),m.squirrel=new m("squirrel",{fontCharacter:"\\eb58"}),m.starFull=new m("star-full",{fontCharacter:"\\eb59"}),m.starHalf=new m("star-half",{fontCharacter:"\\eb5a"}),m.symbolClass=new m("symbol-class",{fontCharacter:"\\eb5b"}),m.symbolColor=new m("symbol-color",{fontCharacter:"\\eb5c"}),m.symbolCustomColor=new m("symbol-customcolor",{fontCharacter:"\\eb5c"}),m.symbolConstant=new m("symbol-constant",{fontCharacter:"\\eb5d"}),m.symbolEnumMember=new m("symbol-enum-member",{fontCharacter:"\\eb5e"}),m.symbolField=new m("symbol-field",{fontCharacter:"\\eb5f"}),m.symbolFile=new m("symbol-file",{fontCharacter:"\\eb60"}),m.symbolInterface=new m("symbol-interface",{fontCharacter:"\\eb61"}),m.symbolKeyword=new m("symbol-keyword",{fontCharacter:"\\eb62"}),m.symbolMisc=new m("symbol-misc",{fontCharacter:"\\eb63"}),m.symbolOperator=new m("symbol-operator",{fontCharacter:"\\eb64"}),m.symbolProperty=new m("symbol-property",{fontCharacter:"\\eb65"}),m.wrench=new m("wrench",{fontCharacter:"\\eb65"}),m.wrenchSubaction=new m("wrench-subaction",{fontCharacter:"\\eb65"}),m.symbolSnippet=new m("symbol-snippet",{fontCharacter:"\\eb66"}),m.tasklist=new m("tasklist",{fontCharacter:"\\eb67"}),m.telescope=new m("telescope",{fontCharacter:"\\eb68"}),m.textSize=new m("text-size",{fontCharacter:"\\eb69"}),m.threeBars=new m("three-bars",{fontCharacter:"\\eb6a"}),m.thumbsdown=new m("thumbsdown",{fontCharacter:"\\eb6b"}),m.thumbsup=new m("thumbsup",{fontCharacter:"\\eb6c"}),m.tools=new m("tools",{fontCharacter:"\\eb6d"}),m.triangleDown=new m("triangle-down",{fontCharacter:"\\eb6e"}),m.triangleLeft=new m("triangle-left",{fontCharacter:"\\eb6f"}),m.triangleRight=new m("triangle-right",{fontCharacter:"\\eb70"}),m.triangleUp=new m("triangle-up",{fontCharacter:"\\eb71"}),m.twitter=new m("twitter",{fontCharacter:"\\eb72"}),m.unfold=new m("unfold",{fontCharacter:"\\eb73"}),m.unlock=new m("unlock",{fontCharacter:"\\eb74"}),m.unmute=new m("unmute",{fontCharacter:"\\eb75"}),m.unverified=new m("unverified",{fontCharacter:"\\eb76"}),m.verified=new m("verified",{fontCharacter:"\\eb77"}),m.versions=new m("versions",{fontCharacter:"\\eb78"}),m.vmActive=new m("vm-active",{fontCharacter:"\\eb79"}),m.vmOutline=new m("vm-outline",{fontCharacter:"\\eb7a"}),m.vmRunning=new m("vm-running",{fontCharacter:"\\eb7b"}),m.watch=new m("watch",{fontCharacter:"\\eb7c"}),m.whitespace=new m("whitespace",{fontCharacter:"\\eb7d"}),m.wholeWord=new m("whole-word",{fontCharacter:"\\eb7e"}),m.window=new m("window",{fontCharacter:"\\eb7f"}),m.wordWrap=new m("word-wrap",{fontCharacter:"\\eb80"}),m.zoomIn=new m("zoom-in",{fontCharacter:"\\eb81"}),m.zoomOut=new m("zoom-out",{fontCharacter:"\\eb82"}),m.listFilter=new m("list-filter",{fontCharacter:"\\eb83"}),m.listFlat=new m("list-flat",{fontCharacter:"\\eb84"}),m.listSelection=new m("list-selection",{fontCharacter:"\\eb85"}),m.selection=new m("selection",{fontCharacter:"\\eb85"}),m.listTree=new m("list-tree",{fontCharacter:"\\eb86"}),m.debugBreakpointFunctionUnverified=new m("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),m.debugBreakpointFunction=new m("debug-breakpoint-function",{fontCharacter:"\\eb88"}),m.debugBreakpointFunctionDisabled=new m("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),m.debugStackframeActive=new m("debug-stackframe-active",{fontCharacter:"\\eb89"}),m.debugStackframeDot=new m("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),m.debugStackframe=new m("debug-stackframe",{fontCharacter:"\\eb8b"}),m.debugStackframeFocused=new m("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),m.debugBreakpointUnsupported=new m("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),m.symbolString=new m("symbol-string",{fontCharacter:"\\eb8d"}),m.debugReverseContinue=new m("debug-reverse-continue",{fontCharacter:"\\eb8e"}),m.debugStepBack=new m("debug-step-back",{fontCharacter:"\\eb8f"}),m.debugRestartFrame=new m("debug-restart-frame",{fontCharacter:"\\eb90"}),m.callIncoming=new m("call-incoming",{fontCharacter:"\\eb92"}),m.callOutgoing=new m("call-outgoing",{fontCharacter:"\\eb93"}),m.menu=new m("menu",{fontCharacter:"\\eb94"}),m.expandAll=new m("expand-all",{fontCharacter:"\\eb95"}),m.feedback=new m("feedback",{fontCharacter:"\\eb96"}),m.groupByRefType=new m("group-by-ref-type",{fontCharacter:"\\eb97"}),m.ungroupByRefType=new m("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),m.account=new m("account",{fontCharacter:"\\eb99"}),m.bellDot=new m("bell-dot",{fontCharacter:"\\eb9a"}),m.debugConsole=new m("debug-console",{fontCharacter:"\\eb9b"}),m.library=new m("library",{fontCharacter:"\\eb9c"}),m.output=new m("output",{fontCharacter:"\\eb9d"}),m.runAll=new m("run-all",{fontCharacter:"\\eb9e"}),m.syncIgnored=new m("sync-ignored",{fontCharacter:"\\eb9f"}),m.pinned=new m("pinned",{fontCharacter:"\\eba0"}),m.githubInverted=new m("github-inverted",{fontCharacter:"\\eba1"}),m.debugAlt=new m("debug-alt",{fontCharacter:"\\eb91"}),m.serverProcess=new m("server-process",{fontCharacter:"\\eba2"}),m.serverEnvironment=new m("server-environment",{fontCharacter:"\\eba3"}),m.pass=new m("pass",{fontCharacter:"\\eba4"}),m.stopCircle=new m("stop-circle",{fontCharacter:"\\eba5"}),m.playCircle=new m("play-circle",{fontCharacter:"\\eba6"}),m.record=new m("record",{fontCharacter:"\\eba7"}),m.debugAltSmall=new m("debug-alt-small",{fontCharacter:"\\eba8"}),m.vmConnect=new m("vm-connect",{fontCharacter:"\\eba9"}),m.cloud=new m("cloud",{fontCharacter:"\\ebaa"}),m.merge=new m("merge",{fontCharacter:"\\ebab"}),m.exportIcon=new m("export",{fontCharacter:"\\ebac"}),m.graphLeft=new m("graph-left",{fontCharacter:"\\ebad"}),m.magnet=new m("magnet",{fontCharacter:"\\ebae"}),m.notebook=new m("notebook",{fontCharacter:"\\ebaf"}),m.redo=new m("redo",{fontCharacter:"\\ebb0"}),m.checkAll=new m("check-all",{fontCharacter:"\\ebb1"}),m.pinnedDirty=new m("pinned-dirty",{fontCharacter:"\\ebb2"}),m.passFilled=new m("pass-filled",{fontCharacter:"\\ebb3"}),m.circleLargeFilled=new m("circle-large-filled",{fontCharacter:"\\ebb4"}),m.circleLargeOutline=new m("circle-large-outline",{fontCharacter:"\\ebb5"}),m.combine=new m("combine",{fontCharacter:"\\ebb6"}),m.gather=new m("gather",{fontCharacter:"\\ebb6"}),m.table=new m("table",{fontCharacter:"\\ebb7"}),m.variableGroup=new m("variable-group",{fontCharacter:"\\ebb8"}),m.typeHierarchy=new m("type-hierarchy",{fontCharacter:"\\ebb9"}),m.typeHierarchySub=new m("type-hierarchy-sub",{fontCharacter:"\\ebba"}),m.typeHierarchySuper=new m("type-hierarchy-super",{fontCharacter:"\\ebbb"}),m.gitPullRequestCreate=new m("git-pull-request-create",{fontCharacter:"\\ebbc"}),m.runAbove=new m("run-above",{fontCharacter:"\\ebbd"}),m.runBelow=new m("run-below",{fontCharacter:"\\ebbe"}),m.notebookTemplate=new m("notebook-template",{fontCharacter:"\\ebbf"}),m.debugRerun=new m("debug-rerun",{fontCharacter:"\\ebc0"}),m.workspaceTrusted=new m("workspace-trusted",{fontCharacter:"\\ebc1"}),m.workspaceUntrusted=new m("workspace-untrusted",{fontCharacter:"\\ebc2"}),m.workspaceUnspecified=new m("workspace-unspecified",{fontCharacter:"\\ebc3"}),m.terminalCmd=new m("terminal-cmd",{fontCharacter:"\\ebc4"}),m.terminalDebian=new m("terminal-debian",{fontCharacter:"\\ebc5"}),m.terminalLinux=new m("terminal-linux",{fontCharacter:"\\ebc6"}),m.terminalPowershell=new m("terminal-powershell",{fontCharacter:"\\ebc7"}),m.terminalTmux=new m("terminal-tmux",{fontCharacter:"\\ebc8"}),m.terminalUbuntu=new m("terminal-ubuntu",{fontCharacter:"\\ebc9"}),m.terminalBash=new m("terminal-bash",{fontCharacter:"\\ebca"}),m.arrowSwap=new m("arrow-swap",{fontCharacter:"\\ebcb"}),m.copy=new m("copy",{fontCharacter:"\\ebcc"}),m.personAdd=new m("person-add",{fontCharacter:"\\ebcd"}),m.filterFilled=new m("filter-filled",{fontCharacter:"\\ebce"}),m.wand=new m("wand",{fontCharacter:"\\ebcf"}),m.debugLineByLine=new m("debug-line-by-line",{fontCharacter:"\\ebd0"}),m.inspect=new m("inspect",{fontCharacter:"\\ebd1"}),m.layers=new m("layers",{fontCharacter:"\\ebd2"}),m.layersDot=new m("layers-dot",{fontCharacter:"\\ebd3"}),m.layersActive=new m("layers-active",{fontCharacter:"\\ebd4"}),m.compass=new m("compass",{fontCharacter:"\\ebd5"}),m.compassDot=new m("compass-dot",{fontCharacter:"\\ebd6"}),m.compassActive=new m("compass-active",{fontCharacter:"\\ebd7"}),m.azure=new m("azure",{fontCharacter:"\\ebd8"}),m.issueDraft=new m("issue-draft",{fontCharacter:"\\ebd9"}),m.gitPullRequestClosed=new m("git-pull-request-closed",{fontCharacter:"\\ebda"}),m.gitPullRequestDraft=new m("git-pull-request-draft",{fontCharacter:"\\ebdb"}),m.debugAll=new m("debug-all",{fontCharacter:"\\ebdc"}),m.debugCoverage=new m("debug-coverage",{fontCharacter:"\\ebdd"}),m.runErrors=new m("run-errors",{fontCharacter:"\\ebde"}),m.folderLibrary=new m("folder-library",{fontCharacter:"\\ebdf"}),m.debugContinueSmall=new m("debug-continue-small",{fontCharacter:"\\ebe0"}),m.beakerStop=new m("beaker-stop",{fontCharacter:"\\ebe1"}),m.graphLine=new m("graph-line",{fontCharacter:"\\ebe2"}),m.graphScatter=new m("graph-scatter",{fontCharacter:"\\ebe3"}),m.pieChart=new m("pie-chart",{fontCharacter:"\\ebe4"}),m.bracket=new m("bracket",m.json.definition),m.bracketDot=new m("bracket-dot",{fontCharacter:"\\ebe5"}),m.bracketError=new m("bracket-error",{fontCharacter:"\\ebe6"}),m.lockSmall=new m("lock-small",{fontCharacter:"\\ebe7"}),m.azureDevops=new m("azure-devops",{fontCharacter:"\\ebe8"}),m.verifiedFilled=new m("verified-filled",{fontCharacter:"\\ebe9"}),m.newLine=new m("newline",{fontCharacter:"\\ebea"}),m.layout=new m("layout",{fontCharacter:"\\ebeb"}),m.layoutActivitybarLeft=new m("layout-activitybar-left",{fontCharacter:"\\ebec"}),m.layoutActivitybarRight=new m("layout-activitybar-right",{fontCharacter:"\\ebed"}),m.layoutPanelLeft=new m("layout-panel-left",{fontCharacter:"\\ebee"}),m.layoutPanelCenter=new m("layout-panel-center",{fontCharacter:"\\ebef"}),m.layoutPanelJustify=new m("layout-panel-justify",{fontCharacter:"\\ebf0"}),m.layoutPanelRight=new m("layout-panel-right",{fontCharacter:"\\ebf1"}),m.layoutPanel=new m("layout-panel",{fontCharacter:"\\ebf2"}),m.layoutSidebarLeft=new m("layout-sidebar-left",{fontCharacter:"\\ebf3"}),m.layoutSidebarRight=new m("layout-sidebar-right",{fontCharacter:"\\ebf4"}),m.layoutStatusbar=new m("layout-statusbar",{fontCharacter:"\\ebf5"}),m.layoutMenubar=new m("layout-menubar",{fontCharacter:"\\ebf6"}),m.layoutCentered=new m("layout-centered",{fontCharacter:"\\ebf7"}),m.target=new m("target",{fontCharacter:"\\ebf8"}),m.indent=new m("indent",{fontCharacter:"\\ebf9"}),m.recordSmall=new m("record-small",{fontCharacter:"\\ebfa"}),m.errorSmall=new m("error-small",{fontCharacter:"\\ebfb"}),m.arrowCircleDown=new m("arrow-circle-down",{fontCharacter:"\\ebfc"}),m.arrowCircleLeft=new m("arrow-circle-left",{fontCharacter:"\\ebfd"}),m.arrowCircleRight=new m("arrow-circle-right",{fontCharacter:"\\ebfe"}),m.arrowCircleUp=new m("arrow-circle-up",{fontCharacter:"\\ebff"}),m.dialogError=new m("dialog-error",m.error.definition),m.dialogWarning=new m("dialog-warning",m.warning.definition),m.dialogInfo=new m("dialog-info",m.info.definition),m.dialogClose=new m("dialog-close",m.close.definition),m.treeItemExpanded=new m("tree-item-expanded",m.chevronDown.definition),m.treeFilterOnTypeOn=new m("tree-filter-on-type-on",m.listFilter.definition),m.treeFilterOnTypeOff=new m("tree-filter-on-type-off",m.listSelection.definition),m.treeFilterClear=new m("tree-filter-clear",m.close.definition),m.treeItemLoading=new m("tree-item-loading",m.loading.definition),m.menuSelection=new m("menu-selection",m.check.definition),m.menuSubmenu=new m("menu-submenu",m.chevronRight.definition),m.menuBarMore=new m("menubar-more",m.more.definition),m.scrollbarButtonLeft=new m("scrollbar-button-left",m.triangleLeft.definition),m.scrollbarButtonRight=new m("scrollbar-button-right",m.triangleRight.definition),m.scrollbarButtonUp=new m("scrollbar-button-up",m.triangleUp.definition),m.scrollbarButtonDown=new m("scrollbar-button-down",m.triangleDown.definition),m.toolBarMore=new m("toolbar-more",m.more.definition),m.quickInputBack=new m("quick-input-back",m.arrowLeft.definition);var k;(function(I){I.iconNameSegment="[A-Za-z0-9]+",I.iconNameExpression="[A-Za-z0-9-]+",I.iconModifierExpression="~[A-Za-z]+",I.iconNameCharacter="[A-Za-z0-9~-]";const w=new RegExp(`^(${I.iconNameExpression})(${I.iconModifierExpression})?$`);function b(g){if(g instanceof m)return["codicon","codicon-"+g.id];const t=w.exec(g.id);if(!t)return b(m.error);let[,n,i]=t;const o=["codicon","codicon-"+n];return i&&o.push("codicon-modifier-"+i.substr(1)),o}I.asClassNameArray=b;function C(g){return b(g).join(" ")}I.asClassName=C;function u(g){return"."+b(g).join(".")}I.asCSSSelector=u})(k=e.CSSIcon||(e.CSSIcon={}))}),define(te[217],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SetMap=e.forEach=void 0;const L=Object.prototype.hasOwnProperty;function m(I,w){for(let b in I)if(L.call(I,b)&&w({key:b,value:I[b]},function(){delete I[b]})===!1)return}e.forEach=m;class k{constructor(){this.map=new Map}add(w,b){let C=this.map.get(w);C||(C=new Set,this.map.set(w,C)),C.add(b)}delete(w,b){const C=this.map.get(w);!C||(C.delete(b),C.size===0&&this.map.delete(w))}forEach(w,b){const C=this.map.get(w);!C||C.forEach(b)}}e.SetMap=k}),define(te[30],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Color=e.HSVA=e.HSLA=e.RGBA=void 0;function L(b,C){const u=Math.pow(10,C);return Math.round(b*u)/u}class m{constructor(C,u,g,t=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,C))|0,this.g=Math.min(255,Math.max(0,u))|0,this.b=Math.min(255,Math.max(0,g))|0,this.a=L(Math.max(Math.min(1,t),0),3)}static equals(C,u){return C.r===u.r&&C.g===u.g&&C.b===u.b&&C.a===u.a}}e.RGBA=m;class k{constructor(C,u,g,t){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,C),0)|0,this.s=L(Math.max(Math.min(1,u),0),3),this.l=L(Math.max(Math.min(1,g),0),3),this.a=L(Math.max(Math.min(1,t),0),3)}static equals(C,u){return C.h===u.h&&C.s===u.s&&C.l===u.l&&C.a===u.a}static fromRGBA(C){const u=C.r/255,g=C.g/255,t=C.b/255,n=C.a,i=Math.max(u,g,t),o=Math.min(u,g,t);let c=0,d=0;const r=(o+i)/2,s=i-o;if(s>0){switch(d=Math.min(r<=.5?s/(2*r):s/(2-2*r),1),i){case u:c=(g-t)/s+(g 1&&(g-=1),g<1/6?C+(u-C)*6*g:g<1/2?u:g<2/3?C+(u-C)*(2/3-g)*6:C}static toRGBA(C){const u=C.h/360,{s:g,l:t,a:n}=C;let i,o,c;if(g===0)i=o=c=t;else{const d=t<.5?t*(1+g):t+g-t*g,r=2*t-d;i=k._hue2rgb(r,d,u+1/3),o=k._hue2rgb(r,d,u),c=k._hue2rgb(r,d,u-1/3)}return new m(Math.round(i*255),Math.round(o*255),Math.round(c*255),n)}}e.HSLA=k;class I{constructor(C,u,g,t){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,C),0)|0,this.s=L(Math.max(Math.min(1,u),0),3),this.v=L(Math.max(Math.min(1,g),0),3),this.a=L(Math.max(Math.min(1,t),0),3)}static equals(C,u){return C.h===u.h&&C.s===u.s&&C.v===u.v&&C.a===u.a}static fromRGBA(C){const u=C.r/255,g=C.g/255,t=C.b/255,n=Math.max(u,g,t),i=Math.min(u,g,t),o=n-i,c=n===0?0:o/n;let d;return o===0?d=0:n===u?d=((g-t)/o%6+6)%6:n===g?d=(t-u)/o+2:d=(u-g)/o+4,new I(Math.round(d*60),c,n,C.a)}static toRGBA(C){const{h:u,s:g,v:t,a:n}=C,i=t*g,o=i*(1-Math.abs(u/60%2-1)),c=t-i;let[d,r,s]=[0,0,0];return u<60?(d=i,r=o):u<120?(d=o,r=i):u<180?(r=i,s=o):u<240?(r=o,s=i):u<300?(d=o,s=i):u<=360&&(d=i,s=o),d=Math.round((d+c)*255),r=Math.round((r+c)*255),s=Math.round((s+c)*255),new m(d,r,s,n)}}e.HSVA=I;class w{constructor(C){if(C)if(C instanceof m)this.rgba=C;else if(C instanceof k)this._hsla=C,this.rgba=k.toRGBA(C);else if(C instanceof I)this._hsva=C,this.rgba=I.toRGBA(C);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}static fromHex(C){return w.Format.CSS.parseHex(C)||w.red}get hsla(){return this._hsla?this._hsla:k.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:I.fromRGBA(this.rgba)}equals(C){return!!C&&m.equals(this.rgba,C.rgba)&&k.equals(this.hsla,C.hsla)&&I.equals(this.hsva,C.hsva)}getRelativeLuminance(){const C=w._relativeLuminanceForComponent(this.rgba.r),u=w._relativeLuminanceForComponent(this.rgba.g),g=w._relativeLuminanceForComponent(this.rgba.b),t=.2126*C+.7152*u+.0722*g;return L(t,4)}static _relativeLuminanceForComponent(C){const u=C/255;return u<=.03928?u/12.92:Math.pow((u+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(C){const u=this.getRelativeLuminance(),g=C.getRelativeLuminance();return u>g}isDarkerThan(C){const u=this.getRelativeLuminance(),g=C.getRelativeLuminance();return u {throw o.stack?new Error(o.message+` + +`+o.stack):o},0)}}emit(o){this.listeners.forEach(c=>{c(o)})}onUnexpectedError(o){this.unexpectedErrorHandler(o),this.emit(o)}onUnexpectedExternalError(o){this.unexpectedErrorHandler(o)}}e.ErrorHandler=L,e.errorHandler=new L;function m(i){b(i)||e.errorHandler.onUnexpectedError(i)}e.onUnexpectedError=m;function k(i){b(i)||e.errorHandler.onUnexpectedExternalError(i)}e.onUnexpectedExternalError=k;function I(i){if(i instanceof Error){let{name:o,message:c}=i;const d=i.stacktrace||i.stack;return{$isError:!0,name:o,message:c,stack:d}}return i}e.transformErrorForSerialization=I;const w="Canceled";function b(i){return i instanceof C?!0:i instanceof Error&&i.name===w&&i.message===w}e.isCancellationError=b;class C extends Error{constructor(){super(w);this.name=this.message}}e.CancellationError=C;function u(){const i=new Error(w);return i.name=i.message,i}e.canceled=u;function g(i){return i?new Error(`Illegal argument: ${i}`):new Error("Illegal argument")}e.illegalArgument=g;function t(i){return i?new Error(`Illegal state: ${i}`):new Error("Illegal state")}e.illegalState=t;class n extends Error{constructor(o){super("NotSupported");o&&(this.message=o)}}e.NotSupportedError=n}),define(te[91],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=void 0;function L(m){const k=this;let I=!1,w;return function(){return I||(I=!0,w=m.apply(k,arguments)),w}}e.once=L}),define(te[136],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultGenerator=e.IdGenerator=void 0;class L{constructor(k){this._prefix=k,this._lastId=0}nextId(){return this._prefix+ ++this._lastId}}e.IdGenerator=L,e.defaultGenerator=new L("id#")}),define(te[57],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Iterable=void 0;var L;(function(m){function k(h){return h&&typeof h=="object"&&typeof h[Symbol.iterator]=="function"}m.is=k;const I=Object.freeze([]);function w(){return I}m.empty=w;function*b(h){yield h}m.single=b;function C(h){return h||I}m.from=C;function u(h){return!h||h[Symbol.iterator]().next().done===!0}m.isEmpty=u;function g(h){return h[Symbol.iterator]().next().value}m.first=g;function t(h,f){for(const S of h)if(f(S))return!0;return!1}m.some=t;function n(h,f){for(const S of h)if(f(S))return S}m.find=n;function*i(h,f){for(const S of h)f(S)&&(yield S)}m.filter=i;function*o(h,f){let S=0;for(const v of h)yield f(v,S++)}m.map=o;function*c(...h){for(const f of h)for(const S of f)yield S}m.concat=c;function*d(h){for(const f of h)for(const S of f)yield S}m.concatNested=d;function r(h,f,S){let v=S;for(const p of h)v=f(v,p);return v}m.reduce=r;function*s(h,f,S=h.length){for(f<0&&(f+=h.length),S<0?S+=h.length:S>h.length&&(S=h.length);f v===p){const v=h[Symbol.iterator](),p=f[Symbol.iterator]();for(;;){const _=v.next(),y=p.next();if(_.done!==y.done)return!1;if(_.done)return!0;if(!S(_.value,y.value))return!1}}m.equals=l})(L=e.Iterable||(e.Iterable={}))}),define(te[58],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.KeyChord=e.KeyCodeUtils=e.IMMUTABLE_KEY_CODE_TO_CODE=e.IMMUTABLE_CODE_TO_KEY_CODE=e.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE=e.EVENT_KEY_CODE_MAP=void 0;class L{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(n,i){this._keyCodeToStr[n]=i,this._strToKeyCode[i.toLowerCase()]=n}keyCodeToStr(n){return this._keyCodeToStr[n]}strToKeyCode(n){return this._strToKeyCode[n.toLowerCase()]||0}}const m=new L,k=new L,I=new L;e.EVENT_KEY_CODE_MAP=new Array(230),e.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE={};const w=[],b=Object.create(null),C=Object.create(null);e.IMMUTABLE_CODE_TO_KEY_CODE=[],e.IMMUTABLE_KEY_CODE_TO_CODE=[];for(let t=0;t<=193;t++)e.IMMUTABLE_CODE_TO_KEY_CODE[t]=-1;for(let t=0;t<=127;t++)e.IMMUTABLE_KEY_CODE_TO_CODE[t]=-1;(function(){const t="",n=[[0,1,0,"None",0,"unknown",0,"VK_UNKNOWN",t,t],[0,1,1,"Hyper",0,t,0,t,t,t],[0,1,2,"Super",0,t,0,t,t,t],[0,1,3,"Fn",0,t,0,t,t,t],[0,1,4,"FnLock",0,t,0,t,t,t],[0,1,5,"Suspend",0,t,0,t,t,t],[0,1,6,"Resume",0,t,0,t,t,t],[0,1,7,"Turbo",0,t,0,t,t,t],[0,1,8,"Sleep",0,t,0,"VK_SLEEP",t,t],[0,1,9,"WakeUp",0,t,0,t,t,t],[31,0,10,"KeyA",31,"A",65,"VK_A",t,t],[32,0,11,"KeyB",32,"B",66,"VK_B",t,t],[33,0,12,"KeyC",33,"C",67,"VK_C",t,t],[34,0,13,"KeyD",34,"D",68,"VK_D",t,t],[35,0,14,"KeyE",35,"E",69,"VK_E",t,t],[36,0,15,"KeyF",36,"F",70,"VK_F",t,t],[37,0,16,"KeyG",37,"G",71,"VK_G",t,t],[38,0,17,"KeyH",38,"H",72,"VK_H",t,t],[39,0,18,"KeyI",39,"I",73,"VK_I",t,t],[40,0,19,"KeyJ",40,"J",74,"VK_J",t,t],[41,0,20,"KeyK",41,"K",75,"VK_K",t,t],[42,0,21,"KeyL",42,"L",76,"VK_L",t,t],[43,0,22,"KeyM",43,"M",77,"VK_M",t,t],[44,0,23,"KeyN",44,"N",78,"VK_N",t,t],[45,0,24,"KeyO",45,"O",79,"VK_O",t,t],[46,0,25,"KeyP",46,"P",80,"VK_P",t,t],[47,0,26,"KeyQ",47,"Q",81,"VK_Q",t,t],[48,0,27,"KeyR",48,"R",82,"VK_R",t,t],[49,0,28,"KeyS",49,"S",83,"VK_S",t,t],[50,0,29,"KeyT",50,"T",84,"VK_T",t,t],[51,0,30,"KeyU",51,"U",85,"VK_U",t,t],[52,0,31,"KeyV",52,"V",86,"VK_V",t,t],[53,0,32,"KeyW",53,"W",87,"VK_W",t,t],[54,0,33,"KeyX",54,"X",88,"VK_X",t,t],[55,0,34,"KeyY",55,"Y",89,"VK_Y",t,t],[56,0,35,"KeyZ",56,"Z",90,"VK_Z",t,t],[22,0,36,"Digit1",22,"1",49,"VK_1",t,t],[23,0,37,"Digit2",23,"2",50,"VK_2",t,t],[24,0,38,"Digit3",24,"3",51,"VK_3",t,t],[25,0,39,"Digit4",25,"4",52,"VK_4",t,t],[26,0,40,"Digit5",26,"5",53,"VK_5",t,t],[27,0,41,"Digit6",27,"6",54,"VK_6",t,t],[28,0,42,"Digit7",28,"7",55,"VK_7",t,t],[29,0,43,"Digit8",29,"8",56,"VK_8",t,t],[30,0,44,"Digit9",30,"9",57,"VK_9",t,t],[21,0,45,"Digit0",21,"0",48,"VK_0",t,t],[3,1,46,"Enter",3,"Enter",13,"VK_RETURN",t,t],[9,1,47,"Escape",9,"Escape",27,"VK_ESCAPE",t,t],[1,1,48,"Backspace",1,"Backspace",8,"VK_BACK",t,t],[2,1,49,"Tab",2,"Tab",9,"VK_TAB",t,t],[10,1,50,"Space",10,"Space",32,"VK_SPACE",t,t],[83,0,51,"Minus",83,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[81,0,52,"Equal",81,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[87,0,53,"BracketLeft",87,"[",219,"VK_OEM_4","[","OEM_4"],[89,0,54,"BracketRight",89,"]",221,"VK_OEM_6","]","OEM_6"],[88,0,55,"Backslash",88,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,0,56,"IntlHash",0,t,0,t,t,t],[80,0,57,"Semicolon",80,";",186,"VK_OEM_1",";","OEM_1"],[90,0,58,"Quote",90,"'",222,"VK_OEM_7","'","OEM_7"],[86,0,59,"Backquote",86,"`",192,"VK_OEM_3","`","OEM_3"],[82,0,60,"Comma",82,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[84,0,61,"Period",84,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[85,0,62,"Slash",85,"/",191,"VK_OEM_2","/","OEM_2"],[8,1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",t,t],[59,1,64,"F1",59,"F1",112,"VK_F1",t,t],[60,1,65,"F2",60,"F2",113,"VK_F2",t,t],[61,1,66,"F3",61,"F3",114,"VK_F3",t,t],[62,1,67,"F4",62,"F4",115,"VK_F4",t,t],[63,1,68,"F5",63,"F5",116,"VK_F5",t,t],[64,1,69,"F6",64,"F6",117,"VK_F6",t,t],[65,1,70,"F7",65,"F7",118,"VK_F7",t,t],[66,1,71,"F8",66,"F8",119,"VK_F8",t,t],[67,1,72,"F9",67,"F9",120,"VK_F9",t,t],[68,1,73,"F10",68,"F10",121,"VK_F10",t,t],[69,1,74,"F11",69,"F11",122,"VK_F11",t,t],[70,1,75,"F12",70,"F12",123,"VK_F12",t,t],[0,1,76,"PrintScreen",0,t,0,t,t,t],[79,1,77,"ScrollLock",79,"ScrollLock",145,"VK_SCROLL",t,t],[7,1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",t,t],[19,1,79,"Insert",19,"Insert",45,"VK_INSERT",t,t],[14,1,80,"Home",14,"Home",36,"VK_HOME",t,t],[11,1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",t,t],[20,1,82,"Delete",20,"Delete",46,"VK_DELETE",t,t],[13,1,83,"End",13,"End",35,"VK_END",t,t],[12,1,84,"PageDown",12,"PageDown",34,"VK_NEXT",t,t],[17,1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",t],[15,1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",t],[18,1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",t],[16,1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",t],[78,1,89,"NumLock",78,"NumLock",144,"VK_NUMLOCK",t,t],[108,1,90,"NumpadDivide",108,"NumPad_Divide",111,"VK_DIVIDE",t,t],[103,1,91,"NumpadMultiply",103,"NumPad_Multiply",106,"VK_MULTIPLY",t,t],[106,1,92,"NumpadSubtract",106,"NumPad_Subtract",109,"VK_SUBTRACT",t,t],[104,1,93,"NumpadAdd",104,"NumPad_Add",107,"VK_ADD",t,t],[3,1,94,"NumpadEnter",3,t,0,t,t,t],[94,1,95,"Numpad1",94,"NumPad1",97,"VK_NUMPAD1",t,t],[95,1,96,"Numpad2",95,"NumPad2",98,"VK_NUMPAD2",t,t],[96,1,97,"Numpad3",96,"NumPad3",99,"VK_NUMPAD3",t,t],[97,1,98,"Numpad4",97,"NumPad4",100,"VK_NUMPAD4",t,t],[98,1,99,"Numpad5",98,"NumPad5",101,"VK_NUMPAD5",t,t],[99,1,100,"Numpad6",99,"NumPad6",102,"VK_NUMPAD6",t,t],[100,1,101,"Numpad7",100,"NumPad7",103,"VK_NUMPAD7",t,t],[101,1,102,"Numpad8",101,"NumPad8",104,"VK_NUMPAD8",t,t],[102,1,103,"Numpad9",102,"NumPad9",105,"VK_NUMPAD9",t,t],[93,1,104,"Numpad0",93,"NumPad0",96,"VK_NUMPAD0",t,t],[107,1,105,"NumpadDecimal",107,"NumPad_Decimal",110,"VK_DECIMAL",t,t],[92,0,106,"IntlBackslash",92,"OEM_102",226,"VK_OEM_102",t,t],[58,1,107,"ContextMenu",58,"ContextMenu",93,t,t,t],[0,1,108,"Power",0,t,0,t,t,t],[0,1,109,"NumpadEqual",0,t,0,t,t,t],[71,1,110,"F13",71,"F13",124,"VK_F13",t,t],[72,1,111,"F14",72,"F14",125,"VK_F14",t,t],[73,1,112,"F15",73,"F15",126,"VK_F15",t,t],[74,1,113,"F16",74,"F16",127,"VK_F16",t,t],[75,1,114,"F17",75,"F17",128,"VK_F17",t,t],[76,1,115,"F18",76,"F18",129,"VK_F18",t,t],[77,1,116,"F19",77,"F19",130,"VK_F19",t,t],[0,1,117,"F20",0,t,0,"VK_F20",t,t],[0,1,118,"F21",0,t,0,"VK_F21",t,t],[0,1,119,"F22",0,t,0,"VK_F22",t,t],[0,1,120,"F23",0,t,0,"VK_F23",t,t],[0,1,121,"F24",0,t,0,"VK_F24",t,t],[0,1,122,"Open",0,t,0,t,t,t],[0,1,123,"Help",0,t,0,t,t,t],[0,1,124,"Select",0,t,0,t,t,t],[0,1,125,"Again",0,t,0,t,t,t],[0,1,126,"Undo",0,t,0,t,t,t],[0,1,127,"Cut",0,t,0,t,t,t],[0,1,128,"Copy",0,t,0,t,t,t],[0,1,129,"Paste",0,t,0,t,t,t],[0,1,130,"Find",0,t,0,t,t,t],[0,1,131,"AudioVolumeMute",112,"AudioVolumeMute",173,"VK_VOLUME_MUTE",t,t],[0,1,132,"AudioVolumeUp",113,"AudioVolumeUp",175,"VK_VOLUME_UP",t,t],[0,1,133,"AudioVolumeDown",114,"AudioVolumeDown",174,"VK_VOLUME_DOWN",t,t],[105,1,134,"NumpadComma",105,"NumPad_Separator",108,"VK_SEPARATOR",t,t],[110,0,135,"IntlRo",110,"ABNT_C1",193,"VK_ABNT_C1",t,t],[0,1,136,"KanaMode",0,t,0,t,t,t],[0,0,137,"IntlYen",0,t,0,t,t,t],[0,1,138,"Convert",0,t,0,t,t,t],[0,1,139,"NonConvert",0,t,0,t,t,t],[0,1,140,"Lang1",0,t,0,t,t,t],[0,1,141,"Lang2",0,t,0,t,t,t],[0,1,142,"Lang3",0,t,0,t,t,t],[0,1,143,"Lang4",0,t,0,t,t,t],[0,1,144,"Lang5",0,t,0,t,t,t],[0,1,145,"Abort",0,t,0,t,t,t],[0,1,146,"Props",0,t,0,t,t,t],[0,1,147,"NumpadParenLeft",0,t,0,t,t,t],[0,1,148,"NumpadParenRight",0,t,0,t,t,t],[0,1,149,"NumpadBackspace",0,t,0,t,t,t],[0,1,150,"NumpadMemoryStore",0,t,0,t,t,t],[0,1,151,"NumpadMemoryRecall",0,t,0,t,t,t],[0,1,152,"NumpadMemoryClear",0,t,0,t,t,t],[0,1,153,"NumpadMemoryAdd",0,t,0,t,t,t],[0,1,154,"NumpadMemorySubtract",0,t,0,t,t,t],[0,1,155,"NumpadClear",126,"Clear",12,"VK_CLEAR",t,t],[0,1,156,"NumpadClearEntry",0,t,0,t,t,t],[5,1,0,t,5,"Ctrl",17,"VK_CONTROL",t,t],[4,1,0,t,4,"Shift",16,"VK_SHIFT",t,t],[6,1,0,t,6,"Alt",18,"VK_MENU",t,t],[57,1,0,t,57,"Meta",0,"VK_COMMAND",t,t],[5,1,157,"ControlLeft",5,t,0,"VK_LCONTROL",t,t],[4,1,158,"ShiftLeft",4,t,0,"VK_LSHIFT",t,t],[6,1,159,"AltLeft",6,t,0,"VK_LMENU",t,t],[57,1,160,"MetaLeft",57,t,0,"VK_LWIN",t,t],[5,1,161,"ControlRight",5,t,0,"VK_RCONTROL",t,t],[4,1,162,"ShiftRight",4,t,0,"VK_RSHIFT",t,t],[6,1,163,"AltRight",6,t,0,"VK_RMENU",t,t],[57,1,164,"MetaRight",57,t,0,"VK_RWIN",t,t],[0,1,165,"BrightnessUp",0,t,0,t,t,t],[0,1,166,"BrightnessDown",0,t,0,t,t,t],[0,1,167,"MediaPlay",0,t,0,t,t,t],[0,1,168,"MediaRecord",0,t,0,t,t,t],[0,1,169,"MediaFastForward",0,t,0,t,t,t],[0,1,170,"MediaRewind",0,t,0,t,t,t],[114,1,171,"MediaTrackNext",119,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",t,t],[115,1,172,"MediaTrackPrevious",120,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",t,t],[116,1,173,"MediaStop",121,"MediaStop",178,"VK_MEDIA_STOP",t,t],[0,1,174,"Eject",0,t,0,t,t,t],[117,1,175,"MediaPlayPause",122,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",t,t],[0,1,176,"MediaSelect",123,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",t,t],[0,1,177,"LaunchMail",124,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",t,t],[0,1,178,"LaunchApp2",125,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",t,t],[0,1,179,"LaunchApp1",0,t,0,"VK_MEDIA_LAUNCH_APP1",t,t],[0,1,180,"SelectTask",0,t,0,t,t,t],[0,1,181,"LaunchScreenSaver",0,t,0,t,t,t],[0,1,182,"BrowserSearch",115,"BrowserSearch",170,"VK_BROWSER_SEARCH",t,t],[0,1,183,"BrowserHome",116,"BrowserHome",172,"VK_BROWSER_HOME",t,t],[112,1,184,"BrowserBack",117,"BrowserBack",166,"VK_BROWSER_BACK",t,t],[113,1,185,"BrowserForward",118,"BrowserForward",167,"VK_BROWSER_FORWARD",t,t],[0,1,186,"BrowserStop",0,t,0,"VK_BROWSER_STOP",t,t],[0,1,187,"BrowserRefresh",0,t,0,"VK_BROWSER_REFRESH",t,t],[0,1,188,"BrowserFavorites",0,t,0,"VK_BROWSER_FAVORITES",t,t],[0,1,189,"ZoomToggle",0,t,0,t,t,t],[0,1,190,"MailReply",0,t,0,t,t,t],[0,1,191,"MailForward",0,t,0,t,t,t],[0,1,192,"MailSend",0,t,0,t,t,t],[109,1,0,t,109,"KeyInComposition",229,t,t,t],[111,1,0,t,111,"ABNT_C2",194,"VK_ABNT_C2",t,t],[91,1,0,t,91,"OEM_8",223,"VK_OEM_8",t,t],[0,1,0,t,0,t,0,"VK_KANA",t,t],[0,1,0,t,0,t,0,"VK_HANGUL",t,t],[0,1,0,t,0,t,0,"VK_JUNJA",t,t],[0,1,0,t,0,t,0,"VK_FINAL",t,t],[0,1,0,t,0,t,0,"VK_HANJA",t,t],[0,1,0,t,0,t,0,"VK_KANJI",t,t],[0,1,0,t,0,t,0,"VK_CONVERT",t,t],[0,1,0,t,0,t,0,"VK_NONCONVERT",t,t],[0,1,0,t,0,t,0,"VK_ACCEPT",t,t],[0,1,0,t,0,t,0,"VK_MODECHANGE",t,t],[0,1,0,t,0,t,0,"VK_SELECT",t,t],[0,1,0,t,0,t,0,"VK_PRINT",t,t],[0,1,0,t,0,t,0,"VK_EXECUTE",t,t],[0,1,0,t,0,t,0,"VK_SNAPSHOT",t,t],[0,1,0,t,0,t,0,"VK_HELP",t,t],[0,1,0,t,0,t,0,"VK_APPS",t,t],[0,1,0,t,0,t,0,"VK_PROCESSKEY",t,t],[0,1,0,t,0,t,0,"VK_PACKET",t,t],[0,1,0,t,0,t,0,"VK_DBE_SBCSCHAR",t,t],[0,1,0,t,0,t,0,"VK_DBE_DBCSCHAR",t,t],[0,1,0,t,0,t,0,"VK_ATTN",t,t],[0,1,0,t,0,t,0,"VK_CRSEL",t,t],[0,1,0,t,0,t,0,"VK_EXSEL",t,t],[0,1,0,t,0,t,0,"VK_EREOF",t,t],[0,1,0,t,0,t,0,"VK_PLAY",t,t],[0,1,0,t,0,t,0,"VK_ZOOM",t,t],[0,1,0,t,0,t,0,"VK_NONAME",t,t],[0,1,0,t,0,t,0,"VK_PA1",t,t],[0,1,0,t,0,t,0,"VK_OEM_CLEAR",t,t]];let i=[],o=[];for(const c of n){const[d,r,s,a,l,h,f,S,v,p]=c;if(o[s]||(o[s]=!0,w[s]=a,b[a]=s,C[a.toLowerCase()]=s,r&&(e.IMMUTABLE_CODE_TO_KEY_CODE[s]=l,l!==0&&l!==3&&l!==5&&l!==4&&l!==6&&l!==57&&(e.IMMUTABLE_KEY_CODE_TO_CODE[l]=s))),!i[l]){if(i[l]=!0,!h)throw new Error(`String representation missing for key code ${l} around scan code ${a}`);m.define(l,h),k.define(l,v||h),I.define(l,p||v||h)}f&&(e.EVENT_KEY_CODE_MAP[f]=l),S&&(e.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE[S]=l)}e.IMMUTABLE_KEY_CODE_TO_CODE[3]=46})();var u;(function(t){function n(s){return m.keyCodeToStr(s)}t.toString=n;function i(s){return m.strToKeyCode(s)}t.fromString=i;function o(s){return k.keyCodeToStr(s)}t.toUserSettingsUS=o;function c(s){return I.keyCodeToStr(s)}t.toUserSettingsGeneral=c;function d(s){return k.strToKeyCode(s)||I.strToKeyCode(s)}t.fromUserSettings=d;function r(s){if(s>=93&&s<=108)return null;switch(s){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return m.keyCodeToStr(s)}t.toElectronAccelerator=r})(u=e.KeyCodeUtils||(e.KeyCodeUtils={}));function g(t,n){const i=(n&65535)<<16>>>0;return(t|i)>>>0}e.KeyChord=g}),define(te[96],ie([1,0,13]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ResolvedKeybinding=e.ResolvedKeybindingPart=e.ScanCodeBinding=e.ChordKeybinding=e.SimpleKeybinding=e.createSimpleKeybinding=e.createKeybinding=void 0;function m(g,t){if(g===0)return null;const n=(g&65535)>>>0,i=(g&4294901760)>>>16;return i!==0?new w([k(n,t),k(i,t)]):new w([k(n,t)])}e.createKeybinding=m;function k(g,t){const n=!!(g&2048),i=!!(g&256),o=t===2?i:n,c=!!(g&1024),d=!!(g&512),r=t===2?n:i,s=g&255;return new I(o,c,d,r,s)}e.createSimpleKeybinding=k;class I{constructor(t,n,i,o,c){this.ctrlKey=t,this.shiftKey=n,this.altKey=i,this.metaKey=o,this.keyCode=c}equals(t){return this.ctrlKey===t.ctrlKey&&this.shiftKey===t.shiftKey&&this.altKey===t.altKey&&this.metaKey===t.metaKey&&this.keyCode===t.keyCode}isModifierKey(){return this.keyCode===0||this.keyCode===5||this.keyCode===57||this.keyCode===6||this.keyCode===4}toChord(){return new w([this])}isDuplicateModifierCase(){return this.ctrlKey&&this.keyCode===5||this.shiftKey&&this.keyCode===4||this.altKey&&this.keyCode===6||this.metaKey&&this.keyCode===57}}e.SimpleKeybinding=I;class w{constructor(t){if(t.length===0)throw(0,L.illegalArgument)("parts");this.parts=t}}e.ChordKeybinding=w;class b{constructor(t,n,i,o,c){this.ctrlKey=t,this.shiftKey=n,this.altKey=i,this.metaKey=o,this.scanCode=c}isDuplicateModifierCase(){return this.ctrlKey&&(this.scanCode===157||this.scanCode===161)||this.shiftKey&&(this.scanCode===158||this.scanCode===162)||this.altKey&&(this.scanCode===159||this.scanCode===163)||this.metaKey&&(this.scanCode===160||this.scanCode===164)}}e.ScanCodeBinding=b;class C{constructor(t,n,i,o,c,d){this.ctrlKey=t,this.shiftKey=n,this.altKey=i,this.metaKey=o,this.keyLabel=c,this.keyAriaLabel=d}}e.ResolvedKeybindingPart=C;class u{}e.ResolvedKeybinding=u}),define(te[137],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Lazy=void 0;class L{constructor(k){this.executor=k,this._didRun=!1}getValue(){if(!this._didRun)try{this._value=this.executor()}catch(k){this._error=k}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}}e.Lazy=L}),define(te[2],ie([1,0,91,57]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ImmortalReference=e.SafeDisposable=e.MutableDisposable=e.Disposable=e.DisposableStore=e.toDisposable=e.combinedDisposable=e.dispose=e.isDisposable=e.MultiDisposeError=e.markAsSingleton=e.setDisposableTracker=void 0;const k=!1;let I=null;function w(f){I=f}if(e.setDisposableTracker=w,k){const f="__is_disposable_tracked__";w(new class{trackDisposable(S){const v=new Error("Potentially leaked disposable").stack;setTimeout(()=>{S[f]||console.log(v)},3e3)}setParent(S,v){if(S&&S!==s.None)try{S[f]=!0}catch{}}markAsDisposed(S){if(S&&S!==s.None)try{S[f]=!0}catch{}}markAsSingleton(S){}})}function b(f){return I==null||I.trackDisposable(f),f}function C(f){I==null||I.markAsDisposed(f)}function u(f,S){I==null||I.setParent(f,S)}function g(f,S){if(!!I)for(const v of f)I.setParent(v,S)}function t(f){return I==null||I.markAsSingleton(f),f}e.markAsSingleton=t;class n extends Error{constructor(S){super(`Encountered errors while disposing of store. Errors: [${S.join(", ")}]`);this.errors=S}}e.MultiDisposeError=n;function i(f){return typeof f.dispose=="function"&&f.dispose.length===0}e.isDisposable=i;function o(f){if(m.Iterable.is(f)){let S=[];for(const v of f)if(v)try{v.dispose()}catch(p){S.push(p)}if(S.length===1)throw S[0];if(S.length>1)throw new n(S);return Array.isArray(f)?[]:f}else if(f)return f.dispose(),f}e.dispose=o;function c(...f){const S=d(()=>o(f));return g(f,S),S}e.combinedDisposable=c;function d(f){const S=b({dispose:(0,L.once)(()=>{C(S),f()})});return S}e.toDisposable=d;class r{constructor(){this._toDispose=new Set,this._isDisposed=!1,b(this)}dispose(){this._isDisposed||(C(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){try{o(this._toDispose.values())}finally{this._toDispose.clear()}}add(S){if(!S)return S;if(S===this)throw new Error("Cannot register a disposable on itself!");return u(S,this),this._isDisposed?r.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(S),S}}e.DisposableStore=r,r.DISABLE_DISPOSED_WARNING=!1;class s{constructor(){this._store=new r,b(this),u(this._store,this)}dispose(){C(this),this._store.dispose()}_register(S){if(S===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(S)}}e.Disposable=s,s.None=Object.freeze({dispose(){}});class a{constructor(){this._isDisposed=!1,b(this)}get value(){return this._isDisposed?void 0:this._value}set value(S){var v;this._isDisposed||S===this._value||((v=this._value)===null||v===void 0||v.dispose(),S&&u(S,this),this._value=S)}clear(){this.value=void 0}dispose(){var S;this._isDisposed=!0,C(this),(S=this._value)===null||S===void 0||S.dispose(),this._value=void 0}clearAndLeak(){const S=this._value;return this._value=void 0,S&&u(S,null),S}}e.MutableDisposable=a;class l{constructor(){this.dispose=()=>{},this.unset=()=>{},this.isset=()=>!1,b(this)}set(S){let v=S;return this.unset=()=>v=void 0,this.isset=()=>v!==void 0,this.dispose=()=>{v&&(v(),v=void 0,C(this))},this}}e.SafeDisposable=l;class h{constructor(S){this.object=S}dispose(){}}e.ImmortalReference=h}),define(te[83],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LinkedList=void 0;class L{constructor(I){this.element=I,this.next=L.Undefined,this.prev=L.Undefined}}L.Undefined=new L(void 0);class m{constructor(){this._first=L.Undefined,this._last=L.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===L.Undefined}clear(){let I=this._first;for(;I!==L.Undefined;){const w=I.next;I.prev=L.Undefined,I.next=L.Undefined,I=w}this._first=L.Undefined,this._last=L.Undefined,this._size=0}unshift(I){return this._insert(I,!1)}push(I){return this._insert(I,!0)}_insert(I,w){const b=new L(I);if(this._first===L.Undefined)this._first=b,this._last=b;else if(w){const u=this._last;this._last=b,b.prev=u,u.next=b}else{const u=this._first;this._first=b,b.next=u,u.prev=b}this._size+=1;let C=!1;return()=>{C||(C=!0,this._remove(b))}}shift(){if(this._first!==L.Undefined){const I=this._first.element;return this._remove(this._first),I}}pop(){if(this._last!==L.Undefined){const I=this._last.element;return this._remove(this._last),I}}_remove(I){if(I.prev!==L.Undefined&&I.next!==L.Undefined){const w=I.prev;w.next=I.next,I.next.prev=w}else I.prev===L.Undefined&&I.next===L.Undefined?(this._first=L.Undefined,this._last=L.Undefined):I.next===L.Undefined?(this._last=this._last.prev,this._last.next=L.Undefined):I.prev===L.Undefined&&(this._first=this._first.next,this._first.prev=L.Undefined);this._size-=1}*[Symbol.iterator](){let I=this._first;for(;I!==L.Undefined;)yield I.element,I=I.next}}e.LinkedList=m}),function(q,e){typeof exports=="object"&&typeof module!="undefined"?e(exports):typeof define=="function"&&define.amd?define(te[314],ie([0]),e):(q=typeof globalThis!="undefined"?globalThis:q||self,e(q.marked={}))}(this,function(q){"use strict";function e(le,x){for(var H=0;Hle.length)&&(x=le.length);for(var H=0,U=new Array(x);H =le.length?{done:!0}:{done:!1,value:le[U++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(){return{baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}q.defaults=w();function b(le){q.defaults=le}var C=/[&<>"']/,u=/[&<>"']/g,g=/[<>"']|&(?!#?\w+;)/,t=/[<>"']|&(?!#?\w+;)/g,n={"&":"&","<":"<",">":">",'"':""","'":"'"},i=function(x){return n[x]};function o(le,x){if(x){if(C.test(le))return le.replace(u,i)}else if(g.test(le))return le.replace(t,i);return le}var c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function d(le){return le.replace(c,function(x,H){return H=H.toLowerCase(),H==="colon"?":":H.charAt(0)==="#"?H.charAt(1)==="x"?String.fromCharCode(parseInt(H.substring(2),16)):String.fromCharCode(+H.substring(1)):""})}var r=/(^|[^\[])\^/g;function s(le,x){le=le.source||le,x=x||"";var H={replace:function(Q,Y){return Y=Y.source||Y,Y=Y.replace(r,"$1"),le=le.replace(Q,Y),H},getRegex:function(){return new RegExp(le,x)}};return H}var a=/[^\w:]/g,l=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function h(le,x,H){if(le){var U;try{U=decodeURIComponent(d(H)).replace(a,"").toLowerCase()}catch{return null}if(U.indexOf("javascript:")===0||U.indexOf("vbscript:")===0||U.indexOf("data:")===0)return null}x&&!l.test(H)&&(H=_(x,H));try{H=encodeURI(H).replace(/%25/g,"%")}catch{return null}return H}var f={},S=/^[^:]+:\/*[^/]*$/,v=/^([^:]+:)[\s\S]*$/,p=/^([^:]+:\/*[^/]*)[\s\S]*$/;function _(le,x){f[" "+le]||(S.test(le)?f[" "+le]=le+"/":f[" "+le]=D(le,"/",!0)),le=f[" "+le];var H=le.indexOf(":")===-1;return x.substring(0,2)==="//"?H?x:le.replace(v,"$1")+x:x.charAt(0)==="/"?H?x:le.replace(p,"$1")+x:le+x}var y={exec:function(){}};function E(le){for(var x=1,H,U;x =0&&ge[ce]==="\\";)fe=!fe;return fe?"|":" |"}),U=H.split(/ \|/),Q=0;if(U[0].trim()||U.shift(),U[U.length-1].trim()||U.pop(),U.length>x)U.splice(x);else for(;U.length 1;)x&1&&(H+=le),x>>=1,le+=le;return H+le}function T(le,x,H,U){var Q=x.href,Y=x.title?o(x.title):null,ne=le[1].replace(/\\([\[\]])/g,"$1");if(le[0].charAt(0)!=="!"){U.state.inLink=!0;var ge={type:"link",raw:H,href:Q,title:Y,text:ne,tokens:U.inlineTokens(ne,[])};return U.state.inLink=!1,ge}else return{type:"image",raw:H,href:Q,title:Y,text:o(ne)}}function A(le,x){var H=le.match(/^(\s+)(?:```)/);if(H===null)return x;var U=H[1];return x.split(` +`).map(function(Q){var Y=Q.match(/^\s+/);if(Y===null)return Q;var ne=Y[0];return ne.length>=U.length?Q.slice(U.length):Q}).join(` +`)}var P=function(){function le(H){this.options=H||q.defaults}var x=le.prototype;return x.space=function(U){var Q=this.rules.block.newline.exec(U);if(Q&&Q[0].length>0)return{type:"space",raw:Q[0]}},x.code=function(U){var Q=this.rules.block.code.exec(U);if(Q){var Y=Q[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:Q[0],codeBlockStyle:"indented",text:this.options.pedantic?Y:D(Y,` +`)}}},x.fences=function(U){var Q=this.rules.block.fences.exec(U);if(Q){var Y=Q[0],ne=A(Y,Q[3]||"");return{type:"code",raw:Y,lang:Q[2]?Q[2].trim():Q[2],text:ne}}},x.heading=function(U){var Q=this.rules.block.heading.exec(U);if(Q){var Y=Q[2].trim();if(/#$/.test(Y)){var ne=D(Y,"#");(this.options.pedantic||!ne||/ $/.test(ne))&&(Y=ne.trim())}var ge={type:"heading",raw:Q[0],depth:Q[1].length,text:Y,tokens:[]};return this.lexer.inline(ge.text,ge.tokens),ge}},x.hr=function(U){var Q=this.rules.block.hr.exec(U);if(Q)return{type:"hr",raw:Q[0]}},x.blockquote=function(U){var Q=this.rules.block.blockquote.exec(U);if(Q){var Y=Q[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:Q[0],tokens:this.lexer.blockTokens(Y,[]),text:Y}}},x.list=function(U){var Q=this.rules.block.list.exec(U);if(Q){var Y,ne,ge,fe,ce,he,ve,Ce,be,de,me,_e,ye=Q[1].trim(),ke=ye.length>1,Te={type:"list",raw:"",ordered:ke,start:ke?+ye.slice(0,-1):"",loose:!1,items:[]};ye=ke?"\\d{1,9}\\"+ye.slice(-1):"\\"+ye,this.options.pedantic&&(ye=ke?ye:"[*+-]");for(var Me=new RegExp("^( {0,3}"+ye+")((?: [^\\n]*)?(?:\\n|$))");U&&(_e=!1,!(!(Q=Me.exec(U))||this.rules.block.hr.test(U)));){if(Y=Q[0],U=U.substring(Y.length),Ce=Q[2].split(` +`,1)[0],be=U.split(` +`,1)[0],this.options.pedantic?(fe=2,me=Ce.trimLeft()):(fe=Q[2].search(/[^ ]/),fe=fe>4?1:fe,me=Ce.slice(fe),fe+=Q[1].length),he=!1,!Ce&&/^ *$/.test(be)&&(Y+=be+` +`,U=U.substring(be.length+1),_e=!0),!_e)for(var We=new RegExp("^ {0,"+Math.min(3,fe-1)+"}(?:[*+-]|\\d{1,9}[.)])");U&&(de=U.split(` +`,1)[0],Ce=de,this.options.pedantic&&(Ce=Ce.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!We.test(Ce));){if(Ce.search(/[^ ]/)>=fe||!Ce.trim())me+=` +`+Ce.slice(fe);else if(!he)me+=` +`+Ce;else break;!he&&!Ce.trim()&&(he=!0),Y+=de+` +`,U=U.substring(de.length+1)}Te.loose||(ve?Te.loose=!0:/\n *\n *$/.test(Y)&&(ve=!0)),this.options.gfm&&(ne=/^\[[ xX]\] /.exec(me),ne&&(ge=ne[0]!=="[ ] ",me=me.replace(/^\[[ xX]\] +/,""))),Te.items.push({type:"list_item",raw:Y,task:!!ne,checked:ge,loose:!1,text:me}),Te.raw+=Y}Te.items[Te.items.length-1].raw=Y.trimRight(),Te.items[Te.items.length-1].text=me.trimRight(),Te.raw=Te.raw.trimRight();var xe=Te.items.length;for(ce=0;ce 1)return!0}return!1});!Te.loose&&He.length&&Le&&(Te.loose=!0,Te.items[ce].loose=!0)}return Te}},x.html=function(U){var Q=this.rules.block.html.exec(U);if(Q){var Y={type:"html",raw:Q[0],pre:!this.options.sanitizer&&(Q[1]==="pre"||Q[1]==="script"||Q[1]==="style"),text:Q[0]};return this.options.sanitize&&(Y.type="paragraph",Y.text=this.options.sanitizer?this.options.sanitizer(Q[0]):o(Q[0]),Y.tokens=[],this.lexer.inline(Y.text,Y.tokens)),Y}},x.def=function(U){var Q=this.rules.block.def.exec(U);if(Q){Q[3]&&(Q[3]=Q[3].substring(1,Q[3].length-1));var Y=Q[1].toLowerCase().replace(/\s+/g," ");return{type:"def",tag:Y,raw:Q[0],href:Q[2],title:Q[3]}}},x.table=function(U){var Q=this.rules.block.table.exec(U);if(Q){var Y={type:"table",header:N(Q[1]).map(function(ve){return{text:ve}}),align:Q[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:Q[3]?Q[3].replace(/\n[ \t]*$/,"").split(` +`):[]};if(Y.header.length===Y.align.length){Y.raw=Q[0];var ne=Y.align.length,ge,fe,ce,he;for(ge=0;ge /i.test(Q[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(Q[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(Q[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:Q[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Q[0]):o(Q[0]):Q[0]}},x.link=function(U){var Q=this.rules.inline.link.exec(U);if(Q){var Y=Q[2].trim();if(!this.options.pedantic&&/^$/.test(Y))return;var ne=D(Y.slice(0,-1),"\\");if((Y.length-ne.length)%2==0)return}else{var ge=M(Q[2],"()");if(ge>-1){var fe=Q[0].indexOf("!")===0?5:4,ce=fe+Q[1].length+ge;Q[2]=Q[2].substring(0,ge),Q[0]=Q[0].substring(0,ce).trim(),Q[3]=""}}var he=Q[2],ve="";if(this.options.pedantic){var Ce=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(he);Ce&&(he=Ce[1],ve=Ce[3])}else ve=Q[3]?Q[3].slice(1,-1):"";return he=he.trim(),/^$/.test(Y)?he=he.slice(1):he=he.slice(1,-1)),T(Q,{href:he&&he.replace(this.rules.inline._escapes,"$1"),title:ve&&ve.replace(this.rules.inline._escapes,"$1")},Q[0],this.lexer)}},x.reflink=function(U,Q){var Y;if((Y=this.rules.inline.reflink.exec(U))||(Y=this.rules.inline.nolink.exec(U))){var ne=(Y[2]||Y[1]).replace(/\s+/g," ");if(ne=Q[ne.toLowerCase()],!ne||!ne.href){var ge=Y[0].charAt(0);return{type:"text",raw:ge,text:ge}}return T(Y,ne,Y[0],this.lexer)}},x.emStrong=function(U,Q,Y){Y===void 0&&(Y="");var ne=this.rules.inline.emStrong.lDelim.exec(U);if(!!ne&&!(ne[3]&&Y.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD834[\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/))){var ge=ne[1]||ne[2]||"";if(!ge||ge&&(Y===""||this.rules.inline.punctuation.exec(Y))){var fe=ne[0].length-1,ce,he,ve=fe,Ce=0,be=ne[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(be.lastIndex=0,Q=Q.slice(-1*U.length+fe);(ne=be.exec(Q))!=null;)if(ce=ne[1]||ne[2]||ne[3]||ne[4]||ne[5]||ne[6],!!ce){if(he=ce.length,ne[3]||ne[4]){ve+=he;continue}else if((ne[5]||ne[6])&&fe%3&&!((fe+he)%3)){Ce+=he;continue}if(ve-=he,!(ve>0)){if(he=Math.min(he,he+ve+Ce),Math.min(fe,he)%2){var de=U.slice(1,fe+ne.index+he);return{type:"em",raw:U.slice(0,fe+ne.index+he+1),text:de,tokens:this.lexer.inlineTokens(de,[])}}var me=U.slice(2,fe+ne.index+he-1);return{type:"strong",raw:U.slice(0,fe+ne.index+he+1),text:me,tokens:this.lexer.inlineTokens(me,[])}}}}}},x.codespan=function(U){var Q=this.rules.inline.code.exec(U);if(Q){var Y=Q[2].replace(/\n/g," "),ne=/[^ ]/.test(Y),ge=/^ /.test(Y)&&/ $/.test(Y);return ne&&ge&&(Y=Y.substring(1,Y.length-1)),Y=o(Y,!0),{type:"codespan",raw:Q[0],text:Y}}},x.br=function(U){var Q=this.rules.inline.br.exec(U);if(Q)return{type:"br",raw:Q[0]}},x.del=function(U){var Q=this.rules.inline.del.exec(U);if(Q)return{type:"del",raw:Q[0],text:Q[2],tokens:this.lexer.inlineTokens(Q[2],[])}},x.autolink=function(U,Q){var Y=this.rules.inline.autolink.exec(U);if(Y){var ne,ge;return Y[2]==="@"?(ne=o(this.options.mangle?Q(Y[1]):Y[1]),ge="mailto:"+ne):(ne=o(Y[1]),ge=ne),{type:"link",raw:Y[0],text:ne,href:ge,tokens:[{type:"text",raw:ne,text:ne}]}}},x.url=function(U,Q){var Y;if(Y=this.rules.inline.url.exec(U)){var ne,ge;if(Y[2]==="@")ne=o(this.options.mangle?Q(Y[0]):Y[0]),ge="mailto:"+ne;else{var fe;do fe=Y[0],Y[0]=this.rules.inline._backpedal.exec(Y[0])[0];while(fe!==Y[0]);ne=o(Y[0]),Y[1]==="www."?ge="http://"+ne:ge=ne}return{type:"link",raw:Y[0],text:ne,href:ge,tokens:[{type:"text",raw:ne,text:ne}]}}},x.inlineText=function(U,Q){var Y=this.rules.inline.text.exec(U);if(Y){var ne;return this.lexer.state.inRawBlock?ne=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(Y[0]):o(Y[0]):Y[0]:ne=o(this.options.smartypants?Q(Y[0]):Y[0]),{type:"text",raw:Y[0],text:ne}}},le}(),F={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)( [^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^\s>]+)>?(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:y,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};F._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/,F._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,F.def=s(F.def).replace("label",F._label).replace("title",F._title).getRegex(),F.bullet=/(?:[*+-]|\d{1,9}[.)])/,F.listItemStart=s(/^( *)(bull) */).replace("bull",F.bullet).getRegex(),F.list=s(F.list).replace(/bull/g,F.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+F.def.source+")").getRegex(),F._tag="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",F._comment=/|$)/,F.html=s(F.html,"i").replace("comment",F._comment).replace("tag",F._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),F.paragraph=s(F._paragraph).replace("hr",F.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F._tag).getRegex(),F.blockquote=s(F.blockquote).replace("paragraph",F.paragraph).getRegex(),F.normal=E({},F),F.gfm=E({},F.normal,{table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),F.gfm.table=s(F.gfm.table).replace("hr",F.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F._tag).getRegex(),F.gfm.paragraph=s(F._paragraph).replace("hr",F.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",F.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F._tag).getRegex(),F.pedantic=E({},F.normal,{html:s(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)| \\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",F._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,paragraph:s(F.normal._paragraph).replace("hr",F.hr).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",F.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var W={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:y,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^[^_*]*?\_\_[^_*]*?\*[^_*]*?(?=\_\_)|[punct_](\*+)(?=[\s]|$)|[^punct*_\s](\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|[^punct*_\s](\*+)(?=[^punct*_\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?\_[^_*]*?(?=\*\*)|[punct*](\_+)(?=[\s]|$)|[^punct*_\s](\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:y,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\?@\\[\\]`^{|}~",W.punctuation=s(W.punctuation).replace(/punctuation/g,W._punctuation).getRegex(),W.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g,W.escapedEmSt=/\\\*|\\_/g,W._comment=s(F._comment).replace("(?:-->|$)","-->").getRegex(),W.emStrong.lDelim=s(W.emStrong.lDelim).replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimAst=s(W.emStrong.rDelimAst,"g").replace(/punct/g,W._punctuation).getRegex(),W.emStrong.rDelimUnd=s(W.emStrong.rDelimUnd,"g").replace(/punct/g,W._punctuation).getRegex(),W._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,W._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,W._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,W.autolink=s(W.autolink).replace("scheme",W._scheme).replace("email",W._email).getRegex(),W._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,W.tag=s(W.tag).replace("comment",W._comment).replace("attribute",W._attribute).getRegex(),W._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,W._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,W._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,W.link=s(W.link).replace("label",W._label).replace("href",W._href).replace("title",W._title).getRegex(),W.reflink=s(W.reflink).replace("label",W._label).replace("ref",F._label).getRegex(),W.nolink=s(W.nolink).replace("ref",F._label).getRegex(),W.reflinkSearch=s(W.reflinkSearch,"g").replace("reflink",W.reflink).replace("nolink",W.nolink).getRegex(),W.normal=E({},W),W.pedantic=E({},W.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:s(/^!?\[(label)\]\((.*?)\)/).replace("label",W._label).getRegex(),reflink:s(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",W._label).getRegex()}),W.gfm=E({},W.normal,{escape:s(W.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\.5&&(U="x"+U.toString(16)),x+=""+U+";";return x}var j=function(){function le(H){this.tokens=[],this.tokens.links=Object.create(null),this.options=H||q.defaults,this.options.tokenizer=this.options.tokenizer||new P,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};var U={block:F.normal,inline:W.normal};this.options.pedantic?(U.block=F.pedantic,U.inline=W.pedantic):this.options.gfm&&(U.block=F.gfm,this.options.breaks?U.inline=W.breaks:U.inline=W.gfm),this.tokenizer.rules=U}le.lex=function(U,Q){var Y=new le(Q);return Y.lex(U)},le.lexInline=function(U,Q){var Y=new le(Q);return Y.inlineTokens(U)};var x=le.prototype;return x.lex=function(U){U=U.replace(/\r\n|\r/g,` +`).replace(/\t/g," "),this.blockTokens(U,this.tokens);for(var Q;Q=this.inlineQueue.shift();)this.inlineTokens(Q.src,Q.tokens);return this.tokens},x.blockTokens=function(U,Q){var Y=this;Q===void 0&&(Q=[]),this.options.pedantic&&(U=U.replace(/^ +$/gm,""));for(var ne,ge,fe,ce;U;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(function(ve){return(ne=ve.call({lexer:Y},U,Q))?(U=U.substring(ne.raw.length),Q.push(ne),!0):!1}))){if(ne=this.tokenizer.space(U)){U=U.substring(ne.raw.length),ne.raw.length===1&&Q.length>0?Q[Q.length-1].raw+=` +`:Q.push(ne);continue}if(ne=this.tokenizer.code(U)){U=U.substring(ne.raw.length),ge=Q[Q.length-1],ge&&(ge.type==="paragraph"||ge.type==="text")?(ge.raw+=` +`+ne.raw,ge.text+=` +`+ne.text,this.inlineQueue[this.inlineQueue.length-1].src=ge.text):Q.push(ne);continue}if(ne=this.tokenizer.fences(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.heading(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.hr(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.blockquote(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.list(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.html(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.def(U)){U=U.substring(ne.raw.length),ge=Q[Q.length-1],ge&&(ge.type==="paragraph"||ge.type==="text")?(ge.raw+=` +`+ne.raw,ge.text+=` +`+ne.raw,this.inlineQueue[this.inlineQueue.length-1].src=ge.text):this.tokens.links[ne.tag]||(this.tokens.links[ne.tag]={href:ne.href,title:ne.title});continue}if(ne=this.tokenizer.table(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.lheading(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(fe=U,this.options.extensions&&this.options.extensions.startBlock&&function(){var ve=1/0,Ce=U.slice(1),be=void 0;Y.options.extensions.startBlock.forEach(function(de){be=de.call({lexer:this},Ce),typeof be=="number"&&be>=0&&(ve=Math.min(ve,be))}),ve<1/0&&ve>=0&&(fe=U.substring(0,ve+1))}(),this.state.top&&(ne=this.tokenizer.paragraph(fe))){ge=Q[Q.length-1],ce&&ge.type==="paragraph"?(ge.raw+=` +`+ne.raw,ge.text+=` +`+ne.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ge.text):Q.push(ne),ce=fe.length!==U.length,U=U.substring(ne.raw.length);continue}if(ne=this.tokenizer.text(U)){U=U.substring(ne.raw.length),ge=Q[Q.length-1],ge&&ge.type==="text"?(ge.raw+=` +`+ne.raw,ge.text+=` +`+ne.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=ge.text):Q.push(ne);continue}if(U){var he="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(he);break}else throw new Error(he)}}return this.state.top=!0,Q},x.inline=function(U,Q){this.inlineQueue.push({src:U,tokens:Q})},x.inlineTokens=function(U,Q){var Y=this;Q===void 0&&(Q=[]);var ne,ge,fe,ce=U,he,ve,Ce;if(this.tokens.links){var be=Object.keys(this.tokens.links);if(be.length>0)for(;(he=this.tokenizer.rules.inline.reflinkSearch.exec(ce))!=null;)be.includes(he[0].slice(he[0].lastIndexOf("[")+1,-1))&&(ce=ce.slice(0,he.index)+"["+O("a",he[0].length-2)+"]"+ce.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(he=this.tokenizer.rules.inline.blockSkip.exec(ce))!=null;)ce=ce.slice(0,he.index)+"["+O("a",he[0].length-2)+"]"+ce.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(he=this.tokenizer.rules.inline.escapedEmSt.exec(ce))!=null;)ce=ce.slice(0,he.index)+"++"+ce.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex);for(;U;)if(ve||(Ce=""),ve=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(function(me){return(ne=me.call({lexer:Y},U,Q))?(U=U.substring(ne.raw.length),Q.push(ne),!0):!1}))){if(ne=this.tokenizer.escape(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.tag(U)){U=U.substring(ne.raw.length),ge=Q[Q.length-1],ge&&ne.type==="text"&&ge.type==="text"?(ge.raw+=ne.raw,ge.text+=ne.text):Q.push(ne);continue}if(ne=this.tokenizer.link(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.reflink(U,this.tokens.links)){U=U.substring(ne.raw.length),ge=Q[Q.length-1],ge&&ne.type==="text"&&ge.type==="text"?(ge.raw+=ne.raw,ge.text+=ne.text):Q.push(ne);continue}if(ne=this.tokenizer.emStrong(U,ce,Ce)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.codespan(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.br(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.del(U)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(ne=this.tokenizer.autolink(U,z)){U=U.substring(ne.raw.length),Q.push(ne);continue}if(!this.state.inLink&&(ne=this.tokenizer.url(U,z))){U=U.substring(ne.raw.length),Q.push(ne);continue}if(fe=U,this.options.extensions&&this.options.extensions.startInline&&function(){var me=1/0,_e=U.slice(1),ye=void 0;Y.options.extensions.startInline.forEach(function(ke){ye=ke.call({lexer:this},_e),typeof ye=="number"&&ye>=0&&(me=Math.min(me,ye))}),me<1/0&&me>=0&&(fe=U.substring(0,me+1))}(),ne=this.tokenizer.inlineText(fe,R)){U=U.substring(ne.raw.length),ne.raw.slice(-1)!=="_"&&(Ce=ne.raw.slice(-1)),ve=!0,ge=Q[Q.length-1],ge&&ge.type==="text"?(ge.raw+=ne.raw,ge.text+=ne.text):Q.push(ne);continue}if(U){var de="Infinite loop on byte: "+U.charCodeAt(0);if(this.options.silent){console.error(de);break}else throw new Error(de)}}return Q},L(le,null,[{key:"rules",get:function(){return{block:F,inline:W}}}]),le}(),$=function(){function le(H){this.options=H||q.defaults}var x=le.prototype;return x.code=function(U,Q,Y){var ne=(Q||"").match(/\S*/)[0];if(this.options.highlight){var ge=this.options.highlight(U,ne);ge!=null&&ge!==U&&(Y=!0,U=ge)}return U=U.replace(/\n$/,"")+` +`,ne?' +`:"'+(Y?U:o(U,!0))+`
+`},x.blockquote=function(U){return`"+(Y?U:o(U,!0))+`
+`+U+`+`},x.html=function(U){return U},x.heading=function(U,Q,Y,ne){return this.options.headerIds?"'+U+" +`:""+U+" +`},x.hr=function(){return this.options.xhtml?`
+`:`
+`},x.list=function(U,Q,Y){var ne=Q?"ol":"ul",ge=Q&&Y!==1?' start="'+Y+'"':"";return"<"+ne+ge+`> +`+U+""+ne+`> +`},x.listitem=function(U){return""+U+` +`},x.checkbox=function(U){return" "},x.paragraph=function(U){return""+U+`
+`},x.table=function(U,Q){return Q&&(Q=""+Q+""),`+ +`+U+` +`+Q+`
+`},x.tablerow=function(U){return`+`+U+` +`},x.tablecell=function(U,Q){var Y=Q.header?"th":"td",ne=Q.align?"<"+Y+' align="'+Q.align+'">':"<"+Y+">";return ne+U+""+Y+`> +`},x.strong=function(U){return""+U+""},x.em=function(U){return""+U+""},x.codespan=function(U){return""+U+"
"},x.br=function(){return this.options.xhtml?"
":"
"},x.del=function(U){return""+U+""},x.link=function(U,Q,Y){if(U=h(this.options.sanitize,this.options.baseUrl,U),U===null)return Y;var ne='"+Y+"",ne},x.image=function(U,Q,Y){if(U=h(this.options.sanitize,this.options.baseUrl,U),U===null)return Y;var ne='":">",ne},x.text=function(U){return U},le}(),G=function(){function le(){}var x=le.prototype;return x.strong=function(U){return U},x.em=function(U){return U},x.codespan=function(U){return U},x.del=function(U){return U},x.html=function(U){return U},x.text=function(U){return U},x.link=function(U,Q,Y){return""+Y},x.image=function(U,Q,Y){return""+Y},x.br=function(){return""},le}(),J=function(){function le(){this.seen={}}var x=le.prototype;return x.serialize=function(U){return U.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")},x.getNextSafeSlug=function(U,Q){var Y=U,ne=0;if(this.seen.hasOwnProperty(Y)){ne=this.seen[U];do ne++,Y=U+"-"+ne;while(this.seen.hasOwnProperty(Y))}return Q||(this.seen[U]=ne,this.seen[Y]=0),Y},x.slug=function(U,Q){Q===void 0&&(Q={});var Y=this.serialize(U);return this.getNextSafeSlug(Y,Q.dryrun)},le}(),re=function(){function le(H){this.options=H||q.defaults,this.options.renderer=this.options.renderer||new $,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new G,this.slugger=new J}le.parse=function(U,Q){var Y=new le(Q);return Y.parse(U)},le.parseInline=function(U,Q){var Y=new le(Q);return Y.parseInline(U)};var x=le.prototype;return x.parse=function(U,Q){Q===void 0&&(Q=!0);var Y="",ne,ge,fe,ce,he,ve,Ce,be,de,me,_e,ye,ke,Te,Me,We,xe,He,Le,Se=U.length;for(ne=0;ne0&&Me.tokens[0].type==="paragraph"?(Me.tokens[0].text=He+" "+Me.tokens[0].text,Me.tokens[0].tokens&&Me.tokens[0].tokens.length>0&&Me.tokens[0].tokens[0].type==="text"&&(Me.tokens[0].tokens[0].text=He+" "+Me.tokens[0].tokens[0].text)):Me.tokens.unshift({type:"text",text:He}):Te+=He),Te+=this.parse(Me.tokens,ke),de+=this.renderer.listitem(Te,xe,We);Y+=this.renderer.list(de,_e,ye);continue}case"html":{Y+=this.renderer.html(me.text);continue}case"paragraph":{Y+=this.renderer.paragraph(this.parseInline(me.tokens));continue}case"text":{for(de=me.tokens?this.parseInline(me.tokens):me.text;ne+1 An error occurred: "+o(fe.message+"",!0)+"";throw fe}}se.options=se.setOptions=function(le){return E(se.defaults,le),b(se.defaults),se},se.getDefaults=w,se.defaults=q.defaults,se.use=function(){for(var le=arguments.length,x=new Array(le),H=0;HAn error occurred: "+o(U.message+"",!0)+"";throw U}},se.Parser=re,se.parser=re.parse,se.Renderer=$,se.TextRenderer=G,se.Lexer=j,se.lexer=j.lex,se.Tokenizer=P,se.Slugger=J,se.parse=se;var Z=se.options,V=se.setOptions,K=se.use,X=se.walkTokens,oe=se.parseInline,ae=se,ee=re.parse,ue=j.lex;q.Lexer=j,q.Parser=re,q.Renderer=$,q.Slugger=J,q.TextRenderer=G,q.Tokenizer=P,q.getDefaults=w,q.lexer=ue,q.marked=se,q.options=Z,q.parse=ae,q.parseInline=oe,q.parser=ee,q.setOptions=V,q.use=K,q.walkTokens=X,Object.defineProperty(q,"__esModule",{value:!0})}),define(te[138],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Mimes=void 0;var L;(function(m){m.text="text/plain",m.binary="application/octet-stream",m.unknown="application/unknown",m.markdown="text/markdown",m.latex="text/latex",m.uriList="text/uri-list"})(L=e.Mimes||(e.Mimes={}))}),define(te[166],ie([1,0,138]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StaticDND=e.DragAndDropData=e.DataTransfers=void 0,e.DataTransfers={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:L.Mimes.text,TERMINALS:"Terminals"};class m{constructor(I){this.data=I}update(){}getData(){return this.data}}e.DragAndDropData=m,e.StaticDND={CurrentDragAndDropData:void 0}}),define(te[315],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayNavigator=void 0;class L{constructor(k,I=0,w=k.length,b=I-1){this.items=k,this.start=I,this.end=w,this.index=b}current(){return this.index===this.start-1||this.index===this.end?null:this.items[this.index]}next(){return this.index=Math.min(this.index+1,this.end),this.current()}previous(){return this.index=Math.max(this.index-1,this.start-1),this.current()}first(){return this.index=this.start,this.current()}last(){return this.index=this.end-1,this.current()}}e.ArrayNavigator=L}),define(te[316],ie([1,0,315]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HistoryNavigator=void 0;class m{constructor(I=[],w=10){this._initialize(I),this._limit=w,this._onChange()}getHistory(){return this._elements}add(I){this._history.delete(I),this._history.add(I),this._onChange()}next(){return this._currentPosition()!==this._elements.length-1?this._navigator.next():null}previous(){return this._currentPosition()!==0?this._navigator.previous():null}current(){return this._navigator.current()}first(){return this._navigator.first()}last(){return this._navigator.last()}has(I){return this._history.has(I)}_onChange(){this._reduceToLimit();const I=this._elements;this._navigator=new L.ArrayNavigator(I,0,I.length,I.length)}_reduceToLimit(){const I=this._elements;I.length>this._limit&&this._initialize(I.slice(I.length-this._limit))}_currentPosition(){const I=this._navigator.current();return I?this._elements.indexOf(I):-1}_initialize(I){this._history=new Set;for(const w of I)this._history.add(w)}get _elements(){const I=[];return this._history.forEach(w=>I.push(w)),I}}e.HistoryNavigator=m}),define(te[113],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SlidingWindowAverage=e.MovingAverage=e.clamp=void 0;function L(I,w,b){return Math.min(Math.max(I,w),b)}e.clamp=L;class m{constructor(){this._n=1,this._val=0}update(w){return this._val=this._val+(w-this._val)/this._n,this._n+=1,this._val}get value(){return this._val}}e.MovingAverage=m;class k{constructor(w){this._n=0,this._val=0,this._values=[],this._index=0,this._sum=0,this._values=new Array(w),this._values.fill(0,0,w)}update(w){const b=this._values[this._index];return this._values[this._index]=w,this._index=(this._index+1)%this._values.length,this._sum-=b,this._sum+=w,this._n=0,I=d.indexOf("Macintosh")>=0,t=(d.indexOf("Macintosh")>=0||d.indexOf("iPad")>=0||d.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,w=d.indexOf("Linux")>=0,u=!0,i=navigator.language,o=i;else if(typeof r=="object"){k=r.platform==="win32",I=r.platform==="darwin",w=r.platform==="linux",b=w&&!!r.env.SNAP&&!!r.env.SNAP_REVISION,g=s,n=!!r.env.CI||!!r.env.BUILD_ARTIFACTSTAGINGDIRECTORY,i=m,o=m;const v=r.env.VSCODE_NLS_CONFIG;if(v)try{const p=JSON.parse(v),_=p.availableLanguages["*"];i=p.locale,o=_||m,c=p._translationsConfigFile}catch{}C=!0}else console.error("Unable to resolve platform.");let l=0;I?l=1:k?l=3:w&&(l=2),e.isWindows=k,e.isMacintosh=I,e.isLinux=w,e.isNative=C,e.isWeb=u,e.isWebWorker=u&&typeof e.globals.importScripts=="function",e.isIOS=t,e.userAgent=d,e.language=o,e.setTimeout0=(()=>{if(typeof e.globals.postMessage=="function"&&!e.globals.importScripts){let v=[];e.globals.addEventListener("message",_=>{if(_.data&&_.data.vscodeScheduleAsyncWork)for(let y=0,E=v.length;y {const y=++p;v.push({id:y,callback:_}),e.globals.postMessage({vscodeScheduleAsyncWork:y},"*")}}return v=>setTimeout(v)})(),e.OS=I||t?2:k?1:3;let h=!0,f=!1;function S(){if(!f){f=!0;const v=new Uint8Array(2);v[0]=1,v[1]=2,h=new Uint16Array(v.buffer)[0]===(2<<8)+1}return h}e.isLittleEndian=S,e.isChrome=!!(e.userAgent&&e.userAgent.indexOf("Chrome")>=0),e.isFirefox=!!(e.userAgent&&e.userAgent.indexOf("Firefox")>=0),e.isSafari=!!(!e.isChrome&&e.userAgent&&e.userAgent.indexOf("Safari")>=0),e.isEdge=!!(e.userAgent&&e.userAgent.indexOf("Edg/")>=0),e.isAndroid=!!(e.userAgent&&e.userAgent.indexOf("Android")>=0)}),define(te[317],ie([1,0,16]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.platform=e.env=e.cwd=void 0;let m;if(typeof L.globals.vscode!="undefined"&&typeof L.globals.vscode.process!="undefined"){const k=L.globals.vscode.process;m={get platform(){return k.platform},get arch(){return k.arch},get env(){return k.env},cwd(){return k.cwd()}}}else typeof process!="undefined"?m={get platform(){return process.platform},get arch(){return process.arch},get env(){return process.env},cwd(){return process.env.VSCODE_CWD||process.cwd()}}:m={get platform(){return L.isWindows?"win32":L.isMacintosh?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};e.cwd=m.cwd,e.env=m.env,e.platform=m.platform}),define(te[84],ie([1,0,317]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sep=e.extname=e.basename=e.dirname=e.relative=e.resolve=e.normalize=e.posix=e.win32=void 0;const m=65,k=97,I=90,w=122,b=46,C=47,u=92,g=58,t=63;class n extends Error{constructor(l,h,f){let S;typeof h=="string"&&h.indexOf("not ")===0?(S="must not be",h=h.replace(/^not /,"")):S="must be";const v=l.indexOf(".")!==-1?"property":"argument";let p=`The "${l}" ${v} ${S} of type ${h}`;p+=`. Received type ${typeof f}`;super(p);this.code="ERR_INVALID_ARG_TYPE"}}function i(a,l){if(typeof a!="string")throw new n(l,"string",a)}function o(a){return a===C||a===u}function c(a){return a===C}function d(a){return a>=m&&a<=I||a>=k&&a<=w}function r(a,l,h,f){let S="",v=0,p=-1,_=0,y=0;for(let E=0;E<=a.length;++E){if(E 2){const N=S.lastIndexOf(h);N===-1?(S="",v=0):(S=S.slice(0,N),v=S.length-1-S.lastIndexOf(h)),p=E,_=0;continue}else if(S.length!==0){S="",v=0,p=E,_=0;continue}}l&&(S+=S.length>0?`${h}..`:"..",v=2)}else S.length>0?S+=`${h}${a.slice(p+1,E)}`:S=a.slice(p+1,E),v=E-p-1;p=E,_=0}else y===b&&_!==-1?++_:_=-1}return S}function s(a,l){if(l===null||typeof l!="object")throw new n("pathObject","Object",l);const h=l.dir||l.root,f=l.base||`${l.name||""}${l.ext||""}`;return h?h===l.root?`${h}${f}`:`${h}${a}${f}`:f}e.win32={resolve(...a){let l="",h="",f=!1;for(let S=a.length-1;S>=-1;S--){let v;if(S>=0){if(v=a[S],i(v,"path"),v.length===0)continue}else l.length===0?v=L.cwd():(v=L.env[`=${l}`]||L.cwd(),(v===void 0||v.slice(0,2).toLowerCase()!==l.toLowerCase()&&v.charCodeAt(2)===u)&&(v=`${l}\\`));const p=v.length;let _=0,y="",E=!1;const N=v.charCodeAt(0);if(p===1)o(N)&&(_=1,E=!0);else if(o(N))if(E=!0,o(v.charCodeAt(1))){let D=2,M=D;for(;D 2&&o(v.charCodeAt(2))&&(E=!0,_=3));if(y.length>0)if(l.length>0){if(y.toLowerCase()!==l.toLowerCase())continue}else l=y;if(f){if(l.length>0)break}else if(h=`${v.slice(_)}\\${h}`,f=E,E&&l.length>0)break}return h=r(h,!f,"\\",o),f?`${l}\\${h}`:`${l}${h}`||"."},normalize(a){i(a,"path");const l=a.length;if(l===0)return".";let h=0,f,S=!1;const v=a.charCodeAt(0);if(l===1)return c(v)?"\\":a;if(o(v))if(S=!0,o(a.charCodeAt(1))){let _=2,y=_;for(;_
2&&o(a.charCodeAt(2))&&(S=!0,h=3));let p=h 0&&o(a.charCodeAt(l-1))&&(p+="\\"),f===void 0?S?`\\${p}`:p:S?`${f}\\${p}`:`${f}${p}`},isAbsolute(a){i(a,"path");const l=a.length;if(l===0)return!1;const h=a.charCodeAt(0);return o(h)||l>2&&d(h)&&a.charCodeAt(1)===g&&o(a.charCodeAt(2))},join(...a){if(a.length===0)return".";let l,h;for(let v=0;v 0&&(l===void 0?l=h=p:l+=`\\${p}`)}if(l===void 0)return".";let f=!0,S=0;if(typeof h=="string"&&o(h.charCodeAt(0))){++S;const v=h.length;v>1&&o(h.charCodeAt(1))&&(++S,v>2&&(o(h.charCodeAt(2))?++S:f=!1))}if(f){for(;S =2&&(l=`\\${l.slice(S)}`)}return e.win32.normalize(l)},relative(a,l){if(i(a,"from"),i(l,"to"),a===l)return"";const h=e.win32.resolve(a),f=e.win32.resolve(l);if(h===f||(a=h.toLowerCase(),l=f.toLowerCase(),a===l))return"";let S=0;for(;S S&&a.charCodeAt(v-1)===u;)v--;const p=v-S;let _=0;for(;_ _&&l.charCodeAt(y-1)===u;)y--;const E=y-_,N=p N){if(l.charCodeAt(_+M)===u)return f.slice(_+M+1);if(M===2)return f.slice(_+M)}p>N&&(a.charCodeAt(S+M)===u?D=M:M===2&&(D=3)),D===-1&&(D=0)}let B="";for(M=S+D+1;M<=v;++M)(M===v||a.charCodeAt(M)===u)&&(B+=B.length===0?"..":"\\..");return _+=D,B.length>0?`${B}${f.slice(_,y)}`:(f.charCodeAt(_)===u&&++_,f.slice(_,y))},toNamespacedPath(a){if(typeof a!="string")return a;if(a.length===0)return"";const l=e.win32.resolve(a);if(l.length<=2)return a;if(l.charCodeAt(0)===u){if(l.charCodeAt(1)===u){const h=l.charCodeAt(2);if(h!==t&&h!==b)return`\\\\?\\UNC\\${l.slice(2)}`}}else if(d(l.charCodeAt(0))&&l.charCodeAt(1)===g&&l.charCodeAt(2)===u)return`\\\\?\\${l}`;return a},dirname(a){i(a,"path");const l=a.length;if(l===0)return".";let h=-1,f=0;const S=a.charCodeAt(0);if(l===1)return o(S)?a:".";if(o(S)){if(h=f=1,o(a.charCodeAt(1))){let _=2,y=_;for(;_ 2&&o(a.charCodeAt(2))?3:2,f=h);let v=-1,p=!0;for(let _=l-1;_>=f;--_)if(o(a.charCodeAt(_))){if(!p){v=_;break}}else p=!1;if(v===-1){if(h===-1)return".";v=h}return a.slice(0,v)},basename(a,l){l!==void 0&&i(l,"ext"),i(a,"path");let h=0,f=-1,S=!0,v;if(a.length>=2&&d(a.charCodeAt(0))&&a.charCodeAt(1)===g&&(h=2),l!==void 0&&l.length>0&&l.length<=a.length){if(l===a)return"";let p=l.length-1,_=-1;for(v=a.length-1;v>=h;--v){const y=a.charCodeAt(v);if(o(y)){if(!S){h=v+1;break}}else _===-1&&(S=!1,_=v+1),p>=0&&(y===l.charCodeAt(p)?--p==-1&&(f=v):(p=-1,f=_))}return h===f?f=_:f===-1&&(f=a.length),a.slice(h,f)}for(v=a.length-1;v>=h;--v)if(o(a.charCodeAt(v))){if(!S){h=v+1;break}}else f===-1&&(S=!1,f=v+1);return f===-1?"":a.slice(h,f)},extname(a){i(a,"path");let l=0,h=-1,f=0,S=-1,v=!0,p=0;a.length>=2&&a.charCodeAt(1)===g&&d(a.charCodeAt(0))&&(l=f=2);for(let _=a.length-1;_>=l;--_){const y=a.charCodeAt(_);if(o(y)){if(!v){f=_+1;break}continue}S===-1&&(v=!1,S=_+1),y===b?h===-1?h=_:p!==1&&(p=1):h!==-1&&(p=-1)}return h===-1||S===-1||p===0||p===1&&h===S-1&&h===f+1?"":a.slice(h,S)},format:s.bind(null,"\\"),parse(a){i(a,"path");const l={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return l;const h=a.length;let f=0,S=a.charCodeAt(0);if(h===1)return o(S)?(l.root=l.dir=a,l):(l.base=l.name=a,l);if(o(S)){if(f=1,o(a.charCodeAt(1))){let D=2,M=D;for(;D 0&&(l.root=a.slice(0,f));let v=-1,p=f,_=-1,y=!0,E=a.length-1,N=0;for(;E>=f;--E){if(S=a.charCodeAt(E),o(S)){if(!y){p=E+1;break}continue}_===-1&&(y=!1,_=E+1),S===b?v===-1?v=E:N!==1&&(N=1):v!==-1&&(N=-1)}return _!==-1&&(v===-1||N===0||N===1&&v===_-1&&v===p+1?l.base=l.name=a.slice(p,_):(l.name=a.slice(p,v),l.base=a.slice(p,_),l.ext=a.slice(v,_))),p>0&&p!==f?l.dir=a.slice(0,p-1):l.dir=l.root,l},sep:"\\",delimiter:";",win32:null,posix:null},e.posix={resolve(...a){let l="",h=!1;for(let f=a.length-1;f>=-1&&!h;f--){const S=f>=0?a[f]:L.cwd();i(S,"path"),S.length!==0&&(l=`${S}/${l}`,h=S.charCodeAt(0)===C)}return l=r(l,!h,"/",c),h?`/${l}`:l.length>0?l:"."},normalize(a){if(i(a,"path"),a.length===0)return".";const l=a.charCodeAt(0)===C,h=a.charCodeAt(a.length-1)===C;return a=r(a,!l,"/",c),a.length===0?l?"/":h?"./":".":(h&&(a+="/"),l?`/${a}`:a)},isAbsolute(a){return i(a,"path"),a.length>0&&a.charCodeAt(0)===C},join(...a){if(a.length===0)return".";let l;for(let h=0;h 0&&(l===void 0?l=f:l+=`/${f}`)}return l===void 0?".":e.posix.normalize(l)},relative(a,l){if(i(a,"from"),i(l,"to"),a===l||(a=e.posix.resolve(a),l=e.posix.resolve(l),a===l))return"";const h=1,f=a.length,S=f-h,v=1,p=l.length-v,_=S _){if(l.charCodeAt(v+E)===C)return l.slice(v+E+1);if(E===0)return l.slice(v+E)}else S>_&&(a.charCodeAt(h+E)===C?y=E:E===0&&(y=0));let N="";for(E=h+y+1;E<=f;++E)(E===f||a.charCodeAt(E)===C)&&(N+=N.length===0?"..":"/..");return`${N}${l.slice(v+y)}`},toNamespacedPath(a){return a},dirname(a){if(i(a,"path"),a.length===0)return".";const l=a.charCodeAt(0)===C;let h=-1,f=!0;for(let S=a.length-1;S>=1;--S)if(a.charCodeAt(S)===C){if(!f){h=S;break}}else f=!1;return h===-1?l?"/":".":l&&h===1?"//":a.slice(0,h)},basename(a,l){l!==void 0&&i(l,"ext"),i(a,"path");let h=0,f=-1,S=!0,v;if(l!==void 0&&l.length>0&&l.length<=a.length){if(l===a)return"";let p=l.length-1,_=-1;for(v=a.length-1;v>=0;--v){const y=a.charCodeAt(v);if(y===C){if(!S){h=v+1;break}}else _===-1&&(S=!1,_=v+1),p>=0&&(y===l.charCodeAt(p)?--p==-1&&(f=v):(p=-1,f=_))}return h===f?f=_:f===-1&&(f=a.length),a.slice(h,f)}for(v=a.length-1;v>=0;--v)if(a.charCodeAt(v)===C){if(!S){h=v+1;break}}else f===-1&&(S=!1,f=v+1);return f===-1?"":a.slice(h,f)},extname(a){i(a,"path");let l=-1,h=0,f=-1,S=!0,v=0;for(let p=a.length-1;p>=0;--p){const _=a.charCodeAt(p);if(_===C){if(!S){h=p+1;break}continue}f===-1&&(S=!1,f=p+1),_===b?l===-1?l=p:v!==1&&(v=1):l!==-1&&(v=-1)}return l===-1||f===-1||v===0||v===1&&l===f-1&&l===h+1?"":a.slice(l,f)},format:s.bind(null,"/"),parse(a){i(a,"path");const l={root:"",dir:"",base:"",ext:"",name:""};if(a.length===0)return l;const h=a.charCodeAt(0)===C;let f;h?(l.root="/",f=1):f=0;let S=-1,v=0,p=-1,_=!0,y=a.length-1,E=0;for(;y>=f;--y){const N=a.charCodeAt(y);if(N===C){if(!_){v=y+1;break}continue}p===-1&&(_=!1,p=y+1),N===b?S===-1?S=y:E!==1&&(E=1):S!==-1&&(E=-1)}if(p!==-1){const N=v===0&&h?1:v;S===-1||E===0||E===1&&S===p-1&&S===v+1?l.base=l.name=a.slice(N,p):(l.name=a.slice(N,S),l.base=a.slice(N,p),l.ext=a.slice(S,p))}return v>0?l.dir=a.slice(0,v-1):h&&(l.dir="/"),l},sep:"/",delimiter:":",win32:null,posix:null},e.posix.win32=e.win32.win32=e.win32,e.posix.posix=e.win32.posix=e.posix,e.normalize=L.platform==="win32"?e.win32.normalize:e.posix.normalize,e.resolve=L.platform==="win32"?e.win32.resolve:e.posix.resolve,e.relative=L.platform==="win32"?e.win32.relative:e.posix.relative,e.dirname=L.platform==="win32"?e.win32.dirname:e.posix.dirname,e.basename=L.platform==="win32"?e.win32.basename:e.posix.basename,e.extname=L.platform==="win32"?e.win32.extname:e.posix.extname,e.sep=L.platform==="win32"?e.win32.sep:e.posix.sep}),define(te[139],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Range=void 0;var L;(function(m){function k(C,u){if(C.start>=u.end||u.start>=C.end)return{start:0,end:0};const g=Math.max(C.start,u.start),t=Math.min(C.end,u.end);return t-g<=0?{start:0,end:0}:{start:g,end:t}}m.intersect=k;function I(C){return C.end-C.start<=0}m.isEmpty=I;function w(C,u){return!I(k(C,u))}m.intersects=w;function b(C,u){const g=[],t={start:C.start,end:Math.min(u.start,C.end)},n={start:Math.max(u.end,C.start),end:C.end};return I(t)||g.push(t),I(n)||g.push(n),g}m.relativeComplement=b})(L=e.Range||(e.Range={}))}),define(te[318],ie([1,0,139]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RangeMap=e.consolidate=e.shift=e.groupIntersect=void 0;function m(C,u){const g=[];for(let t of u){if(C.start>=t.range.end)continue;if(C.end
u.concat(g),[]))}class b{constructor(){this.groups=[],this._size=0}splice(u,g,t=[]){const n=t.length-g,i=m({start:0,end:u},this.groups),o=m({start:u+g,end:Number.POSITIVE_INFINITY},this.groups).map(d=>({range:k(d.range,n),size:d.size})),c=t.map((d,r)=>({range:{start:u+r,end:u+r+1},size:d.size}));this.groups=w(i,c,o),this._size=this.groups.reduce((d,r)=>d+r.size*(r.range.end-r.range.start),0)}get count(){const u=this.groups.length;return u?this.groups[u-1].range.end:0}get size(){return this._size}indexAt(u){if(u<0)return-1;let g=0,t=0;for(let n of this.groups){const i=n.range.end-n.range.start,o=t+i*n.size;if(u m.Disposable.None;function l(z){if(b){const{onListenerDidAdd:j}=z,$=n.create();let G=0;z.onListenerDidAdd=()=>{++G==2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),$.print()),j==null||j()}}}function h(z){return(j,$=null,G)=>{let J=!1,re;return re=z(se=>{if(!J)return re?re.dispose():J=!0,j.call($,se)},null,G),J&&re.dispose(),re}}a.once=h;function f(z,j,$){return E((G,J=null,re)=>z(se=>G.call(J,j(se)),null,re),$)}a.map=f;function S(z,j,$){return E((G,J=null,re)=>z(se=>{j(se),G.call(J,se)},null,re),$)}a.forEach=S;function v(z,j,$){return E((G,J=null,re)=>z(se=>j(se)&&G.call(J,se),null,re),$)}a.filter=v;function p(z){return z}a.signal=p;function _(...z){return(j,$=null,G)=>(0,m.combinedDisposable)(...z.map(J=>J(re=>j.call($,re),null,G)))}a.any=_;function y(z,j,$,G){let J=$;return f(z,re=>(J=j(J,re),J),G)}a.reduce=y;function E(z,j){let $;const G={onFirstListenerAdd(){$=z(J.fire,J)},onLastListenerRemove(){$.dispose()}};j||l(G);const J=new o(G);return j&&j.add(J),J.event}function N(z,j,$=100,G=!1,J,re){let se,Z,V,K=0;const X={leakWarningThreshold:J,onFirstListenerAdd(){se=z(ae=>{K++,Z=j(Z,ae),G&&!V&&(oe.fire(Z),Z=void 0),clearTimeout(V),V=setTimeout(()=>{const ee=Z;Z=void 0,V=void 0,(!G||K>1)&&oe.fire(ee),K=0},$)})},onLastListenerRemove(){se.dispose()}};re||l(X);const oe=new o(X);return re&&re.add(oe),oe.event}a.debounce=N;function D(z,j=(G,J)=>G===J,$){let G=!0,J;return v(z,re=>{const se=G||!j(re,J);return G=!1,J=re,se},$)}a.latch=D;function M(z,j,$){return[a.filter(z,j,$),a.filter(z,G=>!j(G),$)]}a.split=M;function B(z,j=!1,$=[]){let G=$.slice(),J=z(Z=>{G?G.push(Z):se.fire(Z)});const re=()=>{G&&G.forEach(Z=>se.fire(Z)),G=null},se=new o({onFirstListenerAdd(){J||(J=z(Z=>se.fire(Z)))},onFirstListenerDidAdd(){G&&(j?setTimeout(re):re())},onLastListenerRemove(){J&&J.dispose(),J=null}});return se.event}a.buffer=B;class O{constructor(j){this.event=j}map(j){return new O(f(this.event,j))}forEach(j){return new O(S(this.event,j))}filter(j){return new O(v(this.event,j))}reduce(j,$){return new O(y(this.event,j,$))}latch(){return new O(D(this.event))}debounce(j,$=100,G=!1,J){return new O(N(this.event,j,$,G,J))}on(j,$,G){return this.event(j,$,G)}once(j,$,G){return h(this.event)(j,$,G)}}function T(z){return new O(z)}a.chain=T;function A(z,j,$=G=>G){const G=(...Z)=>se.fire($(...Z)),J=()=>z.on(j,G),re=()=>z.removeListener(j,G),se=new o({onFirstListenerAdd:J,onLastListenerRemove:re});return se.event}a.fromNodeEventEmitter=A;function P(z,j,$=G=>G){const G=(...Z)=>se.fire($(...Z)),J=()=>z.addEventListener(j,G),re=()=>z.removeEventListener(j,G),se=new o({onFirstListenerAdd:J,onLastListenerRemove:re});return se.event}a.fromDOMEventEmitter=P;function F(z){return new Promise(j=>h(z)(j))}a.toPromise=F;function W(z,j){return j(void 0),z($=>j($))}a.runAndSubscribe=W;function R(z,j){let $=null;function G(re){$==null||$.dispose(),$=new m.DisposableStore,j(re,$)}G(void 0);const J=z(re=>G(re));return(0,m.toDisposable)(()=>{J.dispose(),$==null||$.dispose()})}a.runAndSubscribeWithStore=R})(C=e.Event||(e.Event={}));class u{constructor(l){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${l}_${u._idPool++}`}start(l){this._stopWatch=new I.StopWatch(!0),this._listenerCount=l}stop(){if(this._stopWatch){const l=this._stopWatch.elapsed();this._elapsedOverall+=l,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${l.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}u._idPool=0;let g=-1;class t{constructor(l,h=Math.random().toString(18).slice(2,5)){this.customThreshold=l,this.name=h,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(l,h){let f=g;if(typeof this.customThreshold=="number"&&(f=this.customThreshold),f<=0||h {const v=this._stacks.get(l.value)||0;this._stacks.set(l.value,v-1)}}}class n{constructor(l){this.value=l}static create(){var l;return new n((l=new Error().stack)!==null&&l!==void 0?l:"")}print(){console.warn(this.value.split(` +`).slice(2).join(` +`))}}class i{constructor(l,h,f){this.callback=l,this.callbackThis=h,this.stack=f,this.subscription=new m.SafeDisposable}invoke(l){this.callback.call(this.callbackThis,l)}}class o{constructor(l){var h;this._disposed=!1,this._options=l,this._leakageMon=g>0?new t(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=((h=this._options)===null||h===void 0?void 0:h._profName)?new u(this._options._profName):void 0}dispose(){var l,h,f,S;if(!this._disposed){if(this._disposed=!0,this._listeners){if(w){const v=Array.from(this._listeners);queueMicrotask(()=>{var p;for(const _ of v)_.subscription.isset()&&(_.subscription.unset(),(p=_.stack)===null||p===void 0||p.print())})}this._listeners.clear()}(l=this._deliveryQueue)===null||l===void 0||l.clear(),(f=(h=this._options)===null||h===void 0?void 0:h.onLastListenerRemove)===null||f===void 0||f.call(h),(S=this._leakageMon)===null||S===void 0||S.dispose()}}get event(){return this._event||(this._event=(l,h,f)=>{var S,v,p;this._listeners||(this._listeners=new k.LinkedList);const _=this._listeners.isEmpty();_&&((S=this._options)===null||S===void 0?void 0:S.onFirstListenerAdd)&&this._options.onFirstListenerAdd(this);let y,E;this._leakageMon&&this._listeners.size>=30&&(E=n.create(),y=this._leakageMon.check(E,this._listeners.size+1)),w&&(E=E??n.create());const N=new i(l,h,E),D=this._listeners.push(N);_&&((v=this._options)===null||v===void 0?void 0:v.onFirstListenerDidAdd)&&this._options.onFirstListenerDidAdd(this),((p=this._options)===null||p===void 0?void 0:p.onListenerDidAdd)&&this._options.onListenerDidAdd(this,l,h);const M=N.subscription.set(()=>{y&&y(),this._disposed||(D(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return f instanceof m.DisposableStore?f.add(M):Array.isArray(f)&&f.push(M),M}),this._event}fire(l){var h,f;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new k.LinkedList);for(let S of this._listeners)this._deliveryQueue.push([S,l]);for((h=this._perfMon)===null||h===void 0||h.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[S,v]=this._deliveryQueue.shift();try{S.invoke(v)}catch(p){(0,L.onUnexpectedError)(p)}}(f=this._perfMon)===null||f===void 0||f.stop()}}}e.Emitter=o;class c extends o{constructor(l){super(l);this._isPaused=0,this._eventQueue=new k.LinkedList,this._mergeFn=l==null?void 0:l.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused==0)if(this._mergeFn){const l=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(l))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(l){this._listeners&&(this._isPaused!==0?this._eventQueue.push(l):super.fire(l))}}e.PauseableEmitter=c;class d extends c{constructor(l){var h;super(l);this._delay=(h=l.delay)!==null&&h!==void 0?h:100}fire(l){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(l)}}e.DebounceEmitter=d;class r{constructor(){this.buffers=[]}wrapEvent(l){return(h,f,S)=>l(v=>{const p=this.buffers[this.buffers.length-1];p?p.push(()=>h.call(f,v)):h.call(f,v)},void 0,S)}bufferEvents(l){const h=[];this.buffers.push(h);const f=l();return this.buffers.pop(),h.forEach(S=>S()),f}}e.EventBufferer=r;class s{constructor(){this.listening=!1,this.inputEvent=C.None,this.inputEventListener=m.Disposable.None,this.emitter=new o({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(l){this.inputEvent=l,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=l(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}e.Relay=s}),define(te[34],ie([1,0,4,2]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isStandalone=e.isAndroid=e.isElectron=e.isWebkitWebView=e.isSafari=e.isChrome=e.isWebKit=e.isFirefox=e.getZoomFactor=e.PixelRatio=void 0;class k{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}k.INSTANCE=new k;class I extends m.Disposable{constructor(){super();this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(t){this._mediaQueryList&&this._mediaQueryList.removeEventListener("change",this._listener),this._mediaQueryList=matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),t&&this._onDidChange.fire()}}class w extends m.Disposable{constructor(){super();this._onDidChange=this._register(new L.Emitter),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();const t=this._register(new I);this._register(t.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}get value(){return this._value}_getPixelRatio(){const t=document.createElement("canvas").getContext("2d"),n=window.devicePixelRatio||1,i=t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return n/i}}class b{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=new w),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}}e.PixelRatio=new b;function C(){return k.INSTANCE.getZoomFactor()}e.getZoomFactor=C;const u=navigator.userAgent;e.isFirefox=u.indexOf("Firefox")>=0,e.isWebKit=u.indexOf("AppleWebKit")>=0,e.isChrome=u.indexOf("Chrome")>=0,e.isSafari=!e.isChrome&&u.indexOf("Safari")>=0,e.isWebkitWebView=!e.isChrome&&!e.isSafari&&e.isWebKit,e.isElectron=u.indexOf("Electron/")>=0,e.isAndroid=u.indexOf("Android")>=0,e.isStandalone=window.matchMedia&&window.matchMedia("(display-mode: standalone)").matches}),define(te[167],ie([1,0,34,16]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BrowserFeatures=void 0,e.BrowserFeatures={clipboard:{writeText:m.isNative||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:m.isNative||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:(()=>m.isNative||L.isStandalone?0:navigator.keyboard||L.isSafari?1:2)(),touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}}),define(te[92],ie([1,0,4]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stopEvent=e.DomEmitter=void 0;class m{constructor(w,b,C){const u=g=>this.emitter.fire(g);this.emitter=new L.Emitter({onFirstListenerAdd:()=>w.addEventListener(b,u,C),onLastListenerRemove:()=>w.removeEventListener(b,u,C)})}get event(){return this.emitter.event}dispose(){this.emitter.dispose()}}e.DomEmitter=m;function k(I){return I.preventDefault(),I.stopPropagation(),I}e.stopEvent=k}),define(te[44],ie([1,0,34,58,96,16]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardKeyboardEvent=void 0;function w(n){if(n.charCode){let o=String.fromCharCode(n.charCode).toUpperCase();return m.KeyCodeUtils.fromString(o)}const i=n.keyCode;if(i===3)return 7;if(L.isFirefox){if(i===59)return 80;if(i===107)return 81;if(i===109)return 83;if(I.isMacintosh&&i===224)return 57}else if(L.isWebKit){if(i===91)return 57;if(I.isMacintosh&&i===93)return 57;if(!I.isMacintosh&&i===92)return 57}return m.EVENT_KEY_CODE_MAP[i]||0}const b=I.isMacintosh?256:2048,C=512,u=1024,g=I.isMacintosh?2048:256;class t{constructor(i){this._standardKeyboardEventBrand=!0;let o=i;this.browserEvent=o,this.target=o.target,this.ctrlKey=o.ctrlKey,this.shiftKey=o.shiftKey,this.altKey=o.altKey,this.metaKey=o.metaKey,this.keyCode=w(o),this.code=o.code,this.ctrlKey=this.ctrlKey||this.keyCode===5,this.altKey=this.altKey||this.keyCode===6,this.shiftKey=this.shiftKey||this.keyCode===4,this.metaKey=this.metaKey||this.keyCode===57,this._asKeybinding=this._computeKeybinding(),this._asRuntimeKeybinding=this._computeRuntimeKeybinding()}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation&&this.browserEvent.stopPropagation()}toKeybinding(){return this._asRuntimeKeybinding}equals(i){return this._asKeybinding===i}_computeKeybinding(){let i=0;this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(i=this.keyCode);let o=0;return this.ctrlKey&&(o|=b),this.altKey&&(o|=C),this.shiftKey&&(o|=u),this.metaKey&&(o|=g),o|=i,o}_computeRuntimeKeybinding(){let i=0;return this.keyCode!==5&&this.keyCode!==4&&this.keyCode!==6&&this.keyCode!==57&&(i=this.keyCode),new k.SimpleKeybinding(this.ctrlKey,this.shiftKey,this.altKey,this.metaKey,i)}}e.StandardKeyboardEvent=t}),define(te[59],ie([1,0,34,214,16]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StandardWheelEvent=e.StandardMouseEvent=void 0;class I{constructor(C){this.timestamp=Date.now(),this.browserEvent=C,this.leftButton=C.button===0,this.middleButton=C.button===1,this.rightButton=C.button===2,this.buttons=C.buttons,this.target=C.target,this.detail=C.detail||1,C.type==="dblclick"&&(this.detail=2),this.ctrlKey=C.ctrlKey,this.shiftKey=C.shiftKey,this.altKey=C.altKey,this.metaKey=C.metaKey,typeof C.pageX=="number"?(this.posx=C.pageX,this.posy=C.pageY):(this.posx=C.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,this.posy=C.clientY+document.body.scrollTop+document.documentElement.scrollTop);let u=m.IframeUtils.getPositionOfChildWindowRelativeToAncestorWindow(self,C.view);this.posx-=u.left,this.posy-=u.top}preventDefault(){this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent.stopPropagation()}}e.StandardMouseEvent=I;class w{constructor(C,u=0,g=0){if(this.browserEvent=C||null,this.target=C?C.target||C.targetNode||C.srcElement:null,this.deltaY=g,this.deltaX=u,C){let t=C,n=C;if(typeof t.wheelDeltaY!="undefined")this.deltaY=t.wheelDeltaY/120;else if(typeof n.VERTICAL_AXIS!="undefined"&&n.axis===n.VERTICAL_AXIS)this.deltaY=-n.detail/3;else if(C.type==="wheel"){const i=C;i.deltaMode===i.DOM_DELTA_LINE?L.isFirefox&&!k.isMacintosh?this.deltaY=-C.deltaY/3:this.deltaY=-C.deltaY:this.deltaY=-C.deltaY/40}if(typeof t.wheelDeltaX!="undefined")L.isSafari&&k.isWindows?this.deltaX=-(t.wheelDeltaX/120):this.deltaX=t.wheelDeltaX/120;else if(typeof n.HORIZONTAL_AXIS!="undefined"&&n.axis===n.HORIZONTAL_AXIS)this.deltaX=-C.detail/3;else if(C.type==="wheel"){const i=C;i.deltaMode===i.DOM_DELTA_LINE?L.isFirefox&&!k.isMacintosh?this.deltaX=-C.deltaX/3:this.deltaX=-C.deltaX:this.deltaX=-C.deltaX/40}this.deltaY===0&&this.deltaX===0&&C.wheelDelta&&(this.deltaY=C.wheelDelta/120)}}preventDefault(){this.browserEvent&&this.browserEvent.preventDefault()}stopPropagation(){this.browserEvent&&this.browserEvent.stopPropagation()}}e.StandardWheelEvent=w}),define(te[21],ie([1,0,4]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CancellationTokenSource=e.CancellationToken=void 0;const m=Object.freeze(function(b,C){const u=setTimeout(b.bind(C),0);return{dispose(){clearTimeout(u)}}});var k;(function(b){function C(u){return u===b.None||u===b.Cancelled||u instanceof I?!0:!u||typeof u!="object"?!1:typeof u.isCancellationRequested=="boolean"&&typeof u.onCancellationRequested=="function"}b.isCancellationToken=C,b.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:L.Event.None}),b.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:m})})(k=e.CancellationToken||(e.CancellationToken={}));class I{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?m:(this._emitter||(this._emitter=new L.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}}class w{constructor(C){this._token=void 0,this._parentListener=void 0,this._parentListener=C&&C.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new I),this._token}cancel(){this._token?this._token instanceof I&&this._token.cancel():this._token=k.Cancelled}dispose(C=!1){C&&this.cancel(),this._parentListener&&this._parentListener.dispose(),this._token?this._token instanceof I&&this._token.dispose():this._token=k.None}}e.CancellationTokenSource=w});var we=this&&this.__awaiter||function(q,e,L,m){function k(I){return I instanceof L?I:new L(function(w){w(I)})}return new(L||(L=Promise))(function(I,w){function b(g){try{u(m.next(g))}catch(t){w(t)}}function C(g){try{u(m.throw(g))}catch(t){w(t)}}function u(g){g.done?I(g.value):k(g.value).then(b,C)}u((m=m.apply(q,e||[])).next())})},pt=this&&this.__asyncValues||function(q){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=q[Symbol.asyncIterator],L;return e?e.call(q):(q=typeof __values=="function"?__values(q):q[Symbol.iterator](),L={},m("next"),m("throw"),m("return"),L[Symbol.asyncIterator]=function(){return this},L);function m(I){L[I]=q[I]&&function(w){return new Promise(function(b,C){w=q[I](w),k(b,C,w.done,w.value)})}}function k(I,w,b,C){Promise.resolve(C).then(function(u){I({value:u,done:b})},w)}};define(te[10],ie([1,0,21,13,4,2,16]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createCancelableAsyncIterable=e.CancelableAsyncIterableObject=e.AsyncIterableObject=e.Promises=e.DeferredPromise=e.IdleValue=e.runWhenIdle=e.RunOnceScheduler=e.IntervalTimer=e.TimeoutTimer=e.first=e.disposableTimeout=e.timeout=e.ThrottledDelayer=e.Delayer=e.MicrotaskDelay=e.Throttler=e.raceCancellation=e.createCancelablePromise=e.isThenable=void 0;function b(y){return!!y&&typeof y.then=="function"}e.isThenable=b;function C(y){const E=new L.CancellationTokenSource,N=y(E.token),D=new Promise((M,B)=>{const O=E.token.onCancellationRequested(()=>{O.dispose(),E.dispose(),B(new m.CancellationError)});Promise.resolve(N).then(T=>{O.dispose(),E.dispose(),M(T)},T=>{O.dispose(),E.dispose(),B(T)})});return new class{cancel(){E.cancel()}then(M,B){return D.then(M,B)}catch(M){return this.then(void 0,M)}finally(M){return D.finally(M)}}}e.createCancelablePromise=C;function u(y,E,N){return new Promise((D,M)=>{const B=E.onCancellationRequested(()=>{B.dispose(),D(N)});y.then(D,M).finally(()=>B.dispose())})}e.raceCancellation=u;class g{constructor(){this.activePromise=null,this.queuedPromise=null,this.queuedPromiseFactory=null}queue(E){if(this.activePromise){if(this.queuedPromiseFactory=E,!this.queuedPromise){const N=()=>{this.queuedPromise=null;const D=this.queue(this.queuedPromiseFactory);return this.queuedPromiseFactory=null,D};this.queuedPromise=new Promise(D=>{this.activePromise.then(N,N).then(D)})}return new Promise((N,D)=>{this.queuedPromise.then(N,D)})}return this.activePromise=E(),new Promise((N,D)=>{this.activePromise.then(M=>{this.activePromise=null,N(M)},M=>{this.activePromise=null,D(M)})})}}e.Throttler=g;const t=(y,E)=>{let N=!0;const D=setTimeout(()=>{N=!1,E()},y);return{isTriggered:()=>N,dispose:()=>{clearTimeout(D),N=!1}}},n=y=>{let E=!0;return queueMicrotask(()=>{E&&(E=!1,y())}),{isTriggered:()=>E,dispose:()=>{E=!1}}};e.MicrotaskDelay=Symbol("MicrotaskDelay");class i{constructor(E){this.defaultDelay=E,this.deferred=null,this.completionPromise=null,this.doResolve=null,this.doReject=null,this.task=null}trigger(E,N=this.defaultDelay){this.task=E,this.cancelTimeout(),this.completionPromise||(this.completionPromise=new Promise((M,B)=>{this.doResolve=M,this.doReject=B}).then(()=>{if(this.completionPromise=null,this.doResolve=null,this.task){const M=this.task;return this.task=null,M()}}));const D=()=>{var M;this.deferred=null,(M=this.doResolve)===null||M===void 0||M.call(this,null)};return this.deferred=N===e.MicrotaskDelay?n(D):t(N,D),this.completionPromise}isTriggered(){var E;return!!((E=this.deferred)===null||E===void 0?void 0:E.isTriggered())}cancel(){this.cancelTimeout(),this.completionPromise&&(this.doReject&&this.doReject(new m.CancellationError),this.completionPromise=null)}cancelTimeout(){var E;(E=this.deferred)===null||E===void 0||E.dispose(),this.deferred=null}dispose(){this.cancel()}}e.Delayer=i;class o{constructor(E){this.delayer=new i(E),this.throttler=new g}trigger(E,N){return this.delayer.trigger(()=>this.throttler.queue(E),N)}dispose(){this.delayer.dispose()}}e.ThrottledDelayer=o;function c(y,E){return E?new Promise((N,D)=>{const M=setTimeout(()=>{B.dispose(),N()},y),B=E.onCancellationRequested(()=>{clearTimeout(M),B.dispose(),D(new m.CancellationError)})}):C(N=>c(y,N))}e.timeout=c;function d(y,E=0){const N=setTimeout(y,E);return(0,I.toDisposable)(()=>clearTimeout(N))}e.disposableTimeout=d;function r(y,E=D=>!!D,N=null){let D=0;const M=y.length,B=()=>{if(D>=M)return Promise.resolve(N);const O=y[D++];return Promise.resolve(O()).then(A=>E(A)?Promise.resolve(A):B())};return B()}e.first=r;class s{constructor(E,N){this._token=-1,typeof E=="function"&&typeof N=="number"&&this.setIfNotSet(E,N)}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearTimeout(this._token),this._token=-1)}cancelAndSet(E,N){this.cancel(),this._token=setTimeout(()=>{this._token=-1,E()},N)}setIfNotSet(E,N){this._token===-1&&(this._token=setTimeout(()=>{this._token=-1,E()},N))}}e.TimeoutTimer=s;class a{constructor(){this._token=-1}dispose(){this.cancel()}cancel(){this._token!==-1&&(clearInterval(this._token),this._token=-1)}cancelAndSet(E,N){this.cancel(),this._token=setInterval(()=>{E()},N)}}e.IntervalTimer=a;class l{constructor(E,N){this.timeoutToken=-1,this.runner=E,this.timeout=N,this.timeoutHandler=this.onTimeout.bind(this)}dispose(){this.cancel(),this.runner=null}cancel(){this.isScheduled()&&(clearTimeout(this.timeoutToken),this.timeoutToken=-1)}schedule(E=this.timeout){this.cancel(),this.timeoutToken=setTimeout(this.timeoutHandler,E)}get delay(){return this.timeout}set delay(E){this.timeout=E}isScheduled(){return this.timeoutToken!==-1}onTimeout(){this.timeoutToken=-1,this.runner&&this.doRun()}doRun(){this.runner&&this.runner()}}e.RunOnceScheduler=l,function(){typeof requestIdleCallback!="function"||typeof cancelIdleCallback!="function"?e.runWhenIdle=y=>{(0,w.setTimeout0)(()=>{if(E)return;const N=Date.now()+15;y(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,N-Date.now())}}))});let E=!1;return{dispose(){E||(E=!0)}}}:e.runWhenIdle=(y,E)=>{const N=requestIdleCallback(y,typeof E=="number"?{timeout:E}:void 0);let D=!1;return{dispose(){D||(D=!0,cancelIdleCallback(N))}}}}();class h{constructor(E){this._didRun=!1,this._executor=()=>{try{this._value=E()}catch(N){this._error=N}finally{this._didRun=!0}},this._handle=(0,e.runWhenIdle)(()=>this._executor())}dispose(){this._handle.dispose()}get value(){if(this._didRun||(this._handle.dispose(),this._executor()),this._error)throw this._error;return this._value}get isInitialized(){return this._didRun}}e.IdleValue=h;class f{constructor(){this.rejected=!1,this.resolved=!1,this.p=new Promise((E,N)=>{this.completeCallback=E,this.errorCallback=N})}get isRejected(){return this.rejected}get isSettled(){return this.rejected||this.resolved}complete(E){return new Promise(N=>{this.completeCallback(E),this.resolved=!0,N()})}cancel(){new Promise(E=>{this.errorCallback(new m.CancellationError),this.rejected=!0,E()})}}e.DeferredPromise=f;var S;(function(y){function E(D){return we(this,void 0,void 0,function*(){let M;const B=yield Promise.all(D.map(O=>O.then(T=>T,T=>{M||(M=T)})));if(typeof M!="undefined")throw M;return B})}y.settled=E;function N(D){return new Promise((M,B)=>we(this,void 0,void 0,function*(){try{yield D(M,B)}catch(O){B(O)}}))}y.withAsyncBody=N})(S=e.Promises||(e.Promises={}));class v{constructor(E){this._state=0,this._results=[],this._error=null,this._onStateChanged=new k.Emitter,queueMicrotask(()=>we(this,void 0,void 0,function*(){const N={emitOne:D=>this.emitOne(D),emitMany:D=>this.emitMany(D),reject:D=>this.reject(D)};try{yield Promise.resolve(E(N)),this.resolve()}catch(D){this.reject(D)}finally{N.emitOne=void 0,N.emitMany=void 0,N.reject=void 0}}))}static fromArray(E){return new v(N=>{N.emitMany(E)})}static fromPromise(E){return new v(N=>we(this,void 0,void 0,function*(){N.emitMany(yield E)}))}static fromPromises(E){return new v(N=>we(this,void 0,void 0,function*(){yield Promise.all(E.map(D=>we(this,void 0,void 0,function*(){return N.emitOne(yield D)})))}))}static merge(E){return new v(N=>we(this,void 0,void 0,function*(){yield Promise.all(E.map(D=>{var M,B;return we(this,void 0,void 0,function*(){var O,T;try{for(M=pt(D);B=yield M.next(),!B.done;){const A=B.value;N.emitOne(A)}}catch(A){O={error:A}}finally{try{B&&!B.done&&(T=M.return)&&(yield T.call(M))}finally{if(O)throw O.error}}})}))}))}[Symbol.asyncIterator](){let E=0;return{next:()=>we(this,void 0,void 0,function*(){do{if(this._state===2)throw this._error;if(E we(this,void 0,void 0,function*(){var M,B;try{for(var O=pt(E),T;T=yield O.next(),!T.done;){const A=T.value;D.emitOne(N(A))}}catch(A){M={error:A}}finally{try{T&&!T.done&&(B=O.return)&&(yield B.call(O))}finally{if(M)throw M.error}}}))}map(E){return v.map(this,E)}static filter(E,N){return new v(D=>we(this,void 0,void 0,function*(){var M,B;try{for(var O=pt(E),T;T=yield O.next(),!T.done;){const A=T.value;N(A)&&D.emitOne(A)}}catch(A){M={error:A}}finally{try{T&&!T.done&&(B=O.return)&&(yield B.call(O))}finally{if(M)throw M.error}}}))}filter(E){return v.filter(this,E)}static coalesce(E){return v.filter(E,N=>!!N)}coalesce(){return v.coalesce(this)}static toPromise(E){var N,D,M,B;return we(this,void 0,void 0,function*(){const O=[];try{for(N=pt(E);D=yield N.next(),!D.done;){const T=D.value;O.push(T)}}catch(T){M={error:T}}finally{try{D&&!D.done&&(B=N.return)&&(yield B.call(N))}finally{if(M)throw M.error}}return O})}toPromise(){return v.toPromise(this)}emitOne(E){this._state===0&&(this._results.push(E),this._onStateChanged.fire())}emitMany(E){this._state===0&&(this._results=this._results.concat(E),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(E){this._state===0&&(this._state=2,this._error=E,this._onStateChanged.fire())}}e.AsyncIterableObject=v,v.EMPTY=v.fromArray([]);class p extends v{constructor(E,N){super(N);this._source=E}cancel(){this._source.cancel()}}e.CancelableAsyncIterableObject=p;function _(y){const E=new L.CancellationTokenSource,N=y(E.token);return new p(E,D=>we(this,void 0,void 0,function*(){var M,B;const O=E.token.onCancellationRequested(()=>{O.dispose(),E.dispose(),D.reject(new m.CancellationError)});try{try{for(var T=pt(N),A;A=yield T.next(),!A.done;){const P=A.value;if(E.token.isCancellationRequested)return;D.emitOne(P)}}catch(P){M={error:P}}finally{try{A&&!A.done&&(B=T.return)&&(yield B.call(T))}finally{if(M)throw M.error}}O.dispose(),E.dispose()}catch(P){O.dispose(),E.dispose(),D.reject(P)}}))}e.createCancelableAsyncIterable=_}),define(te[319],ie([1,0,10,2]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarVisibilityController=void 0;class k extends m.Disposable{constructor(w,b,C){super();this._visibility=w,this._visibleClassName=b,this._invisibleClassName=C,this._domNode=null,this._isVisible=!1,this._isNeeded=!1,this._rawShouldBeVisible=!1,this._shouldBeVisible=!1,this._revealTimer=this._register(new L.TimeoutTimer)}setVisibility(w){this._visibility!==w&&(this._visibility=w,this._updateShouldBeVisible())}setShouldBeVisible(w){this._rawShouldBeVisible=w,this._updateShouldBeVisible()}_applyVisibilitySetting(){return this._visibility===2?!1:this._visibility===3?!0:this._rawShouldBeVisible}_updateShouldBeVisible(){const w=this._applyVisibilitySetting();this._shouldBeVisible!==w&&(this._shouldBeVisible=w,this.ensureVisibility())}setIsNeeded(w){this._isNeeded!==w&&(this._isNeeded=w,this.ensureVisibility())}setDomNode(w){this._domNode=w,this._domNode.setClassName(this._invisibleClassName),this.setShouldBeVisible(!1)}ensureVisibility(){if(!this._isNeeded){this._hide(!1);return}this._shouldBeVisible?this._reveal():this._hide(!0)}_reveal(){this._isVisible||(this._isVisible=!0,this._revealTimer.setIfNotSet(()=>{this._domNode&&this._domNode.setClassName(this._visibleClassName)},0))}_hide(w){this._revealTimer.cancel(),!!this._isVisible&&(this._isVisible=!1,this._domNode&&this._domNode.setClassName(this._invisibleClassName+(w?" fade":"")))}}e.ScrollbarVisibilityController=k}),define(te[320],ie([1,0,10]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compareByPrefix=e.compareAnything=e.compareFileNames=void 0;const m=new L.IdleValue(()=>{const u=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});return{collator:u,collatorIsNumeric:u.resolvedOptions().numeric}}),k=new L.IdleValue(()=>({collator:new Intl.Collator(void 0,{numeric:!0})})),I=new L.IdleValue(()=>({collator:new Intl.Collator(void 0,{numeric:!0,sensitivity:"accent"})}));function w(u,g,t=!1){const n=u||"",i=g||"",o=m.value.collator.compare(n,i);return m.value.collatorIsNumeric&&o===0&&n!==i?ni.length)return 1}return 0}e.compareByPrefix=C}),define(te[140],ie([1,0,4,2]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SmoothScrollingOperation=e.SmoothScrollingUpdate=e.Scrollable=e.ScrollState=void 0;class k{constructor(i,o,c,d,r,s,a){this._forceIntegerValues=i,this._scrollStateBrand=void 0,this._forceIntegerValues&&(o=o|0,c=c|0,d=d|0,r=r|0,s=s|0,a=a|0),this.rawScrollLeft=d,this.rawScrollTop=a,o<0&&(o=0),d+o>c&&(d=c-o),d<0&&(d=0),r<0&&(r=0),a+r>s&&(a=s-r),a<0&&(a=0),this.width=o,this.scrollWidth=c,this.scrollLeft=d,this.height=r,this.scrollHeight=s,this.scrollTop=a}equals(i){return this.rawScrollLeft===i.rawScrollLeft&&this.rawScrollTop===i.rawScrollTop&&this.width===i.width&&this.scrollWidth===i.scrollWidth&&this.scrollLeft===i.scrollLeft&&this.height===i.height&&this.scrollHeight===i.scrollHeight&&this.scrollTop===i.scrollTop}withScrollDimensions(i,o){return new k(this._forceIntegerValues,typeof i.width!="undefined"?i.width:this.width,typeof i.scrollWidth!="undefined"?i.scrollWidth:this.scrollWidth,o?this.rawScrollLeft:this.scrollLeft,typeof i.height!="undefined"?i.height:this.height,typeof i.scrollHeight!="undefined"?i.scrollHeight:this.scrollHeight,o?this.rawScrollTop:this.scrollTop)}withScrollPosition(i){return new k(this._forceIntegerValues,this.width,this.scrollWidth,typeof i.scrollLeft!="undefined"?i.scrollLeft:this.rawScrollLeft,this.height,this.scrollHeight,typeof i.scrollTop!="undefined"?i.scrollTop:this.rawScrollTop)}createScrollEvent(i,o){const c=this.width!==i.width,d=this.scrollWidth!==i.scrollWidth,r=this.scrollLeft!==i.scrollLeft,s=this.height!==i.height,a=this.scrollHeight!==i.scrollHeight,l=this.scrollTop!==i.scrollTop;return{inSmoothScrolling:o,oldWidth:i.width,oldScrollWidth:i.scrollWidth,oldScrollLeft:i.scrollLeft,width:this.width,scrollWidth:this.scrollWidth,scrollLeft:this.scrollLeft,oldHeight:i.height,oldScrollHeight:i.scrollHeight,oldScrollTop:i.scrollTop,height:this.height,scrollHeight:this.scrollHeight,scrollTop:this.scrollTop,widthChanged:c,scrollWidthChanged:d,scrollLeftChanged:r,heightChanged:s,scrollHeightChanged:a,scrollTopChanged:l}}}e.ScrollState=k;class I extends m.Disposable{constructor(i){super();this._scrollableBrand=void 0,this._onScroll=this._register(new L.Emitter),this.onScroll=this._onScroll.event,this._smoothScrollDuration=i.smoothScrollDuration,this._scheduleAtNextAnimationFrame=i.scheduleAtNextAnimationFrame,this._state=new k(i.forceIntegerValues,0,0,0,0,0,0),this._smoothScrolling=null}dispose(){this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),super.dispose()}setSmoothScrollDuration(i){this._smoothScrollDuration=i}validateScrollPosition(i){return this._state.withScrollPosition(i)}getScrollDimensions(){return this._state}setScrollDimensions(i,o){const c=this._state.withScrollDimensions(i,o);this._setState(c,Boolean(this._smoothScrolling)),this._smoothScrolling&&this._smoothScrolling.acceptScrollDimensions(this._state)}getFutureScrollPosition(){return this._smoothScrolling?this._smoothScrolling.to:this._state}getCurrentScrollPosition(){return this._state}setScrollPositionNow(i){const o=this._state.withScrollPosition(i);this._smoothScrolling&&(this._smoothScrolling.dispose(),this._smoothScrolling=null),this._setState(o,!1)}setScrollPositionSmooth(i,o){if(this._smoothScrollDuration===0)return this.setScrollPositionNow(i);if(this._smoothScrolling){i={scrollLeft:typeof i.scrollLeft=="undefined"?this._smoothScrolling.to.scrollLeft:i.scrollLeft,scrollTop:typeof i.scrollTop=="undefined"?this._smoothScrolling.to.scrollTop:i.scrollTop};const c=this._state.withScrollPosition(i);if(this._smoothScrolling.to.scrollLeft===c.scrollLeft&&this._smoothScrolling.to.scrollTop===c.scrollTop)return;let d;o?d=new u(this._smoothScrolling.from,c,this._smoothScrolling.startTime,this._smoothScrolling.duration):d=this._smoothScrolling.combine(this._state,c,this._smoothScrollDuration),this._smoothScrolling.dispose(),this._smoothScrolling=d}else{const c=this._state.withScrollPosition(i);this._smoothScrolling=u.start(this._state,c,this._smoothScrollDuration)}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{!this._smoothScrolling||(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}_performSmoothScrolling(){if(!this._smoothScrolling)return;const i=this._smoothScrolling.tick(),o=this._state.withScrollPosition(i);if(this._setState(o,!0),!!this._smoothScrolling){if(i.isDone){this._smoothScrolling.dispose(),this._smoothScrolling=null;return}this._smoothScrolling.animationFrameDisposable=this._scheduleAtNextAnimationFrame(()=>{!this._smoothScrolling||(this._smoothScrolling.animationFrameDisposable=null,this._performSmoothScrolling())})}}_setState(i,o){const c=this._state;c.equals(i)||(this._state=i,this._onScroll.fire(this._state.createScrollEvent(c,o)))}}e.Scrollable=I;class w{constructor(i,o,c){this.scrollLeft=i,this.scrollTop=o,this.isDone=c}}e.SmoothScrollingUpdate=w;function b(n,i){const o=i-n;return function(c){return n+o*t(c)}}function C(n,i,o){return function(c){return c 2.5*c){let r,s;return i =ne.length?ge:ne[ce]})}e.format=b;function C(Y){return Y.replace(/[<>&]/g,function(ne){switch(ne){case"<":return"<";case">":return">";case"&":return"&";default:return ne}})}e.escape=C;function u(Y){return Y.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}e.escapeRegExpCharacters=u;function g(Y,ne=" "){const ge=t(Y,ne);return n(ge,ne)}e.trim=g;function t(Y,ne){if(!Y||!ne)return Y;const ge=ne.length;if(ge===0||Y.length===0)return Y;let fe=0;for(;Y.indexOf(ne,fe)===fe;)fe=fe+ge;return Y.substring(fe)}e.ltrim=t;function n(Y,ne){if(!Y||!ne)return Y;const ge=ne.length,fe=Y.length;if(ge===0||fe===0)return Y;let ce=fe,he=-1;for(;he=Y.lastIndexOf(ne,ce-1),!(he===-1||he+ge!==ce);){if(he===0)return"";ce=he}return Y.substring(0,ce)}e.rtrim=n;function i(Y){return Y.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}e.convertSimple2RegExpPattern=i;function o(Y){return Y.replace(/\*/g,"")}e.stripWildcards=o;function c(Y,ne,ge={}){if(!Y)throw new Error("Cannot create regex from empty string");ne||(Y=u(Y)),ge.wholeWord&&(/\B/.test(Y.charAt(0))||(Y="\\b"+Y),/\B/.test(Y.charAt(Y.length-1))||(Y=Y+"\\b"));let fe="";return ge.global&&(fe+="g"),ge.matchCase||(fe+="i"),ge.multiline&&(fe+="m"),ge.unicode&&(fe+="u"),new RegExp(Y,fe)}e.createRegExp=c;function d(Y){return Y.source==="^"||Y.source==="^$"||Y.source==="$"||Y.source==="^\\s*$"?!1:!!(Y.exec("")&&Y.lastIndex===0)}e.regExpLeadsToEndlessLoop=d;function r(Y){return(Y.global?"g":"")+(Y.ignoreCase?"i":"")+(Y.multiline?"m":"")+(Y.unicode?"u":"")}e.regExpFlags=r;function s(Y){return Y.split(/\r\n|\r|\n/)}e.splitLines=s;function a(Y){for(let ne=0,ge=Y.length;ne =0;ge--){const fe=Y.charCodeAt(ge);if(fe!==32&&fe!==9)return ge}return-1}e.lastNonWhitespaceIndex=h;function f(Y,ne){return Y ne?1:0}e.compare=f;function S(Y,ne,ge=0,fe=Y.length,ce=0,he=ne.length){for(;ge de)return 1}const ve=fe-ge,Ce=he-ce;return ve Ce?1:0}e.compareSubstring=S;function v(Y,ne){return p(Y,ne,0,Y.length,0,ne.length)}e.compareIgnoreCase=v;function p(Y,ne,ge=0,fe=Y.length,ce=0,he=ne.length){for(;ge =128||de>=128)return S(Y.toLowerCase(),ne.toLowerCase(),ge,fe,ce,he);_(be)&&(be-=32),_(de)&&(de-=32);const me=be-de;if(me!==0)return me}const ve=fe-ge,Ce=he-ce;return ve Ce?1:0}e.compareSubstringIgnoreCase=p;function _(Y){return Y>=97&&Y<=122}e.isLowerAsciiLetter=_;function y(Y){return Y>=65&&Y<=90}e.isUpperAsciiLetter=y;function E(Y,ne){return Y.length===ne.length&&p(Y,ne)===0}e.equalsIgnoreCase=E;function N(Y,ne){const ge=ne.length;return ne.length>Y.length?!1:p(Y,ne,0,ge)===0}e.startsWithIgnoreCase=N;function D(Y,ne){let ge,fe=Math.min(Y.length,ne.length);for(ge=0;ge 1){const fe=Y.charCodeAt(ne-2);if(B(fe))return T(fe,ge)}return ge}class F{constructor(ne,ge=0){this._str=ne,this._len=ne.length,this._offset=ge}get offset(){return this._offset}setOffset(ne){this._offset=ne}prevCodePoint(){const ne=P(this._str,this._offset);return this._offset-=ne>=65536?2:1,ne}nextCodePoint(){const ne=A(this._str,this._len,this._offset);return this._offset+=ne>=65536?2:1,ne}eol(){return this._offset>=this._len}}e.CodePointIterator=F;class W{constructor(ne,ge=0){this._iterator=new F(ne,ge)}get offset(){return this._iterator.offset}nextGraphemeLength(){const ne=ee.getInstance(),ge=this._iterator,fe=ge.offset;let ce=ne.getGraphemeBreakType(ge.nextCodePoint());for(;!ge.eol();){const he=ge.offset,ve=ne.getGraphemeBreakType(ge.nextCodePoint());if(ae(ce,ve)){ge.setOffset(he);break}ce=ve}return ge.offset-fe}prevGraphemeLength(){const ne=ee.getInstance(),ge=this._iterator,fe=ge.offset;let ce=ne.getGraphemeBreakType(ge.prevCodePoint());for(;ge.offset>0;){const he=ge.offset,ve=ne.getGraphemeBreakType(ge.prevCodePoint());if(ae(ve,ce)){ge.setOffset(he);break}ce=ve}return fe-ge.offset}eol(){return this._iterator.eol()}}e.GraphemeIterator=W;function R(Y,ne){return new W(Y,ne).nextGraphemeLength()}e.nextCharLength=R;function z(Y,ne){return new W(Y,ne).prevGraphemeLength()}e.prevCharLength=z;function j(Y,ne){ne>0&&O(Y.charCodeAt(ne))&&ne--;const ge=ne+R(Y,ne);return[ge-z(Y,ge),ge]}e.getCharContainingOffset=j;const $=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA\u07FE-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u088E\u08A0-\u08C9\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDC7\uFDF0-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE35\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDD23\uDE80-\uDEA9\uDEAD-\uDF45\uDF51-\uDF81\uDF86-\uDFF6]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD4B-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function G(Y){return $.test(Y)}e.containsRTL=G;const J=/^[\t\n\r\x20-\x7E]*$/;function re(Y){return J.test(Y)}e.isBasicASCII=re,e.UNUSUAL_LINE_TERMINATORS=/[\u2028\u2029]/;function se(Y){return e.UNUSUAL_LINE_TERMINATORS.test(Y)}e.containsUnusualLineTerminators=se;function Z(Y){return Y>=11904&&Y<=55215||Y>=63744&&Y<=64255||Y>=65281&&Y<=65374}e.isFullWidthCharacter=Z;function V(Y){return Y>=127462&&Y<=127487||Y===8986||Y===8987||Y===9200||Y===9203||Y>=9728&&Y<=10175||Y===11088||Y===11093||Y>=127744&&Y<=128591||Y>=128640&&Y<=128764||Y>=128992&&Y<=129008||Y>=129280&&Y<=129535||Y>=129648&&Y<=129782}e.isEmojiImprecise=V,e.UTF8_BOM_CHARACTER=String.fromCharCode(65279);function K(Y){return!!(Y&&Y.length>0&&Y.charCodeAt(0)===65279)}e.startsWithUTF8BOM=K;function X(Y,ne=!1){return Y?(ne&&(Y=Y.replace(/\\./g,"")),Y.toLowerCase()!==Y):!1}e.containsUppercaseCharacter=X;function oe(Y){const ne=90-65+1;return Y=Y%(2*ne),Y ge[3*ce+1])ce=2*ce+1;else return ge[3*ce+2];return 0}}ee._INSTANCE=null;function ue(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}function le(Y,ne){if(Y===0)return 0;const ge=x(Y,ne);if(ge!==void 0)return ge;const fe=new F(ne,Y);return fe.prevCodePoint(),fe.offset}e.getLeftDeleteOffset=le;function x(Y,ne){const ge=new F(ne,Y);let fe=ge.prevCodePoint();for(;H(fe)||fe===65039||fe===8419;){if(ge.offset===0)return;fe=ge.prevCodePoint()}if(!V(fe))return;let ce=ge.offset;return ce>0&&ge.prevCodePoint()===8205&&(ce=ge.offset),ce}function H(Y){return 127995<=Y&&Y<=127999}e.noBreakWhitespace="\xA0";class U{constructor(ne){this.confusableDictionary=ne}static getInstance(ne){return U.cache.get(Array.from(ne))}static getLocales(){return U._locales.getValue()}isAmbiguous(ne){return this.confusableDictionary.has(ne)}getPrimaryConfusable(ne){return this.confusableDictionary.get(ne)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}}e.AmbiguousCharacters=U,k=U,U.ambiguousCharacterData=new m.Lazy(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}')),U.cache=new L.LRUCachedComputed(Y=>{function ne(de){const me=new Map;for(let _e=0;_e !de.startsWith("_")&&de in ce);he.length===0&&(he=["_default"]);let ve;for(const de of he){const me=ne(ce[de]);ve=fe(ve,me)}const Ce=ne(ce._common),be=ge(Ce,ve);return new U(be)}),U._locales=new m.Lazy(()=>Object.keys(U.ambiguousCharacterData.getValue()).filter(Y=>!Y.startsWith("_")));class Q{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static getData(){return this._data||(this._data=new Set(Q.getRawData())),this._data}static isInvisibleCharacter(ne){return Q.getData().has(ne)}static get codePoints(){return Q.getData()}}e.InvisibleCharacters=Q,Q._data=void 0}),define(te[168],ie([1,0,84,16,8]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasDriveLetter=e.isRootOrDriveLetter=e.isWindowsDriveLetter=e.isEqualOrParent=e.getRoot=e.toPosixPath=e.toSlashes=e.isPathSeparator=void 0;function I(i){return i===47||i===92}e.isPathSeparator=I;function w(i){return i.replace(/[\\/]/g,L.posix.sep)}e.toSlashes=w;function b(i){return i.indexOf("/")===-1&&(i=w(i)),/^[a-zA-Z]:(\/|$)/.test(i)&&(i="/"+i),i}e.toPosixPath=b;function C(i,o=L.posix.sep){if(!i)return"";const c=i.length,d=i.charCodeAt(0);if(I(d)){if(I(i.charCodeAt(1))&&!I(i.charCodeAt(2))){let s=3;const a=s;for(;s i.length)return!1;if(c){if(!(0,k.startsWithIgnoreCase)(i,o))return!1;if(o.length===i.length)return!0;let s=o.length;return o.charAt(o.length-1)===d&&s--,i.charAt(s)===d}return o.charAt(o.length-1)!==d&&(o+=d),i.indexOf(o)===0}e.isEqualOrParent=u;function g(i){return i>=65&&i<=90||i>=97&&i<=122}e.isWindowsDriveLetter=g;function t(i){const o=(0,L.normalize)(i);return m.isWindows?i.length>3?!1:n(o)&&(i.length===2||o.charCodeAt(2)===92):o===L.posix.sep}e.isRootOrDriveLetter=t;function n(i,o){return(o!==void 0?o:m.isWindows)?g(i.charCodeAt(0))&&i.charCodeAt(1)===58:!1}e.hasDriveLetter=n}),define(te[114],ie([1,0,8]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StringSHA1=e.toHexString=e.stringHash=e.numberHash=e.doHash=e.hash=void 0;function m(c){return k(c,0)}e.hash=m;function k(c,d){switch(typeof c){case"object":return c===null?I(349,d):Array.isArray(c)?C(c,d):u(c,d);case"string":return b(c,d);case"boolean":return w(c,d);case"number":return I(c,d);case"undefined":return I(937,d);default:return I(617,d)}}e.doHash=k;function I(c,d){return(d<<5)-d+c|0}e.numberHash=I;function w(c,d){return I(c?433:863,d)}function b(c,d){d=I(149417,d);for(let r=0,s=c.length;r k(s,r),d)}function u(c,d){return d=I(181387,d),Object.keys(c).sort().reduce((r,s)=>(r=b(s,r),k(c[s],r)),d)}function g(c,d,r=32){const s=r-d,a=~((1<>>s)>>>0}function t(c,d=0,r=c.byteLength,s=0){for(let a=0;ar.toString(16).padStart(2,"0")).join(""):n((c>>>0).toString(16),d/4)}e.toHexString=i;class o{constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(64+3),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(d){const r=d.length;if(r===0)return;const s=this._buff;let a=this._buffLen,l=this._leftoverHighSurrogate,h,f;for(l!==0?(h=l,f=-1,l=0):(h=d.charCodeAt(0),f=0);;){let S=h;if(L.isHighSurrogate(h))if(f+1 >>6,d[r++]=128|(s&63)>>>0):s<65536?(d[r++]=224|(s&61440)>>>12,d[r++]=128|(s&4032)>>>6,d[r++]=128|(s&63)>>>0):(d[r++]=240|(s&1835008)>>>18,d[r++]=128|(s&258048)>>>12,d[r++]=128|(s&4032)>>>6,d[r++]=128|(s&63)>>>0),r>=64&&(this._step(),r-=64,this._totalLen+=64,d[0]=d[64+0],d[1]=d[64+1],d[2]=d[64+2]),r}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),i(this._h0)+i(this._h1)+i(this._h2)+i(this._h3)+i(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,t(this._buff,this._buffLen),this._buffLen>56&&(this._step(),t(this._buff));const d=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(d/4294967296),!1),this._buffDV.setUint32(60,d%4294967296,!1),this._step()}_step(){const d=o._bigBlock32,r=this._buffDV;for(let _=0;_<64;_+=4)d.setUint32(_,r.getUint32(_,!1),!1);for(let _=64;_<320;_+=4)d.setUint32(_,g(d.getUint32(_-12,!1)^d.getUint32(_-32,!1)^d.getUint32(_-56,!1)^d.getUint32(_-64,!1),1),!1);let s=this._h0,a=this._h1,l=this._h2,h=this._h3,f=this._h4,S,v,p;for(let _=0;_<80;_++)_<20?(S=a&l|~a&h,v=1518500249):_<40?(S=a^l^h,v=1859775393):_<60?(S=a&l|a&h|l&h,v=2400959708):(S=a^l^h,v=3395469782),p=g(s,5)+S+f+v+d.getUint32(_*4,!1)&4294967295,f=h,h=l,l=g(a,30),a=s,s=p;this._h0=this._h0+s&4294967295,this._h1=this._h1+a&4294967295,this._h2=this._h2+l&4294967295,this._h3=this._h3+h&4294967295,this._h4=this._h4+f&4294967295}}e.StringSHA1=o,o._bigBlock32=new DataView(new ArrayBuffer(320))}),define(te[141],ie([1,0,313,114]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LcsDiff=e.MyArray=e.Debug=e.stringDiff=e.StringDiffSequence=void 0;class k{constructor(t){this.source=t}getElements(){const t=this.source,n=new Int32Array(t.length);for(let i=0,o=t.length;i 0||this.m_modifiedCount>0)&&this.m_changes.push(new L.DiffChange(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_originalCount++}AddModifiedElement(t,n){this.m_originalStart=Math.min(this.m_originalStart,t),this.m_modifiedStart=Math.min(this.m_modifiedStart,n),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}}class u{constructor(t,n,i=null){this.ContinueProcessingPredicate=i,this._originalSequence=t,this._modifiedSequence=n;const[o,c,d]=u._getElements(t),[r,s,a]=u._getElements(n);this._hasStrings=d&&a,this._originalStringElements=o,this._originalElementsOrHash=c,this._modifiedStringElements=r,this._modifiedElementsOrHash=s,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(t){return t.length>0&&typeof t[0]=="string"}static _getElements(t){const n=t.getElements();if(u._isStringArray(n)){const i=new Int32Array(n.length);for(let o=0,c=n.length;o =t&&o>=i&&this.ElementsAreEqual(n,o);)n--,o--;if(t>n||i>o){let h;return i<=o?(w.Assert(t===n+1,"originalStart should only be one more than originalEnd"),h=[new L.DiffChange(t,0,i,o-i+1)]):t<=n?(w.Assert(i===o+1,"modifiedStart should only be one more than modifiedEnd"),h=[new L.DiffChange(t,n-t+1,i,0)]):(w.Assert(t===n+1,"originalStart should only be one more than originalEnd"),w.Assert(i===o+1,"modifiedStart should only be one more than modifiedEnd"),h=[]),h}const d=[0],r=[0],s=this.ComputeRecursionPoint(t,n,i,o,d,r,c),a=d[0],l=r[0];if(s!==null)return s;if(!c[0]){const h=this.ComputeDiffRecursive(t,a,i,l,c);let f=[];return c[0]?f=[new L.DiffChange(a+1,n-(a+1)+1,l+1,o-(l+1)+1)]:f=this.ComputeDiffRecursive(a+1,n,l+1,o,c),this.ConcatenateChanges(h,f)}return[new L.DiffChange(t,n-t+1,i,o-i+1)]}WALKTRACE(t,n,i,o,c,d,r,s,a,l,h,f,S,v,p,_,y,E){let N=null,D=null,M=new C,B=n,O=i,T=S[0]-_[0]-o,A=-1073741824,P=this.m_forwardHistory.length-1;do{const F=T+t;F===B||F =0&&(a=this.m_forwardHistory[P],t=a[0],B=1,O=a.length-1)}while(--P>=-1);if(N=M.getReverseChanges(),E[0]){let F=S[0]+1,W=_[0]+1;if(N!==null&&N.length>0){const R=N[N.length-1];F=Math.max(F,R.getOriginalEnd()),W=Math.max(W,R.getModifiedEnd())}D=[new L.DiffChange(F,f-F+1,W,p-W+1)]}else{M=new C,B=d,O=r,T=S[0]-_[0]-s,A=1073741824,P=y?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{const F=T+c;F===B||F =l[F+1]?(h=l[F+1]-1,v=h-T-s,h>A&&M.MarkNextChange(),A=h+1,M.AddOriginalElement(h+1,v+1),T=F+1-c):(h=l[F-1],v=h-T-s,h>A&&M.MarkNextChange(),A=h,M.AddModifiedElement(h+1,v+1),T=F-1-c),P>=0&&(l=this.m_reverseHistory[P],c=l[0],B=1,O=l.length-1)}while(--P>=-1);D=M.getChanges()}return this.ConcatenateChanges(N,D)}ComputeRecursionPoint(t,n,i,o,c,d,r){let s=0,a=0,l=0,h=0,f=0,S=0;t--,i--,c[0]=0,d[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];const v=n-t+(o-i),p=v+1,_=new Int32Array(p),y=new Int32Array(p),E=o-i,N=n-t,D=t-i,M=n-o,O=(N-E)%2==0;_[E]=t,y[N]=n,r[0]=!1;for(let T=1;T<=v/2+1;T++){let A=0,P=0;l=this.ClipDiagonalBound(E-T,T,E,p),h=this.ClipDiagonalBound(E+T,T,E,p);for(let W=l;W<=h;W+=2){W===l||W A+P&&(A=s,P=a),!O&&Math.abs(W-N)<=T-1&&s>=y[W])return c[0]=s,d[0]=a,R<=y[W]&&1447>0&&T<=1447+1?this.WALKTRACE(E,l,h,D,N,f,S,M,_,y,s,n,c,a,o,d,O,r):null}const F=(A-t+(P-i)-T)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(A,F))return r[0]=!0,c[0]=A,d[0]=P,F>0&&1447>0&&T<=1447+1?this.WALKTRACE(E,l,h,D,N,f,S,M,_,y,s,n,c,a,o,d,O,r):(t++,i++,[new L.DiffChange(t,n-t+1,i,o-i+1)]);f=this.ClipDiagonalBound(N-T,T,N,p),S=this.ClipDiagonalBound(N+T,T,N,p);for(let W=f;W<=S;W+=2){W===f||W =y[W+1]?s=y[W+1]-1:s=y[W-1],a=s-(W-N)-M;const R=s;for(;s>t&&a>i&&this.ElementsAreEqual(s,a);)s--,a--;if(y[W]=s,O&&Math.abs(W-E)<=T&&s<=_[W])return c[0]=s,d[0]=a,R>=_[W]&&1447>0&&T<=1447+1?this.WALKTRACE(E,l,h,D,N,f,S,M,_,y,s,n,c,a,o,d,O,r):null}if(T<=1447){let W=new Int32Array(h-l+2);W[0]=E-l+1,b.Copy2(_,l,W,1,h-l+1),this.m_forwardHistory.push(W),W=new Int32Array(S-f+2),W[0]=N-f+1,b.Copy2(y,f,W,1,S-f+1),this.m_reverseHistory.push(W)}}return this.WALKTRACE(E,l,h,D,N,f,S,M,_,y,s,n,c,a,o,d,O,r)}PrettifyChanges(t){for(let n=0;n0,r=i.modifiedLength>0;for(;i.originalStart+i.originalLength =0;n--){const i=t[n];let o=0,c=0;if(n>0){const h=t[n-1];o=h.originalStart+h.originalLength,c=h.modifiedStart+h.modifiedLength}const d=i.originalLength>0,r=i.modifiedLength>0;let s=0,a=this._boundaryScore(i.originalStart,i.originalLength,i.modifiedStart,i.modifiedLength);for(let h=1;;h++){const f=i.originalStart-h,S=i.modifiedStart-h;if(f a&&(a=p,s=h)}i.originalStart-=s,i.modifiedStart-=s;const l=[null];if(n>0&&this.ChangesOverlap(t[n-1],t[n],l)){t[n-1]=l[0],t.splice(n,1),n++;continue}}if(this._hasStrings)for(let n=1,i=t.length;n0&&S>s&&(s=S,a=h,l=f)}return s>0?[a,l]:null}_contiguousSequenceScore(t,n,i){let o=0;for(let c=0;c=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[t])}_OriginalRegionIsBoundary(t,n){if(this._OriginalIsBoundary(t)||this._OriginalIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._OriginalIsBoundary(i-1)||this._OriginalIsBoundary(i))return!0}return!1}_ModifiedIsBoundary(t){return t<=0||t>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[t])}_ModifiedRegionIsBoundary(t,n){if(this._ModifiedIsBoundary(t)||this._ModifiedIsBoundary(t-1))return!0;if(n>0){const i=t+n;if(this._ModifiedIsBoundary(i-1)||this._ModifiedIsBoundary(i))return!0}return!1}_boundaryScore(t,n,i,o){const c=this._OriginalRegionIsBoundary(t,n)?1:0,d=this._ModifiedRegionIsBoundary(i,o)?1:0;return c+d}ConcatenateChanges(t,n){let i=[];if(t.length===0||n.length===0)return n.length>0?n:t;if(this.ChangesOverlap(t[t.length-1],n[0],i)){const o=new Array(t.length+n.length-1);return b.Copy(t,0,o,0,t.length-1),o[t.length-1]=i[0],b.Copy(n,1,o,t.length,n.length-1),o}else{const o=new Array(t.length+n.length);return b.Copy(t,0,o,0,t.length),b.Copy(n,0,o,t.length,n.length),o}}ChangesOverlap(t,n,i){if(w.Assert(t.originalStart<=n.originalStart,"Left change is not less than or equal to right change"),w.Assert(t.modifiedStart<=n.modifiedStart,"Left change is not less than or equal to right change"),t.originalStart+t.originalLength>=n.originalStart||t.modifiedStart+t.modifiedLength>=n.modifiedStart){const o=t.originalStart;let c=t.originalLength;const d=t.modifiedStart;let r=t.modifiedLength;return t.originalStart+t.originalLength>=n.originalStart&&(c=n.originalStart+n.originalLength-t.originalStart),t.modifiedStart+t.modifiedLength>=n.modifiedStart&&(r=n.modifiedStart+n.modifiedLength-t.modifiedStart),i[0]=new L.DiffChange(o,c,d,r),!0}else return i[0]=null,!1}ClipDiagonalBound(t,n,i,o){if(t>=0&&t l.lastDiffIds},{getElements:()=>[...l.children.slice(0,f),...h,...l.children.slice(f+c)].map(E=>i.getId(E.element).toString())}).ComputeDiff(!1);if(S.quitEarly)return l.lastDiffIds=void 0,this.spliceSimple(o,c,h,r);const v=o.slice(0,-1),p=(E,N,D)=>{if(s>0)for(let M=0;M D.originalStart-N.originalStart))p(_,y,_-(E.originalStart+E.originalLength)),_=E.originalStart,y=E.modifiedStart-f,this.spliceSimple([...v,_],E.originalLength,b.Iterable.slice(h,y,y+E.modifiedLength),r);p(_,y,_)}spliceSimple(i,o,c=b.Iterable.empty(),{onDidCreateNode:d,onDidDeleteNode:r,diffIdentityProvider:s}){const{parentNode:a,listIndex:l,revealed:h,visible:f}=this.getParentNodeWithListIndex(i),S=[],v=b.Iterable.map(c,A=>this.createTreeNode(A,a,a.visible?1:0,h,S,d)),p=i[i.length-1],_=a.children.length>0;let y=0;for(let A=p;A>=0&&A s.getId(A.element).toString())):a.lastDiffIds=a.children.map(A=>s.getId(A.element).toString()):a.lastDiffIds=void 0;let B=0;for(const A of M)A.visible&&B++;if(B!==0)for(let A=p+E.length;A P+(F.visible?F.renderNodeCount:0),0);this._updateAncestorsRenderNodeCount(a,D-A),this.list.splice(l,A,S)}if(M.length>0&&r){const A=P=>{r(P),P.children.forEach(A)};M.forEach(A)}this._onDidSplice.fire({insertedNodes:E,deletedNodes:M});const O=a.children.length>0;_!==O&&this.setCollapsible(i.slice(0,-1),O);let T=a;for(;T;){if(T.visibility===2){this.refilterDelayer.trigger(()=>this.refilter());break}T=T.parent}}rerender(i){if(i.length===0)throw new L.TreeError(this.user,"Invalid tree location");const{node:o,listIndex:c,revealed:d}=this.getTreeNodeWithListIndex(i);o.visible&&d&&this.list.splice(c,1,[o])}has(i){return this.hasTreeNode(i)}getListIndex(i){const{listIndex:o,visible:c,revealed:d}=this.getTreeNodeWithListIndex(i);return c&&d?o:-1}getListRenderCount(i){return this.getTreeNode(i).renderNodeCount}isCollapsible(i){return this.getTreeNode(i).collapsible}setCollapsible(i,o){const c=this.getTreeNode(i);typeof o=="undefined"&&(o=!c.collapsible);const d={collapsible:o};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(i,d))}isCollapsed(i){return this.getTreeNode(i).collapsed}setCollapsed(i,o,c){const d=this.getTreeNode(i);typeof o=="undefined"&&(o=!d.collapsed);const r={collapsed:o,recursive:c||!1};return this.eventBufferer.bufferEvents(()=>this._setCollapseState(i,r))}_setCollapseState(i,o){const{node:c,listIndex:d,revealed:r}=this.getTreeNodeWithListIndex(i),s=this._setListNodeCollapseState(c,d,r,o);if(c!==this.root&&this.autoExpandSingleChildren&&s&&!g(o)&&c.collapsible&&!c.collapsed&&!o.recursive){let a=-1;for(let l=0;l -1){a=-1;break}else a=l;a>-1&&this._setCollapseState([...i,a],o)}return s}_setListNodeCollapseState(i,o,c,d){const r=this._setNodeCollapseState(i,d,!1);if(!c||!i.visible||!r)return r;const s=i.renderNodeCount,a=this.updateNodeAfterCollapseChange(i),l=s-(o===-1?0:1);return this.list.splice(o+1,l,a.slice(1)),r}_setNodeCollapseState(i,o,c){let d;if(i===this.root?d=!1:(g(o)?(d=i.collapsible!==o.collapsible,i.collapsible=o.collapsible):i.collapsible?(d=i.collapsed!==o.collapsed,i.collapsed=o.collapsed):d=!1,d&&this._onDidChangeCollapseState.fire({node:i,deep:c})),!g(o)&&o.recursive)for(const r of i.children)d=this._setNodeCollapseState(r,o,!0)||d;return d}expandTo(i){this.eventBufferer.bufferEvents(()=>{let o=this.getTreeNode(i);for(;o.parent;)o=o.parent,i=i.slice(0,i.length-1),o.collapsed&&this._setCollapseState(i,{collapsed:!1,recursive:!1})})}refilter(){const i=this.root.renderNodeCount,o=this.updateNodeAfterFilterChange(this.root);this.list.splice(0,i,o),this.refilterDelayer.cancel()}createTreeNode(i,o,c,d,r,s){const a={parent:o,element:i.element,children:[],depth:o.depth+1,visibleChildrenCount:0,visibleChildIndex:-1,collapsible:typeof i.collapsible=="boolean"?i.collapsible:typeof i.collapsed!="undefined",collapsed:typeof i.collapsed=="undefined"?this.collapseByDefault:i.collapsed,renderNodeCount:1,visibility:1,visible:!0,filterData:void 0},l=this._filterNode(a,c);a.visibility=l,d&&r.push(a);const h=i.children||b.Iterable.empty(),f=d&&l!==0&&!a.collapsed,S=b.Iterable.map(h,_=>this.createTreeNode(_,a,l,f,r,s));let v=0,p=1;for(const _ of S)a.children.push(_),p+=_.renderNodeCount,_.visible&&(_.visibleChildIndex=v++);return a.collapsible=a.collapsible||a.children.length>0,a.visibleChildrenCount=v,a.visible=l===2?v>0:l===1,a.visible?a.collapsed||(a.renderNodeCount=p):(a.renderNodeCount=0,d&&r.pop()),s&&s(a),a}updateNodeAfterCollapseChange(i){const o=i.renderNodeCount,c=[];return this._updateNodeAfterCollapseChange(i,c),this._updateAncestorsRenderNodeCount(i.parent,c.length-o),c}_updateNodeAfterCollapseChange(i,o){if(i.visible===!1)return 0;if(o.push(i),i.renderNodeCount=1,!i.collapsed)for(const c of i.children)i.renderNodeCount+=this._updateNodeAfterCollapseChange(c,o);return this._onDidChangeRenderNodeCount.fire(i),i.renderNodeCount}updateNodeAfterFilterChange(i){const o=i.renderNodeCount,c=[];return this._updateNodeAfterFilterChange(i,i.visible?1:0,c),this._updateAncestorsRenderNodeCount(i.parent,c.length-o),c}_updateNodeAfterFilterChange(i,o,c,d=!0){let r;if(i!==this.root){if(r=this._filterNode(i,o),r===0)return i.visible=!1,i.renderNodeCount=0,!1;d&&c.push(i)}const s=c.length;i.renderNodeCount=i===this.root?0:1;let a=!1;if(!i.collapsed||r!==0){let l=0;for(const h of i.children)a=this._updateNodeAfterFilterChange(h,r,c,d&&!i.collapsed)||a,h.visible&&(h.visibleChildIndex=l++);i.visibleChildrenCount=l}else i.visibleChildrenCount=0;return i!==this.root&&(i.visible=r===2?a:r===1,i.visibility=r),i.visible?i.collapsed||(i.renderNodeCount+=c.length-s):(i.renderNodeCount=0,d&&c.pop()),this._onDidChangeRenderNodeCount.fire(i),i.visible}_updateAncestorsRenderNodeCount(i,o){if(o!==0)for(;i;)i.renderNodeCount+=o,this._onDidChangeRenderNodeCount.fire(i),i=i.parent}_filterNode(i,o){const c=this.filter?this.filter.filter(i.element,o):1;return typeof c=="boolean"?(i.filterData=void 0,c?1:0):C(c)?(i.filterData=c.data,u(c.visibility)):(i.filterData=void 0,u(c))}hasTreeNode(i,o=this.root){if(!i||i.length===0)return!0;const[c,...d]=i;return c<0||c>o.children.length?!1:this.hasTreeNode(d,o.children[c])}getTreeNode(i,o=this.root){if(!i||i.length===0)return o;const[c,...d]=i;if(c<0||c>o.children.length)throw new L.TreeError(this.user,"Invalid tree location");return this.getTreeNode(d,o.children[c])}getTreeNodeWithListIndex(i){if(i.length===0)return{node:this.root,listIndex:-1,revealed:!0,visible:!1};const{parentNode:o,listIndex:c,revealed:d,visible:r}=this.getParentNodeWithListIndex(i),s=i[i.length-1];if(s<0||s>o.children.length)throw new L.TreeError(this.user,"Invalid tree location");const a=o.children[s];return{node:a,listIndex:c,revealed:d,visible:r&&a.visible}}getParentNodeWithListIndex(i,o=this.root,c=0,d=!0,r=!0){const[s,...a]=i;if(s<0||s>o.children.length)throw new L.TreeError(this.user,"Invalid tree location");for(let l=0;l {var c;if(o.element===null)return;const d=o;if(g.add(d.element),this.nodes.set(d.element,d),this.identityProvider){const r=this.identityProvider.getId(d.element).toString();t.add(r),this.nodesByIdentity.set(r,d)}(c=u.onDidCreateNode)===null||c===void 0||c.call(u,d)},i=o=>{var c;if(o.element===null)return;const d=o;if(g.has(d.element)||this.nodes.delete(d.element),this.identityProvider){const r=this.identityProvider.getId(d.element).toString();t.has(r)||this.nodesByIdentity.delete(r)}(c=u.onDidDeleteNode)===null||c===void 0||c.call(u,d)};this.model.splice([...b,0],Number.MAX_VALUE,C,Object.assign(Object.assign({},u),{onDidCreateNode:n,onDidDeleteNode:i}))}preserveCollapseState(b=k.Iterable.empty()){return this.sorter&&(b=[...b].sort(this.sorter.compare.bind(this.sorter))),k.Iterable.map(b,C=>{let u=this.nodes.get(C.element);if(!u&&this.identityProvider){const n=this.identityProvider.getId(C.element).toString();u=this.nodesByIdentity.get(n)}if(!u)return Object.assign(Object.assign({},C),{children:this.preserveCollapseState(C.children)});const g=typeof C.collapsible=="boolean"?C.collapsible:u.collapsible,t=typeof C.collapsed!="undefined"?C.collapsed:u.collapsed;return Object.assign(Object.assign({},C),{collapsible:g,collapsed:t,children:this.preserveCollapseState(C.children)})})}rerender(b){const C=this.getElementLocation(b);this.model.rerender(C)}getFirstElementChild(b=null){const C=this.getElementLocation(b);return this.model.getFirstElementChild(C)}has(b){return this.nodes.has(b)}getListIndex(b){const C=this.getElementLocation(b);return this.model.getListIndex(C)}getListRenderCount(b){const C=this.getElementLocation(b);return this.model.getListRenderCount(C)}isCollapsible(b){const C=this.getElementLocation(b);return this.model.isCollapsible(C)}setCollapsible(b,C){const u=this.getElementLocation(b);return this.model.setCollapsible(u,C)}isCollapsed(b){const C=this.getElementLocation(b);return this.model.isCollapsed(C)}setCollapsed(b,C,u){const g=this.getElementLocation(b);return this.model.setCollapsed(g,C,u)}expandTo(b){const C=this.getElementLocation(b);this.model.expandTo(C)}refilter(){this.model.refilter()}getNode(b=null){if(b===null)return this.model.getNode(this.model.rootRef);const C=this.nodes.get(b);if(!C)throw new m.TreeError(this.user,`Tree element not found: ${b}`);return C}getNodeLocation(b){return b.element}getParentNodeLocation(b){if(b===null)throw new m.TreeError(this.user,"Invalid getParentNodeLocation call");const C=this.nodes.get(b);if(!C)throw new m.TreeError(this.user,`Tree element not found: ${b}`);const u=this.model.getNodeLocation(C),g=this.model.getParentNodeLocation(u);return this.model.getNode(g).element}getElementLocation(b){if(b===null)return[];const C=this.nodes.get(b);if(!C)throw new m.TreeError(this.user,`Tree element not found: ${b}`);return this.model.getNodeLocation(C)}}e.ObjectTreeModel=I}),define(te[321],ie([1,0,170,111,4,57]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CompressibleObjectTreeModel=e.DefaultElementMapper=e.CompressedObjectTreeModel=e.decompress=e.compress=void 0;function w(s){const a=[s.element],l=s.incompressible||!1;return{element:{elements:a,incompressible:l},children:I.Iterable.map(I.Iterable.from(s.children),w),collapsible:s.collapsible,collapsed:s.collapsed}}function b(s){const a=[s.element],l=s.incompressible||!1;let h,f;for(;[f,h]=I.Iterable.consume(I.Iterable.from(s.children),2),!(f.length!==1||f[0].incompressible);)s=f[0],a.push(s.element);return{element:{elements:a,incompressible:l},children:I.Iterable.map(I.Iterable.concat(f,h),b),collapsible:s.collapsible,collapsed:s.collapsed}}e.compress=b;function C(s,a=0){let l;return aC(h,0)),a===0&&s.element.incompressible?{element:s.element.elements[a],children:l,incompressible:!0,collapsible:s.collapsible,collapsed:s.collapsed}:{element:s.element.elements[a],children:l,collapsible:s.collapsible,collapsed:s.collapsed}}function u(s){return C(s,0)}e.decompress=u;function g(s,a,l){return s.element===a?Object.assign(Object.assign({},s),{children:l}):Object.assign(Object.assign({},s),{children:I.Iterable.map(I.Iterable.from(s.children),h=>g(h,a,l))})}const t=s=>({getId(a){return a.elements.map(l=>s.getId(l).toString()).join("\0")}});class n{constructor(a,l,h={}){this.user=a,this.rootRef=null,this.nodes=new Map,this.model=new L.ObjectTreeModel(a,l,h),this.enabled=typeof h.compressionEnabled=="undefined"?!0:h.compressionEnabled,this.identityProvider=h.identityProvider}get onDidSplice(){return this.model.onDidSplice}get onDidChangeCollapseState(){return this.model.onDidChangeCollapseState}get onDidChangeRenderNodeCount(){return this.model.onDidChangeRenderNodeCount}setChildren(a,l=I.Iterable.empty(),h){const f=h.diffIdentityProvider&&t(h.diffIdentityProvider);if(a===null){const M=I.Iterable.map(l,this.enabled?b:w);this._setChildren(null,M,{diffIdentityProvider:f,diffDepth:1/0});return}const S=this.nodes.get(a);if(!S)throw new Error("Unknown compressed tree node");const v=this.model.getNode(S),p=this.model.getParentNodeLocation(S),_=this.model.getNode(p),y=u(v),E=g(y,a,l),N=(this.enabled?b:w)(E),D=_.children.map(M=>M===v?N:M);this._setChildren(_.element,D,{diffIdentityProvider:f,diffDepth:v.depth-_.depth})}setCompressionEnabled(a){if(a===this.enabled)return;this.enabled=a;const h=this.model.getNode().children,f=I.Iterable.map(h,u),S=I.Iterable.map(f,a?b:w);this._setChildren(null,S,{diffIdentityProvider:this.identityProvider,diffDepth:1/0})}_setChildren(a,l,h){const f=new Set,S=p=>{for(const _ of p.element.elements)f.add(_),this.nodes.set(_,p.element)},v=p=>{for(const _ of p.element.elements)f.has(_)||this.nodes.delete(_)};this.model.setChildren(a,l,Object.assign(Object.assign({},h),{onDidCreateNode:S,onDidDeleteNode:v}))}has(a){return this.nodes.has(a)}getListIndex(a){const l=this.getCompressedNode(a);return this.model.getListIndex(l)}getListRenderCount(a){const l=this.getCompressedNode(a);return this.model.getListRenderCount(l)}getNode(a){if(typeof a=="undefined")return this.model.getNode();const l=this.getCompressedNode(a);return this.model.getNode(l)}getNodeLocation(a){const l=this.model.getNodeLocation(a);return l===null?null:l.elements[l.elements.length-1]}getParentNodeLocation(a){const l=this.getCompressedNode(a),h=this.model.getParentNodeLocation(l);return h===null?null:h.elements[h.elements.length-1]}getFirstElementChild(a){const l=this.getCompressedNode(a);return this.model.getFirstElementChild(l)}isCollapsible(a){const l=this.getCompressedNode(a);return this.model.isCollapsible(l)}setCollapsible(a,l){const h=this.getCompressedNode(a);return this.model.setCollapsible(h,l)}isCollapsed(a){const l=this.getCompressedNode(a);return this.model.isCollapsed(l)}setCollapsed(a,l,h){const f=this.getCompressedNode(a);return this.model.setCollapsed(f,l,h)}expandTo(a){const l=this.getCompressedNode(a);this.model.expandTo(l)}rerender(a){const l=this.getCompressedNode(a);this.model.rerender(l)}refilter(){this.model.refilter()}getCompressedNode(a){if(a===null)return null;const l=this.nodes.get(a);if(!l)throw new m.TreeError(this.user,`Tree element not found: ${a}`);return l}}e.CompressedObjectTreeModel=n;const i=s=>s[s.length-1];e.DefaultElementMapper=i;class o{constructor(a,l){this.unwrapper=a,this.node=l}get element(){return this.node.element===null?null:this.unwrapper(this.node.element)}get children(){return this.node.children.map(a=>new o(this.unwrapper,a))}get depth(){return this.node.depth}get visibleChildrenCount(){return this.node.visibleChildrenCount}get visibleChildIndex(){return this.node.visibleChildIndex}get collapsible(){return this.node.collapsible}get collapsed(){return this.node.collapsed}get visible(){return this.node.visible}get filterData(){return this.node.filterData}}function c(s,a){return{splice(l,h,f){a.splice(l,h,f.map(S=>s.map(S)))},updateElementHeight(l,h){a.updateElementHeight(l,h)}}}function d(s,a){return Object.assign(Object.assign({},a),{identityProvider:a.identityProvider&&{getId(l){return a.identityProvider.getId(s(l))}},sorter:a.sorter&&{compare(l,h){return a.sorter.compare(l.elements[0],h.elements[0])}},filter:a.filter&&{filter(l,h){return a.filter.filter(s(l),h)}}})}class r{constructor(a,l,h={}){this.rootRef=null,this.elementMapper=h.elementMapper||e.DefaultElementMapper;const f=S=>this.elementMapper(S.elements);this.nodeMapper=new m.WeakMapper(S=>new o(f,S)),this.model=new n(a,c(this.nodeMapper,l),d(f,h))}get onDidSplice(){return k.Event.map(this.model.onDidSplice,({insertedNodes:a,deletedNodes:l})=>({insertedNodes:a.map(h=>this.nodeMapper.map(h)),deletedNodes:l.map(h=>this.nodeMapper.map(h))}))}get onDidChangeCollapseState(){return k.Event.map(this.model.onDidChangeCollapseState,({node:a,deep:l})=>({node:this.nodeMapper.map(a),deep:l}))}get onDidChangeRenderNodeCount(){return k.Event.map(this.model.onDidChangeRenderNodeCount,a=>this.nodeMapper.map(a))}setChildren(a,l=I.Iterable.empty(),h={}){this.model.setChildren(a,l,h)}setCompressionEnabled(a){this.model.setCompressionEnabled(a)}has(a){return this.model.has(a)}getListIndex(a){return this.model.getListIndex(a)}getListRenderCount(a){return this.model.getListRenderCount(a)}getNode(a){return this.nodeMapper.map(this.model.getNode(a))}getNodeLocation(a){return a.element}getParentNodeLocation(a){return this.model.getParentNodeLocation(a)}getFirstElementChild(a){const l=this.model.getFirstElementChild(a);return l===null||typeof l=="undefined"?l:this.elementMapper(l.elements)}isCollapsible(a){return this.model.isCollapsible(a)}setCollapsible(a,l){return this.model.setCollapsible(a,l)}isCollapsed(a){return this.model.isCollapsed(a)}setCollapsed(a,l,h){return this.model.setCollapsed(a,l,h)}expandTo(a){return this.model.expandTo(a)}rerender(a){return this.model.rerender(a)}refilter(){return this.model.refilter()}getCompressedTreeNode(a=null){return this.model.getNode(a)}}e.CompressibleObjectTreeModel=r}),define(te[49],ie([1,0,8]),function(q,e,L){"use strict";var m,k;Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=e.LinkedMap=e.ResourceMap=e.TernarySearchTree=e.UriIterator=e.PathIterator=e.ConfigKeysIterator=e.StringIterator=void 0;class I{constructor(){this._value="",this._pos=0}reset(d){return this._value=d,this._pos=0,this}next(){return this._pos+=1,this}hasNext(){return this._pos =0;r--,this._valueLen--){const s=this._value.charCodeAt(r);if(!(s===47||this._splitOnBackslash&&s===92))break}return this.next()}hasNext(){return this._to !1){return new g(new C(d))}static forStrings(){return new g(new I)}static forConfigKeys(){return new g(new w)}clear(){this._root=void 0}set(d,r){const s=this._iter.reset(d);let a;this._root||(this._root=new u,this._root.segment=s.value());const l=[];for(a=this._root;;){const f=s.cmp(a.segment);if(f>0)a.left||(a.left=new u,a.left.segment=s.value()),l.push([-1,a]),a=a.left;else if(f<0)a.right||(a.right=new u,a.right.segment=s.value()),l.push([1,a]),a=a.right;else if(s.hasNext())s.next(),a.mid||(a.mid=new u,a.mid.segment=s.value()),l.push([0,a]),a=a.mid;else break}const h=a.value;a.value=r,a.key=d;for(let f=l.length-1;f>=0;f--){const S=l[f][1];S.updateHeight();const v=S.balanceFactor();if(v<-1||v>1){const p=l[f][0],_=l[f+1][0];if(p===1&&_===1)l[f][1]=S.rotateLeft();else if(p===-1&&_===-1)l[f][1]=S.rotateRight();else if(p===1&&_===-1)S.right=l[f+1][1]=l[f+1][1].rotateRight(),l[f][1]=S.rotateLeft();else if(p===-1&&_===1)S.left=l[f+1][1]=l[f+1][1].rotateLeft(),l[f][1]=S.rotateRight();else throw new Error;if(f>0)switch(l[f-1][0]){case-1:l[f-1][1].left=l[f][1];break;case 1:l[f-1][1].right=l[f][1];break;case 0:l[f-1][1].mid=l[f][1];break}else this._root=l[0][1]}}return h}get(d){var r;return(r=this._getNode(d))===null||r===void 0?void 0:r.value}_getNode(d){const r=this._iter.reset(d);let s=this._root;for(;s;){const a=r.cmp(s.segment);if(a>0)s=s.left;else if(a<0)s=s.right;else if(r.hasNext())r.next(),s=s.mid;else break}return s}has(d){const r=this._getNode(d);return!((r==null?void 0:r.value)===void 0&&(r==null?void 0:r.mid)===void 0)}delete(d){return this._delete(d,!1)}deleteSuperstr(d){return this._delete(d,!0)}_delete(d,r){var s;const a=this._iter.reset(d),l=[];let h=this._root;for(;h;){const f=a.cmp(h.segment);if(f>0)l.push([-1,h]),h=h.left;else if(f<0)l.push([1,h]),h=h.right;else if(a.hasNext())a.next(),l.push([0,h]),h=h.mid;else break}if(!!h){if(r?(h.left=void 0,h.mid=void 0,h.right=void 0,h.height=1):(h.key=void 0,h.value=void 0),!h.mid&&!h.value)if(h.left&&h.right){const f=this._min(h.right),{key:S,value:v,segment:p}=f;this._delete(f.key,!1),h.key=S,h.value=v,h.segment=p}else{const f=(s=h.left)!==null&&s!==void 0?s:h.right;if(l.length>0){const[S,v]=l[l.length-1];switch(S){case-1:v.left=f;break;case 0:v.mid=f;break;case 1:v.right=f;break}}else this._root=f}for(let f=l.length-1;f>=0;f--){const S=l[f][1];S.updateHeight();const v=S.balanceFactor();if(v>1?(S.right.balanceFactor()>=0||(S.right=S.right.rotateRight()),l[f][1]=S.rotateLeft()):v<-1&&(S.left.balanceFactor()<=0||(S.left=S.left.rotateLeft()),l[f][1]=S.rotateRight()),f>0)switch(l[f-1][0]){case-1:l[f-1][1].left=l[f][1];break;case 1:l[f-1][1].right=l[f][1];break;case 0:l[f-1][1].mid=l[f][1];break}else this._root=l[0][1]}}}_min(d){for(;d.left;)d=d.left;return d}findSubstr(d){const r=this._iter.reset(d);let s=this._root,a;for(;s;){const l=r.cmp(s.segment);if(l>0)s=s.left;else if(l<0)s=s.right;else if(r.hasNext())r.next(),a=s.value||a,s=s.mid;else break}return s&&s.value||a}findSuperstr(d){const r=this._iter.reset(d);let s=this._root;for(;s;){const a=r.cmp(s.segment);if(a>0)s=s.left;else if(a<0)s=s.right;else if(r.hasNext())r.next(),s=s.mid;else return s.mid?this._entries(s.mid):void 0}}forEach(d){for(const[r,s]of this)d(s,r)}*[Symbol.iterator](){yield*this._entries(this._root)}*_entries(d){!d||(d.left&&(yield*this._entries(d.left)),d.value&&(yield[d.key,d.value]),d.mid&&(yield*this._entries(d.mid)),d.right&&(yield*this._entries(d.right)))}}e.TernarySearchTree=g;class t{constructor(d,r){this.uri=d,this.value=r}}class n{constructor(d,r){this[m]="ResourceMap",d instanceof n?(this.map=new Map(d.map),this.toKey=r??n.defaultToKey):(this.map=new Map,this.toKey=d??n.defaultToKey)}set(d,r){return this.map.set(this.toKey(d),new t(d,r)),this}get(d){var r;return(r=this.map.get(this.toKey(d)))===null||r===void 0?void 0:r.value}has(d){return this.map.has(this.toKey(d))}get size(){return this.map.size}clear(){this.map.clear()}delete(d){return this.map.delete(this.toKey(d))}forEach(d,r){typeof r!="undefined"&&(d=d.bind(r));for(let[s,a]of this.map)d(a.value,a.uri,this)}*values(){for(let d of this.map.values())yield d.value}*keys(){for(let d of this.map.values())yield d.uri}*entries(){for(let d of this.map.values())yield[d.uri,d.value]}*[(m=Symbol.toStringTag,Symbol.iterator)](){for(let[,d]of this.map)yield[d.uri,d.value]}}e.ResourceMap=n,n.defaultToKey=c=>c.toString();class i{constructor(){this[k]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var d;return(d=this._head)===null||d===void 0?void 0:d.value}get last(){var d;return(d=this._tail)===null||d===void 0?void 0:d.value}has(d){return this._map.has(d)}get(d,r=0){const s=this._map.get(d);if(!!s)return r!==0&&this.touch(s,r),s.value}set(d,r,s=0){let a=this._map.get(d);if(a)a.value=r,s!==0&&this.touch(a,s);else{switch(a={key:d,value:r,next:void 0,previous:void 0},s){case 0:this.addItemLast(a);break;case 1:this.addItemFirst(a);break;case 2:this.addItemLast(a);break;default:this.addItemLast(a);break}this._map.set(d,a),this._size++}return this}delete(d){return!!this.remove(d)}remove(d){const r=this._map.get(d);if(!!r)return this._map.delete(d),this.removeItem(r),this._size--,r.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");const d=this._head;return this._map.delete(d.key),this.removeItem(d),this._size--,d.value}forEach(d,r){const s=this._state;let a=this._head;for(;a;){if(r?d.bind(r)(a.value,a.key,this):d(a.value,a.key,this),this._state!==s)throw new Error("LinkedMap got modified during iteration.");a=a.next}}keys(){const d=this,r=this._state;let s=this._head;const a={[Symbol.iterator](){return a},next(){if(d._state!==r)throw new Error("LinkedMap got modified during iteration.");if(s){const l={value:s.key,done:!1};return s=s.next,l}else return{value:void 0,done:!0}}};return a}values(){const d=this,r=this._state;let s=this._head;const a={[Symbol.iterator](){return a},next(){if(d._state!==r)throw new Error("LinkedMap got modified during iteration.");if(s){const l={value:s.value,done:!1};return s=s.next,l}else return{value:void 0,done:!0}}};return a}entries(){const d=this,r=this._state;let s=this._head;const a={[Symbol.iterator](){return a},next(){if(d._state!==r)throw new Error("LinkedMap got modified during iteration.");if(s){const l={value:[s.key,s.value],done:!1};return s=s.next,l}else return{value:void 0,done:!0}}};return a}[(k=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(d){if(d>=this.size)return;if(d===0){this.clear();return}let r=this._head,s=this.size;for(;r&&s>d;)this._map.delete(r.key),r=r.next,s--;this._head=r,this._size=s,r&&(r.previous=void 0),this._state++}addItemFirst(d){if(!this._head&&!this._tail)this._tail=d;else if(this._head)d.next=this._head,this._head.previous=d;else throw new Error("Invalid list");this._head=d,this._state++}addItemLast(d){if(!this._head&&!this._tail)this._head=d;else if(this._tail)d.previous=this._tail,this._tail.next=d;else throw new Error("Invalid list");this._tail=d,this._state++}removeItem(d){if(d===this._head&&d===this._tail)this._head=void 0,this._tail=void 0;else if(d===this._head){if(!d.next)throw new Error("Invalid list");d.next.previous=void 0,this._head=d.next}else if(d===this._tail){if(!d.previous)throw new Error("Invalid list");d.previous.next=void 0,this._tail=d.previous}else{const r=d.next,s=d.previous;if(!r||!s)throw new Error("Invalid list");r.previous=s,s.next=r}d.next=void 0,d.previous=void 0,this._state++}touch(d,r){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(r!==1&&r!==2)){if(r===1){if(d===this._head)return;const s=d.next,a=d.previous;d===this._tail?(a.next=void 0,this._tail=a):(s.previous=a,a.next=s),d.previous=void 0,d.next=this._head,this._head.previous=d,this._head=d,this._state++}else if(r===2){if(d===this._tail)return;const s=d.next,a=d.previous;d===this._head?(s.previous=void 0,this._head=s):(s.previous=a,a.next=s),d.next=void 0,d.previous=this._tail,this._tail.next=d,this._tail=d,this._state++}}}toJSON(){const d=[];return this.forEach((r,s)=>{d.push([s,r])}),d}fromJSON(d){this.clear();for(const[r,s]of d)this.set(r,s)}}e.LinkedMap=i;class o extends i{constructor(d,r=1){super();this._limit=d,this._ratio=Math.min(Math.max(0,r),1)}get limit(){return this._limit}set limit(d){this._limit=d,this.checkTrim()}get(d,r=2){return super.get(d,r)}peek(d){return super.get(d,0)}set(d,r){return super.set(d,r,2),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}}e.LRUCache=o}),define(te[75],ie([1,0,49,8]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.fuzzyScoreGracefulAggressive=e.fuzzyScore=e.FuzzyScore=e.isPatternInWord=e.createMatches=e.anyScore=e.matchesFuzzy=e.matchesWords=e.matchesCamelCase=e.isUpper=e.matchesSubString=e.matchesContiguousSubString=e.matchesPrefix=e.matchesStrictPrefix=e.or=void 0;function k(...x){return function(H,U){for(let Q=0,Y=x.length;Q 0?[{start:0,end:H.length}]:[]:null}function w(x,H){const U=H.toLowerCase().indexOf(x.toLowerCase());return U===-1?null:[{start:U,end:U+x.length}]}e.matchesContiguousSubString=w;function b(x,H){return C(x.toLowerCase(),H.toLowerCase(),0,0)}e.matchesSubString=b;function C(x,H,U,Q){if(U===x.length)return[];if(Q===H.length)return null;if(x[U]===H[Q]){let Y=null;return(Y=C(x,H,U+1,Q+1))?r({start:Q,end:Q+1},Y):null}return C(x,H,U,Q+1)}function u(x){return 97<=x&&x<=122}function g(x){return 65<=x&&x<=90}e.isUpper=g;function t(x){return 48<=x&&x<=57}function n(x){return x===32||x===9||x===10||x===13}const i=new Set;"()[]{}<>`'\"-/;:,.?!".split("").forEach(x=>i.add(x.charCodeAt(0)));function o(x){return n(x)||i.has(x)}function c(x,H){return x===H||o(x)&&o(H)}function d(x){return u(x)||g(x)||t(x)}function r(x,H){return H.length===0?H=[x]:x.end===H[0].start?H[0].start=x.start:H.unshift(x),H}function s(x,H){for(let U=H;U 0&&!d(x.charCodeAt(U-1)))return U}return x.length}function a(x,H,U,Q){if(U===x.length)return[];if(Q===H.length)return null;if(x[U]!==H[Q].toLowerCase())return null;{let Y=null,ne=Q+1;for(Y=a(x,H,U+1,Q+1);!Y&&(ne=s(H,ne)) .6}function f(x){const{upperPercent:H,lowerPercent:U,alphaPercent:Q,numericPercent:Y}=x;return U>.2&&H<.8&&Q>.6&&Y<.2}function S(x){let H=0,U=0,Q=0,Y=0;for(let ne=0;ne 60)return null;const U=l(H);if(!f(U)){if(!h(U))return null;H=H.toLowerCase()}let Q=null,Y=0;for(x=x.toLowerCase();Y 0&&o(x.charCodeAt(U-1)))return U;return x.length}const E=k(e.matchesPrefix,v,w),N=k(e.matchesPrefix,v,b),D=new L.LRUCache(1e4);function M(x,H,U=!1){if(typeof x!="string"||typeof H!="string")return null;let Q=D.get(x);Q||(Q=new RegExp(m.convertSimple2RegExpPattern(x),"i"),D.set(x,Q));const Y=Q.exec(H);return Y?[{start:Y.index,end:Y.index+Y[0].length}]:U?N(x,H):E(x,H)}e.matchesFuzzy=M;function B(x,H,U,Q,Y,ne){const ge=Math.min(13,x.length);for(;U 1;Q--){const Y=x[Q]+U,ne=H[H.length-1];ne&&ne.end===Y?ne.end=Y+1:H.push({start:Y,end:Y+1})}return H}e.createMatches=O;const T=128;function A(){const x=[],H=[];for(let U=0;U<=T;U++)H[U]=0;for(let U=0;U<=T;U++)x.push(H.slice(0));return x}function P(x){const H=[];for(let U=0;U<=x;U++)H[U]=0;return H}const F=P(2*T),W=P(2*T),R=A(),z=A(),j=A(),$=!1;function G(x,H,U,Q,Y){function ne(fe,ce,he=" "){for(;fe.length ne(fe,3)).join("|")} +`;for(let fe=0;fe<=U;fe++)fe===0?ge+=" |":ge+=`${H[fe-1]}|`,ge+=x[fe].slice(0,Y+1).map(ce=>ne(ce.toString(),3)).join("|")+` +`;return ge}function J(x,H,U,Q){x=x.substr(H),U=U.substr(Q),console.log(G(z,x,x.length,U,U.length)),console.log(G(j,x,x.length,U,U.length)),console.log(G(R,x,x.length,U,U.length))}function re(x,H){if(H<0||H>=x.length)return!1;const U=x.codePointAt(H);switch(U){case 95:case 45:case 46:case 32:case 47:case 92:case 39:case 34:case 58:case 36:case 60:case 40:case 91:return!0;case void 0:return!1;default:return!!m.isEmojiImprecise(U)}}function se(x,H){if(H<0||H>=x.length)return!1;switch(x.charCodeAt(H)){case 32:case 9:return!0;default:return!1}}function Z(x,H,U){return H[x]!==U[x]}function V(x,H,U,Q,Y,ne,ge=!1){for(;HT?T:x.length,ce=Q.length>T?T:Q.length;if(U>=fe||ne>=ce||fe-U>ce-ne||!V(H,U,fe,Y,ne,ce,!0))return;oe(fe,ce,U,ne,H,Y);let he=1,ve=1,Ce=U,be=ne;const de=[!1];for(he=1,Ce=U;Ce Te,De=Se?z[he][ve-1]+(R[he][ve-1]>0?-5:0):0,Pe=be>Te+1&&R[he][ve-1]>0,Fe=Pe?z[he][ve-2]+(R[he][ve-2]>0?-5:0):0;if(Pe&&(!Se||Fe>=De)&&(!He||Fe>=Le))z[he][ve]=Fe,j[he][ve]=3,R[he][ve]=0;else if(Se&&(!He||De>=Le))z[he][ve]=De,j[he][ve]=2,R[he][ve]=0;else if(He)z[he][ve]=Le,j[he][ve]=1,R[he][ve]=R[he-1][ve-1]+1;else throw new Error("not possible")}}if($&&J(x,U,Q,ne),!de[0]&&!ge)return;he--,ve--;const me=[z[he][ve],ne];let _e=0,ye=0;for(;he>=1;){let Te=ve;do{const Me=j[he][Te];if(Me===3)Te=Te-2;else if(Me===2)Te=Te-1;else break}while(Te>=1);_e>1&&H[U+he-1]===Y[ne+ve-1]&&!Z(Te+ne-1,Q,Y)&&_e+1>R[he][Te]&&(Te=ve),Te===ve?_e++:_e=1,ye||(ye=Te),he--,ve=Te-1,me.push(ve)}ce===fe&&(me[0]+=2);const ke=ye-fe;return me[0]-=ke,me}e.fuzzyScore=X;function oe(x,H,U,Q,Y,ne){let ge=x-1,fe=H-1;for(;ge>=U&&fe>=Q;)Y[ge]===ne[fe]&&(W[ge]=fe,ge--),fe--}function ae(x,H,U,Q,Y,ne,ge,fe,ce,he,ve){if(H[U]!==ne[ge])return Number.MIN_SAFE_INTEGER;let Ce=1,be=!1;return ge===U-Q?Ce=x[U]===Y[ge]?7:5:Z(ge,Y,ne)&&(ge===0||!Z(ge-1,Y,ne))?(Ce=x[U]===Y[ge]?7:5,be=!0):re(ne,ge)&&(ge===0||!re(ne,ge-1))?Ce=5:(re(ne,ge-1)||se(ne,ge-1))&&(Ce=5,be=!0),Ce>1&&U===Q&&(ve[0]=!0),be||(be=Z(ge,Y,ne)||re(ne,ge-1)||se(ne,ge-1)),U===Q?ge>ce&&(Ce-=be?3:5):he?Ce+=be?2:0:Ce+=be?0:1,ge+1===fe&&(Ce-=be?3:5),Ce}function ee(x,H,U,Q,Y,ne,ge){return ue(x,H,U,Q,Y,ne,!0,ge)}e.fuzzyScoreGracefulAggressive=ee;function ue(x,H,U,Q,Y,ne,ge,fe){let ce=X(x,H,U,Q,Y,ne,fe);if(ce&&!ge)return ce;if(x.length>=3){const he=Math.min(7,x.length-1);for(let ve=U+1;ve ce[0])&&(ce=be))}}}return ce}function le(x,H){if(H+1>=x.length)return;const U=x[H],Q=x[H+1];if(U!==Q)return x.slice(0,H)+Q+U+x.slice(H+2)}}),define(te[322],ie([1,0,75,84,16,8]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pieceToQuery=e.prepareQuery=e.scoreFuzzy2=void 0;const w=[void 0,[]];function b(s,a,l=0,h=0){const f=a;return f.values&&f.values.length>1?C(s,f.values,l,h):u(s,a,l,h)}e.scoreFuzzy2=b;function C(s,a,l,h){let f=0;const S=[];for(const v of a){const[p,_]=u(s,v,l,h);if(typeof p!="number")return w;f+=p,S.push(..._)}return[f,t(S)]}function u(s,a,l,h){const f=(0,L.fuzzyScore)(a.original,a.originalLowercase,l,s,s.toLowerCase(),h,!0);return f?[f[0],(0,L.createMatches)(f)]:w}const g=Object.freeze({score:0});function t(s){const a=s.sort((f,S)=>f.start-S.start),l=[];let h;for(const f of a)!h||!n(h,f)?(h=f,l.push(f)):(h.start=Math.min(h.start,f.start),h.end=Math.max(h.end,f.end));return l}function n(s,a){return!(s.end =0,v=i(s);let p;const _=s.split(o);if(_.length>1)for(const y of _){const E=i(y),{pathNormalized:N,normalized:D,normalizedLowercase:M}=d(y);D&&(p||(p=[]),p.push({original:y,originalLowercase:y.toLowerCase(),pathNormalized:N,normalized:D,normalizedLowercase:M,expectContiguousMatch:E}))}return{original:s,originalLowercase:a,pathNormalized:l,normalized:h,normalizedLowercase:f,values:p,containsPathSeparator:S,expectContiguousMatch:v}}e.prepareQuery=c;function d(s){let a;k.isWindows?a=s.replace(/\//g,m.sep):a=s.replace(/\\/g,m.sep);const l=(0,I.stripWildcards)(a).replace(/\s|"/g,"");return{pathNormalized:a,normalized:l,normalizedLowercase:l.toLowerCase()}}function r(s){return Array.isArray(s)?c(s.map(a=>a.original).join(o)):c(s.original)}e.pieceToQuery=r}),define(te[218],ie([1,0,10,168,49,84,16,8]),function(q,e,L,m,k,I,w,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isRelativePattern=e.parse=e.match=e.splitGlobAware=e.GLOB_SPLIT=e.GLOBSTAR=void 0,e.GLOBSTAR="**",e.GLOB_SPLIT="/";const C="[/\\\\]",u="[^/\\\\]",g=/\//g;function t(P){switch(P){case 0:return"";case 1:return`${u}*?`;default:return`(?:${C}|${u}+${C}|${C}${u}+)*?`}}function n(P,F){if(!P)return[];const W=[];let R=!1,z=!1,j="";for(const $ of P){switch($){case F:if(!R&&!z){W.push(j),j="";continue}break;case"{":R=!0;break;case"}":R=!1;break;case"[":z=!0;break;case"]":z=!1;break}j+=$}return j&&W.push(j),W}e.splitGlobAware=n;function i(P){if(!P)return"";let F="";const W=n(P,e.GLOB_SPLIT);if(W.every(R=>R===e.GLOBSTAR))F=".*";else{let R=!1;W.forEach((z,j)=>{if(z===e.GLOBSTAR){R||(F+=t(2),R=!0);return}let $=!1,G="",J=!1,re="";for(const se of z){if(se!=="}"&&$){G+=se;continue}if(J&&(se!=="]"||!re)){let Z;se==="-"?Z=se:(se==="^"||se==="!")&&!re?Z="^":se===e.GLOB_SPLIT?Z="":Z=(0,b.escapeRegExpCharacters)(se),re+=Z;continue}switch(se){case"{":$=!0;continue;case"[":J=!0;continue;case"}":{F+=`(?:${n(G,",").map(K=>i(K)).join("|")})`,$=!1,G="";break}case"]":F+="["+re+"]",J=!1,re="";break;case"?":F+=u;continue;case"*":F+=t(1);continue;default:F+=(0,b.escapeRegExpCharacters)(se)}}j S(G,F)).filter(G=>G!==f),P),R=W.length;if(!R)return f;if(R===1)return W[0];const z=function(G,J){for(let re=0,se=W.length;re !!G.allBasenames);j&&(z.allBasenames=j.allBasenames);const $=W.reduce((G,J)=>J.allPaths?G.concat(J.allPaths):G,[]);return $.length&&(z.allPaths=$),z}function E(P,F,W){const R=I.sep===I.posix.sep,z=R?P:P.replace(g,I.sep),j=I.sep+z,$=I.posix.sep+P,G=W?function(J,re){return typeof J=="string"&&(J===z||J.endsWith(j)||!R&&(J===P||J.endsWith($)))?F:null}:function(J,re){return typeof J=="string"&&(J===z||!R&&J===P)?F:null};return G.allPaths=[(W?"*/":"./")+P],G}function N(P){try{const F=new RegExp(`^${i(P)}$`);return function(W){return F.lastIndex=0,typeof W=="string"&&F.test(W)?P:null}}catch{return f}}function D(P,F,W){return!P||typeof F!="string"?!1:M(P)(F,void 0,W)}e.match=D;function M(P,F={}){if(!P)return h;if(typeof P=="string"||B(P)){const W=S(P,F);if(W===f)return h;const R=function(z,j){return!!W(z,j)};return W.allBasenames&&(R.allBasenames=W.allBasenames),W.allPaths&&(R.allPaths=W.allPaths),R}return O(P,F)}e.parse=M;function B(P){const F=P;return F?typeof F.base=="string"&&typeof F.pattern=="string":!1}e.isRelativePattern=B;function O(P,F){const W=A(Object.getOwnPropertyNames(P).map(G=>T(G,P[G],F)).filter(G=>G!==f)),R=W.length;if(!R)return f;if(!W.some(G=>!!G.requiresSiblings)){if(R===1)return W[0];const G=function(se,Z){for(let V=0,K=W.length;V !!se.allBasenames);J&&(G.allBasenames=J.allBasenames);const re=W.reduce((se,Z)=>Z.allPaths?se.concat(Z.allPaths):se,[]);return re.length&&(G.allPaths=re),G}const z=function(G,J,re){let se;for(let Z=0,V=W.length;Z !!G.allBasenames);j&&(z.allBasenames=j.allBasenames);const $=W.reduce((G,J)=>J.allPaths?G.concat(J.allPaths):G,[]);return $.length&&(z.allPaths=$),z}function T(P,F,W){if(F===!1)return f;const R=S(P,W);if(R===f)return f;if(typeof F=="boolean")return R;if(F){const z=F.when;if(typeof z=="string"){const j=($,G,J,re)=>{if(!re||!R($,G))return null;const se=z.replace("$(basename)",J),Z=re(se);return(0,L.isThenable)(Z)?Z.then(V=>V?P:null):Z?P:null};return j.requiresSiblings=!0,j}}return R}function A(P,F){const W=P.filter(G=>!!G.basenames);if(W.length<2)return P;const R=W.reduce((G,J)=>{const re=J.basenames;return re?G.concat(re):G},[]);let z;if(F){z=[];for(let G=0,J=R.length;G {const re=J.patterns;return re?G.concat(re):G},[]);const j=function(G,J){if(typeof G!="string")return null;if(!J){let se;for(se=G.length;se>0;se--){const Z=G.charCodeAt(se-1);if(Z===47||Z===92)break}J=G.substr(se)}const re=R.indexOf(J);return re!==-1?z[re]:null};j.basenames=R,j.patterns=z,j.allBasenames=R;const $=P.filter(G=>!G.basenames);return $.push(j),$}}),define(te[97],ie([1,0,28,75,8]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchesFuzzyIconAware=e.parseLabelWithIcons=e.stripIcons=e.markdownEscapeEscapedIcons=e.escapeIcons=e.iconStartMarker=void 0,e.iconStartMarker="$(";const I=new RegExp(`\\$\\(${L.CSSIcon.iconNameExpression}(?:${L.CSSIcon.iconModifierExpression})?\\)`,"g"),w=new RegExp(L.CSSIcon.iconNameCharacter),b=new RegExp(`(\\\\)?${I.source}`,"g");function C(d){return d.replace(b,(r,s)=>s?r:`\\${r}`)}e.escapeIcons=C;const u=new RegExp(`\\\\${I.source}`,"g");function g(d){return d.replace(u,r=>`\\${r}`)}e.markdownEscapeEscapedIcons=g;const t=new RegExp(`(\\s)?(\\\\)?${I.source}(\\s)?`,"g");function n(d){return d.indexOf(e.iconStartMarker)===-1?d:d.replace(t,(r,s,a,l)=>a?r:s||l||"")}e.stripIcons=n;function i(d){const r=d.indexOf(e.iconStartMarker);return r===-1?{text:d}:o(d,r)}e.parseLabelWithIcons=i;function o(d,r){const s=[];let a="";function l(E){if(E){a+=E;for(const N of E)s.push(S)}}let h=-1,f="",S=0,v,p,_=r;const y=d.length;for(l(d.substr(0,r));_ " ".repeat(o.length)).replace(/\>/gm,"\\>").replace(/\n/g,n===1?`\\ +`:` + +`),this}appendMarkdown(t){return this.value+=t,this}appendCodeblock(t,n){return this.value+="\n```",this.value+=t,this.value+=` +`,this.value+=n,this.value+="\n```\n",this}}e.MarkdownString=k;function I(g){return w(g)?!g.value:Array.isArray(g)?g.every(I):!0}e.isEmptyMarkdownString=I;function w(g){return g instanceof k?!0:g&&typeof g=="object"?typeof g.value=="string"&&(typeof g.isTrusted=="boolean"||g.isTrusted===void 0)&&(typeof g.supportThemeIcons=="boolean"||g.supportThemeIcons===void 0):!1}e.isMarkdownString=w;function b(g){return g.replace(/[\\`*_{}[\]()#+\-!]/g,"\\$&")}e.escapeMarkdownSyntaxTokens=b;function C(g){return g&&g.replace(/\\([\\`*_{}[\]()#+\-.!])/g,"$1")}e.removeMarkdownEscapes=C;function u(g){const t=[],n=g.split("|").map(o=>o.trim());g=n[0];const i=n[1];if(i){const o=/height=(\d+)/.exec(i),c=/width=(\d+)/.exec(i),d=o?o[1]:"",r=c?c[1]:"",s=isFinite(parseInt(r)),a=isFinite(parseInt(d));s&&t.push(`width="${r}"`),a&&t.push(`height="${d}"`)}return{href:g,dimensions:t}}e.parseHrefAndDimensions=u}),define(te[323],ie([1,0,8]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildReplaceStringWithCasePreserved=void 0;function m(w,b){if(w&&w[0]!==""){const C=k(w,b,"-"),u=k(w,b,"_");return C&&!u?I(w,b,"-"):!C&&u?I(w,b,"_"):w[0].toUpperCase()===w[0]?b.toUpperCase():w[0].toLowerCase()===w[0]?b.toLowerCase():L.containsUppercaseCharacter(w[0][0])&&b.length>0?b[0].toUpperCase()+b.substr(1):w[0][0].toUpperCase()!==w[0][0]&&b.length>0?b[0].toLowerCase()+b.substr(1):b}else return b}e.buildReplaceStringWithCasePreserved=m;function k(w,b,C){return w[0].indexOf(C)!==-1&&b.indexOf(C)!==-1&&w[0].split(C).length===b.split(C).length}function I(w,b,C){const u=b.split(C),g=w[0].split(C);let t="";return u.forEach((n,i)=>{t+=m([g[i]],n)+C}),t.slice(0,-1)}}),define(te[76],ie([1,0,8]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var m;(function(k){k[k.Ignore=0]="Ignore",k[k.Info=1]="Info",k[k.Warning=2]="Warning",k[k.Error=3]="Error"})(m||(m={})),function(k){const I="error",w="warning",b="warn",C="info",u="ignore";function g(n){return n?L.equalsIgnoreCase(I,n)?k.Error:L.equalsIgnoreCase(w,n)||L.equalsIgnoreCase(b,n)?k.Warning:L.equalsIgnoreCase(C,n)?k.Info:k.Ignore:k.Ignore}k.fromValue=g;function t(n){switch(n){case k.Error:return I;case k.Warning:return w;case k.Info:return C;default:return u}}k.toString=t}(m||(m={})),e.default=m}),define(te[19],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertNever=e.withNullAsUndefined=e.createProxyObject=e.getAllMethodNames=e.getAllPropertyNames=e.validateConstraint=e.validateConstraints=e.isFunction=e.assertIsDefined=e.assertType=e.isUndefinedOrNull=e.isDefined=e.isUndefined=e.isBoolean=e.isIterable=e.isNumber=e.isObject=e.isString=e.isArray=void 0;function L(h){return Array.isArray(h)}e.isArray=L;function m(h){return typeof h=="string"}e.isString=m;function k(h){return typeof h=="object"&&h!==null&&!Array.isArray(h)&&!(h instanceof RegExp)&&!(h instanceof Date)}e.isObject=k;function I(h){return typeof h=="number"&&!isNaN(h)}e.isNumber=I;function w(h){return!!h&&typeof h[Symbol.iterator]=="function"}e.isIterable=w;function b(h){return h===!0||h===!1}e.isBoolean=b;function C(h){return typeof h=="undefined"}e.isUndefined=C;function u(h){return!g(h)}e.isDefined=u;function g(h){return C(h)||h===null}e.isUndefinedOrNull=g;function t(h,f){if(!h)throw new Error(f?`Unexpected type, expected '${f}'`:"Unexpected type")}e.assertType=t;function n(h){if(g(h))throw new Error("Assertion Failed: argument is undefined or null");return h}e.assertIsDefined=n;function i(h){return typeof h=="function"}e.isFunction=i;function o(h,f){const S=Math.min(h.length,f.length);for(let v=0;v function(){const _=Array.prototype.slice.call(arguments,0);return f(p,_)};let v={};for(const p of h)v[p]=S(p);return v}e.createProxyObject=s;function a(h){return h===null?void 0:h}e.withNullAsUndefined=a;function l(h,f="Unreachable"){throw new Error(f)}e.assertNever=l}),define(te[40],ie([1,0,19]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOrDefault=e.equals=e.mixin=e.cloneAndChange=e.deepFreeze=e.deepClone=void 0;function m(t){if(!t||typeof t!="object"||t instanceof RegExp)return t;const n=Array.isArray(t)?[]:{};return Object.keys(t).forEach(i=>{t[i]&&typeof t[i]=="object"?n[i]=m(t[i]):n[i]=t[i]}),n}e.deepClone=m;function k(t){if(!t||typeof t!="object")return t;const n=[t];for(;n.length>0;){const i=n.shift();Object.freeze(i);for(const o in i)if(I.call(i,o)){const c=i[o];typeof c=="object"&&!Object.isFrozen(c)&&n.push(c)}}return t}e.deepFreeze=k;const I=Object.prototype.hasOwnProperty;function w(t,n){return b(t,n,new Set)}e.cloneAndChange=w;function b(t,n,i){if((0,L.isUndefinedOrNull)(t))return t;const o=n(t);if(typeof o!="undefined")return o;if((0,L.isArray)(t)){const c=[];for(const d of t)c.push(b(d,n,i));return c}if((0,L.isObject)(t)){if(i.has(t))throw new Error("Cannot clone recursive data-structure");i.add(t);const c={};for(let d in t)I.call(t,d)&&(c[d]=b(t[d],n,i));return i.delete(t),c}return t}function C(t,n,i=!0){return(0,L.isObject)(t)?((0,L.isObject)(n)&&Object.keys(n).forEach(o=>{o in t?i&&((0,L.isObject)(t[o])&&(0,L.isObject)(n[o])?C(t[o],n[o],i):t[o]=n[o]):t[o]=n[o]}),t):n}e.mixin=C;function u(t,n){if(t===n)return!0;if(t==null||n===null||n===void 0||typeof t!=typeof n||typeof t!="object"||Array.isArray(t)!==Array.isArray(n))return!1;let i,o;if(Array.isArray(t)){if(t.length!==n.length)return!1;for(i=0;i255?255:k|0}e.toUint8=L;function m(k){return k<0?0:k>4294967295?4294967295:k|0}e.toUint32=m}),define(te[25],ie([1,0,84,16]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uriToFsPath=e.URI=void 0;const k=/^\w[\w\d+.-]*$/,I=/^\//,w=/^\/\//;function b(v,p){if(!v.scheme&&p)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${v.authority}", path: "${v.path}", query: "${v.query}", fragment: "${v.fragment}"}`);if(v.scheme&&!k.test(v.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(v.path){if(v.authority){if(!I.test(v.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(w.test(v.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function C(v,p){return!v&&!p?"file":v}function u(v,p){switch(v){case"https":case"http":case"file":p?p[0]!==t&&(p=t+p):p=t;break}return p}const g="",t="/",n=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;class i{constructor(p,_,y,E,N,D=!1){typeof p=="object"?(this.scheme=p.scheme||g,this.authority=p.authority||g,this.path=p.path||g,this.query=p.query||g,this.fragment=p.fragment||g):(this.scheme=C(p,D),this.authority=_||g,this.path=u(this.scheme,y||g),this.query=E||g,this.fragment=N||g,b(this,D))}static isUri(p){return p instanceof i?!0:p?typeof p.authority=="string"&&typeof p.fragment=="string"&&typeof p.path=="string"&&typeof p.query=="string"&&typeof p.scheme=="string"&&typeof p.fsPath=="string"&&typeof p.with=="function"&&typeof p.toString=="function":!1}get fsPath(){return a(this,!1)}with(p){if(!p)return this;let{scheme:_,authority:y,path:E,query:N,fragment:D}=p;return _===void 0?_=this.scheme:_===null&&(_=g),y===void 0?y=this.authority:y===null&&(y=g),E===void 0?E=this.path:E===null&&(E=g),N===void 0?N=this.query:N===null&&(N=g),D===void 0?D=this.fragment:D===null&&(D=g),_===this.scheme&&y===this.authority&&E===this.path&&N===this.query&&D===this.fragment?this:new c(_,y,E,N,D)}static parse(p,_=!1){const y=n.exec(p);return y?new c(y[2]||g,S(y[4]||g),S(y[5]||g),S(y[7]||g),S(y[9]||g),_):new c(g,g,g,g,g)}static file(p){let _=g;if(m.isWindows&&(p=p.replace(/\\/g,t)),p[0]===t&&p[1]===t){const y=p.indexOf(t,2);y===-1?(_=p.substring(2),p=t):(_=p.substring(2,y),p=p.substring(y)||t)}return new c("file",_,p,g,g)}static from(p){const _=new c(p.scheme,p.authority,p.path,p.query,p.fragment);return b(_,!0),_}static joinPath(p,..._){if(!p.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let y;return m.isWindows&&p.scheme==="file"?y=i.file(L.win32.join(a(p,!0),..._)).path:y=L.posix.join(p.path,..._),p.with({path:y})}toString(p=!1){return l(this,p)}toJSON(){return this}static revive(p){if(p){if(p instanceof i)return p;{const _=new c(p);return _._formatted=p.external,_._fsPath=p._sep===o?p.fsPath:null,_}}else return p}}e.URI=i;const o=m.isWindows?1:void 0;class c extends i{constructor(){super(...arguments);this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=a(this,!1)),this._fsPath}toString(p=!1){return p?l(this,!0):(this._formatted||(this._formatted=l(this,!1)),this._formatted)}toJSON(){const p={$mid:1};return this._fsPath&&(p.fsPath=this._fsPath,p._sep=o),this._formatted&&(p.external=this._formatted),this.path&&(p.path=this.path),this.scheme&&(p.scheme=this.scheme),this.authority&&(p.authority=this.authority),this.query&&(p.query=this.query),this.fragment&&(p.fragment=this.fragment),p}}const d={[58]:"%3A",[47]:"%2F",[63]:"%3F",[35]:"%23",[91]:"%5B",[93]:"%5D",[64]:"%40",[33]:"%21",[36]:"%24",[38]:"%26",[39]:"%27",[40]:"%28",[41]:"%29",[42]:"%2A",[43]:"%2B",[44]:"%2C",[59]:"%3B",[61]:"%3D",[32]:"%20"};function r(v,p){let _,y=-1;for(let E=0;E =97&&N<=122||N>=65&&N<=90||N>=48&&N<=57||N===45||N===46||N===95||N===126||p&&N===47)y!==-1&&(_+=encodeURIComponent(v.substring(y,E)),y=-1),_!==void 0&&(_+=v.charAt(E));else{_===void 0&&(_=v.substr(0,E));const D=d[N];D!==void 0?(y!==-1&&(_+=encodeURIComponent(v.substring(y,E)),y=-1),_+=D):y===-1&&(y=E)}}return y!==-1&&(_+=encodeURIComponent(v.substring(y))),_!==void 0?_:v}function s(v){let p;for(let _=0;_ 1&&v.scheme==="file"?_=`//${v.authority}${v.path}`:v.path.charCodeAt(0)===47&&(v.path.charCodeAt(1)>=65&&v.path.charCodeAt(1)<=90||v.path.charCodeAt(1)>=97&&v.path.charCodeAt(1)<=122)&&v.path.charCodeAt(2)===58?p?_=v.path.substr(1):_=v.path[1].toLowerCase()+v.path.substr(2):_=v.path,m.isWindows&&(_=_.replace(/\//g,"\\")),_}e.uriToFsPath=a;function l(v,p){const _=p?s:r;let y="",{scheme:E,authority:N,path:D,query:M,fragment:B}=v;if(E&&(y+=E,y+=":"),(N||E==="file")&&(y+=t,y+=t),N){let O=N.indexOf("@");if(O!==-1){const T=N.substr(0,O);N=N.substr(O+1),O=T.indexOf(":"),O===-1?y+=_(T,!1):(y+=_(T.substr(0,O),!1),y+=":",y+=_(T.substr(O+1),!1)),y+="@"}N=N.toLowerCase(),O=N.indexOf(":"),O===-1?y+=_(N,!1):(y+=_(N.substr(0,O),!1),y+=N.substr(O))}if(D){if(D.length>=3&&D.charCodeAt(0)===47&&D.charCodeAt(2)===58){const O=D.charCodeAt(1);O>=65&&O<=90&&(D=`/${String.fromCharCode(O+32)}:${D.substr(3)}`)}else if(D.length>=2&&D.charCodeAt(1)===58){const O=D.charCodeAt(0);O>=65&&O<=90&&(D=`${String.fromCharCode(O+32)}:${D.substr(2)}`)}y+=_(D,!0)}return M&&(y+="?",y+=_(M,!1)),B&&(y+="#",y+=p?B:r(B,!1)),y}function h(v){try{return decodeURIComponent(v)}catch{return v.length>3?v.substr(0,3)+h(v.substr(3)):v}}const f=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function S(v){return v.match(f)?v.replace(f,p=>h(p)):v}}),define(te[219],ie([1,0,112,25]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.revive=e.parse=void 0;function k(w){let b=JSON.parse(w);return b=I(b),b}e.parse=k;function I(w,b=0){if(!w||b>200)return w;if(typeof w=="object"){switch(w.$mid){case 1:return m.URI.revive(w);case 2:return new RegExp(w.source,w.flags);case 14:return new Date(w.source)}if(w instanceof L.VSBuffer||w instanceof Uint8Array)return w;if(Array.isArray(w))for(let C=0;C {let Pe=De.relatedTarget;for(;Pe&&Pe!==Le;)Pe=Pe.parentNode;Pe!==Le&&Se(De)})}e.addDisposableNonBubblingMouseOutListener=S;function v(Le,Se){return c(Le,"pointerout",De=>{let Pe=De.relatedTarget;for(;Pe&&Pe!==Le;)Pe=Pe.parentNode;Pe!==Le&&Se(De)})}e.addDisposableNonBubblingPointerOutListener=v;function p(Le,Se,De){let Pe=null;const Fe=Ve=>$e.fire(Ve),ze=()=>{Pe||(Pe=new o(Le,Se,Fe,De))},Ke=()=>{Pe&&(Pe.dispose(),Pe=null)},$e=new C.Emitter({onFirstListenerAdd:ze,onLastListenerRemove:Ke});return $e}e.createEventEmitter=p;let _=null;function y(Le){if(!_){const Se=De=>setTimeout(()=>De(new Date().getTime()),0);_=self.requestAnimationFrame||self.msRequestAnimationFrame||self.webkitRequestAnimationFrame||self.mozRequestAnimationFrame||self.oRequestAnimationFrame||Se}return _.call(self,Le)}class E{constructor(Se,De=0){this._runner=Se,this.priority=De,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(Se){(0,b.onUnexpectedError)(Se)}}static sort(Se,De){return De.priority-Se.priority}}(function(){let Le=[],Se=null,De=!1,Pe=!1,Fe=()=>{for(De=!1,Se=Le,Le=[],Pe=!0;Se.length>0;)Se.sort(E.sort),Se.shift().execute();Pe=!1};e.scheduleAtNextAnimationFrame=(ze,Ke=0)=>{let $e=new E(ze,Ke);return Le.push($e),De||(De=!0,y(Fe)),$e},e.runAtThisOrScheduleAtNextAnimationFrame=(ze,Ke)=>{if(Pe){let $e=new E(ze,Ke);return Se.push($e),$e}else return(0,e.scheduleAtNextAnimationFrame)(ze,Ke)}})();const N=8,D=function(Le,Se){return Se};class M extends u.Disposable{constructor(Se,De,Pe,Fe=D,ze=N){super();let Ke=null,$e=0,Ve=this._register(new w.TimeoutTimer),tt=()=>{$e=new Date().getTime(),Pe(Ke),Ke=null};this._register(c(Se,De,Be=>{Ke=Fe(Ke,Be);let Ee=new Date().getTime()-$e;Ee>=ze?(Ve.cancel(),tt()):Ve.setIfNotSet(tt,ze-Ee)}))}}function B(Le,Se,De,Pe,Fe){return new M(Le,Se,De,Pe,Fe)}e.addDisposableThrottledListener=B;function O(Le){return document.defaultView.getComputedStyle(Le,null)}e.getComputedStyle=O;function T(Le){if(Le!==document.body)return new P(Le.clientWidth,Le.clientHeight);if(t.isIOS&&window.visualViewport)return new P(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new P(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new P(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new P(document.documentElement.clientWidth,document.documentElement.clientHeight);throw new Error("Unable to figure out browser width and height")}e.getClientArea=T;class A{static convertToPixels(Se,De){return parseFloat(De)||0}static getDimension(Se,De,Pe){let Fe=O(Se),ze="0";return Fe&&(Fe.getPropertyValue?ze=Fe.getPropertyValue(De):ze=Fe.getAttribute(Pe)),A.convertToPixels(Se,ze)}static getBorderLeftWidth(Se){return A.getDimension(Se,"border-left-width","borderLeftWidth")}static getBorderRightWidth(Se){return A.getDimension(Se,"border-right-width","borderRightWidth")}static getBorderTopWidth(Se){return A.getDimension(Se,"border-top-width","borderTopWidth")}static getBorderBottomWidth(Se){return A.getDimension(Se,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(Se){return A.getDimension(Se,"padding-left","paddingLeft")}static getPaddingRight(Se){return A.getDimension(Se,"padding-right","paddingRight")}static getPaddingTop(Se){return A.getDimension(Se,"padding-top","paddingTop")}static getPaddingBottom(Se){return A.getDimension(Se,"padding-bottom","paddingBottom")}static getMarginLeft(Se){return A.getDimension(Se,"margin-left","marginLeft")}static getMarginTop(Se){return A.getDimension(Se,"margin-top","marginTop")}static getMarginRight(Se){return A.getDimension(Se,"margin-right","marginRight")}static getMarginBottom(Se){return A.getDimension(Se,"margin-bottom","marginBottom")}}class P{constructor(Se,De){this.width=Se,this.height=De}with(Se=this.width,De=this.height){return Se!==this.width||De!==this.height?new P(Se,De):this}static is(Se){return typeof Se=="object"&&typeof Se.height=="number"&&typeof Se.width=="number"}static lift(Se){return Se instanceof P?Se:new P(Se.width,Se.height)}static equals(Se,De){return Se===De?!0:!Se||!De?!1:Se.width===De.width&&Se.height===De.height}}e.Dimension=P,P.None=new P(0,0);function F(Le){let Se=Le.offsetParent,De=Le.offsetTop,Pe=Le.offsetLeft;for(;(Le=Le.parentNode)!==null&&Le!==document.body&&Le!==document.documentElement;){De-=Le.scrollTop;const Fe=Z(Le)?null:O(Le);Fe&&(Pe-=Fe.direction!=="rtl"?Le.scrollLeft:-Le.scrollLeft),Le===Se&&(Pe+=A.getBorderLeftWidth(Le),De+=A.getBorderTopWidth(Le),De+=Le.offsetTop,Pe+=Le.offsetLeft,Se=Le.offsetParent)}return{left:Pe,top:De}}e.getTopLeftOffset=F;function W(Le,Se,De){typeof Se=="number"&&(Le.style.width=`${Se}px`),typeof De=="number"&&(Le.style.height=`${De}px`)}e.size=W;function R(Le){let Se=Le.getBoundingClientRect();return{left:Se.left+e.StandardWindow.scrollX,top:Se.top+e.StandardWindow.scrollY,width:Se.width,height:Se.height}}e.getDomNodePagePosition=R,e.StandardWindow=new class{get scrollX(){return typeof window.scrollX=="number"?window.scrollX:document.body.scrollLeft+document.documentElement.scrollLeft}get scrollY(){return typeof window.scrollY=="number"?window.scrollY:document.body.scrollTop+document.documentElement.scrollTop}};function z(Le){let Se=A.getMarginLeft(Le)+A.getMarginRight(Le);return Le.offsetWidth+Se}e.getTotalWidth=z;function j(Le){let Se=A.getBorderLeftWidth(Le)+A.getBorderRightWidth(Le),De=A.getPaddingLeft(Le)+A.getPaddingRight(Le);return Le.offsetWidth-Se-De}e.getContentWidth=j;function $(Le){let Se=A.getBorderTopWidth(Le)+A.getBorderBottomWidth(Le),De=A.getPaddingTop(Le)+A.getPaddingBottom(Le);return Le.offsetHeight-Se-De}e.getContentHeight=$;function G(Le){let Se=A.getMarginTop(Le)+A.getMarginBottom(Le);return Le.offsetHeight+Se}e.getTotalHeight=G;function J(Le,Se){for(;Le;){if(Le===Se)return!0;Le=Le.parentNode}return!1}e.isAncestor=J;function re(Le,Se,De){for(;Le&&Le.nodeType===Le.ELEMENT_NODE;){if(Le.classList.contains(Se))return Le;if(De){if(typeof De=="string"){if(Le.classList.contains(De))return null}else if(Le===De)return null}Le=Le.parentNode}return null}e.findParentWithClass=re;function se(Le,Se,De){return!!re(Le,Se,De)}e.hasParentWithClass=se;function Z(Le){return Le&&!!Le.host&&!!Le.mode}e.isShadowRoot=Z;function V(Le){return!!K(Le)}e.isInShadowDOM=V;function K(Le){for(;Le.parentNode;){if(Le===document.body)return null;Le=Le.parentNode}return Z(Le)?Le:null}e.getShadowRoot=K;function X(){let Le=document.activeElement;for(;Le==null?void 0:Le.shadowRoot;)Le=Le.shadowRoot.activeElement;return Le}e.getActiveElement=X;function oe(Le=document.getElementsByTagName("head")[0]){let Se=document.createElement("style");return Se.type="text/css",Se.media="screen",Le.appendChild(Se),Se}e.createStyleSheet=oe;let ae=null;function ee(){return ae||(ae=oe()),ae}function ue(Le){var Se,De;return((Se=Le==null?void 0:Le.sheet)===null||Se===void 0?void 0:Se.rules)?Le.sheet.rules:((De=Le==null?void 0:Le.sheet)===null||De===void 0?void 0:De.cssRules)?Le.sheet.cssRules:[]}function le(Le,Se,De=ee()){!De||!Se||De.sheet.insertRule(Le+"{"+Se+"}",0)}e.createCSSRule=le;function x(Le,Se=ee()){if(!Se)return;let De=ue(Se),Pe=[];for(let Fe=0;Fe =0;Fe--)Se.sheet.deleteRule(Pe[Fe])}e.removeCSSRulesContainingSelector=x;function H(Le){return typeof HTMLElement=="object"?Le instanceof HTMLElement:Le&&typeof Le=="object"&&Le.nodeType===1&&typeof Le.nodeName=="string"}e.isHTMLElement=H,e.EventType={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:L.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:L.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:L.isWebKit?"webkitAnimationIteration":"animationiteration"},e.EventHelper={stop:function(Le,Se){Le.preventDefault?Le.preventDefault():Le.returnValue=!1,Se&&(Le.stopPropagation?Le.stopPropagation():Le.cancelBubble=!0)}};function U(Le){let Se=[];for(let De=0;Le&&Le.nodeType===Le.ELEMENT_NODE;De++)Se[De]=Le.scrollTop,Le=Le.parentNode;return Se}e.saveParentsScrollTop=U;function Q(Le,Se){for(let De=0;Le&&Le.nodeType===Le.ELEMENT_NODE;De++)Le.scrollTop!==Se[De]&&(Le.scrollTop=Se[De]),Le=Le.parentNode}e.restoreParentsScrollTop=Q;class Y extends u.Disposable{constructor(Se){super();this._onDidFocus=this._register(new C.Emitter),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new C.Emitter),this.onDidBlur=this._onDidBlur.event;let De=Y.hasFocusWithin(Se),Pe=!1;const Fe=()=>{Pe=!1,De||(De=!0,this._onDidFocus.fire())},ze=()=>{De&&(Pe=!0,window.setTimeout(()=>{Pe&&(Pe=!1,De=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{Y.hasFocusWithin(Se)!==De&&(De?ze():Fe())},this._register(c(Se,e.EventType.FOCUS,Fe,!0)),this._register(c(Se,e.EventType.BLUR,ze,!0)),this._register(c(Se,e.EventType.FOCUS_IN,()=>this._refreshStateHandler())),this._register(c(Se,e.EventType.FOCUS_OUT,()=>this._refreshStateHandler()))}static hasFocusWithin(Se){const De=K(Se),Pe=De?De.activeElement:document.activeElement;return J(Pe,Se)}}function ne(Le){return new Y(Le)}e.trackFocus=ne;function ge(Le,...Se){if(Le.append(...Se),Se.length===1&&typeof Se[0]!="string")return Se[0]}e.append=ge;function fe(Le,Se){return Le.insertBefore(Se,Le.firstChild),Se}e.prepend=fe;function ce(Le,...Se){Le.innerText="",ge(Le,...Se)}e.reset=ce;const he=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;var ve;(function(Le){Le.HTML="http://www.w3.org/1999/xhtml",Le.SVG="http://www.w3.org/2000/svg"})(ve=e.Namespace||(e.Namespace={}));function Ce(Le,Se,De,...Pe){let Fe=he.exec(Se);if(!Fe)throw new Error("Bad use of emmet");De=Object.assign({},De||{});let ze=Fe[1]||"div",Ke;return Le!==ve.HTML?Ke=document.createElementNS(Le,ze):Ke=document.createElement(ze),Fe[3]&&(Ke.id=Fe[3]),Fe[4]&&(Ke.className=Fe[4].replace(/\./g," ").trim()),Object.keys(De).forEach($e=>{const Ve=De[$e];typeof Ve!="undefined"&&(/^on\w+$/.test($e)?Ke[$e]=Ve:$e==="selected"?Ve&&Ke.setAttribute($e,"true"):Ke.setAttribute($e,Ve))}),Ke.append(...Pe),Ke}function be(Le,Se,...De){return Ce(ve.HTML,Le,Se,...De)}e.$=be,be.SVG=function(Le,Se,...De){return Ce(ve.SVG,Le,Se,...De)};function de(...Le){for(let Se of Le)Se.style.display="",Se.removeAttribute("aria-hidden")}e.show=de;function me(...Le){for(let Se of Le)Se.style.display="none",Se.setAttribute("aria-hidden","true")}e.hide=me;function _e(Le){return Array.prototype.slice.call(document.getElementsByTagName(Le),0)}e.getElementsByTagName=_e;function ye(Le){const Se=window.devicePixelRatio*Le;return Math.max(1,Math.floor(Se))/window.devicePixelRatio}e.computeScreenAwareSize=ye;function ke(Le){window.open(Le,"_blank","noopener")}e.windowOpenNoOpener=ke;function Te(Le){const Se=()=>{Le(),De=(0,e.scheduleAtNextAnimationFrame)(Se)};let De=(0,e.scheduleAtNextAnimationFrame)(Se);return(0,u.toDisposable)(()=>De.dispose())}e.animate=Te,g.RemoteAuthorities.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");function Me(Le){return Le?`url('${g.FileAccess.asBrowserUri(Le).toString(!0).replace(/'/g,"%27")}')`:"url('')"}e.asCSSUrl=Me;function We(Le){return`'${Le.replace(/'/g,"%27")}'`}e.asCSSPropertyValue=We;class xe extends C.Emitter{constructor(){super();this._subscriptions=new u.DisposableStore,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(c(window,"keydown",Se=>{if(Se.defaultPrevented)return;const De=new k.StandardKeyboardEvent(Se);if(!(De.keyCode===6&&Se.repeat)){if(Se.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(Se.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(Se.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(Se.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else if(De.keyCode!==6)this._keyStatus.lastKeyPressed=void 0;else return;this._keyStatus.altKey=Se.altKey,this._keyStatus.ctrlKey=Se.ctrlKey,this._keyStatus.metaKey=Se.metaKey,this._keyStatus.shiftKey=Se.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=Se,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(c(window,"keyup",Se=>{Se.defaultPrevented||(!Se.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!Se.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!Se.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!Se.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=Se.altKey,this._keyStatus.ctrlKey=Se.ctrlKey,this._keyStatus.metaKey=Se.metaKey,this._keyStatus.shiftKey=Se.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=Se,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(c(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(c(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(c(document.body,"mousemove",Se=>{Se.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(c(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return xe.instance||(xe.instance=new xe),xe.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}e.ModifierKeyEmitter=xe;function He(Le,Se){window.matchMedia(Le).addEventListener("change",Se)}e.addMatchMediaChangeListener=He}),define(te[171],ie([1,0,7]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createElement=e.renderFormattedText=e.renderText=void 0;function m(t,n={}){const i=I(n);return i.textContent=t,i}e.renderText=m;function k(t,n={}){const i=I(n);return b(i,C(t,!!n.renderCodeSegments),n.actionHandler,n.renderCodeSegments),i}e.renderFormattedText=k;function I(t){const n=t.inline?"span":"div",i=document.createElement(n);return t.className&&(i.className=t.className),i}e.createElement=I;class w{constructor(n){this.source=n,this.index=0}eos(){return this.index>=this.source.length}next(){const n=this.peek();return this.advance(),n}peek(){return this.source[this.index]}advance(){this.index++}}function b(t,n,i,o){let c;if(n.type===2)c=document.createTextNode(n.content||"");else if(n.type===3)c=document.createElement("b");else if(n.type===4)c=document.createElement("i");else if(n.type===7&&o)c=document.createElement("code");else if(n.type===5&&i){const d=document.createElement("a");i.disposables.add(L.addStandardDisposableListener(d,"click",r=>{i.callback(String(n.index),r)})),c=d}else n.type===8?c=document.createElement("br"):n.type===1&&(c=t);c&&t!==c&&t.appendChild(c),c&&Array.isArray(n.children)&&n.children.forEach(d=>{b(c,d,i,o)})}function C(t,n){const i={type:1,children:[]};let o=0,c=i;const d=[],r=new w(t);for(;!r.eos();){let s=r.next();const a=s==="\\"&&g(r.peek(),n)!==0;if(a&&(s=r.next()),!a&&u(s,n)&&s===r.peek()){r.advance(),c.type===2&&(c=d.pop());const l=g(s,n);if(c.type===l||c.type===5&&l===6)c=d.pop();else{const h={type:l,children:[]};l===5&&(h.index=o,o++),c.children.push(h),d.push(c),c=h}}else if(s===` +`)c.type===2&&(c=d.pop()),c.children.push({type:8});else if(c.type!==2){const l={type:2,content:s};c.children.push(l),d.push(c),c=l}else c.content+=s}return c.type===2&&(c=d.pop()),d.length,i}function u(t,n){return g(t,n)!==0}function g(t,n){switch(t){case"*":return 3;case"_":return 4;case"[":return 5;case"]":return 6;case"`":return n?7:0;default:return 0}}}),define(te[98],ie([1,0,7,214,59,2,16]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GlobalMouseMoveMonitor=e.standardMouseMoveMerger=void 0;function b(u,g){let t=new k.StandardMouseEvent(g);return t.preventDefault(),{leftButton:t.leftButton,buttons:t.buttons,posx:t.posx,posy:t.posy}}e.standardMouseMoveMerger=b;class C{constructor(){this._hooks=new I.DisposableStore,this._mouseMoveEventMerger=null,this._mouseMoveCallback=null,this._onStopCallback=null}dispose(){this.stopMonitoring(!1),this._hooks.dispose()}stopMonitoring(g,t){if(!this.isMonitoring())return;this._hooks.clear(),this._mouseMoveEventMerger=null,this._mouseMoveCallback=null;const n=this._onStopCallback;this._onStopCallback=null,g&&n&&n(t)}isMonitoring(){return!!this._mouseMoveEventMerger}startMonitoring(g,t,n,i,o){if(this.isMonitoring())return;this._mouseMoveEventMerger=n,this._mouseMoveCallback=i,this._onStopCallback=o;const c=m.IframeUtils.getSameOriginWindowChain(),d=w.isIOS?"pointermove":"mousemove",r="mouseup",s=c.map(l=>l.window.document),a=L.getShadowRoot(g);a&&s.unshift(a);for(const l of s)this._hooks.add(L.addDisposableThrottledListener(l,d,h=>{if(h.buttons!==t){this.stopMonitoring(!0);return}this._mouseMoveCallback(h)},(h,f)=>this._mouseMoveEventMerger(h,f))),this._hooks.add(L.addDisposableListener(l,r,h=>this.stopMonitoring(!0)));if(m.IframeUtils.hasDifferentOriginAncestor()){let l=c[c.length-1];this._hooks.add(L.addDisposableListener(l.window.document,"mouseout",h=>{new k.StandardMouseEvent(h).target.tagName.toLowerCase()==="html"&&this.stopMonitoring(!0)})),this._hooks.add(L.addDisposableListener(l.window.document,"mouseover",h=>{new k.StandardMouseEvent(h).target.tagName.toLowerCase()==="html"&&this.stopMonitoring(!0)})),this._hooks.add(L.addDisposableListener(l.window.document.body,"mouseleave",h=>{this.stopMonitoring(!0)}))}}}e.GlobalMouseMoveMonitor=C});var Ie=this&&this.__decorate||function(q,e,L,m){var k=arguments.length,I=k<3?e:m===null?m=Object.getOwnPropertyDescriptor(e,L):m,w;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")I=Reflect.decorate(q,e,L,m);else for(var b=q.length-1;b>=0;b--)(w=q[b])&&(I=(k<3?w(I):k>3?w(e,L,I):w(e,L))||I);return k>3&&I&&Object.defineProperty(e,L,I),I};define(te[60],ie([1,0,7,18,95,2]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Gesture=e.EventType=void 0;var w;(function(C){C.Tap="-monaco-gesturetap",C.Change="-monaco-gesturechange",C.Start="-monaco-gesturestart",C.End="-monaco-gesturesend",C.Contextmenu="-monaco-gesturecontextmenu"})(w=e.EventType||(e.EventType={}));class b extends I.Disposable{constructor(){super();this.dispatched=!1,this.activeTouches={},this.handle=null,this.targets=[],this.ignoreTargets=[],this._lastSetTapCountTime=0,this._register(L.addDisposableListener(document,"touchstart",u=>this.onTouchStart(u),{passive:!1})),this._register(L.addDisposableListener(document,"touchend",u=>this.onTouchEnd(u))),this._register(L.addDisposableListener(document,"touchmove",u=>this.onTouchMove(u),{passive:!1}))}static addTarget(u){return b.isTouchDevice()?(b.INSTANCE||(b.INSTANCE=new b),b.INSTANCE.targets.push(u),{dispose:()=>{b.INSTANCE.targets=b.INSTANCE.targets.filter(g=>g!==u)}}):I.Disposable.None}static ignoreTarget(u){return b.isTouchDevice()?(b.INSTANCE||(b.INSTANCE=new b),b.INSTANCE.ignoreTargets.push(u),{dispose:()=>{b.INSTANCE.ignoreTargets=b.INSTANCE.ignoreTargets.filter(g=>g!==u)}}):I.Disposable.None}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}dispose(){this.handle&&(this.handle.dispose(),this.handle=null),super.dispose()}onTouchStart(u){let g=Date.now();this.handle&&(this.handle.dispose(),this.handle=null);for(let t=0,n=u.targetTouches.length;t =b.HOLD_DELAY&&Math.abs(c.initialPageX-m.tail(c.rollingPageX))<30&&Math.abs(c.initialPageY-m.tail(c.rollingPageY))<30){let r=this.newGestureEvent(w.Contextmenu,c.initialTarget);r.pageX=m.tail(c.rollingPageX),r.pageY=m.tail(c.rollingPageY),this.dispatchEvent(r)}else if(t===1){let r=m.tail(c.rollingPageX),s=m.tail(c.rollingPageY),a=m.tail(c.rollingTimestamps)-c.rollingTimestamps[0],l=r-c.rollingPageX[0],h=s-c.rollingPageY[0];const f=this.targets.filter(S=>c.initialTarget instanceof Node&&S.contains(c.initialTarget));this.inertia(f,g,Math.abs(l)/a,l>0?1:-1,r,Math.abs(h)/a,h>0?1:-1,s)}this.dispatchEvent(this.newGestureEvent(w.End,c.initialTarget)),delete this.activeTouches[o.identifier]}this.dispatched&&(u.preventDefault(),u.stopPropagation(),this.dispatched=!1)}newGestureEvent(u,g){let t=document.createEvent("CustomEvent");return t.initEvent(u,!1,!0),t.initialTarget=g,t.tapCount=0,t}dispatchEvent(u){if(u.type===w.Tap){const g=new Date().getTime();let t=0;g-this._lastSetTapCountTime>b.CLEAR_TAP_COUNT_TIME?t=1:t=2,this._lastSetTapCountTime=g,u.tapCount=t}else(u.type===w.Change||u.type===w.Contextmenu)&&(this._lastSetTapCountTime=0);for(let g=0;g {u.initialTarget instanceof Node&&g.contains(u.initialTarget)&&(g.dispatchEvent(u),this.dispatched=!0)})}inertia(u,g,t,n,i,o,c,d){this.handle=L.scheduleAtNextAnimationFrame(()=>{let r=Date.now(),s=r-g,a=0,l=0,h=!0;t+=b.SCROLL_FRICTION*s,o+=b.SCROLL_FRICTION*s,t>0&&(h=!1,a=n*t*s),o>0&&(h=!1,l=c*o*s);let f=this.newGestureEvent(w.Change);f.translationX=a,f.translationY=l,u.forEach(S=>S.dispatchEvent(f)),h||this.inertia(u,r,t,n,i+a,o,c,d+l)})}onTouchMove(u){let g=Date.now();for(let t=0,n=u.changedTouches.length;t 3&&(o.rollingPageX.shift(),o.rollingPageY.shift(),o.rollingTimestamps.shift()),o.rollingPageX.push(i.pageX),o.rollingPageY.push(i.pageY),o.rollingTimestamps.push(g)}this.dispatched&&(u.preventDefault(),u.stopPropagation(),this.dispatched=!1)}}b.SCROLL_FRICTION=-.005,b.HOLD_DELAY=700,b.CLEAR_TAP_COUNT_TIME=400,Ie([k.memoize],b,"isTouchDevice",null),e.Gesture=b}),define(te[115],ie([1,0,7,28]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderIcon=e.renderLabelWithIcons=void 0;const k=new RegExp(`(\\\\)?\\$\\((${m.CSSIcon.iconNameExpression}(?:${m.CSSIcon.iconModifierExpression})?)\\)`,"g");function I(b){const C=new Array;let u,g=0,t=0;for(;(u=k.exec(b))!==null;){t=u.index||0,C.push(b.substring(g,t)),g=(u.index||0)+u[0].length;const[,n,i]=u;C.push(n?`$(${i})`:w({id:i}))}return g {g=t===`\r +`?-1:0,n+=u;for(const i of C)i.end<=n||(i.start>=n&&(i.start+=g),i.end>=n&&(i.end+=g));return u+=g,"\u23CE"})}}e.HighlightedLabel=I}),define(te[324],ie([1,0,7]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RowCache=void 0;function m(I){try{I.parentElement&&I.parentElement.removeChild(I)}catch{}}class k{constructor(w){this.renderers=w,this.cache=new Map}alloc(w){let b=this.getTemplateCache(w).pop();if(!b){const C=(0,L.$)(".monaco-list-row"),g=this.getRenderer(w).renderTemplate(C);b={domNode:C,templateId:w,templateData:g}}return b}release(w){!w||this.releaseRow(w)}releaseRow(w){const{domNode:b,templateId:C}=w;b&&(b.classList.remove("scrolling"),m(b)),this.getTemplateCache(C).push(w)}getTemplateCache(w){let b=this.cache.get(w);return b||(b=[],this.cache.set(w,b)),b}dispose(){this.cache.forEach((w,b)=>{for(const C of w)this.getRenderer(b).disposeTemplate(C.templateData),C.templateData=null}),this.cache.clear()}getRenderer(w){const b=this.renderers.get(w);if(!b)throw new Error(`No renderer found for ${w}`);return b}}e.RowCache=k}),define(te[62],ie([1,0,7,44,59,60,2]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Widget=void 0;class b extends w.Disposable{onclick(u,g){this._register(L.addDisposableListener(u,L.EventType.CLICK,t=>g(new k.StandardMouseEvent(t))))}onmousedown(u,g){this._register(L.addDisposableListener(u,L.EventType.MOUSE_DOWN,t=>g(new k.StandardMouseEvent(t))))}onmouseover(u,g){this._register(L.addDisposableListener(u,L.EventType.MOUSE_OVER,t=>g(new k.StandardMouseEvent(t))))}onnonbubblingmouseout(u,g){this._register(L.addDisposableNonBubblingMouseOutListener(u,t=>g(new k.StandardMouseEvent(t))))}onkeydown(u,g){this._register(L.addDisposableListener(u,L.EventType.KEY_DOWN,t=>g(new m.StandardKeyboardEvent(t))))}onkeyup(u,g){this._register(L.addDisposableListener(u,L.EventType.KEY_UP,t=>g(new m.StandardKeyboardEvent(t))))}oninput(u,g){this._register(L.addDisposableListener(u,L.EventType.INPUT,g))}onblur(u,g){this._register(L.addDisposableListener(u,L.EventType.BLUR,g))}onfocus(u,g){this._register(L.addDisposableListener(u,L.EventType.FOCUS,g))}ignoreGesture(u){I.Gesture.ignoreTarget(u)}}e.Widget=b}),define(te[172],ie([1,0,98,62,10]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ScrollbarArrow=e.ARROW_IMG_SIZE=void 0,e.ARROW_IMG_SIZE=11;class I extends m.Widget{constructor(b){super();this._onActivate=b.onActivate,this.bgDomNode=document.createElement("div"),this.bgDomNode.className="arrow-background",this.bgDomNode.style.position="absolute",this.bgDomNode.style.width=b.bgWidth+"px",this.bgDomNode.style.height=b.bgHeight+"px",typeof b.top!="undefined"&&(this.bgDomNode.style.top="0px"),typeof b.left!="undefined"&&(this.bgDomNode.style.left="0px"),typeof b.bottom!="undefined"&&(this.bgDomNode.style.bottom="0px"),typeof b.right!="undefined"&&(this.bgDomNode.style.right="0px"),this.domNode=document.createElement("div"),this.domNode.className=b.className,this.domNode.classList.add(...b.icon.classNamesArray),this.domNode.style.position="absolute",this.domNode.style.width=e.ARROW_IMG_SIZE+"px",this.domNode.style.height=e.ARROW_IMG_SIZE+"px",typeof b.top!="undefined"&&(this.domNode.style.top=b.top+"px"),typeof b.left!="undefined"&&(this.domNode.style.left=b.left+"px"),typeof b.bottom!="undefined"&&(this.domNode.style.bottom=b.bottom+"px"),typeof b.right!="undefined"&&(this.domNode.style.right=b.right+"px"),this._mouseMoveMonitor=this._register(new L.GlobalMouseMoveMonitor),this.onmousedown(this.bgDomNode,C=>this._arrowMouseDown(C)),this.onmousedown(this.domNode,C=>this._arrowMouseDown(C)),this._mousedownRepeatTimer=this._register(new k.IntervalTimer),this._mousedownScheduleRepeatTimer=this._register(new k.TimeoutTimer)}_arrowMouseDown(b){const C=()=>{this._mousedownRepeatTimer.cancelAndSet(()=>this._onActivate(),1e3/24)};this._onActivate(),this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancelAndSet(C,200),this._mouseMoveMonitor.startMonitoring(b.target,b.buttons,L.standardMouseMoveMerger,u=>{},()=>{this._mousedownRepeatTimer.cancel(),this._mousedownScheduleRepeatTimer.cancel()}),b.preventDefault()}}e.ScrollbarArrow=I}),define(te[221],ie([1,0,7,31,98,172,319,62,16]),function(q,e,L,m,k,I,w,b,C){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AbstractScrollbar=void 0;const u=140;class g extends b.Widget{constructor(n){super();this._lazyRender=n.lazyRender,this._host=n.host,this._scrollable=n.scrollable,this._scrollByPage=n.scrollByPage,this._scrollbarState=n.scrollbarState,this._visibilityController=this._register(new w.ScrollbarVisibilityController(n.visibility,"visible scrollbar "+n.extraScrollbarClassName,"invisible scrollbar "+n.extraScrollbarClassName)),this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._mouseMoveMonitor=this._register(new k.GlobalMouseMoveMonitor),this._shouldRender=!0,this.domNode=(0,m.createFastDomNode)(document.createElement("div")),this.domNode.setAttribute("role","presentation"),this.domNode.setAttribute("aria-hidden","true"),this._visibilityController.setDomNode(this.domNode),this.domNode.setPosition("absolute"),this.onmousedown(this.domNode.domNode,i=>this._domNodeMouseDown(i))}_createArrow(n){const i=this._register(new I.ScrollbarArrow(n));this.domNode.domNode.appendChild(i.bgDomNode),this.domNode.domNode.appendChild(i.domNode)}_createSlider(n,i,o,c){this.slider=(0,m.createFastDomNode)(document.createElement("div")),this.slider.setClassName("slider"),this.slider.setPosition("absolute"),this.slider.setTop(n),this.slider.setLeft(i),typeof o=="number"&&this.slider.setWidth(o),typeof c=="number"&&this.slider.setHeight(c),this.slider.setLayerHinting(!0),this.slider.setContain("strict"),this.domNode.domNode.appendChild(this.slider.domNode),this.onmousedown(this.slider.domNode,d=>{d.leftButton&&(d.preventDefault(),this._sliderMouseDown(d,()=>{}))}),this.onclick(this.slider.domNode,d=>{d.leftButton&&d.stopPropagation()})}_onElementSize(n){return this._scrollbarState.setVisibleSize(n)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollSize(n){return this._scrollbarState.setScrollSize(n)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}_onElementScrollPosition(n){return this._scrollbarState.setScrollPosition(n)&&(this._visibilityController.setIsNeeded(this._scrollbarState.isNeeded()),this._shouldRender=!0,this._lazyRender||this.render()),this._shouldRender}beginReveal(){this._visibilityController.setShouldBeVisible(!0)}beginHide(){this._visibilityController.setShouldBeVisible(!1)}render(){!this._shouldRender||(this._shouldRender=!1,this._renderDomNode(this._scrollbarState.getRectangleLargeSize(),this._scrollbarState.getRectangleSmallSize()),this._updateSlider(this._scrollbarState.getSliderSize(),this._scrollbarState.getArrowSize()+this._scrollbarState.getSliderPosition()))}_domNodeMouseDown(n){n.target===this.domNode.domNode&&this._onMouseDown(n)}delegateMouseDown(n){const i=this.domNode.domNode.getClientRects()[0].top,o=i+this._scrollbarState.getSliderPosition(),c=i+this._scrollbarState.getSliderPosition()+this._scrollbarState.getSliderSize(),d=this._sliderMousePosition(n);o<=d&&d<=c?n.leftButton&&(n.preventDefault(),this._sliderMouseDown(n,()=>{})):this._onMouseDown(n)}_onMouseDown(n){let i,o;if(n.target===this.domNode.domNode&&typeof n.browserEvent.offsetX=="number"&&typeof n.browserEvent.offsetY=="number")i=n.browserEvent.offsetX,o=n.browserEvent.offsetY;else{const d=L.getDomNodePagePosition(this.domNode.domNode);i=n.posx-d.left,o=n.posy-d.top}const c=this._mouseDownRelativePosition(i,o);this._setDesiredScrollPositionNow(this._scrollByPage?this._scrollbarState.getDesiredScrollPositionFromOffsetPaged(c):this._scrollbarState.getDesiredScrollPositionFromOffset(c)),n.leftButton&&(n.preventDefault(),this._sliderMouseDown(n,()=>{}))}_sliderMouseDown(n,i){const o=this._sliderMousePosition(n),c=this._sliderOrthogonalMousePosition(n),d=this._scrollbarState.clone();this.slider.toggleClassName("active",!0),this._mouseMoveMonitor.startMonitoring(n.target,n.buttons,k.standardMouseMoveMerger,r=>{const s=this._sliderOrthogonalMousePosition(r),a=Math.abs(s-c);if(C.isWindows&&a>u){this._setDesiredScrollPositionNow(d.getScrollPosition());return}const h=this._sliderMousePosition(r)-o;this._setDesiredScrollPositionNow(d.getDesiredScrollPositionFromDelta(h))},()=>{this.slider.toggleClassName("active",!1),this._host.onDragEnd(),i()}),this._host.onDragStart()}_setDesiredScrollPositionNow(n){const i={};this.writeScrollPosition(i,n),this._scrollable.setScrollPositionNow(i)}updateScrollbarSize(n){this._updateScrollbarSize(n),this._scrollbarState.setScrollbarSize(n),this._shouldRender=!0,this._lazyRender||this.render()}isNeeded(){return this._scrollbarState.isNeeded()}}e.AbstractScrollbar=g}),define(te[325],ie([1,0,59,221,172,215,28]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HorizontalScrollbar=void 0;class b extends m.AbstractScrollbar{constructor(u,g,t){const n=u.getScrollDimensions(),i=u.getCurrentScrollPosition();super({lazyRender:g.lazyRender,host:t,scrollbarState:new I.ScrollbarState(g.horizontalHasArrows?g.arrowSize:0,g.horizontal===2?0:g.horizontalScrollbarSize,g.vertical===2?0:g.verticalScrollbarSize,n.width,n.scrollWidth,i.scrollLeft),visibility:g.horizontal,extraScrollbarClassName:"horizontal",scrollable:u,scrollByPage:g.scrollByPage});if(g.horizontalHasArrows){const o=(g.arrowSize-k.ARROW_IMG_SIZE)/2,c=(g.horizontalScrollbarSize-k.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:w.Codicon.scrollbarButtonLeft,top:c,left:o,bottom:void 0,right:void 0,bgWidth:g.arrowSize,bgHeight:g.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,1,0))}),this._createArrow({className:"scra",icon:w.Codicon.scrollbarButtonRight,top:c,left:void 0,bottom:void 0,right:o,bgWidth:g.arrowSize,bgHeight:g.horizontalScrollbarSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,-1,0))})}this._createSlider(Math.floor((g.horizontalScrollbarSize-g.horizontalSliderSize)/2),0,void 0,g.horizontalSliderSize)}_updateSlider(u,g){this.slider.setWidth(u),this.slider.setLeft(g)}_renderDomNode(u,g){this.domNode.setWidth(u),this.domNode.setHeight(g),this.domNode.setLeft(0),this.domNode.setBottom(0)}onDidScroll(u){return this._shouldRender=this._onElementScrollSize(u.scrollWidth)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(u.scrollLeft)||this._shouldRender,this._shouldRender=this._onElementSize(u.width)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(u,g){return u}_sliderMousePosition(u){return u.posx}_sliderOrthogonalMousePosition(u){return u.posy}_updateScrollbarSize(u){this.slider.setHeight(u)}writeScrollPosition(u,g){u.scrollLeft=g}updateOptions(u){this.updateScrollbarSize(u.horizontal===2?0:u.horizontalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(u.vertical===2?0:u.verticalScrollbarSize),this._visibilityController.setVisibility(u.horizontal),this._scrollByPage=u.scrollByPage}}e.HorizontalScrollbar=b}),define(te[326],ie([1,0,59,221,172,215,28]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VerticalScrollbar=void 0;class b extends m.AbstractScrollbar{constructor(u,g,t){const n=u.getScrollDimensions(),i=u.getCurrentScrollPosition();super({lazyRender:g.lazyRender,host:t,scrollbarState:new I.ScrollbarState(g.verticalHasArrows?g.arrowSize:0,g.vertical===2?0:g.verticalScrollbarSize,0,n.height,n.scrollHeight,i.scrollTop),visibility:g.vertical,extraScrollbarClassName:"vertical",scrollable:u,scrollByPage:g.scrollByPage});if(g.verticalHasArrows){const o=(g.arrowSize-k.ARROW_IMG_SIZE)/2,c=(g.verticalScrollbarSize-k.ARROW_IMG_SIZE)/2;this._createArrow({className:"scra",icon:w.Codicon.scrollbarButtonUp,top:o,left:c,bottom:void 0,right:void 0,bgWidth:g.verticalScrollbarSize,bgHeight:g.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,1))}),this._createArrow({className:"scra",icon:w.Codicon.scrollbarButtonDown,top:void 0,left:c,bottom:o,right:void 0,bgWidth:g.verticalScrollbarSize,bgHeight:g.arrowSize,onActivate:()=>this._host.onMouseWheel(new L.StandardWheelEvent(null,0,-1))})}this._createSlider(0,Math.floor((g.verticalScrollbarSize-g.verticalSliderSize)/2),g.verticalSliderSize,void 0)}_updateSlider(u,g){this.slider.setHeight(u),this.slider.setTop(g)}_renderDomNode(u,g){this.domNode.setWidth(g),this.domNode.setHeight(u),this.domNode.setRight(0),this.domNode.setTop(0)}onDidScroll(u){return this._shouldRender=this._onElementScrollSize(u.scrollHeight)||this._shouldRender,this._shouldRender=this._onElementScrollPosition(u.scrollTop)||this._shouldRender,this._shouldRender=this._onElementSize(u.height)||this._shouldRender,this._shouldRender}_mouseDownRelativePosition(u,g){return g}_sliderMousePosition(u){return u.posy}_sliderOrthogonalMousePosition(u){return u.posx}_updateScrollbarSize(u){this.slider.setWidth(u)}writeScrollPosition(u,g){u.scrollTop=g}updateOptions(u){this.updateScrollbarSize(u.vertical===2?0:u.verticalScrollbarSize),this._scrollbarState.setOppositeScrollbarSize(0),this._visibilityController.setVisibility(u.vertical),this._scrollByPage=u.scrollByPage}}e.VerticalScrollbar=b}),define(te[42],ie([1,0,168,45,84,16,8,25]),function(q,e,L,m,k,I,w,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DataUri=e.addTrailingPathSeparator=e.removeTrailingPathSeparator=e.hasTrailingPathSeparator=e.isEqualAuthority=e.isAbsolutePath=e.resolvePath=e.relativePath=e.normalizePath=e.joinPath=e.dirname=e.extname=e.basename=e.basenameOrAuthority=e.getComparisonKey=e.isEqualOrParent=e.isEqual=e.extUriIgnorePathCase=e.extUriBiasedIgnorePathCase=e.extUri=e.ExtUri=e.originalFSPath=void 0;function C(t){return(0,b.uriToFsPath)(t,!0)}e.originalFSPath=C;class u{constructor(n){this._ignorePathCasing=n}compare(n,i,o=!1){return n===i?0:(0,w.compare)(this.getComparisonKey(n,o),this.getComparisonKey(i,o))}isEqual(n,i,o=!1){return n===i?!0:!n||!i?!1:this.getComparisonKey(n,o)===this.getComparisonKey(i,o)}getComparisonKey(n,i=!1){return n.with({path:this._ignorePathCasing(n)?n.path.toLowerCase():void 0,fragment:i?null:void 0}).toString()}isEqualOrParent(n,i,o=!1){if(n.scheme===i.scheme){if(n.scheme===m.Schemas.file)return L.isEqualOrParent(C(n),C(i),this._ignorePathCasing(n))&&n.query===i.query&&(o||n.fragment===i.fragment);if((0,e.isEqualAuthority)(n.authority,i.authority))return L.isEqualOrParent(n.path,i.path,this._ignorePathCasing(n),"/")&&n.query===i.query&&(o||n.fragment===i.fragment)}return!1}joinPath(n,...i){return b.URI.joinPath(n,...i)}basenameOrAuthority(n){return(0,e.basename)(n)||n.authority}basename(n){return k.posix.basename(n.path)}extname(n){return k.posix.extname(n.path)}dirname(n){if(n.path.length===0)return n;let i;return n.scheme===m.Schemas.file?i=b.URI.file(k.dirname(C(n))).path:(i=k.posix.dirname(n.path),n.authority&&i.length&&i.charCodeAt(0)!==47&&(console.error(`dirname("${n.toString})) resulted in a relative path`),i="/")),n.with({path:i})}normalizePath(n){if(!n.path.length)return n;let i;return n.scheme===m.Schemas.file?i=b.URI.file(k.normalize(C(n))).path:i=k.posix.normalize(n.path),n.with({path:i})}relativePath(n,i){if(n.scheme!==i.scheme||!(0,e.isEqualAuthority)(n.authority,i.authority))return;if(n.scheme===m.Schemas.file){const d=k.relative(C(n),C(i));return I.isWindows?L.toSlashes(d):d}let o=n.path||"/",c=i.path||"/";if(this._ignorePathCasing(n)){let d=0;for(const r=Math.min(o.length,c.length);d L.getRoot(o).length&&o[o.length-1]===i}else{const o=n.path;return o.length>1&&o.charCodeAt(o.length-1)===47&&!/^[a-zA-Z]:(\/$|\\$)/.test(n.fsPath)}}removeTrailingPathSeparator(n,i=k.sep){return(0,e.hasTrailingPathSeparator)(n,i)?n.with({path:n.path.substr(0,n.path.length-1)}):n}addTrailingPathSeparator(n,i=k.sep){let o=!1;if(n.scheme===m.Schemas.file){const c=C(n);o=c!==void 0&&c.length===L.getRoot(c).length&&c[c.length-1]===i}else{i="/";const c=n.path;o=c.length===1&&c.charCodeAt(c.length-1)===47}return!o&&!(0,e.hasTrailingPathSeparator)(n,i)?n.with({path:n.path+"/"}):n}}e.ExtUri=u,e.extUri=new u(()=>!1),e.extUriBiasedIgnorePathCase=new u(t=>t.scheme===m.Schemas.file?!I.isLinux:!0),e.extUriIgnorePathCase=new u(t=>!0),e.isEqual=e.extUri.isEqual.bind(e.extUri),e.isEqualOrParent=e.extUri.isEqualOrParent.bind(e.extUri),e.getComparisonKey=e.extUri.getComparisonKey.bind(e.extUri),e.basenameOrAuthority=e.extUri.basenameOrAuthority.bind(e.extUri),e.basename=e.extUri.basename.bind(e.extUri),e.extname=e.extUri.extname.bind(e.extUri),e.dirname=e.extUri.dirname.bind(e.extUri),e.joinPath=e.extUri.joinPath.bind(e.extUri),e.normalizePath=e.extUri.normalizePath.bind(e.extUri),e.relativePath=e.extUri.relativePath.bind(e.extUri),e.resolvePath=e.extUri.resolvePath.bind(e.extUri),e.isAbsolutePath=e.extUri.isAbsolutePath.bind(e.extUri),e.isEqualAuthority=e.extUri.isEqualAuthority.bind(e.extUri),e.hasTrailingPathSeparator=e.extUri.hasTrailingPathSeparator.bind(e.extUri),e.removeTrailingPathSeparator=e.extUri.removeTrailingPathSeparator.bind(e.extUri),e.addTrailingPathSeparator=e.extUri.addTrailingPathSeparator.bind(e.extUri);var g;(function(t){t.META_DATA_LABEL="label",t.META_DATA_DESCRIPTION="description",t.META_DATA_SIZE="size",t.META_DATA_MIME="mime";function n(i){const o=new Map;i.path.substring(i.path.indexOf(";")+1,i.path.lastIndexOf(";")).split(";").forEach(r=>{const[s,a]=r.split(":");s&&a&&o.set(s,a)});const d=i.path.substring(0,i.path.indexOf(";"));return d&&o.set(t.META_DATA_MIME,d),o}t.parseMetaData=n})(g=e.DataUri||(e.DataUri={}))}),define(te[327],ie([1,0,7,759,92,171,59,115,10,21,13,4,68,97,136,2,314,219,45,40,42,8,25]),function(q,e,L,m,k,I,w,b,C,u,g,t,n,i,o,c,d,r,s,a,l,h,f){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.renderMarkdown=void 0;function S(y,E={},N={}){var D;const M=new c.DisposableStore;let B=!1;const O=M.add(new u.CancellationTokenSource),T=(0,I.createElement)(E),A=function(J){let re;try{re=(0,r.parse)(decodeURIComponent(J))}catch{}return re?(re=(0,a.cloneAndChange)(re,se=>{if(y.uris&&y.uris[se])return f.URI.revive(y.uris[se])}),encodeURIComponent(JSON.stringify(re))):J},P=function(J,re){const se=y.uris&&y.uris[J];let Z=f.URI.revive(se);return re?J.startsWith(s.Schemas.data+":")?J:(Z||(Z=f.URI.parse(J)),s.FileAccess.asBrowserUri(Z).toString(!0)):!Z||f.URI.parse(J).toString()===Z.toString()?J:(Z.query&&(Z=Z.with({query:A(Z.query)})),Z.toString())};let F;const W=new Promise(J=>F=J),R=new d.marked.Renderer;if(R.image=(J,re,se)=>{let Z=[],V=[];return J&&({href:J,dimensions:Z}=(0,n.parseHrefAndDimensions)(J),V.push(`src="${J}"`)),se&&V.push(`alt="${se}"`),re&&V.push(`title="${re}"`),Z.length&&(V=V.concat(Z)),""},R.link=(J,re,se)=>typeof J!="string"?"":(J===se&&(se=(0,n.removeMarkdownEscapes)(se)),J=P(J,!1),y.baseUri&&(J=v(f.URI.from(y.baseUri),J)),re=typeof re=="string"?(0,n.removeMarkdownEscapes)(re):"",J=(0,n.removeMarkdownEscapes)(J),!J||/^data:|javascript:/i.test(J)||/^command:/i.test(J)&&!y.isTrusted||/^command:(\/\/\/)?_workbench\.downloadResource/i.test(J)?se:(J=J.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),`${se}`)),R.paragraph=J=>` ${J}
`,E.codeBlockRenderer&&(R.code=(J,re)=>{const se=E.codeBlockRenderer(re??"",J),Z=o.defaultGenerator.nextId();return(0,C.raceCancellation)(Promise.all([se,W]),O.token).then(V=>{var K;if(!B&&V){const X=T.querySelector(`div[data-code="${Z}"]`);X&&L.reset(X,V[0]),(K=E.asyncRenderCallback)===null||K===void 0||K.call(E)}}).catch(()=>{}),`${(0,h.escape)(J)}`}),E.actionHandler){const J=E.actionHandler.disposables.add(new k.DomEmitter(T,"click")),re=E.actionHandler.disposables.add(new k.DomEmitter(T,"auxclick"));E.actionHandler.disposables.add(t.Event.any(J.event,re.event)(se=>{const Z=new w.StandardMouseEvent(se);if(!Z.leftButton&&!Z.middleButton)return;let V=Z.target;if(!(V.tagName!=="A"&&(V=V.parentElement,!V||V.tagName!=="A")))try{let K=V.dataset.href;K&&(y.baseUri&&(K=v(f.URI.from(y.baseUri),K)),E.actionHandler.callback(K,Z))}catch(K){(0,g.onUnexpectedError)(K)}finally{Z.preventDefault()}}))}y.supportHtml||(N.sanitizer=J=>(y.isTrusted?J.match(/^(]+>)|(<\/\s*span>)$/):void 0)?J:"",N.sanitize=!0,N.silent=!0),N.renderer=R;let z=(D=y.value)!==null&&D!==void 0?D:"";z.length>1e5&&(z=`${z.substr(0,1e5)}\u2026`),y.supportThemeIcons&&(z=(0,i.markdownEscapeEscapedIcons)(z));let j=d.marked.parse(z,N);y.supportThemeIcons&&(j=(0,b.renderLabelWithIcons)(j).map(re=>typeof re=="string"?re:re.outerHTML).join(""));const G=new DOMParser().parseFromString(p(y,j),"text/html");if(G.body.querySelectorAll("img").forEach(J=>{const re=J.getAttribute("src");if(re){let se=re;try{y.baseUri&&(se=v(f.URI.from(y.baseUri),se))}catch{}J.src=P(se,!0)}}),T.innerHTML=p(y,G.body.innerHTML),F(),E.asyncRenderCallback)for(const J of T.getElementsByTagName("img")){const re=M.add(L.addDisposableListener(J,"load",()=>{re.dispose(),E.asyncRenderCallback()}))}return{element:T,dispose:()=>{B=!0,O.cancel(),M.dispose()}}}e.renderMarkdown=S;function v(y,E){return/^\w[\w\d+.-]*:/.test(E)?E:y.path.endsWith("/")?(0,l.resolvePath)(y,E).toString():(0,l.resolvePath)((0,l.dirname)(y),E).toString()}function p(y,E){const{config:N,allowedSchemes:D}=_(y);m.addHook("uponSanitizeAttribute",(B,O)=>{if(O.attrName==="style"||O.attrName==="class"){if(B.tagName==="SPAN"){if(O.attrName==="style"){O.keepAttr=/^(color\:#[0-9a-fA-F]+;)?(background-color\:#[0-9a-fA-F]+;)?$/.test(O.attrValue);return}else if(O.attrName==="class"){O.keepAttr=/^codicon codicon-[a-z\-]+( codicon-modifier-[a-z\-]+)?$/.test(O.attrValue);return}}O.keepAttr=!1;return}});const M=document.createElement("a");m.addHook("afterSanitizeAttributes",B=>{for(const O of["href","src"])B.hasAttribute(O)&&(M.href=B.getAttribute(O),D.includes(M.protocol.replace(/:$/,""))||B.removeAttribute(O))});try{return m.sanitize(E,Object.assign(Object.assign({},N),{RETURN_TRUSTED_TYPE:!0}))}finally{m.removeHook("uponSanitizeAttribute"),m.removeHook("afterSanitizeAttributes")}}function _(y){const E=[s.Schemas.http,s.Schemas.https,s.Schemas.mailto,s.Schemas.data,s.Schemas.file,s.Schemas.vscodeFileResource,s.Schemas.vscodeRemote,s.Schemas.vscodeRemoteResource];return y.isTrusted&&E.push(s.Schemas.command),{config:{ALLOWED_TAGS:["ul","li","p","b","i","code","blockquote","ol","h1","h2","h3","h4","h5","h6","hr","em","pre","table","thead","tbody","tr","th","td","div","del","a","strong","br","img","span"],ALLOWED_ATTR:["href","data-href","target","title","src","alt","class","style","data-code","width","height","align"],ALLOW_UNKNOWN_PROTOCOLS:!0},allowedSchemes:E}}}),define(te[173],ie([1,0,168,45,16,42,25]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeDriveLetter=e.getBaseLabel=void 0;function b(g){if(!g)return;typeof g=="string"&&(g=w.URI.file(g));const t=(0,I.basename)(g)||(g.scheme===m.Schemas.file?g.fsPath:g.path);return k.isWindows&&(0,L.isRootOrDriveLetter)(t)?C(t):t}e.getBaseLabel=b;function C(g,t){return(0,L.hasDriveLetter)(g,t)?g.charAt(0).toUpperCase()+g.slice(1):g}e.normalizeDriveLetter=C;let u=Object.create(null)}),define(te[328],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateUuid=void 0;const L=new Uint8Array(16),m=[];for(let w=0;w<256;w++)m.push(w.toString(16).padStart(2,"0"));let k;typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?k=crypto.getRandomValues.bind(crypto):k=function(w){for(let b=0;b{this._pendingReplies[_]={resolve:y,reject:E},this._send(new t(this._workerId,_,v,p))})}listen(v,p){let _=null;const y=new m.Emitter({onFirstListenerAdd:()=>{_=String(++this._lastSentReq),this._pendingEmitters.set(_,y),this._send(new i(this._workerId,_,v,p))},onLastListenerRemove:()=>{this._pendingEmitters.delete(_),this._send(new c(this._workerId,_)),_=null}});return y.event}handleMessage(v){!v||!v.vsWorker||this._workerId!==-1&&v.vsWorker!==this._workerId||this._handleMessage(v)}_handleMessage(v){switch(v.type){case 1:return this._handleReplyMessage(v);case 0:return this._handleRequestMessage(v);case 2:return this._handleSubscribeEventMessage(v);case 3:return this._handleEventMessage(v);case 4:return this._handleUnsubscribeEventMessage(v)}}_handleReplyMessage(v){if(!this._pendingReplies[v.seq]){console.warn("Got reply to unknown seq");return}let p=this._pendingReplies[v.seq];if(delete this._pendingReplies[v.seq],v.err){let _=v.err;v.err.$isError&&(_=new Error,_.name=v.err.name,_.message=v.err.message,_.stack=v.err.stack),p.reject(_);return}p.resolve(v.res)}_handleRequestMessage(v){let p=v.req;this._handler.handleMessage(v.method,v.args).then(y=>{this._send(new n(this._workerId,p,y,void 0))},y=>{y.detail instanceof Error&&(y.detail=(0,L.transformErrorForSerialization)(y.detail)),this._send(new n(this._workerId,p,void 0,(0,L.transformErrorForSerialization)(y)))})}_handleSubscribeEventMessage(v){const p=v.req,_=this._handler.handleEvent(v.eventName,v.arg)(y=>{this._send(new o(this._workerId,p,y))});this._pendingEvents.set(p,_)}_handleEventMessage(v){if(!this._pendingEmitters.has(v.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(v.req).fire(v.event)}_handleUnsubscribeEventMessage(v){if(!this._pendingEvents.has(v.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(v.req).dispose(),this._pendingEvents.delete(v.req)}_send(v){let p=[];if(v.type===0)for(let _=0;_ {this._protocol.handleMessage(B)},B=>{y&&y(B)})),this._protocol=new d({sendMessage:(B,O)=>{this._worker.postMessage(B,O)},handleMessage:(B,O)=>{if(typeof _[B]!="function")return Promise.reject(new Error("Missing method "+B+" on main thread host."));try{return Promise.resolve(_[B].apply(_,O))}catch(T){return Promise.reject(T)}},handleEvent:(B,O)=>{if(a(B)){const T=_[B].call(_,O);if(typeof T!="function")throw new Error(`Missing dynamic event ${B} on main thread host.`);return T}if(s(B)){const T=_[B];if(typeof T!="function")throw new Error(`Missing event ${B} on main thread host.`);return T}throw new Error(`Malformed event name ${B}`)}}),this._protocol.setWorkerId(this._worker.getId());let E=null;typeof I.globals.require!="undefined"&&typeof I.globals.require.getConfig=="function"?E=I.globals.require.getConfig():typeof I.globals.requirejs!="undefined"&&(E=I.globals.requirejs.s.contexts._.config);const N=w.getAllMethodNames(_);this._onModuleLoaded=this._protocol.sendMessage(C,[this._worker.getId(),JSON.parse(JSON.stringify(E)),p,N]);const D=(B,O)=>this._request(B,O),M=(B,O)=>this._protocol.listen(B,O);this._lazyProxy=new Promise((B,O)=>{y=O,this._onModuleLoaded.then(T=>{B(l(T,D,M))},T=>{O(T),this._onError("Worker failed to load "+p,T)})})}getProxyObject(){return this._lazyProxy}_request(v,p){return new Promise((_,y)=>{this._onModuleLoaded.then(()=>{this._protocol.sendMessage(v,p).then(_,y)},y)})}_onError(v,p){console.error(v),console.info(p)}}e.SimpleWorkerClient=r;function s(S){return S[0]==="o"&&S[1]==="n"&&b.isUpperAsciiLetter(S.charCodeAt(2))}function a(S){return/^onDynamic/.test(S)&&b.isUpperAsciiLetter(S.charCodeAt(9))}function l(S,v,p){const _=N=>function(){const D=Array.prototype.slice.call(arguments,0);return v(N,D)},y=N=>function(D){return p(N,D)};let E={};for(const N of S){if(a(N)){E[N]=y(N);continue}if(s(N)){E[N]=p(N,void 0);continue}E[N]=_(N)}return E}class h{constructor(v,p){this._requestHandlerFactory=p,this._requestHandler=null,this._protocol=new d({sendMessage:(_,y)=>{v(_,y)},handleMessage:(_,y)=>this._handleMessage(_,y),handleEvent:(_,y)=>this._handleEvent(_,y)})}onmessage(v){this._protocol.handleMessage(v)}_handleMessage(v,p){if(v===C)return this.initialize(p[0],p[1],p[2],p[3]);if(!this._requestHandler||typeof this._requestHandler[v]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+v));try{return Promise.resolve(this._requestHandler[v].apply(this._requestHandler,p))}catch(_){return Promise.reject(_)}}_handleEvent(v,p){if(!this._requestHandler)throw new Error("Missing requestHandler");if(a(v)){const _=this._requestHandler[v].call(this._requestHandler,p);if(typeof _!="function")throw new Error(`Missing dynamic event ${v} on request handler.`);return _}if(s(v)){const _=this._requestHandler[v];if(typeof _!="function")throw new Error(`Missing event ${v} on request handler.`);return _}throw new Error(`Malformed event name ${v}`)}initialize(v,p,_,y){this._protocol.setWorkerId(v);const D=l(y,(M,B)=>this._protocol.sendMessage(M,B),(M,B)=>this._protocol.listen(M,B));return this._requestHandlerFactory?(this._requestHandler=this._requestHandlerFactory(D),Promise.resolve(w.getAllMethodNames(this._requestHandler))):(p&&(typeof p.baseUrl!="undefined"&&delete p.baseUrl,typeof p.paths!="undefined"&&typeof p.paths.vs!="undefined"&&delete p.paths.vs,typeof p.trustedTypesPolicy!==void 0&&delete p.trustedTypesPolicy,p.catchError=!0,I.globals.require.config(p)),new Promise((M,B)=>{(I.globals.require||q)([_],T=>{if(this._requestHandler=T.create(D),!this._requestHandler){B(new Error("No RequestHandler!"));return}M(w.getAllMethodNames(this._requestHandler))},B)}))}}e.SimpleWorkerServer=h;function f(S){return new h(S,null)}e.create=f}),define(te[329],ie([1,0,16,222]),function(q,e,L,m){"use strict";var k;Object.defineProperty(e,"__esModule",{value:!0}),e.DefaultWorkerFactory=e.getWorkerBootstrapUrl=void 0;const I=(k=window.trustedTypes)===null||k===void 0?void 0:k.createPolicy("defaultWorkerFactory",{createScriptURL:t=>t});function w(t){if(L.globals.MonacoEnvironment){if(typeof L.globals.MonacoEnvironment.getWorker=="function")return L.globals.MonacoEnvironment.getWorker("workerMain.js",t);if(typeof L.globals.MonacoEnvironment.getWorkerUrl=="function"){const n=L.globals.MonacoEnvironment.getWorkerUrl("workerMain.js",t);return new Worker(I?I.createScriptURL(n):n,{name:t})}}if(typeof q=="function"){const n=q.toUrl("vs/base/worker/workerMain.js"),i=b(n,t);return new Worker(I?I.createScriptURL(i):i,{name:t})}throw new Error("You must define a function MonacoEnvironment.getWorkerUrl or MonacoEnvironment.getWorker")}function b(t,n){if(/^((http:)|(https:)|(file:))/.test(t)&&t.substring(0,self.origin.length)!==self.origin){const i="vs/base/worker/defaultWorkerFactory.js",o=q.toUrl(i).slice(0,-i.length),c=`/*${n}*/self.MonacoEnvironment={baseUrl: '${o}'};const ttPolicy = self.trustedTypes?.createPolicy('defaultWorkerFactory', { createScriptURL: value => value });importScripts(ttPolicy?.createScriptURL('${t}') ?? '${t}');/*${n}*/`,d=new Blob([c],{type:"application/javascript"});return URL.createObjectURL(d)}return t+"#"+n}e.getWorkerBootstrapUrl=b;function C(t){return typeof t.then=="function"}class u{constructor(n,i,o,c,d){this.id=i;const r=w(o);C(r)?this.worker=r:this.worker=Promise.resolve(r),this.postMessage(n,[]),this.worker.then(s=>{s.onmessage=function(a){c(a.data)},s.onmessageerror=d,typeof s.addEventListener=="function"&&s.addEventListener("error",d)})}getId(){return this.id}postMessage(n,i){this.worker&&this.worker.then(o=>o.postMessage(n,i))}dispose(){this.worker&&this.worker.then(n=>n.terminate()),this.worker=null}}class g{constructor(n){this._label=n,this._webWorkerFailedBeforeError=!1}create(n,i,o){let c=++g.LAST_WORKER_ID;if(this._webWorkerFailedBeforeError)throw this._webWorkerFailedBeforeError;return new u(n,c,this._label||"anonymous"+c,i,d=>{(0,m.logOnceWebWorkerWarning)(d),this._webWorkerFailedBeforeError=d,o(d)})}}e.DefaultWorkerFactory=g,g.LAST_WORKER_ID=0}),define(te[223],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.quickPickItemScorerAccessor=e.QuickPickItemScorerAccessor=e.ItemActivation=e.QuickInputHideReason=e.NO_KEY_MODS=void 0,e.NO_KEY_MODS={ctrlCmd:!1,alt:!1};var L;(function(I){I[I.Blur=1]="Blur",I[I.Gesture=2]="Gesture",I[I.Other=3]="Other"})(L=e.QuickInputHideReason||(e.QuickInputHideReason={}));var m;(function(I){I[I.NONE=0]="NONE",I[I.FIRST=1]="FIRST",I[I.SECOND=2]="SECOND",I[I.LAST=3]="LAST"})(m=e.ItemActivation||(e.ItemActivation={}));class k{constructor(w){this.options=w}}e.QuickPickItemScorerAccessor=k,e.quickPickItemScorerAccessor=new k}),define(te[330],ie([1,0,10,4,2,19]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryStorageDatabase=e.Storage=void 0;var w;(function(u){u[u.None=0]="None",u[u.Initialized=1]="Initialized",u[u.Closed=2]="Closed"})(w||(w={}));class b extends k.Disposable{constructor(g,t=Object.create(null)){super();this.database=g,this.options=t,this._onDidChangeStorage=this._register(new m.Emitter),this.onDidChangeStorage=this._onDidChangeStorage.event,this.state=w.None,this.cache=new Map,this.flushDelayer=new L.ThrottledDelayer(b.DEFAULT_FLUSH_DELAY),this.pendingDeletes=new Set,this.pendingInserts=new Map,this.whenFlushedCallbacks=[],this.registerListeners()}registerListeners(){this._register(this.database.onDidChangeItemsExternal(g=>this.onDidChangeItemsExternal(g)))}onDidChangeItemsExternal(g){var t,n;(t=g.changed)===null||t===void 0||t.forEach((i,o)=>this.accept(o,i)),(n=g.deleted)===null||n===void 0||n.forEach(i=>this.accept(i,void 0))}accept(g,t){if(this.state===w.Closed)return;let n=!1;(0,I.isUndefinedOrNull)(t)?n=this.cache.delete(g):this.cache.get(g)!==t&&(this.cache.set(g,t),n=!0),n&&this._onDidChangeStorage.fire(g)}get(g,t){const n=this.cache.get(g);return(0,I.isUndefinedOrNull)(n)?t:n}getBoolean(g,t){const n=this.get(g);return(0,I.isUndefinedOrNull)(n)?t:n==="true"}getNumber(g,t){const n=this.get(g);return(0,I.isUndefinedOrNull)(n)?t:parseInt(n,10)}set(g,t){return we(this,void 0,void 0,function*(){if(this.state===w.Closed)return;if((0,I.isUndefinedOrNull)(t))return this.delete(g);const n=String(t);if(this.cache.get(g)!==n)return this.cache.set(g,n),this.pendingInserts.set(g,n),this.pendingDeletes.delete(g),this._onDidChangeStorage.fire(g),this.doFlush()})}delete(g){return we(this,void 0,void 0,function*(){if(!(this.state===w.Closed||!this.cache.delete(g)))return this.pendingDeletes.has(g)||this.pendingDeletes.add(g),this.pendingInserts.delete(g),this._onDidChangeStorage.fire(g),this.doFlush()})}get hasPending(){return this.pendingInserts.size>0||this.pendingDeletes.size>0}flushPending(){return we(this,void 0,void 0,function*(){if(!this.hasPending)return;const g={insert:this.pendingInserts,delete:this.pendingDeletes};return this.pendingDeletes=new Set,this.pendingInserts=new Map,this.database.updateItems(g).finally(()=>{var t;if(!this.hasPending)for(;this.whenFlushedCallbacks.length;)(t=this.whenFlushedCallbacks.pop())===null||t===void 0||t()})})}doFlush(g){return we(this,void 0,void 0,function*(){return this.flushDelayer.trigger(()=>this.flushPending(),g)})}dispose(){this.flushDelayer.dispose(),super.dispose()}}e.Storage=b,b.DEFAULT_FLUSH_DELAY=100;class C{constructor(){this.onDidChangeItemsExternal=m.Event.None,this.items=new Map}updateItems(g){return we(this,void 0,void 0,function*(){g.insert&&g.insert.forEach((t,n)=>this.items.set(n,t)),g.delete&&g.delete.forEach(t=>this.items.delete(t))})}}e.InMemoryStorageDatabase=C}),define(te[224],ie([12]),{}),define(te[331],ie([12]),{}),define(te[46],ie([1,0,7,16,331]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.status=e.alert=e.setARIAContainer=void 0;const k=2e4;let I,w,b,C,u;function g(o){I=document.createElement("div"),I.className="monaco-aria-container";const c=()=>{const r=document.createElement("div");return r.className="monaco-alert",r.setAttribute("role","alert"),r.setAttribute("aria-atomic","true"),I.appendChild(r),r};w=c(),b=c();const d=()=>{const r=document.createElement("div");return r.className="monaco-status",r.setAttribute("role","complementary"),r.setAttribute("aria-live","polite"),r.setAttribute("aria-atomic","true"),I.appendChild(r),r};C=d(),u=d(),o.appendChild(I)}e.setARIAContainer=g;function t(o){!I||(w.textContent!==o?(L.clearNode(b),i(w,o)):(L.clearNode(w),i(b,o)))}e.alert=t;function n(o){!I||(m.isMacintosh?t(o):C.textContent!==o?(L.clearNode(u),i(C,o)):(L.clearNode(C),i(u,o)))}e.status=n;function i(o,c){L.clearNode(o),c.length>k&&(c=c.substr(0,k)),o.textContent=c,o.style.visibility="hidden",o.style.visibility="visible"}}),define(te[332],ie([12]),{}),define(te[333],ie([1,0,7,44,60,115,30,4,2,40,332]),function(q,e,L,m,k,I,w,b,C,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Button=void 0;const g={buttonBackground:w.Color.fromHex("#0E639C"),buttonHoverBackground:w.Color.fromHex("#006BB3"),buttonForeground:w.Color.white};class t extends C.Disposable{constructor(i,o){super();this._onDidClick=this._register(new b.Emitter),this.options=o||Object.create(null),(0,u.mixin)(this.options,g,!1),this.buttonForeground=this.options.buttonForeground,this.buttonBackground=this.options.buttonBackground,this.buttonHoverBackground=this.options.buttonHoverBackground,this.buttonSecondaryForeground=this.options.buttonSecondaryForeground,this.buttonSecondaryBackground=this.options.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=this.options.buttonSecondaryHoverBackground,this.buttonBorder=this.options.buttonBorder,this._element=document.createElement("a"),this._element.classList.add("monaco-button"),this._element.tabIndex=0,this._element.setAttribute("role","button"),i.appendChild(this._element),this._register(k.Gesture.addTarget(this._element)),[L.EventType.CLICK,k.EventType.Tap].forEach(c=>{this._register((0,L.addDisposableListener)(this._element,c,d=>{if(!this.enabled){L.EventHelper.stop(d);return}this._onDidClick.fire(d)}))}),this._register((0,L.addDisposableListener)(this._element,L.EventType.KEY_DOWN,c=>{const d=new m.StandardKeyboardEvent(c);let r=!1;this.enabled&&(d.equals(3)||d.equals(10))?(this._onDidClick.fire(c),r=!0):d.equals(9)&&(this._element.blur(),r=!0),r&&L.EventHelper.stop(d,!0)})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OVER,c=>{this._element.classList.contains("disabled")||this.setHoverBackground()})),this._register((0,L.addDisposableListener)(this._element,L.EventType.MOUSE_OUT,c=>{this.applyStyles()})),this.focusTracker=this._register((0,L.trackFocus)(this._element)),this._register(this.focusTracker.onDidFocus(()=>this.setHoverBackground())),this._register(this.focusTracker.onDidBlur(()=>this.applyStyles())),this.applyStyles()}get onDidClick(){return this._onDidClick.event}setHoverBackground(){let i;this.options.secondary?i=this.buttonSecondaryHoverBackground?this.buttonSecondaryHoverBackground.toString():null:i=this.buttonHoverBackground?this.buttonHoverBackground.toString():null,i&&(this._element.style.backgroundColor=i)}style(i){this.buttonForeground=i.buttonForeground,this.buttonBackground=i.buttonBackground,this.buttonHoverBackground=i.buttonHoverBackground,this.buttonSecondaryForeground=i.buttonSecondaryForeground,this.buttonSecondaryBackground=i.buttonSecondaryBackground,this.buttonSecondaryHoverBackground=i.buttonSecondaryHoverBackground,this.buttonBorder=i.buttonBorder,this.applyStyles()}applyStyles(){if(this._element){let i,o;this.options.secondary?(o=this.buttonSecondaryForeground?this.buttonSecondaryForeground.toString():"",i=this.buttonSecondaryBackground?this.buttonSecondaryBackground.toString():""):(o=this.buttonForeground?this.buttonForeground.toString():"",i=this.buttonBackground?this.buttonBackground.toString():"");const c=this.buttonBorder?this.buttonBorder.toString():"";this._element.style.color=o,this._element.style.backgroundColor=i,this._element.style.borderWidth=c?"1px":"",this._element.style.borderStyle=c?"solid":"",this._element.style.borderColor=c}}get element(){return this._element}set label(i){this._element.classList.add("monaco-text-button"),this.options.supportIcons?(0,L.reset)(this._element,...(0,I.renderLabelWithIcons)(i)):this._element.textContent=i,typeof this.options.title=="string"?this._element.title=this.options.title:this.options.title&&(this._element.title=i)}set enabled(i){i?(this._element.classList.remove("disabled"),this._element.setAttribute("aria-disabled",String(!1)),this._element.tabIndex=0):(this._element.classList.add("disabled"),this._element.setAttribute("aria-disabled",String(!0)))}get enabled(){return!this._element.classList.contains("disabled")}}e.Button=t}),define(te[334],ie([12]),{}),define(te[174],ie([1,0,62,28,30,4,334]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Checkbox=void 0;const w={inputActiveOptionBorder:k.Color.fromHex("#007ACC00"),inputActiveOptionForeground:k.Color.fromHex("#FFFFFF"),inputActiveOptionBackground:k.Color.fromHex("#0E639C50")};class b extends L.Widget{constructor(u){super();this._onChange=this._register(new I.Emitter),this.onChange=this._onChange.event,this._onKeyDown=this._register(new I.Emitter),this.onKeyDown=this._onKeyDown.event,this._opts=Object.assign(Object.assign({},w),u),this._checked=this._opts.isChecked;const g=["monaco-custom-checkbox"];this._opts.icon&&g.push(...m.CSSIcon.asClassNameArray(this._opts.icon)),this._opts.actionClassName&&g.push(...this._opts.actionClassName.split(" ")),this._checked&&g.push("checked"),this.domNode=document.createElement("div"),this.domNode.title=this._opts.title,this.domNode.classList.add(...g),this._opts.notFocusable||(this.domNode.tabIndex=0),this.domNode.setAttribute("role","checkbox"),this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.setAttribute("aria-label",this._opts.title),this.applyStyles(),this.onclick(this.domNode,t=>{this.enabled&&(this.checked=!this._checked,this._onChange.fire(!1),t.preventDefault())}),this.ignoreGesture(this.domNode),this.onkeydown(this.domNode,t=>{if(t.keyCode===10||t.keyCode===3){this.checked=!this._checked,this._onChange.fire(!0),t.preventDefault();return}this._onKeyDown.fire(t)})}get enabled(){return this.domNode.getAttribute("aria-disabled")!=="true"}focus(){this.domNode.focus()}get checked(){return this._checked}set checked(u){this._checked=u,this.domNode.setAttribute("aria-checked",String(this._checked)),this.domNode.classList.toggle("checked",this._checked),this.applyStyles()}width(){return 2+2+2+16}style(u){u.inputActiveOptionBorder&&(this._opts.inputActiveOptionBorder=u.inputActiveOptionBorder),u.inputActiveOptionForeground&&(this._opts.inputActiveOptionForeground=u.inputActiveOptionForeground),u.inputActiveOptionBackground&&(this._opts.inputActiveOptionBackground=u.inputActiveOptionBackground),this.applyStyles()}applyStyles(){this.domNode&&(this.domNode.style.borderColor=this._checked&&this._opts.inputActiveOptionBorder?this._opts.inputActiveOptionBorder.toString():"",this.domNode.style.color=this._checked&&this._opts.inputActiveOptionForeground?this._opts.inputActiveOptionForeground.toString():"inherit",this.domNode.style.backgroundColor=this._checked&&this._opts.inputActiveOptionBackground?this._opts.inputActiveOptionBackground.toString():"")}enable(){this.domNode.setAttribute("aria-disabled",String(!1))}disable(){this.domNode.setAttribute("aria-disabled",String(!0))}}e.Checkbox=b}),define(te[335],ie([12]),{}),define(te[336],ie([12]),{}),define(te[143],ie([1,0,28,335,336]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.formatRule=void 0;function m(k){let I=k.definition;for(;I instanceof L.Codicon;)I=I.definition;return`.codicon-${k.id}:before { content: '${I.fontCharacter}'; }`}e.formatRule=m}),define(te[337],ie([12]),{}),define(te[225],ie([1,0,167,7,2,16,139,337]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ContextView=e.layout=e.LayoutAnchorMode=void 0;var b;(function(t){t[t.AVOID=0]="AVOID",t[t.ALIGN=1]="ALIGN"})(b=e.LayoutAnchorMode||(e.LayoutAnchorMode={}));function C(t,n,i){const o=i.mode===b.ALIGN?i.offset:i.offset+i.size,c=i.mode===b.ALIGN?i.offset+i.size:i.offset;return i.position===0?n<=t-o?o:n<=c?c-n:Math.max(t-n,0):n<=c?c-n:n<=t-o?o:0}e.layout=C;class u extends k.Disposable{constructor(n,i){super();this.container=null,this.delegate=null,this.toDisposeOnClean=k.Disposable.None,this.toDisposeOnSetContainer=k.Disposable.None,this.shadowRoot=null,this.shadowRootHostElement=null,this.view=m.$(".context-view"),this.useFixedPosition=!1,this.useShadowDOM=!1,m.hide(this.view),this.setContainer(n,i),this._register((0,k.toDisposable)(()=>this.setContainer(null,1)))}setContainer(n,i){var o;if(this.container&&(this.toDisposeOnSetContainer.dispose(),this.shadowRoot?(this.shadowRoot.removeChild(this.view),this.shadowRoot=null,(o=this.shadowRootHostElement)===null||o===void 0||o.remove(),this.shadowRootHostElement=null):this.container.removeChild(this.view),this.container=null),n){if(this.container=n,this.useFixedPosition=i!==1,this.useShadowDOM=i===3,this.useShadowDOM){this.shadowRootHostElement=m.$(".shadow-root-host"),this.container.appendChild(this.shadowRootHostElement),this.shadowRoot=this.shadowRootHostElement.attachShadow({mode:"open"});const d=document.createElement("style");d.textContent=g,this.shadowRoot.appendChild(d),this.shadowRoot.appendChild(this.view),this.shadowRoot.appendChild(m.$("slot"))}else this.container.appendChild(this.view);const c=new k.DisposableStore;u.BUBBLE_UP_EVENTS.forEach(d=>{c.add(m.addStandardDisposableListener(this.container,d,r=>{this.onDOMEvent(r,!1)}))}),u.BUBBLE_DOWN_EVENTS.forEach(d=>{c.add(m.addStandardDisposableListener(this.container,d,r=>{this.onDOMEvent(r,!0)},!0))}),this.toDisposeOnSetContainer=c}}show(n){this.isVisible()&&this.hide(),m.clearNode(this.view),this.view.className="context-view",this.view.style.top="0px",this.view.style.left="0px",this.view.style.zIndex="2500",this.view.style.position=this.useFixedPosition?"fixed":"absolute",m.show(this.view),this.toDisposeOnClean=n.render(this.view)||k.Disposable.None,this.delegate=n,this.doLayout(),this.delegate.focus&&this.delegate.focus()}getViewElement(){return this.view}layout(){if(!!this.isVisible()){if(this.delegate.canRelayout===!1&&!(I.isIOS&&L.BrowserFeatures.pointerEvents)){this.hide();return}this.delegate.layout&&this.delegate.layout(),this.doLayout()}}doLayout(){if(!this.isVisible())return;let n=this.delegate.getAnchor(),i;if(m.isHTMLElement(n)){let f=m.getDomNodePagePosition(n);i={top:f.top,left:f.left,width:f.width,height:f.height}}else i={top:n.y,left:n.x,width:n.width||1,height:n.height||2};const o=m.getTotalWidth(this.view),c=m.getTotalHeight(this.view),d=this.delegate.anchorPosition||0,r=this.delegate.anchorAlignment||0,s=this.delegate.anchorAxisAlignment||0;let a,l;if(s===0){const f={offset:i.top-window.pageYOffset,size:i.height,position:d===0?0:1},S={offset:i.left,size:i.width,position:r===0?0:1,mode:b.ALIGN};a=C(window.innerHeight,c,f)+window.pageYOffset,w.Range.intersects({start:a,end:a+c},{start:f.offset,end:f.offset+f.size})&&(S.mode=b.AVOID),l=C(window.innerWidth,o,S)}else{const f={offset:i.left,size:i.width,position:r===0?0:1},S={offset:i.top,size:i.height,position:d===0?0:1,mode:b.ALIGN};l=C(window.innerWidth,o,f),w.Range.intersects({start:l,end:l+o},{start:f.offset,end:f.offset+f.size})&&(S.mode=b.AVOID),a=C(window.innerHeight,c,S)+window.pageYOffset}this.view.classList.remove("top","bottom","left","right"),this.view.classList.add(d===0?"bottom":"top"),this.view.classList.add(r===0?"left":"right"),this.view.classList.toggle("fixed",this.useFixedPosition);const h=m.getDomNodePagePosition(this.container);this.view.style.top=`${a-(this.useFixedPosition?m.getDomNodePagePosition(this.view).top:h.top)}px`,this.view.style.left=`${l-(this.useFixedPosition?m.getDomNodePagePosition(this.view).left:h.left)}px`,this.view.style.width="initial"}hide(n){const i=this.delegate;this.delegate=null,(i==null?void 0:i.onHide)&&i.onHide(n),this.toDisposeOnClean.dispose(),m.hide(this.view)}isVisible(){return!!this.delegate}onDOMEvent(n,i){this.delegate&&(this.delegate.onDOMEvent?this.delegate.onDOMEvent(n,document.activeElement):i&&!m.isAncestor(n.target,this.container)&&this.hide())}dispose(){this.hide(),super.dispose()}}e.ContextView=u,u.BUBBLE_UP_EVENTS=["click","keydown","focus","blur"],u.BUBBLE_DOWN_EVENTS=["click"];let g=` + :host { + all: initial; /* 1st rule so subsequent properties are reset. */ + } + + @font-face { + font-family: "codicon"; + font-display: block; + src: url("./codicon.ttf?5d4d76ab2ce5108968ad644d591a16a6") format("truetype"); + } + + .codicon[class*='codicon-'] { + font: normal normal normal 16px/1 codicon; + display: inline-block; + text-decoration: none; + text-rendering: auto; + text-align: center; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + } + + :host { + font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif; + } + + :host-context(.mac) { font-family: -apple-system, BlinkMacSystemFont, sans-serif; } + :host-context(.mac:lang(zh-Hans)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif; } + :host-context(.mac:lang(zh-Hant)) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", sans-serif; } + :host-context(.mac:lang(ja)) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic Pro", sans-serif; } + :host-context(.mac:lang(ko)) { font-family: -apple-system, BlinkMacSystemFont, "Nanum Gothic", "Apple SD Gothic Neo", "AppleGothic", sans-serif; } + + :host-context(.windows) { font-family: "Segoe WPC", "Segoe UI", sans-serif; } + :host-context(.windows:lang(zh-Hans)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft YaHei", sans-serif; } + :host-context(.windows:lang(zh-Hant)) { font-family: "Segoe WPC", "Segoe UI", "Microsoft Jhenghei", sans-serif; } + :host-context(.windows:lang(ja)) { font-family: "Segoe WPC", "Segoe UI", "Yu Gothic UI", "Meiryo UI", sans-serif; } + :host-context(.windows:lang(ko)) { font-family: "Segoe WPC", "Segoe UI", "Malgun Gothic", "Dotom", sans-serif; } + + :host-context(.linux) { font-family: system-ui, "Ubuntu", "Droid Sans", sans-serif; } + :host-context(.linux:lang(zh-Hans)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", sans-serif; } + :host-context(.linux:lang(zh-Hant)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans TC", "Source Han Sans TW", "Source Han Sans", sans-serif; } + :host-context(.linux:lang(ja)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans J", "Source Han Sans JP", "Source Han Sans", sans-serif; } + :host-context(.linux:lang(ko)) { font-family: system-ui, "Ubuntu", "Droid Sans", "Source Han Sans K", "Source Han Sans JR", "Source Han Sans", "UnDotum", "FBaekmuk Gulim", sans-serif; } +`}),define(te[338],ie([12]),{}),define(te[226],ie([1,0,7,30,40,8,338]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CountBadge=void 0;const w={badgeBackground:m.Color.fromHex("#4D4D4D"),badgeForeground:m.Color.fromHex("#FFFFFF")};class b{constructor(u,g){this.count=0,this.options=g||Object.create(null),(0,k.mixin)(this.options,w,!1),this.badgeBackground=this.options.badgeBackground,this.badgeForeground=this.options.badgeForeground,this.badgeBorder=this.options.badgeBorder,this.element=(0,L.append)(u,(0,L.$)(".monaco-count-badge")),this.countFormat=this.options.countFormat||"{0}",this.titleFormat=this.options.titleFormat||"",this.setCount(this.options.count||0)}setCount(u){this.count=u,this.render()}setTitleFormat(u){this.titleFormat=u,this.render()}render(){this.element.textContent=(0,I.format)(this.countFormat,this.count),this.element.title=(0,I.format)(this.titleFormat,this.count),this.applyStyles()}style(u){this.badgeBackground=u.badgeBackground,this.badgeForeground=u.badgeForeground,this.badgeBorder=u.badgeBorder,this.applyStyles()}applyStyles(){if(this.element){const u=this.badgeBackground?this.badgeBackground.toString():"",g=this.badgeForeground?this.badgeForeground.toString():"",t=this.badgeBorder?this.badgeBorder.toString():"";this.element.style.backgroundColor=u,this.element.style.color=g,this.element.style.borderWidth=t?"1px":"",this.element.style.borderStyle=t?"solid":"",this.element.style.borderColor=t}}}e.CountBadge=b}),define(te[227],ie([12]),{}),define(te[228],ie([12]),{}),define(te[339],ie([12]),{}),define(te[340],ie([12]),{}),define(te[341],ie([12]),{}),define(te[342],ie([12]),{}),define(te[229],ie([12]),{}),define(te[343],ie([12]),{}),define(te[144],ie([1,0,343]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME=void 0,e.MOUSE_CURSOR_TEXT_CSS_CLASS_NAME="monaco-mouse-cursor-text"}),define(te[344],ie([12]),{}),define(te[345],ie([1,0,7,10,30,2,40,344]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ProgressBar=void 0;const b="done",C="active",u="infinite",g="infinite-long-running",t="discrete",n={progressBarBackground:k.Color.fromHex("#0E70C0")};class i extends I.Disposable{constructor(c,d){super();this.options=d||Object.create(null),(0,w.mixin)(this.options,n,!1),this.workedVal=0,this.progressBarBackground=this.options.progressBarBackground,this.showDelayedScheduler=this._register(new m.RunOnceScheduler(()=>(0,L.show)(this.element),0)),this.longRunningScheduler=this._register(new m.RunOnceScheduler(()=>this.infiniteLongRunning(),i.LONG_RUNNING_INFINITE_THRESHOLD)),this.create(c)}create(c){this.element=document.createElement("div"),this.element.classList.add("monaco-progress-container"),this.element.setAttribute("role","progressbar"),this.element.setAttribute("aria-valuemin","0"),c.appendChild(this.element),this.bit=document.createElement("div"),this.bit.classList.add("progress-bit"),this.element.appendChild(this.bit),this.applyStyles()}off(){this.bit.style.width="inherit",this.bit.style.opacity="1",this.element.classList.remove(C,u,g,t),this.workedVal=0,this.totalWork=void 0,this.longRunningScheduler.cancel()}stop(){return this.doDone(!1)}doDone(c){return this.element.classList.add(b),this.element.classList.contains(u)?(this.bit.style.opacity="0",c?setTimeout(()=>this.off(),200):this.off()):(this.bit.style.width="inherit",c?setTimeout(()=>this.off(),200):this.off()),this}infinite(){return this.bit.style.width="2%",this.bit.style.opacity="1",this.element.classList.remove(t,b,g),this.element.classList.add(C,u),this.longRunningScheduler.schedule(),this}infiniteLongRunning(){this.element.classList.add(g)}getContainer(){return this.element}style(c){this.progressBarBackground=c.progressBarBackground,this.applyStyles()}applyStyles(){if(this.bit){const c=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=c}}}e.ProgressBar=i,i.LONG_RUNNING_INFINITE_THRESHOLD=1e4}),define(te[346],ie([12]),{}),define(te[116],ie([1,0,7,92,60,10,95,4,2,16,346]),function(q,e,L,m,k,I,w,b,C,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Sash=e.OrthogonalEdge=void 0;let g=!1;var t;(function(h){h.North="north",h.South="south",h.East="east",h.West="west"})(t=e.OrthogonalEdge||(e.OrthogonalEdge={}));let n=4;const i=new b.Emitter;let o=300;const c=new b.Emitter;class d{constructor(){this.disposables=new C.DisposableStore}get onPointerMove(){return this.disposables.add(new m.DomEmitter(window,"mousemove")).event}get onPointerUp(){return this.disposables.add(new m.DomEmitter(window,"mouseup")).event}dispose(){this.disposables.dispose()}}Ie([w.memoize],d.prototype,"onPointerMove",null),Ie([w.memoize],d.prototype,"onPointerUp",null);class r{constructor(f){this.el=f,this.disposables=new C.DisposableStore}get onPointerMove(){return this.disposables.add(new m.DomEmitter(this.el,k.EventType.Change)).event}get onPointerUp(){return this.disposables.add(new m.DomEmitter(this.el,k.EventType.End)).event}dispose(){this.disposables.dispose()}}Ie([w.memoize],r.prototype,"onPointerMove",null),Ie([w.memoize],r.prototype,"onPointerUp",null);class s{constructor(f){this.factory=f}get onPointerMove(){return this.factory.onPointerMove}get onPointerUp(){return this.factory.onPointerUp}dispose(){}}Ie([w.memoize],s.prototype,"onPointerMove",null),Ie([w.memoize],s.prototype,"onPointerUp",null);const a="pointer-events-disabled";class l extends C.Disposable{constructor(f,S,v){super();this.hoverDelay=o,this.hoverDelayer=this._register(new I.Delayer(this.hoverDelay)),this._state=3,this.onDidEnablementChange=this._register(new b.Emitter),this._onDidStart=this._register(new b.Emitter),this._onDidChange=this._register(new b.Emitter),this._onDidReset=this._register(new b.Emitter),this._onDidEnd=this._register(new b.Emitter),this.orthogonalStartSashDisposables=this._register(new C.DisposableStore),this.orthogonalStartDragHandleDisposables=this._register(new C.DisposableStore),this.orthogonalEndSashDisposables=this._register(new C.DisposableStore),this.orthogonalEndDragHandleDisposables=this._register(new C.DisposableStore),this.onDidStart=this._onDidStart.event,this.onDidChange=this._onDidChange.event,this.onDidReset=this._onDidReset.event,this.onDidEnd=this._onDidEnd.event,this.linkedSash=void 0,this.el=(0,L.append)(f,(0,L.$)(".monaco-sash")),v.orthogonalEdge&&this.el.classList.add(`orthogonal-edge-${v.orthogonalEdge}`),u.isMacintosh&&this.el.classList.add("mac");const p=this._register(new m.DomEmitter(this.el,"mousedown")).event;this._register(p(B=>this.onPointerStart(B,new d),this));const _=this._register(new m.DomEmitter(this.el,"dblclick")).event;this._register(_(this.onPointerDoublePress,this));const y=this._register(new m.DomEmitter(this.el,"mouseenter")).event;this._register(y(()=>l.onMouseEnter(this)));const E=this._register(new m.DomEmitter(this.el,"mouseleave")).event;this._register(E(()=>l.onMouseLeave(this))),this._register(k.Gesture.addTarget(this.el));const N=b.Event.map(this._register(new m.DomEmitter(this.el,k.EventType.Start)).event,B=>{var O;return Object.assign(Object.assign({},B),{target:(O=B.initialTarget)!==null&&O!==void 0?O:null})});this._register(N(B=>this.onPointerStart(B,new r(this.el)),this));const D=this._register(new m.DomEmitter(this.el,k.EventType.Tap)).event,M=b.Event.map(b.Event.filter(b.Event.debounce(D,(B,O)=>{var T;return{event:O,count:((T=B==null?void 0:B.count)!==null&&T!==void 0?T:0)+1}},250),({count:B})=>B===2),({event:B})=>{var O;return Object.assign(Object.assign({},B),{target:(O=B.initialTarget)!==null&&O!==void 0?O:null})});this._register(M(this.onPointerDoublePress,this)),typeof v.size=="number"?(this.size=v.size,v.orientation===0?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=n,this._register(i.event(B=>{this.size=B,this.layout()}))),this._register(c.event(B=>this.hoverDelay=B)),this.layoutProvider=S,this.orthogonalStartSash=v.orthogonalStartSash,this.orthogonalEndSash=v.orthogonalEndSash,this.orientation=v.orientation||0,this.orientation===1?(this.el.classList.add("horizontal"),this.el.classList.remove("vertical")):(this.el.classList.remove("horizontal"),this.el.classList.add("vertical")),this.el.classList.toggle("debug",g),this.layout()}get state(){return this._state}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}set state(f){this._state!==f&&(this.el.classList.toggle("disabled",f===0),this.el.classList.toggle("minimum",f===1),this.el.classList.toggle("maximum",f===2),this._state=f,this.onDidEnablementChange.fire(f))}set orthogonalStartSash(f){if(this.orthogonalStartDragHandleDisposables.clear(),this.orthogonalStartSashDisposables.clear(),f){const S=v=>{this.orthogonalStartDragHandleDisposables.clear(),v!==0&&(this._orthogonalStartDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.start")),this.orthogonalStartDragHandleDisposables.add((0,C.toDisposable)(()=>this._orthogonalStartDragHandle.remove())),this.orthogonalStartDragHandleDisposables.add(new m.DomEmitter(this._orthogonalStartDragHandle,"mouseenter")).event(()=>l.onMouseEnter(f),void 0,this.orthogonalStartDragHandleDisposables),this.orthogonalStartDragHandleDisposables.add(new m.DomEmitter(this._orthogonalStartDragHandle,"mouseleave")).event(()=>l.onMouseLeave(f),void 0,this.orthogonalStartDragHandleDisposables))};this.orthogonalStartSashDisposables.add(f.onDidEnablementChange.event(S,this)),S(f.state)}this._orthogonalStartSash=f}set orthogonalEndSash(f){if(this.orthogonalEndDragHandleDisposables.clear(),this.orthogonalEndSashDisposables.clear(),f){const S=v=>{this.orthogonalEndDragHandleDisposables.clear(),v!==0&&(this._orthogonalEndDragHandle=(0,L.append)(this.el,(0,L.$)(".orthogonal-drag-handle.end")),this.orthogonalEndDragHandleDisposables.add((0,C.toDisposable)(()=>this._orthogonalEndDragHandle.remove())),this.orthogonalEndDragHandleDisposables.add(new m.DomEmitter(this._orthogonalEndDragHandle,"mouseenter")).event(()=>l.onMouseEnter(f),void 0,this.orthogonalEndDragHandleDisposables),this.orthogonalEndDragHandleDisposables.add(new m.DomEmitter(this._orthogonalEndDragHandle,"mouseleave")).event(()=>l.onMouseLeave(f),void 0,this.orthogonalEndDragHandleDisposables))};this.orthogonalEndSashDisposables.add(f.onDidEnablementChange.event(S,this)),S(f.state)}this._orthogonalEndSash=f}onPointerStart(f,S){L.EventHelper.stop(f);let v=!1;if(!f.__orthogonalSashEvent){const A=this.getOrthogonalSash(f);A&&(v=!0,f.__orthogonalSashEvent=!0,A.onPointerStart(f,new s(S)))}if(this.linkedSash&&!f.__linkedSashEvent&&(f.__linkedSashEvent=!0,this.linkedSash.onPointerStart(f,new s(S))),!this.state)return;const p=(0,L.getElementsByTagName)("iframe");for(const A of p)A.classList.add(a);const _=f.pageX,y=f.pageY,E=f.altKey,N={startX:_,currentX:_,startY:y,currentY:y,altKey:E};this.el.classList.add("active"),this._onDidStart.fire(N);const D=(0,L.createStyleSheet)(this.el),M=()=>{let A="";v?A="all-scroll":this.orientation===1?this.state===1?A="s-resize":this.state===2?A="n-resize":A=u.isMacintosh?"row-resize":"ns-resize":this.state===1?A="e-resize":this.state===2?A="w-resize":A=u.isMacintosh?"col-resize":"ew-resize",D.textContent=`* { cursor: ${A} !important; }`},B=new C.DisposableStore;M(),v||this.onDidEnablementChange.event(M,null,B);const O=A=>{L.EventHelper.stop(A,!1);const P={startX:_,currentX:A.pageX,startY:y,currentY:A.pageY,altKey:E};this._onDidChange.fire(P)},T=A=>{L.EventHelper.stop(A,!1),this.el.removeChild(D),this.el.classList.remove("active"),this._onDidEnd.fire(),B.dispose();for(const P of p)P.classList.remove(a)};S.onPointerMove(O,null,B),S.onPointerUp(T,null,B),B.add(S)}onPointerDoublePress(f){const S=this.getOrthogonalSash(f);S&&S._onDidReset.fire(),this.linkedSash&&this.linkedSash._onDidReset.fire(),this._onDidReset.fire()}static onMouseEnter(f,S=!1){f.el.classList.contains("active")?(f.hoverDelayer.cancel(),f.el.classList.add("hover")):f.hoverDelayer.trigger(()=>f.el.classList.add("hover"),f.hoverDelay).then(void 0,()=>{}),!S&&f.linkedSash&&l.onMouseEnter(f.linkedSash,!0)}static onMouseLeave(f,S=!1){f.hoverDelayer.cancel(),f.el.classList.remove("hover"),!S&&f.linkedSash&&l.onMouseLeave(f.linkedSash,!0)}clearSashHoverState(){l.onMouseLeave(this)}layout(){if(this.orientation===0){const f=this.layoutProvider;this.el.style.left=f.getVerticalSashLeft(this)-this.size/2+"px",f.getVerticalSashTop&&(this.el.style.top=f.getVerticalSashTop(this)+"px"),f.getVerticalSashHeight&&(this.el.style.height=f.getVerticalSashHeight(this)+"px")}else{const f=this.layoutProvider;this.el.style.top=f.getHorizontalSashTop(this)-this.size/2+"px",f.getHorizontalSashLeft&&(this.el.style.left=f.getHorizontalSashLeft(this)+"px"),f.getHorizontalSashWidth&&(this.el.style.width=f.getHorizontalSashWidth(this)+"px")}}getOrthogonalSash(f){if(!(!f.target||!(f.target instanceof HTMLElement))&&f.target.classList.contains("orthogonal-drag-handle"))return f.target.classList.contains("start")?this.orthogonalStartSash:this.orthogonalEndSash}dispose(){super.dispose(),this.el.remove()}}e.Sash=l}),define(te[347],ie([12]),{}),define(te[69],ie([1,0,34,7,31,59,325,326,62,10,4,2,16,140,347]),function(q,e,L,m,k,I,w,b,C,u,g,t,n,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DomScrollableElement=e.SmoothScrollableElement=e.ScrollableElement=e.AbstractScrollableElement=e.MouseWheelClassifier=void 0;const o=500,c=50,d=!0;class r{constructor(p,_,y){this.timestamp=p,this.deltaX=_,this.deltaY=y,this.score=0}}class s{constructor(){this._capacity=5,this._memory=[],this._front=-1,this._rear=-1}isPhysicalMouseWheel(){if(this._front===-1&&this._rear===-1)return!1;let p=1,_=0,y=1,E=this._rear;do{const N=E===this._front?p:Math.pow(2,-y);if(p-=N,_+=this._memory[E].score*N,E===this._front)break;E=(this._capacity+E-1)%this._capacity,y++}while(!0);return _<=.5}accept(p,_,y){const E=new r(p,_,y);E.score=this._computeScore(E),this._front===-1&&this._rear===-1?(this._memory[0]=E,this._front=0,this._rear=0):(this._rear=(this._rear+1)%this._capacity,this._rear===this._front&&(this._front=(this._front+1)%this._capacity),this._memory[this._rear]=E)}_computeScore(p){if(Math.abs(p.deltaX)>0&&Math.abs(p.deltaY)>0)return 1;let _=.5;const y=this._front===-1&&this._rear===-1?null:this._memory[this._rear];return(!this._isAlmostInt(p.deltaX)||!this._isAlmostInt(p.deltaY))&&(_+=.25),Math.min(Math.max(_,0),1)}_isAlmostInt(p){return Math.abs(Math.round(p)-p)<.01}}e.MouseWheelClassifier=s,s.INSTANCE=new s;class a extends C.Widget{constructor(p,_,y){super();this._onScroll=this._register(new g.Emitter),this.onScroll=this._onScroll.event,this._onWillScroll=this._register(new g.Emitter),p.style.overflow="hidden",this._options=S(_),this._scrollable=y,this._register(this._scrollable.onScroll(N=>{this._onWillScroll.fire(N),this._onDidScroll(N),this._onScroll.fire(N)}));const E={onMouseWheel:N=>this._onMouseWheel(N),onDragStart:()=>this._onDragStart(),onDragEnd:()=>this._onDragEnd()};this._verticalScrollbar=this._register(new b.VerticalScrollbar(this._scrollable,this._options,E)),this._horizontalScrollbar=this._register(new w.HorizontalScrollbar(this._scrollable,this._options,E)),this._domNode=document.createElement("div"),this._domNode.className="monaco-scrollable-element "+this._options.className,this._domNode.setAttribute("role","presentation"),this._domNode.style.position="relative",this._domNode.style.overflow="hidden",this._domNode.appendChild(p),this._domNode.appendChild(this._horizontalScrollbar.domNode.domNode),this._domNode.appendChild(this._verticalScrollbar.domNode.domNode),this._options.useShadows?(this._leftShadowDomNode=(0,k.createFastDomNode)(document.createElement("div")),this._leftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._leftShadowDomNode.domNode),this._topShadowDomNode=(0,k.createFastDomNode)(document.createElement("div")),this._topShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topShadowDomNode.domNode),this._topLeftShadowDomNode=(0,k.createFastDomNode)(document.createElement("div")),this._topLeftShadowDomNode.setClassName("shadow"),this._domNode.appendChild(this._topLeftShadowDomNode.domNode)):(this._leftShadowDomNode=null,this._topShadowDomNode=null,this._topLeftShadowDomNode=null),this._listenOnDomNode=this._options.listenOnDomNode||this._domNode,this._mouseWheelToDispose=[],this._setListeningToMouseWheel(this._options.handleMouseWheel),this.onmouseover(this._listenOnDomNode,N=>this._onMouseOver(N)),this.onnonbubblingmouseout(this._listenOnDomNode,N=>this._onMouseOut(N)),this._hideTimeout=this._register(new u.TimeoutTimer),this._isDragging=!1,this._mouseIsOver=!1,this._shouldRender=!0,this._revealOnScroll=!0}get options(){return this._options}dispose(){this._mouseWheelToDispose=(0,t.dispose)(this._mouseWheelToDispose),super.dispose()}getDomNode(){return this._domNode}getOverviewRulerLayoutInfo(){return{parent:this._domNode,insertBefore:this._verticalScrollbar.domNode.domNode}}delegateVerticalScrollbarMouseDown(p){this._verticalScrollbar.delegateMouseDown(p)}getScrollDimensions(){return this._scrollable.getScrollDimensions()}setScrollDimensions(p){this._scrollable.setScrollDimensions(p,!1)}updateClassName(p){this._options.className=p,n.isMacintosh&&(this._options.className+=" mac"),this._domNode.className="monaco-scrollable-element "+this._options.className}updateOptions(p){typeof p.handleMouseWheel!="undefined"&&(this._options.handleMouseWheel=p.handleMouseWheel,this._setListeningToMouseWheel(this._options.handleMouseWheel)),typeof p.mouseWheelScrollSensitivity!="undefined"&&(this._options.mouseWheelScrollSensitivity=p.mouseWheelScrollSensitivity),typeof p.fastScrollSensitivity!="undefined"&&(this._options.fastScrollSensitivity=p.fastScrollSensitivity),typeof p.scrollPredominantAxis!="undefined"&&(this._options.scrollPredominantAxis=p.scrollPredominantAxis),typeof p.horizontal!="undefined"&&(this._options.horizontal=p.horizontal),typeof p.vertical!="undefined"&&(this._options.vertical=p.vertical),typeof p.horizontalScrollbarSize!="undefined"&&(this._options.horizontalScrollbarSize=p.horizontalScrollbarSize),typeof p.verticalScrollbarSize!="undefined"&&(this._options.verticalScrollbarSize=p.verticalScrollbarSize),typeof p.scrollByPage!="undefined"&&(this._options.scrollByPage=p.scrollByPage),this._horizontalScrollbar.updateOptions(this._options),this._verticalScrollbar.updateOptions(this._options),this._options.lazyRender||this._render()}_setListeningToMouseWheel(p){if(this._mouseWheelToDispose.length>0!==p&&(this._mouseWheelToDispose=(0,t.dispose)(this._mouseWheelToDispose),p)){const y=E=>{this._onMouseWheel(new I.StandardWheelEvent(E))};this._mouseWheelToDispose.push(m.addDisposableListener(this._listenOnDomNode,m.EventType.MOUSE_WHEEL,y,{passive:!1}))}}_onMouseWheel(p){const _=s.INSTANCE;if(d){const N=window.devicePixelRatio/(0,L.getZoomFactor)();n.isWindows||n.isLinux?_.accept(Date.now(),p.deltaX/N,p.deltaY/N):_.accept(Date.now(),p.deltaX,p.deltaY)}let y=!1;if(p.deltaY||p.deltaX){let N=p.deltaY*this._options.mouseWheelScrollSensitivity,D=p.deltaX*this._options.mouseWheelScrollSensitivity;this._options.scrollPredominantAxis&&(Math.abs(N)>=Math.abs(D)?D=0:N=0),this._options.flipAxes&&([N,D]=[D,N]);const M=!n.isMacintosh&&p.browserEvent&&p.browserEvent.shiftKey;(this._options.scrollYToX||M)&&!D&&(D=N,N=0),p.browserEvent&&p.browserEvent.altKey&&(D=D*this._options.fastScrollSensitivity,N=N*this._options.fastScrollSensitivity);const B=this._scrollable.getFutureScrollPosition();let O={};if(N){const T=c*N,A=B.scrollTop-(T<0?Math.floor(T):Math.ceil(T));this._verticalScrollbar.writeScrollPosition(O,A)}if(D){const T=c*D,A=B.scrollLeft-(T<0?Math.floor(T):Math.ceil(T));this._horizontalScrollbar.writeScrollPosition(O,A)}O=this._scrollable.validateScrollPosition(O),(B.scrollLeft!==O.scrollLeft||B.scrollTop!==O.scrollTop)&&(d&&this._options.mouseWheelSmoothScroll&&_.isPhysicalMouseWheel()?this._scrollable.setScrollPositionSmooth(O):this._scrollable.setScrollPositionNow(O),y=!0)}let E=y;!E&&this._options.alwaysConsumeMouseWheel&&(E=!0),!E&&this._options.consumeMouseWheelIfScrollbarIsNeeded&&(this._verticalScrollbar.isNeeded()||this._horizontalScrollbar.isNeeded())&&(E=!0),E&&(p.preventDefault(),p.stopPropagation())}_onDidScroll(p){this._shouldRender=this._horizontalScrollbar.onDidScroll(p)||this._shouldRender,this._shouldRender=this._verticalScrollbar.onDidScroll(p)||this._shouldRender,this._options.useShadows&&(this._shouldRender=!0),this._revealOnScroll&&this._reveal(),this._options.lazyRender||this._render()}renderNow(){if(!this._options.lazyRender)throw new Error("Please use `lazyRender` together with `renderNow`!");this._render()}_render(){if(!!this._shouldRender&&(this._shouldRender=!1,this._horizontalScrollbar.render(),this._verticalScrollbar.render(),this._options.useShadows)){const p=this._scrollable.getCurrentScrollPosition(),_=p.scrollTop>0,y=p.scrollLeft>0,E=y?" left":"",N=_?" top":"",D=y||_?" top-left-corner":"";this._leftShadowDomNode.setClassName(`shadow${E}`),this._topShadowDomNode.setClassName(`shadow${N}`),this._topLeftShadowDomNode.setClassName(`shadow${D}${N}${E}`)}}_onDragStart(){this._isDragging=!0,this._reveal()}_onDragEnd(){this._isDragging=!1,this._hide()}_onMouseOut(p){this._mouseIsOver=!1,this._hide()}_onMouseOver(p){this._mouseIsOver=!0,this._reveal()}_reveal(){this._verticalScrollbar.beginReveal(),this._horizontalScrollbar.beginReveal(),this._scheduleHide()}_hide(){!this._mouseIsOver&&!this._isDragging&&(this._verticalScrollbar.beginHide(),this._horizontalScrollbar.beginHide())}_scheduleHide(){!this._mouseIsOver&&!this._isDragging&&this._hideTimeout.cancelAndSet(()=>this._hide(),o)}}e.AbstractScrollableElement=a;class l extends a{constructor(p,_){_=_||{},_.mouseWheelSmoothScroll=!1;const y=new i.Scrollable({forceIntegerValues:!0,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>m.scheduleAtNextAnimationFrame(E)});super(p,_,y);this._register(y)}setScrollPosition(p){this._scrollable.setScrollPositionNow(p)}}e.ScrollableElement=l;class h extends a{constructor(p,_,y){super(p,_,y)}setScrollPosition(p){p.reuseAnimation?this._scrollable.setScrollPositionSmooth(p,p.reuseAnimation):this._scrollable.setScrollPositionNow(p)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}}e.SmoothScrollableElement=h;class f extends a{constructor(p,_){_=_||{},_.mouseWheelSmoothScroll=!1;const y=new i.Scrollable({forceIntegerValues:!1,smoothScrollDuration:0,scheduleAtNextAnimationFrame:E=>m.scheduleAtNextAnimationFrame(E)});super(p,_,y);this._register(y),this._element=p,this.onScroll(E=>{E.scrollTopChanged&&(this._element.scrollTop=E.scrollTop),E.scrollLeftChanged&&(this._element.scrollLeft=E.scrollLeft)}),this.scanDomNode()}setScrollPosition(p){this._scrollable.setScrollPositionNow(p)}getScrollPosition(){return this._scrollable.getCurrentScrollPosition()}scanDomNode(){this.setScrollDimensions({width:this._element.clientWidth,scrollWidth:this._element.scrollWidth,height:this._element.clientHeight,scrollHeight:this._element.scrollHeight}),this.setScrollPosition({scrollLeft:this._element.scrollLeft,scrollTop:this._element.scrollTop})}}e.DomScrollableElement=f;function S(v){const p={lazyRender:typeof v.lazyRender!="undefined"?v.lazyRender:!1,className:typeof v.className!="undefined"?v.className:"",useShadows:typeof v.useShadows!="undefined"?v.useShadows:!0,handleMouseWheel:typeof v.handleMouseWheel!="undefined"?v.handleMouseWheel:!0,flipAxes:typeof v.flipAxes!="undefined"?v.flipAxes:!1,consumeMouseWheelIfScrollbarIsNeeded:typeof v.consumeMouseWheelIfScrollbarIsNeeded!="undefined"?v.consumeMouseWheelIfScrollbarIsNeeded:!1,alwaysConsumeMouseWheel:typeof v.alwaysConsumeMouseWheel!="undefined"?v.alwaysConsumeMouseWheel:!1,scrollYToX:typeof v.scrollYToX!="undefined"?v.scrollYToX:!1,mouseWheelScrollSensitivity:typeof v.mouseWheelScrollSensitivity!="undefined"?v.mouseWheelScrollSensitivity:1,fastScrollSensitivity:typeof v.fastScrollSensitivity!="undefined"?v.fastScrollSensitivity:5,scrollPredominantAxis:typeof v.scrollPredominantAxis!="undefined"?v.scrollPredominantAxis:!0,mouseWheelSmoothScroll:typeof v.mouseWheelSmoothScroll!="undefined"?v.mouseWheelSmoothScroll:!0,arrowSize:typeof v.arrowSize!="undefined"?v.arrowSize:11,listenOnDomNode:typeof v.listenOnDomNode!="undefined"?v.listenOnDomNode:null,horizontal:typeof v.horizontal!="undefined"?v.horizontal:1,horizontalScrollbarSize:typeof v.horizontalScrollbarSize!="undefined"?v.horizontalScrollbarSize:10,horizontalSliderSize:typeof v.horizontalSliderSize!="undefined"?v.horizontalSliderSize:0,horizontalHasArrows:typeof v.horizontalHasArrows!="undefined"?v.horizontalHasArrows:!1,vertical:typeof v.vertical!="undefined"?v.vertical:1,verticalScrollbarSize:typeof v.verticalScrollbarSize!="undefined"?v.verticalScrollbarSize:10,verticalHasArrows:typeof v.verticalHasArrows!="undefined"?v.verticalHasArrows:!1,verticalSliderSize:typeof v.verticalSliderSize!="undefined"?v.verticalSliderSize:0,scrollByPage:typeof v.scrollByPage!="undefined"?v.scrollByPage:!1};return p.horizontalSliderSize=typeof v.horizontalSliderSize!="undefined"?v.horizontalSliderSize:p.horizontalScrollbarSize,p.verticalSliderSize=typeof v.verticalSliderSize!="undefined"?v.verticalSliderSize:p.verticalScrollbarSize,n.isMacintosh&&(p.className+=" mac"),p}}),define(te[230],ie([1,0,7,44,69,2,339]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.HoverAction=e.HoverWidget=void 0;const w=L.$;class b extends I.Disposable{constructor(){super();this.containerDomNode=document.createElement("div"),this.containerDomNode.className="monaco-hover",this.containerDomNode.tabIndex=0,this.containerDomNode.setAttribute("role","tooltip"),this.contentsDomNode=document.createElement("div"),this.contentsDomNode.className="monaco-hover-content",this.scrollbar=this._register(new k.DomScrollableElement(this.contentsDomNode,{consumeMouseWheelIfScrollbarIsNeeded:!0})),this.containerDomNode.appendChild(this.scrollbar.getDomNode())}onContentsChanged(){this.scrollbar.scanDomNode()}}e.HoverWidget=b;class C extends I.Disposable{constructor(g,t,n){super();this.actionContainer=L.append(g,w("div.action-container")),this.actionContainer.setAttribute("tabindex","0"),this.action=L.append(this.actionContainer,w("a.action")),this.action.setAttribute("role","button"),t.iconClass&&L.append(this.action,w(`span.icon.${t.iconClass}`));const i=L.append(this.action,w("span"));i.textContent=n?`${t.label} (${n})`:t.label,this._register(L.addDisposableListener(this.actionContainer,L.EventType.CLICK,o=>{o.stopPropagation(),o.preventDefault(),t.run(this.actionContainer)})),this._register(L.addDisposableListener(this.actionContainer,L.EventType.KEY_UP,o=>{new m.StandardKeyboardEvent(o).equals(3)&&(o.stopPropagation(),o.preventDefault(),t.run(this.actionContainer))})),this.setEnabled(!0)}static render(g,t,n){return new C(g,t,n)}setEnabled(g){g?(this.actionContainer.classList.remove("disabled"),this.actionContainer.removeAttribute("aria-disabled")):(this.actionContainer.classList.add("disabled"),this.actionContainer.setAttribute("aria-disabled","true"))}}e.HoverAction=C}),define(te[175],ie([1,0,34,166,7,92,60,69,18,10,95,4,2,40,139,140,318,324]),function(q,e,L,m,k,I,w,b,C,u,g,t,n,i,o,c,d,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ListView=e.NativeDragAndDropData=e.ExternalElementsDragAndDropData=e.ElementsDragAndDropData=void 0;const s={useShadows:!0,verticalScrollMode:1,setRowLineHeight:!0,setRowHeight:!0,supportDynamicHeights:!1,dnd:{getDragElements(p){return[p]},getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}},horizontalScrolling:!1,transformOptimization:!0,alwaysConsumeMouseWheel:!0};class a{constructor(_){this.elements=_}update(){}getData(){return this.elements}}e.ElementsDragAndDropData=a;class l{constructor(_){this.elements=_}update(){}getData(){return this.elements}}e.ExternalElementsDragAndDropData=l;class h{constructor(){this.types=[],this.files=[]}update(_){if(_.types&&this.types.splice(0,this.types.length,..._.types),_.files){this.files.splice(0,this.files.length);for(let y=0;y<_.files.length;y++){const E=_.files.item(y);E&&(E.size||E.type)&&this.files.push(E)}}}getData(){return{types:this.types,files:this.files}}}e.NativeDragAndDropData=h;function f(p,_){return Array.isArray(p)&&Array.isArray(_)?(0,C.equals)(p,_):p===_}class S{constructor(_){(_==null?void 0:_.getSetSize)?this.getSetSize=_.getSetSize.bind(_):this.getSetSize=(y,E,N)=>N,(_==null?void 0:_.getPosInSet)?this.getPosInSet=_.getPosInSet.bind(_):this.getPosInSet=(y,E)=>E+1,(_==null?void 0:_.getRole)?this.getRole=_.getRole.bind(_):this.getRole=y=>"listitem",(_==null?void 0:_.isChecked)?this.isChecked=_.isChecked.bind(_):this.isChecked=y=>{}}}class v{constructor(_,y,E,N=s){if(this.virtualDelegate=y,this.domId=`list_id_${++v.InstanceCount}`,this.renderers=new Map,this.renderWidth=0,this._scrollHeight=0,this.scrollableElementUpdateDisposable=null,this.scrollableElementWidthDelayer=new u.Delayer(50),this.splicing=!1,this.dragOverAnimationStopDisposable=n.Disposable.None,this.dragOverMouseY=0,this.canDrop=!1,this.currentDragFeedbackDisposable=n.Disposable.None,this.onDragLeaveTimeout=n.Disposable.None,this.disposables=new n.DisposableStore,this._onDidChangeContentHeight=new t.Emitter,this._horizontalScrolling=!1,N.horizontalScrolling&&N.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");this.items=[],this.itemId=0,this.rangeMap=new d.RangeMap;for(const M of E)this.renderers.set(M.templateId,M);this.cache=this.disposables.add(new r.RowCache(this.renderers)),this.lastRenderTop=0,this.lastRenderHeight=0,this.domNode=document.createElement("div"),this.domNode.className="monaco-list",this.domNode.classList.add(this.domId),this.domNode.tabIndex=0,this.domNode.classList.toggle("mouse-support",typeof N.mouseSupport=="boolean"?N.mouseSupport:!0),this._horizontalScrolling=(0,i.getOrDefault)(N,M=>M.horizontalScrolling,s.horizontalScrolling),this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this.additionalScrollHeight=typeof N.additionalScrollHeight=="undefined"?0:N.additionalScrollHeight,this.accessibilityProvider=new S(N.accessibilityProvider),this.rowsContainer=document.createElement("div"),this.rowsContainer.className="monaco-list-rows",(0,i.getOrDefault)(N,M=>M.transformOptimization,s.transformOptimization)&&(this.rowsContainer.style.transform="translate3d(0px, 0px, 0px)"),this.disposables.add(w.Gesture.addTarget(this.rowsContainer)),this.scrollable=new c.Scrollable({forceIntegerValues:!0,smoothScrollDuration:(0,i.getOrDefault)(N,M=>M.smoothScrolling,!1)?125:0,scheduleAtNextAnimationFrame:M=>(0,k.scheduleAtNextAnimationFrame)(M)}),this.scrollableElement=this.disposables.add(new b.SmoothScrollableElement(this.rowsContainer,{alwaysConsumeMouseWheel:(0,i.getOrDefault)(N,M=>M.alwaysConsumeMouseWheel,s.alwaysConsumeMouseWheel),horizontal:1,vertical:(0,i.getOrDefault)(N,M=>M.verticalScrollMode,s.verticalScrollMode),useShadows:(0,i.getOrDefault)(N,M=>M.useShadows,s.useShadows),mouseWheelScrollSensitivity:N.mouseWheelScrollSensitivity,fastScrollSensitivity:N.fastScrollSensitivity},this.scrollable)),this.domNode.appendChild(this.scrollableElement.getDomNode()),_.appendChild(this.domNode),this.scrollableElement.onScroll(this.onScroll,this,this.disposables),this.disposables.add((0,k.addDisposableListener)(this.rowsContainer,w.EventType.Change,M=>this.onTouchChange(M))),this.disposables.add((0,k.addDisposableListener)(this.scrollableElement.getDomNode(),"scroll",M=>M.target.scrollTop=0)),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragover",M=>this.onDragOver(this.toDragEvent(M)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"drop",M=>this.onDrop(this.toDragEvent(M)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragleave",M=>this.onDragLeave(this.toDragEvent(M)))),this.disposables.add((0,k.addDisposableListener)(this.domNode,"dragend",M=>this.onDragEnd(M))),this.setRowLineHeight=(0,i.getOrDefault)(N,M=>M.setRowLineHeight,s.setRowLineHeight),this.setRowHeight=(0,i.getOrDefault)(N,M=>M.setRowHeight,s.setRowHeight),this.supportDynamicHeights=(0,i.getOrDefault)(N,M=>M.supportDynamicHeights,s.supportDynamicHeights),this.dnd=(0,i.getOrDefault)(N,M=>M.dnd,s.dnd),this.layout()}get contentHeight(){return this.rangeMap.size}get horizontalScrolling(){return this._horizontalScrolling}set horizontalScrolling(_){if(_!==this._horizontalScrolling){if(_&&this.supportDynamicHeights)throw new Error("Horizontal scrolling and dynamic heights not supported simultaneously");if(this._horizontalScrolling=_,this.domNode.classList.toggle("horizontal-scrolling",this._horizontalScrolling),this._horizontalScrolling){for(const y of this.items)this.measureItemWidth(y);this.updateScrollWidth(),this.scrollableElement.setScrollDimensions({width:(0,k.getContentWidth)(this.domNode)}),this.rowsContainer.style.width=`${Math.max(this.scrollWidth||0,this.renderWidth)}px`}else this.scrollableElementWidthDelayer.cancel(),this.scrollableElement.setScrollDimensions({width:this.renderWidth,scrollWidth:this.renderWidth}),this.rowsContainer.style.width=""}}updateOptions(_){_.additionalScrollHeight!==void 0&&(this.additionalScrollHeight=_.additionalScrollHeight,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),_.smoothScrolling!==void 0&&this.scrollable.setSmoothScrollDuration(_.smoothScrolling?125:0),_.horizontalScrolling!==void 0&&(this.horizontalScrolling=_.horizontalScrolling),_.mouseWheelScrollSensitivity!==void 0&&this.scrollableElement.updateOptions({mouseWheelScrollSensitivity:_.mouseWheelScrollSensitivity}),_.fastScrollSensitivity!==void 0&&this.scrollableElement.updateOptions({fastScrollSensitivity:_.fastScrollSensitivity})}splice(_,y,E=[]){if(this.splicing)throw new Error("Can't run recursive splices.");this.splicing=!0;try{return this._splice(_,y,E)}finally{this.splicing=!1,this._onDidChangeContentHeight.fire(this.contentHeight)}}_splice(_,y,E=[]){const N=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),D={start:_,end:_+y},M=o.Range.intersect(N,D),B=new Map;for(let Z=M.end-1;Z>=M.start;Z--){const V=this.items[Z];if(V.dragStartDisposable.dispose(),V.row){let K=B.get(V.templateId);K||(K=[],B.set(V.templateId,K));const X=this.renderers.get(V.templateId);X&&X.disposeElement&&X.disposeElement(V.element,Z,V.row.templateData,V.size),K.push(V.row)}V.row=null}const O={start:_+y,end:this.items.length},T=o.Range.intersect(O,N),A=o.Range.relativeComplement(O,N),P=E.map(Z=>({id:String(this.itemId++),element:Z,templateId:this.virtualDelegate.getTemplateId(Z),size:this.virtualDelegate.getHeight(Z),width:void 0,hasDynamicHeight:!!this.virtualDelegate.hasDynamicHeight&&this.virtualDelegate.hasDynamicHeight(Z),lastDynamicHeightWidth:void 0,row:null,uri:void 0,dropTarget:!1,dragStartDisposable:n.Disposable.None,checkedDisposable:n.Disposable.None}));let F;_===0&&y>=this.items.length?(this.rangeMap=new d.RangeMap,this.rangeMap.splice(0,0,P),F=this.items,this.items=P):(this.rangeMap.splice(_,y,P),F=this.items.splice(_,y,...P));const W=E.length-y,R=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),z=(0,d.shift)(T,W),j=o.Range.intersect(R,z);for(let Z=j.start;Z (0,d.shift)(Z,W)),re=[{start:_,end:_+E.length},...G].map(Z=>o.Range.intersect(R,Z)),se=this.getNextToLastElement(re);for(const Z of re)for(let V=Z.start;V Z.element)}eventuallyUpdateScrollDimensions(){this._scrollHeight=this.contentHeight,this.rowsContainer.style.height=`${this._scrollHeight}px`,this.scrollableElementUpdateDisposable||(this.scrollableElementUpdateDisposable=(0,k.scheduleAtNextAnimationFrame)(()=>{this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight}),this.updateScrollWidth(),this.scrollableElementUpdateDisposable=null}))}eventuallyUpdateScrollWidth(){if(!this.horizontalScrolling){this.scrollableElementWidthDelayer.cancel();return}this.scrollableElementWidthDelayer.trigger(()=>this.updateScrollWidth())}updateScrollWidth(){if(!this.horizontalScrolling)return;let _=0;for(const y of this.items)typeof y.width!="undefined"&&(_=Math.max(_,y.width));this.scrollWidth=_,this.scrollableElement.setScrollDimensions({scrollWidth:_===0?0:_+10})}rerender(){if(!!this.supportDynamicHeights){for(const _ of this.items)_.lastDynamicHeightWidth=void 0;this._rerender(this.lastRenderTop,this.lastRenderHeight)}}get length(){return this.items.length}get renderHeight(){return this.scrollableElement.getScrollDimensions().height}element(_){return this.items[_].element}domElement(_){const y=this.items[_].row;return y&&y.domNode}elementHeight(_){return this.items[_].size}elementTop(_){return this.rangeMap.positionAt(_)}indexAt(_){return this.rangeMap.indexAt(_)}indexAfter(_){return this.rangeMap.indexAfter(_)}layout(_,y){let E={height:typeof _=="number"?_:(0,k.getContentHeight)(this.domNode)};this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,E.scrollHeight=this.scrollHeight),this.scrollableElement.setScrollDimensions(E),typeof y!="undefined"&&(this.renderWidth=y,this.supportDynamicHeights&&this._rerender(this.scrollTop,this.renderHeight)),this.horizontalScrolling&&this.scrollableElement.setScrollDimensions({width:typeof y=="number"?y:(0,k.getContentWidth)(this.domNode)})}render(_,y,E,N,D,M=!1){const B=this.getRenderRange(y,E),O=o.Range.relativeComplement(B,_),T=o.Range.relativeComplement(_,B),A=this.getNextToLastElement(O);if(M){const P=o.Range.intersect(_,B);for(let F=P.start;F N.row.domNode.setAttribute("aria-checked",String(!!A));T(M.value),N.checkedDisposable=M.onDidChange(T)}N.row.domNode.parentElement||(y?this.rowsContainer.insertBefore(N.row.domNode,y):this.rowsContainer.appendChild(N.row.domNode)),this.updateItemInDOM(N,_);const B=this.renderers.get(N.templateId);if(!B)throw new Error(`No renderer found for template id ${N.templateId}`);B&&B.renderElement(N.element,_,N.row.templateData,N.size);const O=this.dnd.getDragURI(N.element);N.dragStartDisposable.dispose(),N.row.domNode.draggable=!!O,O&&(N.dragStartDisposable=(0,k.addDisposableListener)(N.row.domNode,"dragstart",T=>this.onDragStart(N.element,O,T))),this.horizontalScrolling&&(this.measureItemWidth(N),this.eventuallyUpdateScrollWidth())}measureItemWidth(_){if(!_.row||!_.row.domNode)return;_.row.domNode.style.width=L.isFirefox?"-moz-fit-content":"fit-content",_.width=(0,k.getContentWidth)(_.row.domNode);const y=window.getComputedStyle(_.row.domNode);y.paddingLeft&&(_.width+=parseFloat(y.paddingLeft)),y.paddingRight&&(_.width+=parseFloat(y.paddingRight)),_.row.domNode.style.width=""}updateItemInDOM(_,y){_.row.domNode.style.top=`${this.elementTop(y)}px`,this.setRowHeight&&(_.row.domNode.style.height=`${_.size}px`),this.setRowLineHeight&&(_.row.domNode.style.lineHeight=`${_.size}px`),_.row.domNode.setAttribute("data-index",`${y}`),_.row.domNode.setAttribute("data-last-element",y===this.length-1?"true":"false"),_.row.domNode.setAttribute("data-parity",y%2==0?"even":"odd"),_.row.domNode.setAttribute("aria-setsize",String(this.accessibilityProvider.getSetSize(_.element,y,this.length))),_.row.domNode.setAttribute("aria-posinset",String(this.accessibilityProvider.getPosInSet(_.element,y))),_.row.domNode.setAttribute("id",this.getElementDomId(y)),_.row.domNode.classList.toggle("drop-target",_.dropTarget)}removeItemFromDOM(_){const y=this.items[_];if(y.dragStartDisposable.dispose(),y.checkedDisposable.dispose(),y.row){const E=this.renderers.get(y.templateId);E&&E.disposeElement&&E.disposeElement(y.element,_,y.row.templateData,y.size),this.cache.release(y.row),y.row=null}this.horizontalScrolling&&this.eventuallyUpdateScrollWidth()}getScrollTop(){return this.scrollableElement.getScrollPosition().scrollTop}setScrollTop(_,y){this.scrollableElementUpdateDisposable&&(this.scrollableElementUpdateDisposable.dispose(),this.scrollableElementUpdateDisposable=null,this.scrollableElement.setScrollDimensions({scrollHeight:this.scrollHeight})),this.scrollableElement.setScrollPosition({scrollTop:_,reuseAnimation:y})}get scrollTop(){return this.getScrollTop()}set scrollTop(_){this.setScrollTop(_)}get scrollHeight(){return this._scrollHeight+(this.horizontalScrolling?10:0)+this.additionalScrollHeight}get onMouseClick(){return t.Event.map(this.disposables.add(new I.DomEmitter(this.domNode,"click")).event,_=>this.toMouseEvent(_))}get onMouseDblClick(){return t.Event.map(this.disposables.add(new I.DomEmitter(this.domNode,"dblclick")).event,_=>this.toMouseEvent(_))}get onMouseMiddleClick(){return t.Event.filter(t.Event.map(this.disposables.add(new I.DomEmitter(this.domNode,"auxclick")).event,_=>this.toMouseEvent(_)),_=>_.browserEvent.button===1)}get onMouseDown(){return t.Event.map(this.disposables.add(new I.DomEmitter(this.domNode,"mousedown")).event,_=>this.toMouseEvent(_))}get onContextMenu(){return t.Event.any(t.Event.map(this.disposables.add(new I.DomEmitter(this.domNode,"contextmenu")).event,_=>this.toMouseEvent(_)),t.Event.map(this.disposables.add(new I.DomEmitter(this.domNode,w.EventType.Contextmenu)).event,_=>this.toGestureEvent(_)))}get onTouchStart(){return t.Event.map(this.disposables.add(new I.DomEmitter(this.domNode,"touchstart")).event,_=>this.toTouchEvent(_))}get onTap(){return t.Event.map(this.disposables.add(new I.DomEmitter(this.rowsContainer,w.EventType.Tap)).event,_=>this.toGestureEvent(_))}toMouseEvent(_){const y=this.getItemIndexFromEventTarget(_.target||null),E=typeof y=="undefined"?void 0:this.items[y],N=E&&E.element;return{browserEvent:_,index:y,element:N}}toTouchEvent(_){const y=this.getItemIndexFromEventTarget(_.target||null),E=typeof y=="undefined"?void 0:this.items[y],N=E&&E.element;return{browserEvent:_,index:y,element:N}}toGestureEvent(_){const y=this.getItemIndexFromEventTarget(_.initialTarget||null),E=typeof y=="undefined"?void 0:this.items[y],N=E&&E.element;return{browserEvent:_,index:y,element:N}}toDragEvent(_){const y=this.getItemIndexFromEventTarget(_.target||null),E=typeof y=="undefined"?void 0:this.items[y],N=E&&E.element;return{browserEvent:_,index:y,element:N}}onScroll(_){try{const y=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight);this.render(y,_.scrollTop,_.height,_.scrollLeft,_.scrollWidth),this.supportDynamicHeights&&this._rerender(_.scrollTop,_.height,_.inSmoothScrolling)}catch(y){throw console.error("Got bad scroll event:",_),y}}onTouchChange(_){_.preventDefault(),_.stopPropagation(),this.scrollTop-=_.translationY}onDragStart(_,y,E){if(!E.dataTransfer)return;const N=this.dnd.getDragElements(_);if(E.dataTransfer.effectAllowed="copyMove",E.dataTransfer.setData(m.DataTransfers.TEXT,y),E.dataTransfer.setDragImage){let D;this.dnd.getDragLabel&&(D=this.dnd.getDragLabel(N,E)),typeof D=="undefined"&&(D=String(N.length));const M=(0,k.$)(".monaco-drag-image");M.textContent=D,document.body.appendChild(M),E.dataTransfer.setDragImage(M,-10,-10),setTimeout(()=>document.body.removeChild(M),0)}this.currentDragData=new a(N),m.StaticDND.CurrentDragAndDropData=new l(N),this.dnd.onDragStart&&this.dnd.onDragStart(this.currentDragData,E)}onDragOver(_){if(_.browserEvent.preventDefault(),this.onDragLeaveTimeout.dispose(),m.StaticDND.CurrentDragAndDropData&&m.StaticDND.CurrentDragAndDropData.getData()==="vscode-ui"||(this.setupDragAndDropScrollTopAnimation(_.browserEvent),!_.browserEvent.dataTransfer))return!1;if(!this.currentDragData)if(m.StaticDND.CurrentDragAndDropData)this.currentDragData=m.StaticDND.CurrentDragAndDropData;else{if(!_.browserEvent.dataTransfer.types)return!1;this.currentDragData=new h}const y=this.dnd.onDragOver(this.currentDragData,_.element,_.index,_.browserEvent);if(this.canDrop=typeof y=="boolean"?y:y.accept,!this.canDrop)return this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),!1;_.browserEvent.dataTransfer.dropEffect=typeof y!="boolean"&&y.effect===0?"copy":"move";let E;if(typeof y!="boolean"&&y.feedback?E=y.feedback:typeof _.index=="undefined"?E=[-1]:E=[_.index],E=(0,C.distinct)(E).filter(N=>N>=-1&&N N-D),E=E[0]===-1?[-1]:E,f(this.currentDragFeedback,E))return!0;if(this.currentDragFeedback=E,this.currentDragFeedbackDisposable.dispose(),E[0]===-1)this.domNode.classList.add("drop-target"),this.rowsContainer.classList.add("drop-target"),this.currentDragFeedbackDisposable=(0,n.toDisposable)(()=>{this.domNode.classList.remove("drop-target"),this.rowsContainer.classList.remove("drop-target")});else{for(const N of E){const D=this.items[N];D.dropTarget=!0,D.row&&D.row.domNode.classList.add("drop-target")}this.currentDragFeedbackDisposable=(0,n.toDisposable)(()=>{for(const N of E){const D=this.items[N];D.dropTarget=!1,D.row&&D.row.domNode.classList.remove("drop-target")}})}return!0}onDragLeave(_){var y,E;this.onDragLeaveTimeout.dispose(),this.onDragLeaveTimeout=(0,u.disposableTimeout)(()=>this.clearDragOverFeedback(),100),this.currentDragData&&((E=(y=this.dnd).onDragLeave)===null||E===void 0||E.call(y,this.currentDragData,_.element,_.index,_.browserEvent))}onDrop(_){if(!this.canDrop)return;const y=this.currentDragData;this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,m.StaticDND.CurrentDragAndDropData=void 0,!(!y||!_.browserEvent.dataTransfer)&&(_.browserEvent.preventDefault(),y.update(_.browserEvent.dataTransfer),this.dnd.drop(y,_.element,_.index,_.browserEvent))}onDragEnd(_){this.canDrop=!1,this.teardownDragAndDropScrollTopAnimation(),this.clearDragOverFeedback(),this.currentDragData=void 0,m.StaticDND.CurrentDragAndDropData=void 0,this.dnd.onDragEnd&&this.dnd.onDragEnd(_)}clearDragOverFeedback(){this.currentDragFeedback=void 0,this.currentDragFeedbackDisposable.dispose(),this.currentDragFeedbackDisposable=n.Disposable.None}setupDragAndDropScrollTopAnimation(_){if(!this.dragOverAnimationDisposable){const y=(0,k.getTopLeftOffset)(this.domNode).top;this.dragOverAnimationDisposable=(0,k.animate)(this.animateDragAndDropScrollTop.bind(this,y))}this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationStopDisposable=(0,u.disposableTimeout)(()=>{this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},1e3),this.dragOverMouseY=_.pageY}animateDragAndDropScrollTop(_){if(this.dragOverMouseY===void 0)return;const y=this.dragOverMouseY-_,E=this.renderHeight-35;y<35?this.scrollTop+=Math.max(-14,Math.floor(.3*(y-35))):y>E&&(this.scrollTop+=Math.min(14,Math.floor(.3*(y-E))))}teardownDragAndDropScrollTopAnimation(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)}getItemIndexFromEventTarget(_){const y=this.scrollableElement.getDomNode();let E=_;for(;E instanceof HTMLElement&&E!==this.rowsContainer&&y.contains(E);){const N=E.getAttribute("data-index");if(N){const D=Number(N);if(!isNaN(D))return D}E=E.parentElement}}getRenderRange(_,y){return{start:this.rangeMap.indexAt(_),end:this.rangeMap.indexAfter(_+y-1)}}_rerender(_,y,E){const N=this.getRenderRange(_,y);let D,M;_===this.elementTop(N.start)?(D=N.start,M=0):N.end-N.start>1&&(D=N.start+1,M=this.elementTop(D)-_);let B=0;for(;;){const O=this.getRenderRange(_,y);let T=!1;for(let A=O.start;A ae.templateData===X);if(oe>=0){const ae=this.renderedElements[oe];this.trait.unrender(X),ae.index=K}else{const ae={index:K,templateData:X};this.renderedElements.push(ae)}this.trait.renderIndex(K,X)}splice(V,K,X){const oe=[];for(const ae of this.renderedElements)ae.index =V+K&&oe.push({index:ae.index+X-K,templateData:ae.templateData});this.renderedElements=oe}renderIndexes(V){for(const{index:K,templateData:X}of this.renderedElements)V.indexOf(K)>-1&&this.trait.renderIndex(K,X)}disposeTemplate(V){const K=this.renderedElements.findIndex(X=>X.templateData===V);K<0||this.renderedElements.splice(K,1)}}class f{constructor(V){this._trait=V,this.length=0,this.indexes=[],this.sortedIndexes=[],this._onChange=new n.Emitter,this.onChange=this._onChange.event}get name(){return this._trait}get renderer(){return new h(this)}splice(V,K,X){var oe;K=Math.max(0,Math.min(K,this.length-V));const ae=X.length-K,ee=V+K,ue=[...this.sortedIndexes.filter(x=>x x?H+V:-1).filter(x=>x!==-1),...this.sortedIndexes.filter(x=>x>=ee).map(x=>x+ae)],le=this.length+ae;if(this.sortedIndexes.length>0&&ue.length===0&&le>0){const x=(oe=this.sortedIndexes.find(H=>H>=V))!==null&&oe!==void 0?oe:le-1;ue.push(Math.min(x,le-1))}this.renderer.splice(V,K,X.length),this._set(ue,ue),this.length=le}renderIndex(V,K){K.classList.toggle(this._trait,this.contains(V))}unrender(V){V.classList.remove(this._trait)}set(V,K){return this._set(V,[...V].sort($),K)}_set(V,K,X){const oe=this.indexes,ae=this.sortedIndexes;this.indexes=V,this.sortedIndexes=K;const ee=z(ae,V);return this.renderer.renderIndexes(ee),this._onChange.fire({indexes:V,browserEvent:X}),oe}get(){return this.indexes}contains(V){return(0,C.binarySearch)(this.sortedIndexes,V,$)>=0}dispose(){(0,o.dispose)(this._onChange)}}Ie([t.memoize],f.prototype,"renderer",null);class S extends f{constructor(V){super("selected");this.setAriaSelected=V}renderIndex(V,K){super.renderIndex(V,K),this.setAriaSelected&&(this.contains(V)?K.setAttribute("aria-selected","true"):K.setAttribute("aria-selected","false"))}}class v{constructor(V,K,X){this.trait=V,this.view=K,this.identityProvider=X}splice(V,K,X){if(!this.identityProvider)return this.trait.splice(V,K,X.map(()=>!1));const oe=this.trait.get().map(ee=>this.identityProvider.getId(this.view.element(ee)).toString()),ae=X.map(ee=>oe.indexOf(this.identityProvider.getId(ee).toString())>-1);this.trait.splice(V,K,ae)}}function p(Z){return Z.tagName==="INPUT"||Z.tagName==="TEXTAREA"}e.isInputElement=p;function _(Z){return Z.classList.contains("monaco-editor")?!0:Z.classList.contains("monaco-list")||!Z.parentElement?!1:_(Z.parentElement)}e.isMonacoEditor=_;class y{constructor(V,K,X){this.list=V,this.view=K,this.disposables=new o.DisposableStore,this.multipleSelectionDisposables=new o.DisposableStore,this.onKeyDown.filter(oe=>oe.keyCode===3).on(this.onEnter,this,this.disposables),this.onKeyDown.filter(oe=>oe.keyCode===16).on(this.onUpArrow,this,this.disposables),this.onKeyDown.filter(oe=>oe.keyCode===18).on(this.onDownArrow,this,this.disposables),this.onKeyDown.filter(oe=>oe.keyCode===11).on(this.onPageUpArrow,this,this.disposables),this.onKeyDown.filter(oe=>oe.keyCode===12).on(this.onPageDownArrow,this,this.disposables),this.onKeyDown.filter(oe=>oe.keyCode===9).on(this.onEscape,this,this.disposables),X.multipleSelectionSupport!==!1&&this.onKeyDown.filter(oe=>(r.isMacintosh?oe.metaKey:oe.ctrlKey)&&oe.keyCode===31).on(this.onCtrlA,this,this.multipleSelectionDisposables)}get onKeyDown(){return n.Event.chain(this.disposables.add(new m.DomEmitter(this.view.domNode,"keydown")).event).filter(V=>!p(V.target)).map(V=>new k.StandardKeyboardEvent(V))}updateOptions(V){V.multipleSelectionSupport!==void 0&&(this.multipleSelectionDisposables.clear(),V.multipleSelectionSupport&&this.onKeyDown.filter(K=>(r.isMacintosh?K.metaKey:K.ctrlKey)&&K.keyCode===31).on(this.onCtrlA,this,this.multipleSelectionDisposables))}onEnter(V){V.preventDefault(),V.stopPropagation(),this.list.setSelection(this.list.getFocus(),V.browserEvent)}onUpArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusPrevious(1,!1,V.browserEvent);const K=this.list.getFocus()[0];this.list.setAnchor(K),this.list.reveal(K),this.view.domNode.focus()}onDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNext(1,!1,V.browserEvent);const K=this.list.getFocus()[0];this.list.setAnchor(K),this.list.reveal(K),this.view.domNode.focus()}onPageUpArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusPreviousPage(V.browserEvent);const K=this.list.getFocus()[0];this.list.setAnchor(K),this.list.reveal(K),this.view.domNode.focus()}onPageDownArrow(V){V.preventDefault(),V.stopPropagation(),this.list.focusNextPage(V.browserEvent);const K=this.list.getFocus()[0];this.list.setAnchor(K),this.list.reveal(K),this.view.domNode.focus()}onCtrlA(V){V.preventDefault(),V.stopPropagation(),this.list.setSelection((0,C.range)(this.list.length),V.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus()}onEscape(V){this.list.getSelection().length&&(V.preventDefault(),V.stopPropagation(),this.list.setSelection([],V.browserEvent),this.list.setAnchor(void 0),this.view.domNode.focus())}dispose(){this.disposables.dispose(),this.multipleSelectionDisposables.dispose()}}Ie([t.memoize],y.prototype,"onKeyDown",null);var E;(function(Z){Z[Z.Idle=0]="Idle",Z[Z.Typing=1]="Typing"})(E||(E={})),e.DefaultKeyboardNavigationDelegate=new class{mightProducePrintableCharacter(Z){return Z.ctrlKey||Z.metaKey||Z.altKey?!1:Z.keyCode>=31&&Z.keyCode<=56||Z.keyCode>=21&&Z.keyCode<=30||Z.keyCode>=93&&Z.keyCode<=102||Z.keyCode>=80&&Z.keyCode<=90}};class N{constructor(V,K,X,oe){this.list=V,this.view=K,this.keyboardNavigationLabelProvider=X,this.delegate=oe,this.enabled=!1,this.state=E.Idle,this.automaticKeyboardNavigation=!0,this.triggered=!1,this.previouslyFocused=-1,this.enabledDisposables=new o.DisposableStore,this.disposables=new o.DisposableStore,this.updateOptions(V.options)}updateOptions(V){(typeof V.enableKeyboardNavigation=="undefined"?!0:!!V.enableKeyboardNavigation)?this.enable():this.disable(),typeof V.automaticKeyboardNavigation!="undefined"&&(this.automaticKeyboardNavigation=V.automaticKeyboardNavigation)}enable(){if(this.enabled)return;const V=n.Event.chain(this.enabledDisposables.add(new m.DomEmitter(this.view.domNode,"keydown")).event).filter(oe=>!p(oe.target)).filter(()=>this.automaticKeyboardNavigation||this.triggered).map(oe=>new k.StandardKeyboardEvent(oe)).filter(oe=>this.delegate.mightProducePrintableCharacter(oe)).forEach(oe=>oe.preventDefault()).map(oe=>oe.browserEvent.key).event,K=n.Event.debounce(V,()=>null,800);n.Event.reduce(n.Event.any(V,K),(oe,ae)=>ae===null?null:(oe||"")+ae)(this.onInput,this,this.enabledDisposables),K(this.onClear,this,this.enabledDisposables),this.enabled=!0,this.triggered=!1}disable(){!this.enabled||(this.enabledDisposables.clear(),this.enabled=!1,this.triggered=!1)}onClear(){var V;const K=this.list.getFocus();if(K.length>0&&K[0]===this.previouslyFocused){const X=(V=this.list.options.accessibilityProvider)===null||V===void 0?void 0:V.getAriaLabel(this.list.element(K[0]));X&&(0,w.alert)(X)}this.previouslyFocused=-1}onInput(V){if(!V){this.state=E.Idle,this.triggered=!1;return}const K=this.list.getFocus(),X=K.length>0?K[0]:0,oe=this.state===E.Idle?1:0;this.state=E.Typing;for(let ae=0;ae !p(oe.target)).map(oe=>new k.StandardKeyboardEvent(oe)).filter(oe=>oe.keyCode===2&&!oe.ctrlKey&&!oe.metaKey&&!oe.shiftKey&&!oe.altKey).on(this.onTab,this,this.disposables)}onTab(V){if(V.target!==this.view.domNode)return;const K=this.list.getFocus();if(K.length===0)return;const X=this.view.domElement(K[0]);if(!X)return;const oe=X.querySelector("[tabIndex]");if(!oe||!(oe instanceof HTMLElement)||oe.tabIndex===-1)return;const ae=window.getComputedStyle(oe);ae.visibility==="hidden"||ae.display==="none"||(V.preventDefault(),V.stopPropagation(),oe.focus())}dispose(){this.disposables.dispose()}}function M(Z){return r.isMacintosh?Z.browserEvent.metaKey:Z.browserEvent.ctrlKey}e.isSelectionSingleChangeEvent=M;function B(Z){return Z.browserEvent.shiftKey}e.isSelectionRangeChangeEvent=B;function O(Z){return Z instanceof MouseEvent&&Z.button===2}const T={isSelectionSingleChangeEvent:M,isSelectionRangeChangeEvent:B};class A{constructor(V){this.list=V,this.disposables=new o.DisposableStore,this._onPointer=new n.Emitter,this.onPointer=this._onPointer.event,V.options.multipleSelectionSupport!==!1&&(this.multipleSelectionController=this.list.options.multipleSelectionController||T),this.mouseSupport=typeof V.options.mouseSupport=="undefined"||!!V.options.mouseSupport,this.mouseSupport&&(V.onMouseDown(this.onMouseDown,this,this.disposables),V.onContextMenu(this.onContextMenu,this,this.disposables),V.onMouseDblClick(this.onDoubleClick,this,this.disposables),V.onTouchStart(this.onMouseDown,this,this.disposables),this.disposables.add(I.Gesture.addTarget(V.getHTMLElement()))),n.Event.any(V.onMouseClick,V.onMouseMiddleClick,V.onTap)(this.onViewPointer,this,this.disposables)}updateOptions(V){V.multipleSelectionSupport!==void 0&&(this.multipleSelectionController=void 0,V.multipleSelectionSupport&&(this.multipleSelectionController=this.list.options.multipleSelectionController||T))}isSelectionSingleChangeEvent(V){return this.multipleSelectionController?this.multipleSelectionController.isSelectionSingleChangeEvent(V):!1}isSelectionRangeChangeEvent(V){return this.multipleSelectionController?this.multipleSelectionController.isSelectionRangeChangeEvent(V):!1}isSelectionChangeEvent(V){return this.isSelectionSingleChangeEvent(V)||this.isSelectionRangeChangeEvent(V)}onMouseDown(V){_(V.browserEvent.target)||document.activeElement!==V.browserEvent.target&&this.list.domFocus()}onContextMenu(V){if(_(V.browserEvent.target))return;const K=typeof V.index=="undefined"?[]:[V.index];this.list.setFocus(K,V.browserEvent)}onViewPointer(V){if(!this.mouseSupport||p(V.browserEvent.target)||_(V.browserEvent.target))return;const K=V.index;if(typeof K=="undefined"){this.list.setFocus([],V.browserEvent),this.list.setSelection([],V.browserEvent),this.list.setAnchor(void 0);return}if(this.isSelectionRangeChangeEvent(V))return this.changeSelection(V);if(this.isSelectionChangeEvent(V))return this.changeSelection(V);this.list.setFocus([K],V.browserEvent),this.list.setAnchor(K),O(V.browserEvent)||this.list.setSelection([K],V.browserEvent),this._onPointer.fire(V)}onDoubleClick(V){if(p(V.browserEvent.target)||_(V.browserEvent.target)||this.isSelectionChangeEvent(V))return;const K=this.list.getFocus();this.list.setSelection(K,V.browserEvent)}changeSelection(V){const K=V.index;let X=this.list.getAnchor();if(this.isSelectionRangeChangeEvent(V)){if(typeof X=="undefined"){const H=this.list.getFocus()[0];X=H??K,this.list.setAnchor(X)}const oe=Math.min(X,K),ae=Math.max(X,K),ee=(0,C.range)(oe,ae+1),ue=this.list.getSelection(),le=R(z(ue,[X]),X);if(le.length===0)return;const x=z(ee,j(ue,le));this.list.setSelection(x,V.browserEvent),this.list.setFocus([K],V.browserEvent)}else if(this.isSelectionSingleChangeEvent(V)){const oe=this.list.getSelection(),ae=oe.filter(ee=>ee!==K);this.list.setFocus([K]),this.list.setAnchor(K),oe.length===ae.length?this.list.setSelection([...ae,K],V.browserEvent):this.list.setSelection(ae,V.browserEvent)}}dispose(){this.disposables.dispose()}}e.MouseController=A;class P{constructor(V,K){this.styleElement=V,this.selectorSuffix=K}style(V){const K=this.selectorSuffix&&`.${this.selectorSuffix}`,X=[];V.listBackground&&(V.listBackground.isOpaque()?X.push(`.monaco-list${K} .monaco-list-rows { background: ${V.listBackground}; }`):r.isMacintosh||console.warn(`List with id '${this.selectorSuffix}' was styled with a non-opaque background color. This will break sub-pixel antialiasing.`)),V.listFocusBackground&&(X.push(`.monaco-list${K}:focus .monaco-list-row.focused { background-color: ${V.listFocusBackground}; }`),X.push(`.monaco-list${K}:focus .monaco-list-row.focused:hover { background-color: ${V.listFocusBackground}; }`)),V.listFocusForeground&&X.push(`.monaco-list${K}:focus .monaco-list-row.focused { color: ${V.listFocusForeground}; }`),V.listActiveSelectionBackground&&(X.push(`.monaco-list${K}:focus .monaco-list-row.selected { background-color: ${V.listActiveSelectionBackground}; }`),X.push(`.monaco-list${K}:focus .monaco-list-row.selected:hover { background-color: ${V.listActiveSelectionBackground}; }`)),V.listActiveSelectionForeground&&X.push(`.monaco-list${K}:focus .monaco-list-row.selected { color: ${V.listActiveSelectionForeground}; }`),V.listActiveSelectionIconForeground&&X.push(`.monaco-list${K}:focus .monaco-list-row.selected .codicon { color: ${V.listActiveSelectionIconForeground}; }`),V.listFocusAndSelectionBackground&&X.push(` + .monaco-drag-image, + .monaco-list${K}:focus .monaco-list-row.selected.focused { background-color: ${V.listFocusAndSelectionBackground}; } + `),V.listFocusAndSelectionForeground&&X.push(` + .monaco-drag-image, + .monaco-list${K}:focus .monaco-list-row.selected.focused { color: ${V.listFocusAndSelectionForeground}; } + `),V.listInactiveFocusForeground&&(X.push(`.monaco-list${K} .monaco-list-row.focused { color: ${V.listInactiveFocusForeground}; }`),X.push(`.monaco-list${K} .monaco-list-row.focused:hover { color: ${V.listInactiveFocusForeground}; }`)),V.listInactiveSelectionIconForeground&&X.push(`.monaco-list${K} .monaco-list-row.focused .codicon { color: ${V.listInactiveSelectionIconForeground}; }`),V.listInactiveFocusBackground&&(X.push(`.monaco-list${K} .monaco-list-row.focused { background-color: ${V.listInactiveFocusBackground}; }`),X.push(`.monaco-list${K} .monaco-list-row.focused:hover { background-color: ${V.listInactiveFocusBackground}; }`)),V.listInactiveSelectionBackground&&(X.push(`.monaco-list${K} .monaco-list-row.selected { background-color: ${V.listInactiveSelectionBackground}; }`),X.push(`.monaco-list${K} .monaco-list-row.selected:hover { background-color: ${V.listInactiveSelectionBackground}; }`)),V.listInactiveSelectionForeground&&X.push(`.monaco-list${K} .monaco-list-row.selected { color: ${V.listInactiveSelectionForeground}; }`),V.listHoverBackground&&X.push(`.monaco-list${K}:not(.drop-target) .monaco-list-row:hover:not(.selected):not(.focused) { background-color: ${V.listHoverBackground}; }`),V.listHoverForeground&&X.push(`.monaco-list${K} .monaco-list-row:hover:not(.selected):not(.focused) { color: ${V.listHoverForeground}; }`),V.listSelectionOutline&&X.push(`.monaco-list${K} .monaco-list-row.selected { outline: 1px dotted ${V.listSelectionOutline}; outline-offset: -1px; }`),V.listFocusOutline&&X.push(` + .monaco-drag-image, + .monaco-list${K}:focus .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } + .monaco-workbench.context-menu-visible .monaco-list${K}.last-focused .monaco-list-row.focused { outline: 1px solid ${V.listFocusOutline}; outline-offset: -1px; } + `),V.listInactiveFocusOutline&&X.push(`.monaco-list${K} .monaco-list-row.focused { outline: 1px dotted ${V.listInactiveFocusOutline}; outline-offset: -1px; }`),V.listHoverOutline&&X.push(`.monaco-list${K} .monaco-list-row:hover { outline: 1px dashed ${V.listHoverOutline}; outline-offset: -1px; }`),V.listDropBackground&&X.push(` + .monaco-list${K}.drop-target, + .monaco-list${K} .monaco-list-rows.drop-target, + .monaco-list${K} .monaco-list-row.drop-target { background-color: ${V.listDropBackground} !important; color: inherit !important; } + `),V.listFilterWidgetBackground&&X.push(`.monaco-list-type-filter { background-color: ${V.listFilterWidgetBackground} }`),V.listFilterWidgetOutline&&X.push(`.monaco-list-type-filter { border: 1px solid ${V.listFilterWidgetOutline}; }`),V.listFilterWidgetNoMatchesOutline&&X.push(`.monaco-list-type-filter.no-matches { border: 1px solid ${V.listFilterWidgetNoMatchesOutline}; }`),V.listMatchesShadow&&X.push(`.monaco-list-type-filter { box-shadow: 1px 1px 1px ${V.listMatchesShadow}; }`),V.tableColumnsBorder&&X.push(` + .monaco-table:hover > .monaco-split-view2, + .monaco-table:hover > .monaco-split-view2 .monaco-sash.vertical::before { + border-color: ${V.tableColumnsBorder}; + }`),V.tableOddRowsBackgroundColor&&X.push(` + .monaco-table .monaco-list-row[data-parity=odd]:not(.focused):not(.selected):not(:hover) .monaco-table-tr, + .monaco-table .monaco-list:not(:focus) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr, + .monaco-table .monaco-list:not(.focused) .monaco-list-row[data-parity=odd].focused:not(.selected):not(:hover) .monaco-table-tr { + background-color: ${V.tableOddRowsBackgroundColor}; + } + `),this.styleElement.textContent=X.join(` +`)}}e.DefaultStyleController=P;const F={listFocusBackground:g.Color.fromHex("#7FB0D0"),listActiveSelectionBackground:g.Color.fromHex("#0E639C"),listActiveSelectionForeground:g.Color.fromHex("#FFFFFF"),listActiveSelectionIconForeground:g.Color.fromHex("#FFFFFF"),listFocusAndSelectionBackground:g.Color.fromHex("#094771"),listFocusAndSelectionForeground:g.Color.fromHex("#FFFFFF"),listInactiveSelectionBackground:g.Color.fromHex("#3F3F46"),listInactiveSelectionIconForeground:g.Color.fromHex("#FFFFFF"),listHoverBackground:g.Color.fromHex("#2A2D2E"),listDropBackground:g.Color.fromHex("#383B3D"),treeIndentGuidesStroke:g.Color.fromHex("#a9a9a9"),tableColumnsBorder:g.Color.fromHex("#cccccc").transparent(.2),tableOddRowsBackgroundColor:g.Color.fromHex("#cccccc").transparent(.04)},W={keyboardSupport:!0,mouseSupport:!0,multipleSelectionSupport:!0,dnd:{getDragURI(){return null},onDragStart(){},onDragOver(){return!1},drop(){}}};function R(Z,V){const K=Z.indexOf(V);if(K===-1)return[];const X=[];let oe=K-1;for(;oe>=0&&Z[oe]===V-(K-oe);)X.push(Z[oe--]);for(X.reverse(),oe=K;oe =Z.length)K.push(V[oe++]);else if(oe>=V.length)K.push(Z[X++]);else if(Z[X]===V[oe]){K.push(Z[X]),X++,oe++;continue}else Z[X] =Z.length)K.push(V[oe++]);else if(oe>=V.length)K.push(Z[X++]);else if(Z[X]===V[oe]){X++,oe++;continue}else Z[X] Z-V;class G{constructor(V,K){this._templateId=V,this.renderers=K}get templateId(){return this._templateId}renderTemplate(V){return this.renderers.map(K=>K.renderTemplate(V))}renderElement(V,K,X,oe){let ae=0;for(const ee of this.renderers)ee.renderElement(V,K,X[ae++],oe)}disposeElement(V,K,X,oe){let ae=0;for(const ee of this.renderers)ee.disposeElement&&ee.disposeElement(V,K,X[ae],oe),ae+=1}disposeTemplate(V){let K=0;for(const X of this.renderers)X.disposeTemplate(V[K++])}}class J{constructor(V){this.accessibilityProvider=V,this.templateId="a18n"}renderTemplate(V){return V}renderElement(V,K,X){const oe=this.accessibilityProvider.getAriaLabel(V);oe?X.setAttribute("aria-label",oe):X.removeAttribute("aria-label");const ae=this.accessibilityProvider.getAriaLevel&&this.accessibilityProvider.getAriaLevel(V);typeof ae=="number"?X.setAttribute("aria-level",`${ae}`):X.removeAttribute("aria-level")}disposeTemplate(V){}}class re{constructor(V,K){this.list=V,this.dnd=K}getDragElements(V){const K=this.list.getSelectedElements();return K.indexOf(V)>-1?K:[V]}getDragURI(V){return this.dnd.getDragURI(V)}getDragLabel(V,K){if(this.dnd.getDragLabel)return this.dnd.getDragLabel(V,K)}onDragStart(V,K){this.dnd.onDragStart&&this.dnd.onDragStart(V,K)}onDragOver(V,K,X,oe){return this.dnd.onDragOver(V,K,X,oe)}onDragLeave(V,K,X,oe){var ae,ee;(ee=(ae=this.dnd).onDragLeave)===null||ee===void 0||ee.call(ae,V,K,X,oe)}onDragEnd(V){this.dnd.onDragEnd&&this.dnd.onDragEnd(V)}drop(V,K,X,oe){this.dnd.drop(V,K,X,oe)}}class se{constructor(V,K,X,oe,ae=W){var ee;this.user=V,this._options=ae,this.focus=new f("focused"),this.anchor=new f("anchor"),this.eventBufferer=new n.EventBufferer,this._ariaLabel="",this.disposables=new o.DisposableStore,this._onDidDispose=new n.Emitter,this.onDidDispose=this._onDidDispose.event;const ue=this._options.accessibilityProvider&&this._options.accessibilityProvider.getWidgetRole?(ee=this._options.accessibilityProvider)===null||ee===void 0?void 0:ee.getWidgetRole():"list";this.selection=new S(ue!=="listbox"),(0,d.mixin)(ae,F,!1);const le=[this.focus.renderer,this.selection.renderer];this.accessibilityProvider=ae.accessibilityProvider,this.accessibilityProvider&&(le.push(new J(this.accessibilityProvider)),this.accessibilityProvider.onDidChangeActiveDescendant&&this.accessibilityProvider.onDidChangeActiveDescendant(this.onDidChangeActiveDescendant,this,this.disposables)),oe=oe.map(H=>new G(H.templateId,[...le,H]));const x=Object.assign(Object.assign({},ae),{dnd:ae.dnd&&new re(this,ae.dnd)});if(this.view=new l.ListView(K,X,oe,x),this.view.domNode.setAttribute("role",ue),ae.styleController)this.styleController=ae.styleController(this.view.domId);else{const H=(0,L.createStyleSheet)(this.view.domNode);this.styleController=new P(H,this.view.domId)}if(this.spliceable=new b.CombinedSpliceable([new v(this.focus,this.view,ae.identityProvider),new v(this.selection,this.view,ae.identityProvider),new v(this.anchor,this.view,ae.identityProvider),this.view]),this.disposables.add(this.focus),this.disposables.add(this.selection),this.disposables.add(this.anchor),this.disposables.add(this.view),this.disposables.add(this._onDidDispose),this.disposables.add(new D(this,this.view)),(typeof ae.keyboardSupport!="boolean"||ae.keyboardSupport)&&(this.keyboardController=new y(this,this.view,ae),this.disposables.add(this.keyboardController)),ae.keyboardNavigationLabelProvider){const H=ae.keyboardNavigationDelegate||e.DefaultKeyboardNavigationDelegate;this.typeLabelController=new N(this,this.view,ae.keyboardNavigationLabelProvider,H),this.disposables.add(this.typeLabelController)}this.mouseController=this.createMouseController(ae),this.disposables.add(this.mouseController),this.onDidChangeFocus(this._onFocusChange,this,this.disposables),this.onDidChangeSelection(this._onSelectionChange,this,this.disposables),this.accessibilityProvider&&(this.ariaLabel=this.accessibilityProvider.getWidgetAriaLabel()),this._options.multipleSelectionSupport!==!1&&this.view.domNode.setAttribute("aria-multiselectable","true")}get onDidChangeFocus(){return n.Event.map(this.eventBufferer.wrapEvent(this.focus.onChange),V=>this.toListEvent(V))}get onDidChangeSelection(){return n.Event.map(this.eventBufferer.wrapEvent(this.selection.onChange),V=>this.toListEvent(V))}get domId(){return this.view.domId}get onMouseClick(){return this.view.onMouseClick}get onMouseDblClick(){return this.view.onMouseDblClick}get onMouseMiddleClick(){return this.view.onMouseMiddleClick}get onPointer(){return this.mouseController.onPointer}get onMouseDown(){return this.view.onMouseDown}get onTouchStart(){return this.view.onTouchStart}get onTap(){return this.view.onTap}get onContextMenu(){let V=!1;const K=n.Event.chain(this.disposables.add(new m.DomEmitter(this.view.domNode,"keydown")).event).map(ae=>new k.StandardKeyboardEvent(ae)).filter(ae=>V=ae.keyCode===58||ae.shiftKey&&ae.keyCode===68).map(m.stopEvent).filter(()=>!1).event,X=n.Event.chain(this.disposables.add(new m.DomEmitter(this.view.domNode,"keyup")).event).forEach(()=>V=!1).map(ae=>new k.StandardKeyboardEvent(ae)).filter(ae=>ae.keyCode===58||ae.shiftKey&&ae.keyCode===68).map(m.stopEvent).map(({browserEvent:ae})=>{const ee=this.getFocus(),ue=ee.length?ee[0]:void 0,le=typeof ue!="undefined"?this.view.element(ue):void 0,x=typeof ue!="undefined"?this.view.domElement(ue):this.view.domNode;return{index:ue,element:le,anchor:x,browserEvent:ae}}).event,oe=n.Event.chain(this.view.onContextMenu).filter(ae=>!V).map(({element:ae,index:ee,browserEvent:ue})=>({element:ae,index:ee,anchor:{x:ue.pageX+1,y:ue.pageY},browserEvent:ue})).event;return n.Event.any(K,X,oe)}get onKeyDown(){return this.disposables.add(new m.DomEmitter(this.view.domNode,"keydown")).event}get onDidFocus(){return n.Event.signal(this.disposables.add(new m.DomEmitter(this.view.domNode,"focus",!0)).event)}createMouseController(V){return new A(this)}updateOptions(V={}){var K;this._options=Object.assign(Object.assign({},this._options),V),this.typeLabelController&&this.typeLabelController.updateOptions(this._options),this._options.multipleSelectionController!==void 0&&(this._options.multipleSelectionSupport?this.view.domNode.setAttribute("aria-multiselectable","true"):this.view.domNode.removeAttribute("aria-multiselectable")),this.mouseController.updateOptions(V),(K=this.keyboardController)===null||K===void 0||K.updateOptions(V),this.view.updateOptions(V)}get options(){return this._options}splice(V,K,X=[]){if(V<0||V>this.view.length)throw new a.ListError(this.user,`Invalid start index: ${V}`);if(K<0)throw new a.ListError(this.user,`Invalid delete count: ${K}`);K===0&&X.length===0||this.eventBufferer.bufferEvents(()=>this.spliceable.splice(V,K,X))}rerender(){this.view.rerender()}element(V){return this.view.element(V)}get length(){return this.view.length}get contentHeight(){return this.view.contentHeight}get scrollTop(){return this.view.getScrollTop()}set scrollTop(V){this.view.setScrollTop(V)}get ariaLabel(){return this._ariaLabel}set ariaLabel(V){this._ariaLabel=V,this.view.domNode.setAttribute("aria-label",V)}domFocus(){this.view.domNode.focus({preventScroll:!0})}layout(V,K){this.view.layout(V,K)}setSelection(V,K){for(const X of V)if(X<0||X>=this.length)throw new a.ListError(this.user,`Invalid index ${X}`);this.selection.set(V,K)}getSelection(){return this.selection.get()}getSelectedElements(){return this.getSelection().map(V=>this.view.element(V))}setAnchor(V){if(typeof V=="undefined"){this.anchor.set([]);return}if(V<0||V>=this.length)throw new a.ListError(this.user,`Invalid index ${V}`);this.anchor.set([V])}getAnchor(){return(0,C.firstOrDefault)(this.anchor.get(),void 0)}getAnchorElement(){const V=this.getAnchor();return typeof V=="undefined"?void 0:this.element(V)}setFocus(V,K){for(const X of V)if(X<0||X>=this.length)throw new a.ListError(this.user,`Invalid index ${X}`);this.focus.set(V,K)}focusNext(V=1,K=!1,X,oe){if(this.length===0)return;const ae=this.focus.get(),ee=this.findNextIndex(ae.length>0?ae[0]+V:0,K,oe);ee>-1&&this.setFocus([ee],X)}focusPrevious(V=1,K=!1,X,oe){if(this.length===0)return;const ae=this.focus.get(),ee=this.findPreviousIndex(ae.length>0?ae[0]-V:0,K,oe);ee>-1&&this.setFocus([ee],X)}focusNextPage(V,K){return we(this,void 0,void 0,function*(){let X=this.view.indexAt(this.view.getScrollTop()+this.view.renderHeight);X=X===0?0:X-1;const oe=this.view.element(X),ae=this.getFocusedElements()[0];if(ae!==oe){const ee=this.findPreviousIndex(X,!1,K);ee>-1&&ae!==this.view.element(ee)?this.setFocus([ee],V):this.setFocus([X],V)}else{const ee=this.view.getScrollTop();this.view.setScrollTop(ee+this.view.renderHeight-this.view.elementHeight(X)),this.view.getScrollTop()!==ee&&(this.setFocus([]),yield(0,u.timeout)(0),yield this.focusNextPage(V,K))}})}focusPreviousPage(V,K){return we(this,void 0,void 0,function*(){let X;const oe=this.view.getScrollTop();oe===0?X=this.view.indexAt(oe):X=this.view.indexAfter(oe-1);const ae=this.view.element(X),ee=this.getFocusedElements()[0];if(ee!==ae){const ue=this.findNextIndex(X,!1,K);ue>-1&&ee!==this.view.element(ue)?this.setFocus([ue],V):this.setFocus([X],V)}else{const ue=oe;this.view.setScrollTop(oe-this.view.renderHeight),this.view.getScrollTop()!==ue&&(this.setFocus([]),yield(0,u.timeout)(0),yield this.focusPreviousPage(V,K))}})}focusLast(V,K){if(this.length===0)return;const X=this.findPreviousIndex(this.length-1,!1,K);X>-1&&this.setFocus([X],V)}focusFirst(V,K){this.focusNth(0,V,K)}focusNth(V,K,X){if(this.length===0)return;const oe=this.findNextIndex(V,!1,X);oe>-1&&this.setFocus([oe],K)}findNextIndex(V,K=!1,X){for(let oe=0;oe =this.length&&!K)return-1;if(V=V%this.length,!X||X(this.element(V)))return V;V++}return-1}findPreviousIndex(V,K=!1,X){for(let oe=0;oe this.view.element(V))}reveal(V,K){if(V<0||V>=this.length)throw new a.ListError(this.user,`Invalid index ${V}`);const X=this.view.getScrollTop(),oe=this.view.elementTop(V),ae=this.view.elementHeight(V);if((0,s.isNumber)(K)){const ee=ae-this.view.renderHeight;this.view.setScrollTop(ee*(0,c.clamp)(K,0,1)+oe)}else{const ee=oe+ae,ue=X+this.view.renderHeight;oe =ue||(oe =ue&&ae>=this.view.renderHeight?this.view.setScrollTop(oe):ee>=ue&&this.view.setScrollTop(ee-this.view.renderHeight))}}getRelativeTop(V){if(V<0||V>=this.length)throw new a.ListError(this.user,`Invalid index ${V}`);const K=this.view.getScrollTop(),X=this.view.elementTop(V),oe=this.view.elementHeight(V);if(X K+this.view.renderHeight)return null;const ae=oe-this.view.renderHeight;return Math.abs((K-X)/ae)}getHTMLElement(){return this.view.domNode}style(V){this.styleController.style(V)}toListEvent({indexes:V,browserEvent:K}){return{indexes:V,elements:V.map(X=>this.view.element(X)),browserEvent:K}}_onFocusChange(){const V=this.focus.get();this.view.domNode.classList.toggle("element-focused",V.length>0),this.onDidChangeActiveDescendant()}onDidChangeActiveDescendant(){var V;const K=this.focus.get();if(K.length>0){let X;((V=this.accessibilityProvider)===null||V===void 0?void 0:V.getActiveDescendantId)&&(X=this.accessibilityProvider.getActiveDescendantId(this.view.element(K[0]))),this.view.domNode.setAttribute("aria-activedescendant",X||this.view.getElementDomId(K[0]))}else this.view.domNode.removeAttribute("aria-activedescendant")}_onSelectionChange(){const V=this.selection.get();this.view.domNode.classList.toggle("selection-none",V.length===0),this.view.domNode.classList.toggle("selection-single",V.length===1),this.view.domNode.classList.toggle("selection-multiple",V.length>1)}dispose(){this._onDidDispose.fire(),this.disposables.dispose(),this._onDidDispose.dispose()}}Ie([t.memoize],se.prototype,"onDidChangeFocus",null),Ie([t.memoize],se.prototype,"onDidChangeSelection",null),Ie([t.memoize],se.prototype,"onContextMenu",null),Ie([t.memoize],se.prototype,"onKeyDown",null),Ie([t.memoize],se.prototype,"onDidFocus",null),e.List=se}),define(te[348],ie([1,0,18,21,4,2,117,229]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedList=void 0;class b{constructor(n,i){this.renderer=n,this.modelProvider=i}get templateId(){return this.renderer.templateId}renderTemplate(n){return{data:this.renderer.renderTemplate(n),disposable:I.Disposable.None}}renderElement(n,i,o,c){if(o.disposable&&o.disposable.dispose(),!o.data)return;const d=this.modelProvider();if(d.isResolved(n))return this.renderer.renderElement(d.get(n),n,o.data,c);const r=new m.CancellationTokenSource,s=d.resolve(n,r.token);o.disposable={dispose:()=>r.cancel()},this.renderer.renderPlaceholder(n,o.data),s.then(a=>this.renderer.renderElement(a,n,o.data,c))}disposeTemplate(n){n.disposable&&(n.disposable.dispose(),n.disposable=void 0),n.data&&(this.renderer.disposeTemplate(n.data),n.data=void 0)}}class C{constructor(n,i){this.modelProvider=n,this.accessibilityProvider=i}getWidgetAriaLabel(){return this.accessibilityProvider.getWidgetAriaLabel()}getAriaLabel(n){const i=this.modelProvider();return i.isResolved(n)?this.accessibilityProvider.getAriaLabel(i.get(n)):null}}function u(t,n){return Object.assign(Object.assign({},n),{accessibilityProvider:n.accessibilityProvider&&new C(t,n.accessibilityProvider)})}class g{constructor(n,i,o,c,d={}){const r=()=>this.model,s=c.map(a=>new b(a,r));this.list=new w.List(n,i,o,s,u(r,d))}updateOptions(n){this.list.updateOptions(n)}getHTMLElement(){return this.list.getHTMLElement()}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}get onMouseDblClick(){return k.Event.map(this.list.onMouseDblClick,({element:n,index:i,browserEvent:o})=>({element:n===void 0?void 0:this._model.get(n),index:i,browserEvent:o}))}get onPointer(){return k.Event.map(this.list.onPointer,({element:n,index:i,browserEvent:o})=>({element:n===void 0?void 0:this._model.get(n),index:i,browserEvent:o}))}get onDidChangeSelection(){return k.Event.map(this.list.onDidChangeSelection,({elements:n,indexes:i,browserEvent:o})=>({elements:n.map(c=>this._model.get(c)),indexes:i,browserEvent:o}))}get model(){return this._model}set model(n){this._model=n,this.list.splice(0,this.list.length,(0,L.range)(n.length))}getFocus(){return this.list.getFocus()}getSelection(){return this.list.getSelection()}getSelectedElements(){return this.getSelection().map(n=>this.model.get(n))}style(n){this.list.style(n)}dispose(){this.list.dispose()}}e.PagedList=g}),define(te[349],ie([12]),{}),define(te[231],ie([1,0,7,116,69,18,30,4,2,113,140,19,349]),function(q,e,L,m,k,I,w,b,C,u,g,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SplitView=e.Sizing=void 0;const n={separatorBorder:w.Color.transparent};class i{constructor(l,h,f,S){this.container=l,this.view=h,this.disposable=S,this._cachedVisibleSize=void 0,typeof f=="number"?(this._size=f,this._cachedVisibleSize=void 0,l.classList.add("visible")):(this._size=0,this._cachedVisibleSize=f.cachedVisibleSize)}set size(l){this._size=l}get size(){return this._size}get visible(){return typeof this._cachedVisibleSize=="undefined"}setVisible(l,h){l!==this.visible&&(l?(this.size=(0,u.clamp)(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize=typeof h=="number"?h:this.size,this.size=0),this.container.classList.toggle("visible",l),this.view.setVisible&&this.view.setVisible(l))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}get priority(){return this.view.priority}get snap(){return!!this.view.snap}set enabled(l){this.container.style.pointerEvents=l?"":"none"}layout(l,h){this.layoutContainer(l),this.view.layout(this.size,l,h)}dispose(){return this.disposable.dispose(),this.view}}class o extends i{layoutContainer(l){this.container.style.top=`${l}px`,this.container.style.height=`${this.size}px`}}class c extends i{layoutContainer(l){this.container.style.left=`${l}px`,this.container.style.width=`${this.size}px`}}var d;(function(a){a[a.Idle=0]="Idle",a[a.Busy=1]="Busy"})(d||(d={}));var r;(function(a){a.Distribute={type:"distribute"};function l(f){return{type:"split",index:f}}a.Split=l;function h(f){return{type:"invisible",cachedVisibleSize:f}}a.Invisible=h})(r=e.Sizing||(e.Sizing={}));class s extends C.Disposable{constructor(l,h={}){var f,S,v,p,_;super();this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.state=d.Idle,this._onDidSashChange=this._register(new b.Emitter),this._onDidSashReset=this._register(new b.Emitter),this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onDidSashChange=this._onDidSashChange.event,this.onDidSashReset=this._onDidSashReset.event,this.orientation=(f=h.orientation)!==null&&f!==void 0?f:0,this.inverseAltBehavior=(S=h.inverseAltBehavior)!==null&&S!==void 0?S:!1,this.proportionalLayout=(v=h.proportionalLayout)!==null&&v!==void 0?v:!0,this.getSashOrthogonalSize=h.getSashOrthogonalSize,this.el=document.createElement("div"),this.el.classList.add("monaco-split-view2"),this.el.classList.add(this.orientation===0?"vertical":"horizontal"),l.appendChild(this.el),this.sashContainer=(0,L.append)(this.el,(0,L.$)(".sash-container")),this.viewContainer=(0,L.$)(".split-view-container"),this.scrollable=new g.Scrollable({forceIntegerValues:!0,smoothScrollDuration:125,scheduleAtNextAnimationFrame:L.scheduleAtNextAnimationFrame}),this.scrollableElement=this._register(new k.SmoothScrollableElement(this.viewContainer,{vertical:this.orientation===0?(p=h.scrollbarVisibility)!==null&&p!==void 0?p:1:2,horizontal:this.orientation===1?(_=h.scrollbarVisibility)!==null&&_!==void 0?_:1:2},this.scrollable)),this.onDidScroll=this.scrollableElement.onScroll,this._register(this.onDidScroll(y=>{this.viewContainer.scrollTop=y.scrollTop,this.viewContainer.scrollLeft=y.scrollLeft})),(0,L.append)(this.el,this.scrollableElement.getDomNode()),this.style(h.styles||n),h.descriptor&&(this.size=h.descriptor.size,h.descriptor.views.forEach((y,E)=>{const N=t.isUndefined(y.visible)||y.visible?y.size:{type:"invisible",cachedVisibleSize:y.size},D=y.view;this.doAddView(D,N,E,!0)}),this.contentSize=this.viewItems.reduce((y,E)=>y+E.size,0),this.saveProportions())}get orthogonalStartSash(){return this._orthogonalStartSash}get orthogonalEndSash(){return this._orthogonalEndSash}get startSnappingEnabled(){return this._startSnappingEnabled}get endSnappingEnabled(){return this._endSnappingEnabled}set orthogonalStartSash(l){for(const h of this.sashItems)h.sash.orthogonalStartSash=l;this._orthogonalStartSash=l}set orthogonalEndSash(l){for(const h of this.sashItems)h.sash.orthogonalEndSash=l;this._orthogonalEndSash=l}set startSnappingEnabled(l){this._startSnappingEnabled!==l&&(this._startSnappingEnabled=l,this.updateSashEnablement())}set endSnappingEnabled(l){this._endSnappingEnabled!==l&&(this._endSnappingEnabled=l,this.updateSashEnablement())}style(l){l.separatorBorder.isTransparent()?(this.el.classList.remove("separator-border"),this.el.style.removeProperty("--separator-border")):(this.el.classList.add("separator-border"),this.el.style.setProperty("--separator-border",l.separatorBorder.toString()))}addView(l,h,f=this.viewItems.length,S){this.doAddView(l,h,f,S)}layout(l,h){const f=Math.max(this.size,this.contentSize);if(this.size=l,this.layoutContext=h,this.proportions)for(let S=0;S this.viewItems[_].priority===1),p=S.filter(_=>this.viewItems[_].priority===2);this.resize(this.viewItems.length-1,l-f,void 0,v,p)}this.distributeEmptySpace(),this.layoutViews()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(l=>l.size/this.contentSize))}onSashStart({sash:l,start:h,alt:f}){for(const _ of this.viewItems)_.enabled=!1;const S=this.sashItems.findIndex(_=>_.sash===l),v=(0,C.combinedDisposable)((0,L.addDisposableListener)(document.body,"keydown",_=>p(this.sashDragState.current,_.altKey)),(0,L.addDisposableListener)(document.body,"keyup",()=>p(this.sashDragState.current,!1))),p=(_,y)=>{const E=this.viewItems.map(O=>O.size);let N=Number.NEGATIVE_INFINITY,D=Number.POSITIVE_INFINITY;if(this.inverseAltBehavior&&(y=!y),y)if(S===this.sashItems.length-1){const T=this.viewItems[S];N=(T.minimumSize-T.size)/2,D=(T.maximumSize-T.size)/2}else{const T=this.viewItems[S+1];N=(T.size-T.maximumSize)/2,D=(T.size-T.minimumSize)/2}let M,B;if(!y){const O=(0,I.range)(S,-1),T=(0,I.range)(S+1,this.viewItems.length),A=O.reduce((G,J)=>G+(this.viewItems[J].minimumSize-E[J]),0),P=O.reduce((G,J)=>G+(this.viewItems[J].viewMaximumSize-E[J]),0),F=T.length===0?Number.POSITIVE_INFINITY:T.reduce((G,J)=>G+(E[J]-this.viewItems[J].minimumSize),0),W=T.length===0?Number.NEGATIVE_INFINITY:T.reduce((G,J)=>G+(E[J]-this.viewItems[J].viewMaximumSize),0),R=Math.max(A,W),z=Math.min(F,P),j=this.findFirstSnapIndex(O),$=this.findFirstSnapIndex(T);if(typeof j=="number"){const G=this.viewItems[j],J=Math.floor(G.viewMinimumSize/2);M={index:j,limitDelta:G.visible?R-J:R+J,size:G.size}}if(typeof $=="number"){const G=this.viewItems[$],J=Math.floor(G.viewMinimumSize/2);B={index:$,limitDelta:G.visible?z+J:z-J,size:G.size}}}this.sashDragState={start:_,current:_,index:S,sizes:E,minDelta:N,maxDelta:D,alt:y,snapBefore:M,snapAfter:B,disposable:v}};p(h,f)}onSashChange({current:l}){const{index:h,start:f,sizes:S,alt:v,minDelta:p,maxDelta:_,snapBefore:y,snapAfter:E}=this.sashDragState;this.sashDragState.current=l;const N=l-f,D=this.resize(h,N,S,void 0,void 0,p,_,y,E);if(v){const M=h===this.sashItems.length-1,B=this.viewItems.map(W=>W.size),O=M?h:h+1,T=this.viewItems[O],A=T.size-T.maximumSize,P=T.size-T.minimumSize,F=M?h-1:h+1;this.resize(F,-D,B,void 0,void 0,A,P)}this.distributeEmptySpace(),this.layoutViews()}onSashEnd(l){this._onDidSashChange.fire(l),this.sashDragState.disposable.dispose(),this.saveProportions();for(const h of this.viewItems)h.enabled=!0}onViewChange(l,h){const f=this.viewItems.indexOf(l);f<0||f>=this.viewItems.length||(h=typeof h=="number"?h:l.size,h=(0,u.clamp)(h,l.minimumSize,l.maximumSize),this.inverseAltBehavior&&f>0?(this.resize(f-1,Math.floor((l.size-h)/2)),this.distributeEmptySpace(),this.layoutViews()):(l.size=h,this.relayout([f],void 0)))}resizeView(l,h){if(this.state!==d.Idle)throw new Error("Cant modify splitview");if(this.state=d.Busy,l<0||l>=this.viewItems.length)return;const f=(0,I.range)(this.viewItems.length).filter(_=>_!==l),S=[...f.filter(_=>this.viewItems[_].priority===1),l],v=f.filter(_=>this.viewItems[_].priority===2),p=this.viewItems[l];h=Math.round(h),h=(0,u.clamp)(h,p.minimumSize,Math.min(p.maximumSize,this.size)),p.size=h,this.relayout(S,v),this.state=d.Idle}distributeViewSizes(){const l=[];let h=0;for(const _ of this.viewItems)_.maximumSize-_.minimumSize>0&&(l.push(_),h+=_.size);const f=Math.floor(h/l.length);for(const _ of l)_.size=(0,u.clamp)(f,_.minimumSize,_.maximumSize);const S=(0,I.range)(this.viewItems.length),v=S.filter(_=>this.viewItems[_].priority===1),p=S.filter(_=>this.viewItems[_].priority===2);this.relayout(v,p)}getViewSize(l){return l<0||l>=this.viewItems.length?-1:this.viewItems[l].size}doAddView(l,h,f=this.viewItems.length,S){if(this.state!==d.Idle)throw new Error("Cant modify splitview");this.state=d.Busy;const v=(0,L.$)(".split-view-view");f===this.viewItems.length?this.viewContainer.appendChild(v):this.viewContainer.insertBefore(v,this.viewContainer.children.item(f));const p=l.onDidChange(M=>this.onViewChange(N,M)),_=(0,C.toDisposable)(()=>this.viewContainer.removeChild(v)),y=(0,C.combinedDisposable)(p,_);let E;typeof h=="number"?E=h:h.type==="split"?E=this.getViewSize(h.index)/2:h.type==="invisible"?E={cachedVisibleSize:h.cachedVisibleSize}:E=l.minimumSize;const N=this.orientation===0?new o(v,l,E,y):new c(v,l,E,y);if(this.viewItems.splice(f,0,N),this.viewItems.length>1){let M={orthogonalStartSash:this.orthogonalStartSash,orthogonalEndSash:this.orthogonalEndSash};const B=this.orientation===0?new m.Sash(this.sashContainer,{getHorizontalSashTop:G=>this.getSashPosition(G),getHorizontalSashWidth:this.getSashOrthogonalSize},Object.assign(Object.assign({},M),{orientation:1})):new m.Sash(this.sashContainer,{getVerticalSashLeft:G=>this.getSashPosition(G),getVerticalSashHeight:this.getSashOrthogonalSize},Object.assign(Object.assign({},M),{orientation:0})),O=this.orientation===0?G=>({sash:B,start:G.startY,current:G.currentY,alt:G.altKey}):G=>({sash:B,start:G.startX,current:G.currentX,alt:G.altKey}),A=b.Event.map(B.onDidStart,O)(this.onSashStart,this),F=b.Event.map(B.onDidChange,O)(this.onSashChange,this),R=b.Event.map(B.onDidEnd,()=>this.sashItems.findIndex(G=>G.sash===B))(this.onSashEnd,this),z=B.onDidReset(()=>{const G=this.sashItems.findIndex(V=>V.sash===B),J=(0,I.range)(G,-1),re=(0,I.range)(G+1,this.viewItems.length),se=this.findFirstSnapIndex(J),Z=this.findFirstSnapIndex(re);typeof se=="number"&&!this.viewItems[se].visible||typeof Z=="number"&&!this.viewItems[Z].visible||this._onDidSashReset.fire(G)}),j=(0,C.combinedDisposable)(A,F,R,z,B),$={sash:B,disposable:j};this.sashItems.splice(f-1,0,$)}v.appendChild(l.element);let D;typeof h!="number"&&h.type==="split"&&(D=[h.index]),S||this.relayout([f],D),this.state=d.Idle,!S&&typeof h!="number"&&h.type==="distribute"&&this.distributeViewSizes()}relayout(l,h){const f=this.viewItems.reduce((S,v)=>S+v.size,0);this.resize(this.viewItems.length-1,this.size-f,void 0,l,h),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}resize(l,h,f=this.viewItems.map(N=>N.size),S,v,p=Number.NEGATIVE_INFINITY,_=Number.POSITIVE_INFINITY,y,E){if(l<0||l>=this.viewItems.length)return 0;const N=(0,I.range)(l,-1),D=(0,I.range)(l+1,this.viewItems.length);if(v)for(const $ of v)(0,I.pushToStart)(N,$),(0,I.pushToStart)(D,$);if(S)for(const $ of S)(0,I.pushToEnd)(N,$),(0,I.pushToEnd)(D,$);const M=N.map($=>this.viewItems[$]),B=N.map($=>f[$]),O=D.map($=>this.viewItems[$]),T=D.map($=>f[$]),A=N.reduce(($,G)=>$+(this.viewItems[G].minimumSize-f[G]),0),P=N.reduce(($,G)=>$+(this.viewItems[G].maximumSize-f[G]),0),F=D.length===0?Number.POSITIVE_INFINITY:D.reduce(($,G)=>$+(f[G]-this.viewItems[G].minimumSize),0),W=D.length===0?Number.NEGATIVE_INFINITY:D.reduce(($,G)=>$+(f[G]-this.viewItems[G].maximumSize),0),R=Math.max(A,W,p),z=Math.min(F,P,_);let j=!1;if(y){const $=this.viewItems[y.index],G=h>=y.limitDelta;j=G!==$.visible,$.setVisible(G,y.size)}if(!j&&E){const $=this.viewItems[E.index],G=h _+y.size,0);let f=this.size-h;const S=(0,I.range)(this.viewItems.length-1,-1),v=S.filter(_=>this.viewItems[_].priority===1),p=S.filter(_=>this.viewItems[_].priority===2);for(const _ of p)(0,I.pushToStart)(S,_);for(const _ of v)(0,I.pushToEnd)(S,_);typeof l=="number"&&(0,I.pushToEnd)(S,l);for(let _=0;f!==0&&_ h+f.size,0);let l=0;for(const h of this.viewItems)h.layout(l,this.layoutContext),l+=h.size;this.sashItems.forEach(h=>h.sash.layout()),this.updateSashEnablement(),this.updateScrollableElement()}updateScrollableElement(){this.orientation===0?this.scrollableElement.setScrollDimensions({height:this.size,scrollHeight:this.contentSize}):this.scrollableElement.setScrollDimensions({width:this.size,scrollWidth:this.contentSize})}updateSashEnablement(){let l=!1;const h=this.viewItems.map(y=>l=y.size-y.minimumSize>0||l);l=!1;const f=this.viewItems.map(y=>l=y.maximumSize-y.size>0||l),S=[...this.viewItems].reverse();l=!1;const v=S.map(y=>l=y.size-y.minimumSize>0||l).reverse();l=!1;const p=S.map(y=>l=y.maximumSize-y.size>0||l).reverse();let _=0;for(let y=0;y 0||this.startSnappingEnabled)?E.state=1:F&&h[y]&&(_ 0)return;if(!f.visible&&f.snap)return h}}dispose(){super.dispose(),(0,C.dispose)(this.viewItems),this.viewItems=[],this.sashItems.forEach(l=>l.disposable.dispose()),this.sashItems=[]}}e.SplitView=s}),define(te[350],ie([12]),{}),define(te[351],ie([1,0,7,117,231,4,2,350]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Table=void 0;class b{constructor(n,i,o){this.columns=n,this.getColumnSize=o,this.templateId=b.TemplateId,this.renderedTemplates=new Set;const c=new Map(i.map(d=>[d.templateId,d]));this.renderers=[];for(const d of n){const r=c.get(d.templateId);if(!r)throw new Error(`Table cell renderer for template id ${d.templateId} not found.`);this.renderers.push(r)}}renderTemplate(n){const i=(0,L.append)(n,(0,L.$)(".monaco-table-tr")),o=[],c=[];for(let r=0;r new u(h,f)),a={size:s.reduce((h,f)=>h+f.column.weight,0),views:s.map(h=>({size:h.column.weight,view:h}))};this.splitview=this.disposables.add(new k.SplitView(this.domNode,{orientation:1,scrollbarVisibility:2,getSashOrthogonalSize:()=>this.cachedHeight,descriptor:a})),this.splitview.el.style.height=`${o.headerRowHeight}px`,this.splitview.el.style.lineHeight=`${o.headerRowHeight}px`;const l=new b(c,d,h=>this.splitview.getViewSize(h));this.list=this.disposables.add(new m.List(n,this.domNode,C(o),[l],r)),I.Event.any(...s.map(h=>h.onDidLayout))(([h,f])=>l.layoutColumn(h,f),null,this.disposables),this.splitview.onDidSashReset(h=>{const f=c.reduce((v,p)=>v+p.weight,0),S=c[h].weight/f*this.cachedWidth;this.splitview.resizeView(h,S)},null,this.disposables),this.styleElement=(0,L.createStyleSheet)(this.domNode),this.style({})}get onDidChangeFocus(){return this.list.onDidChangeFocus}get onDidChangeSelection(){return this.list.onDidChangeSelection}get onMouseDblClick(){return this.list.onMouseDblClick}get onPointer(){return this.list.onPointer}get onDidFocus(){return this.list.onDidFocus}get onDidDispose(){return this.list.onDidDispose}updateOptions(n){this.list.updateOptions(n)}splice(n,i,o=[]){this.list.splice(n,i,o)}getHTMLElement(){return this.domNode}style(n){const i=[];i.push(`.monaco-table.${this.domId} > .monaco-split-view2 .monaco-sash.vertical::before { + top: ${this.virtualDelegate.headerRowHeight+1}px; + height: calc(100% - ${this.virtualDelegate.headerRowHeight}px); + }`),this.styleElement.textContent=i.join(` +`),this.list.style(n)}getSelectedElements(){return this.list.getSelectedElements()}getSelection(){return this.list.getSelection()}getFocus(){return this.list.getFocus()}dispose(){this.disposables.dispose()}}e.Table=g,g.InstanceCount=0}),define(te[352],ie([12]),{}),define(te[145],ie([12]),{}),define(te[232],ie([1,0,7,136,145]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getIconClass=void 0;const k={},I=new m.IdGenerator("quick-input-button-icon-");function w(b){if(!b)return;let C;const u=b.dark.toString();return k[u]?C=k[u]:(C=I.nextId(),L.createCSSRule(`.${C}`,`background-image: ${L.asCSSUrl(b.light||b.dark)}`),L.createCSSRule(`.vs-dark .${C}, .hc-black .${C}`,`background-image: ${L.asCSSUrl(b.dark)}`),k[u]=C),C}e.getIconClass=w}),define(te[353],ie([12]),{}),define(te[354],ie([12]),{}),define(te[355],ie([12]),{}),define(te[356],ie([12]),{}),define(te[357],ie([12]),{}),define(te[358],ie([12]),{}),define(te[359],ie([12]),{}),define(te[360],ie([12]),{}),define(te[361],ie([12]),{}),define(te[362],ie([12]),{}),define(te[363],ie([12]),{}),define(te[364],ie([12]),{}),define(te[365],ie([12]),{}),define(te[366],ie([12]),{}),define(te[367],ie([12]),{}),define(te[368],ie([12]),{}),define(te[369],ie([12]),{}),define(te[370],ie([12]),{}),define(te[371],ie([12]),{}),define(te[372],ie([12]),{}),define(te[373],ie([12]),{}),define(te[374],ie([12]),{}),define(te[375],ie([12]),{}),define(te[376],ie([12]),{}),define(te[377],ie([12]),{}),define(te[378],ie([12]),{}),define(te[379],ie([12]),{}),define(te[380],ie([12]),{}),define(te[381],ie([12]),{}),define(te[382],ie([12]),{}),define(te[383],ie([12]),{}),define(te[384],ie([12]),{}),define(te[385],ie([12]),{}),define(te[386],ie([12]),{}),define(te[387],ie([12]),{}),define(te[388],ie([12]),{}),define(te[389],ie([12]),{}),define(te[390],ie([12]),{}),define(te[391],ie([12]),{}),define(te[392],ie([12]),{}),define(te[393],ie([12]),{}),define(te[394],ie([12]),{}),define(te[395],ie([12]),{}),define(te[396],ie([12]),{}),define(te[397],ie([12]),{}),define(te[398],ie([12]),{}),define(te[399],ie([12]),{}),define(te[233],ie([1,0,2,4]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ElementSizeObserver=void 0;class k extends L.Disposable{constructor(w,b){super();this._onDidChange=this._register(new m.Emitter),this.onDidChange=this._onDidChange.event,this._referenceDomElement=w,this._width=-1,this._height=-1,this._resizeObserver=null,this.measureReferenceDomElement(!1,b)}dispose(){this.stopObserving(),super.dispose()}getWidth(){return this._width}getHeight(){return this._height}startObserving(){!this._resizeObserver&&this._referenceDomElement&&(this._resizeObserver=new ResizeObserver(w=>{w&&w[0]&&w[0].contentRect?this.observe({width:w[0].contentRect.width,height:w[0].contentRect.height}):this.observe()}),this._resizeObserver.observe(this._referenceDomElement))}stopObserving(){this._resizeObserver&&(this._resizeObserver.disconnect(),this._resizeObserver=null)}observe(w){this.measureReferenceDomElement(!0,w)}measureReferenceDomElement(w,b){let C=0,u=0;b?(C=b.width,u=b.height):this._referenceDomElement&&(C=this._referenceDomElement.clientWidth,u=this._referenceDomElement.clientHeight),C=Math.max(5,C),u=Math.max(5,u),(this._width!==C||this._height!==u)&&(this._width=C,this._height=u,w&&this._onDidChange.fire())}}e.ElementSizeObserver=k}),define(te[400],ie([1,0,217]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.migrateOptions=void 0;function m(k){const I=k.wordWrap;I===!0?k.wordWrap="on":I===!1&&(k.wordWrap="off");const w=k.lineNumbers;w===!0?k.lineNumbers="on":w===!1&&(k.lineNumbers="off"),k.autoClosingBrackets===!1&&(k.autoClosingBrackets="never",k.autoClosingQuotes="never",k.autoSurround="never"),k.cursorBlinking==="visible"&&(k.cursorBlinking="solid");const u=k.renderWhitespace;u===!0?k.renderWhitespace="boundary":u===!1&&(k.renderWhitespace="none");const g=k.renderLineHighlight;g===!0?k.renderLineHighlight="line":g===!1&&(k.renderLineHighlight="none");const t=k.acceptSuggestionOnEnter;t===!0?k.acceptSuggestionOnEnter="on":t===!1&&(k.acceptSuggestionOnEnter="off");const n=k.tabCompletion;n===!1?k.tabCompletion="off":n===!0&&(k.tabCompletion="onlySnippets");const i=k.suggest;if(i&&typeof i.filteredTypes=="object"&&i.filteredTypes){const l={};l.method="showMethods",l.function="showFunctions",l.constructor="showConstructors",l.deprecated="showDeprecated",l.field="showFields",l.variable="showVariables",l.class="showClasses",l.struct="showStructs",l.interface="showInterfaces",l.module="showModules",l.property="showProperties",l.event="showEvents",l.operator="showOperators",l.unit="showUnits",l.value="showValues",l.constant="showConstants",l.enum="showEnums",l.enumMember="showEnumMembers",l.keyword="showKeywords",l.text="showWords",l.color="showColors",l.file="showFiles",l.reference="showReferences",l.folder="showFolders",l.typeParameter="showTypeParameters",l.snippet="showSnippets",(0,L.forEach)(l,h=>{const f=i.filteredTypes[h.key];f===!1&&(i[h.value]=f)})}const o=k.hover;o===!0?k.hover={enabled:!0}:o===!1&&(k.hover={enabled:!1});const c=k.parameterHints;c===!0?k.parameterHints={enabled:!0}:c===!1&&(k.parameterHints={enabled:!1});const d=k.autoIndent;d===!0?k.autoIndent="full":d===!1&&(k.autoIndent="advanced");const r=k.matchBrackets;r===!0?k.matchBrackets="always":r===!1&&(k.matchBrackets="never");const{renderIndentGuides:s,highlightActiveIndentGuide:a}=k;k.guides||(k.guides={}),s!==void 0&&(k.guides.indentation=!!s),a!==void 0&&(k.guides.highlightActiveIndentation=!!a)}e.migrateOptions=m}),define(te[234],ie([1,0,4]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TabFocus=void 0;class m{constructor(){this._tabFocus=!1,this._onDidChangeTabFocus=new L.Emitter,this.onDidChangeTabFocus=this._onDidChangeTabFocus.event}getTabFocusMode(){return this._tabFocus}setTabFocusMode(I){this._tabFocus!==I&&(this._tabFocus=I,this._onDidChangeTabFocus.fire(this._tabFocus))}}e.TabFocus=new m}),define(te[146],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.StableEditorScrollState=void 0;class L{constructor(k,I,w){this._visiblePosition=k,this._visiblePositionScrollDelta=I,this._cursorPosition=w}static capture(k){let I=null,w=0;if(k.getScrollTop()!==0){const b=k.getVisibleRanges();if(b.length>0){I=b[0].getStartPosition();const C=k.getTopForPosition(I.lineNumber,I.column);w=k.getScrollTop()-C}}return new L(I,w,k.getPosition())}restore(k){if(this._visiblePosition){const I=k.getTopForPosition(this._visiblePosition.lineNumber,this._visiblePosition.column);k.setScrollTop(I+this._visiblePositionScrollDelta)}}restoreRelativeVerticalPositionOfCursor(k){const I=k.getPosition();if(!this._cursorPosition||!I)return;const w=k.getTopForLineNumber(I.lineNumber)-k.getTopForLineNumber(this._cursorPosition.lineNumber);k.setScrollTop(k.getScrollTop()+w)}}e.StableEditorScrollState=L}),define(te[118],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VisibleRanges=e.HorizontalPosition=e.FloatHorizontalRange=e.HorizontalRange=e.LineVisibleRanges=e.RenderingContext=e.RestrictedRenderingContext=void 0;class L{constructor(g,t){this._restrictedRenderingContextBrand=void 0,this._viewLayout=g,this.viewportData=t,this.scrollWidth=this._viewLayout.getScrollWidth(),this.scrollHeight=this._viewLayout.getScrollHeight(),this.visibleRange=this.viewportData.visibleRange,this.bigNumbersDelta=this.viewportData.bigNumbersDelta;const n=this._viewLayout.getCurrentViewport();this.scrollTop=n.top,this.scrollLeft=n.left,this.viewportWidth=n.width,this.viewportHeight=n.height}getScrolledTopFromAbsoluteTop(g){return g-this.scrollTop}getVerticalOffsetForLineNumber(g){return this._viewLayout.getVerticalOffsetForLineNumber(g)}getDecorationsInViewport(){return this.viewportData.getDecorationsInViewport()}}e.RestrictedRenderingContext=L;class m extends L{constructor(g,t,n){super(g,t);this._renderingContextBrand=void 0,this._viewLines=n}linesVisibleRangesForRange(g,t){return this._viewLines.linesVisibleRangesForRange(g,t)}visibleRangeForPosition(g){return this._viewLines.visibleRangeForPosition(g)}}e.RenderingContext=m;class k{constructor(g,t,n){this.outsideRenderedLine=g,this.lineNumber=t,this.ranges=n}}e.LineVisibleRanges=k;class I{constructor(g,t){this._horizontalRangeBrand=void 0,this.left=Math.round(g),this.width=Math.round(t)}static from(g){const t=new Array(g.length);for(let n=0,i=g.length;n=t.left?C.width=Math.max(C.width,t.left+t.width-C.left):(w[b++]=C,C=t)}return w[b++]=C,w}static _createHorizontalRangesFromClientRects(I,w,b){if(!I||I.length===0)return null;const C=[];for(let u=0,g=I.length;u o)return null;if(w=Math.min(o,Math.max(i,w)),C=Math.min(o,Math.max(i,C)),w===C&&b===u&&b===0&&!I.children[w].firstChild){const s=I.children[w].getClientRects();return this._createHorizontalRangesFromClientRects(s,g,t)}w!==C&&C>0&&u===0&&(C--,u=1073741824);let c=I.children[w].firstChild,d=I.children[C].firstChild;if((!c||!d)&&(!c&&b===0&&w>0&&(c=I.children[w-1].firstChild,b=1073741824),!d&&u===0&&C>0&&(d=I.children[C-1].firstChild,u=1073741824)),!c||!d)return null;b=Math.min(c.textContent.length,Math.max(0,b)),u=Math.min(d.textContent.length,Math.max(0,u));const r=this._readClientRects(c,b,d,u,n);return this._createHorizontalRangesFromClientRects(r,g,t)}}e.RangeUtil=m}),define(te[236],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getCharIndex=e.allCharCodes=void 0,e.allCharCodes=(()=>{const m=[];for(let k=32;k<=126;k++)m.push(k);return m.push(65533),m})();const L=(m,k)=>(m-=32,m<0||m>96?k<=2?(m+96)%96:96-1:m);e.getCharIndex=L}),define(te[402],ie([1,0,236,142]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRenderer=void 0;class k{constructor(w,b){this.scale=b,this._minimapCharRendererBrand=void 0,this.charDataNormal=k.soften(w,12/15),this.charDataLight=k.soften(w,50/60)}static soften(w,b){const C=new Uint8ClampedArray(w.length);for(let u=0,g=w.length;u w.width||C+a>w.height){console.warn("bad render request outside image data");return}const l=c?this.charDataLight:this.charDataNormal,h=(0,L.getCharIndex)(u,o),f=w.width*4,S=n.r,v=n.g,p=n.b,_=g.r-S,y=g.g-v,E=g.b-p,N=Math.max(t,i),D=w.data;let M=h*r*s,B=C*f+b*4;for(let O=0;Ow.width||C+d>w.height){console.warn("bad render request outside image data");return}const r=w.width*4,s=.5*(g/255),a=t.r,l=t.g,h=t.b,f=u.r-a,S=u.g-l,v=u.b-h,p=a+f*s,_=l+S*s,y=h+v*s,E=Math.max(g,n),N=w.data;let D=C*r+b*4;for(let M=0;M {const w=new Uint8ClampedArray(I.length/2);for(let b=0;b >1]=m[I[b]]<<4|m[I[b+1]]&15;return w};e.prebakedMiniMaps={1:(0,L.once)(()=>k("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")),2:(0,L.once)(()=>k("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126"))}}),define(te[404],ie([1,0,402,236,403,142]),function(q,e,L,m,k,I){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MinimapCharRendererFactory=void 0;class w{static create(C,u){if(this.lastCreated&&C===this.lastCreated.scale&&u===this.lastFontFamily)return this.lastCreated;let g;return k.prebakedMiniMaps[C]?g=new L.MinimapCharRenderer(k.prebakedMiniMaps[C](),C):g=w.createFromSampleData(w.createSampleData(u).data,C),this.lastFontFamily=u,this.lastCreated=g,g}static createSampleData(C){const u=document.createElement("canvas"),g=u.getContext("2d");u.style.height=`${16}px`,u.height=16,u.width=96*10,u.style.width=96*10+"px",g.fillStyle="#ffffff",g.font=`bold ${16}px ${C}`,g.textBaseline="middle";let t=0;for(const n of m.allCharCodes)g.fillText(String.fromCharCode(n),t,16/2),t+=10;return g.getImageData(0,0,96*10,16)}static createFromSampleData(C,u){const g=16*10*4*96;if(C.length!==g)throw new Error("Unexpected source in MinimapCharRenderer");const t=w._downsample(C,u);return new L.MinimapCharRenderer(t,u)}static _downsampleChar(C,u,g,t,n){const i=1*n,o=2*n;let c=t,d=0;for(let r=0;r 0){const d=255/c;for(let r=0;r =0&&w<256?this._asciiMap[w]=C:this._map.set(w,C)}get(w){return w>=0&&w<256?this._asciiMap[w]:this._map.get(w)||this._defaultValue}}e.CharacterClassifier=m;class k{constructor(){this._actual=new m(0)}add(w){this._actual.set(w,1)}has(w){return this._actual.get(w)===1}}e.CharacterSet=k}),define(te[70],ie([1,0,8]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorColumns=void 0;class m{static _nextVisibleColumn(I,w,b){return I===9?m.nextRenderTabStop(w,b):L.isFullWidthCharacter(I)||L.isEmojiImprecise(I)?w+2:w+1}static visibleColumnFromColumn(I,w,b){const C=Math.min(w-1,I.length),u=I.substring(0,C),g=new L.GraphemeIterator(u);let t=0;for(;!g.eol();){const n=L.getNextCodePoint(u,C,g.offset);g.nextGraphemeLength(),t=this._nextVisibleColumn(n,t,b)}return t}static columnFromVisibleColumn(I,w,b){if(w<=0)return 1;const C=I.length,u=new L.GraphemeIterator(I);let g=0,t=1;for(;!u.eol();){const n=L.getNextCodePoint(I,C,u.offset);u.nextGraphemeLength();const i=this._nextVisibleColumn(n,g,b),o=u.offset+1;if(i>=w){const c=w-g;return i-w b||I===b&&w>C?(this.startLineNumber=b,this.startColumn=C,this.endLineNumber=I,this.endColumn=w):(this.startLineNumber=I,this.startColumn=w,this.endLineNumber=b,this.endColumn=C)}isEmpty(){return m.isEmpty(this)}static isEmpty(I){return I.startLineNumber===I.endLineNumber&&I.startColumn===I.endColumn}containsPosition(I){return m.containsPosition(this,I)}static containsPosition(I,w){return!(w.lineNumber I.endLineNumber||w.lineNumber===I.startLineNumber&&w.column I.endColumn)}static strictContainsPosition(I,w){return!(w.lineNumber I.endLineNumber||w.lineNumber===I.startLineNumber&&w.column<=I.startColumn||w.lineNumber===I.endLineNumber&&w.column>=I.endColumn)}containsRange(I){return m.containsRange(this,I)}static containsRange(I,w){return!(w.startLineNumber I.endLineNumber||w.endLineNumber>I.endLineNumber||w.startLineNumber===I.startLineNumber&&w.startColumn I.endColumn)}strictContainsRange(I){return m.strictContainsRange(this,I)}static strictContainsRange(I,w){return!(w.startLineNumber I.endLineNumber||w.endLineNumber>I.endLineNumber||w.startLineNumber===I.startLineNumber&&w.startColumn<=I.startColumn||w.endLineNumber===I.endLineNumber&&w.endColumn>=I.endColumn)}plusRange(I){return m.plusRange(this,I)}static plusRange(I,w){let b,C,u,g;return w.startLineNumber I.endLineNumber?(u=w.endLineNumber,g=w.endColumn):w.endLineNumber===I.endLineNumber?(u=w.endLineNumber,g=Math.max(w.endColumn,I.endColumn)):(u=I.endLineNumber,g=I.endColumn),new m(b,C,u,g)}intersectRanges(I){return m.intersectRanges(this,I)}static intersectRanges(I,w){let b=I.startLineNumber,C=I.startColumn,u=I.endLineNumber,g=I.endColumn,t=w.startLineNumber,n=w.startColumn,i=w.endLineNumber,o=w.endColumn;return b i?(u=i,g=o):u===i&&(g=Math.min(g,o)),b>u||b===u&&C>g?null:new m(b,C,u,g)}equalsRange(I){return m.equalsRange(this,I)}static equalsRange(I,w){return!!I&&!!w&&I.startLineNumber===w.startLineNumber&&I.startColumn===w.startColumn&&I.endLineNumber===w.endLineNumber&&I.endColumn===w.endColumn}getEndPosition(){return m.getEndPosition(this)}static getEndPosition(I){return new L.Position(I.endLineNumber,I.endColumn)}getStartPosition(){return m.getStartPosition(this)}static getStartPosition(I){return new L.Position(I.startLineNumber,I.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(I,w){return new m(this.startLineNumber,this.startColumn,I,w)}setStartPosition(I,w){return new m(I,w,this.endLineNumber,this.endColumn)}collapseToStart(){return m.collapseToStart(this)}static collapseToStart(I){return new m(I.startLineNumber,I.startColumn,I.startLineNumber,I.startColumn)}static fromPositions(I,w=I){return new m(I.lineNumber,I.column,w.lineNumber,w.column)}static lift(I){return I?new m(I.startLineNumber,I.startColumn,I.endLineNumber,I.endColumn):null}static isIRange(I){return I&&typeof I.startLineNumber=="number"&&typeof I.startColumn=="number"&&typeof I.endLineNumber=="number"&&typeof I.endColumn=="number"}static areIntersectingOrTouching(I,w){return!(I.endLineNumber I.startLineNumber}toJSON(){return this}}e.Range=m}),define(te[237],ie([1,0,8,11,3]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PagedScreenReaderStrategy=e.TextAreaState=e._debugComposition=void 0,e._debugComposition=!1;class I{constructor(C,u,g,t,n){this.value=C,this.selectionStart=u,this.selectionEnd=g,this.selectionStartPosition=t,this.selectionEndPosition=n}toString(){return`[ <${this.value}>, selectionStart: ${this.selectionStart}, selectionEnd: ${this.selectionEnd}]`}static readFromTextArea(C){return new I(C.getValue(),C.getSelectionStart(),C.getSelectionEnd(),null,null)}collapseSelection(){return new I(this.value,this.value.length,this.value.length,null,null)}writeToTextArea(C,u,g){e._debugComposition&&console.log(`writeToTextArea ${C}: ${this.toString()}`),u.setValue(C,this.value),g&&u.setSelectionRange(C,this.selectionStart,this.selectionEnd)}deduceEditorPosition(C){if(C<=this.selectionStart){const t=this.value.substring(C,this.selectionStart);return this._finishDeduceEditorPosition(this.selectionStartPosition,t,-1)}if(C>=this.selectionEnd){const t=this.value.substring(this.selectionEnd,C);return this._finishDeduceEditorPosition(this.selectionEndPosition,t,1)}const u=this.value.substring(this.selectionStart,C);if(u.indexOf(String.fromCharCode(8230))===-1)return this._finishDeduceEditorPosition(this.selectionStartPosition,u,1);const g=this.value.substring(C,this.selectionEnd);return this._finishDeduceEditorPosition(this.selectionEndPosition,g,-1)}_finishDeduceEditorPosition(C,u,g){let t=0,n=-1;for(;(n=u.indexOf(` +`,n+1))!==-1;)t++;return[C,g*u.length,t]}static deduceInput(C,u,g){if(!C)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};e._debugComposition&&(console.log("------------------------deduceInput"),console.log(`PREVIOUS STATE: ${C.toString()}`),console.log(`CURRENT STATE: ${u.toString()}`));const t=Math.min(L.commonPrefixLength(C.value,u.value),C.selectionStart,u.selectionStart),n=Math.min(L.commonSuffixLength(C.value,u.value),C.value.length-C.selectionEnd,u.value.length-u.selectionEnd),i=C.value.substring(t,C.value.length-n),o=u.value.substring(t,u.value.length-n),c=C.selectionStart-t,d=C.selectionEnd-t,r=u.selectionStart-t,s=u.selectionEnd-t;if(e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${i}>, selectionStart: ${c}, selectionEnd: ${d}`),console.log(`AFTER DIFFING CURRENT STATE: <${o}>, selectionStart: ${r}, selectionEnd: ${s}`)),r===s){const l=C.selectionStart-t;return e._debugComposition&&console.log(`REMOVE PREVIOUS: ${l} chars`),{text:o,replacePrevCharCnt:l,replaceNextCharCnt:0,positionDelta:0}}const a=d-c;return{text:o,replacePrevCharCnt:a,replaceNextCharCnt:0,positionDelta:0}}static deduceAndroidCompositionInput(C,u){if(!C)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:0};if(e._debugComposition&&(console.log("------------------------deduceAndroidCompositionInput"),console.log(`PREVIOUS STATE: ${C.toString()}`),console.log(`CURRENT STATE: ${u.toString()}`)),C.value===u.value)return{text:"",replacePrevCharCnt:0,replaceNextCharCnt:0,positionDelta:u.selectionEnd-C.selectionEnd};const g=Math.min(L.commonPrefixLength(C.value,u.value),C.selectionEnd),t=Math.min(L.commonSuffixLength(C.value,u.value),C.value.length-C.selectionEnd),n=C.value.substring(g,C.value.length-t),i=u.value.substring(g,u.value.length-t),o=C.selectionStart-g,c=C.selectionEnd-g,d=u.selectionStart-g,r=u.selectionEnd-g;return e._debugComposition&&(console.log(`AFTER DIFFING PREVIOUS STATE: <${n}>, selectionStart: ${o}, selectionEnd: ${c}`),console.log(`AFTER DIFFING CURRENT STATE: <${i}>, selectionStart: ${d}, selectionEnd: ${r}`)),{text:i,replacePrevCharCnt:c,replaceNextCharCnt:n.length-c,positionDelta:r-i.length}}}e.TextAreaState=I,I.EMPTY=new I("",0,0,null,null);class w{static _getPageOfLine(C,u){return Math.floor((C-1)/u)}static _getRangeForPage(C,u){const g=C*u,t=g+1,n=g+u;return new k.Range(t,1,n+1,1)}static fromEditorSelection(C,u,g,t,n){const i=w._getPageOfLine(g.startLineNumber,t),o=w._getRangeForPage(i,t),c=w._getPageOfLine(g.endLineNumber,t),d=w._getRangeForPage(c,t),r=o.intersectRanges(new k.Range(1,1,g.startLineNumber,g.startColumn));let s=u.getValueInRange(r,1);const a=u.getLineCount(),l=u.getLineMaxColumn(a),h=d.intersectRanges(new k.Range(g.endLineNumber,g.endColumn,a,l));let f=u.getValueInRange(h,1),S;if(i===c||i+1===c)S=u.getValueInRange(g,1);else{const v=o.intersectRanges(g),p=d.intersectRanges(g);S=u.getValueInRange(v,1)+String.fromCharCode(8230)+u.getValueInRange(p,1)}if(n){const v=500;s.length>v&&(s=s.substring(s.length-v,s.length)),f.length>v&&(f=f.substring(0,v)),S.length>2*v&&(S=S.substring(0,v)+String.fromCharCode(8230)+S.substring(S.length-v,S.length))}return new I(s+S+f,s.length,s.length+S.length,new m.Position(g.startLineNumber,g.startColumn),new m.Position(g.endLineNumber,g.endColumn))}}e.PagedScreenReaderStrategy=w}),define(te[238],ie([1,0,216,4,2,40,3]),function(q,e,L,m,k,I,w){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DiffNavigator=void 0;const b={followsCaret:!0,ignoreCharChanges:!0,alwaysRevealFirst:!0};class C extends k.Disposable{constructor(g,t={}){super();this._onDidUpdate=this._register(new m.Emitter),this._editor=g,this._options=I.mixin(t,b,!1),this.disposed=!1,this.nextIdx=-1,this.ranges=[],this.ignoreSelectionChange=!1,this.revealFirst=Boolean(this._options.alwaysRevealFirst),this._register(this._editor.onDidDispose(()=>this.dispose())),this._register(this._editor.onDidUpdateDiff(()=>this._onDiffUpdated())),this._options.followsCaret&&this._register(this._editor.getModifiedEditor().onDidChangeCursorPosition(n=>{this.ignoreSelectionChange||(this.nextIdx=-1)})),this._options.alwaysRevealFirst&&this._register(this._editor.getModifiedEditor().onDidChangeModel(n=>{this.revealFirst=!0})),this._init()}_init(){!!this._editor.getLineChanges()}_onDiffUpdated(){this._init(),this._compute(this._editor.getLineChanges()),this.revealFirst&&this._editor.getLineChanges()!==null&&(this.revealFirst=!1,this.nextIdx=-1,this.next(1))}_compute(g){this.ranges=[],g&&g.forEach(t=>{!this._options.ignoreCharChanges&&t.charChanges?t.charChanges.forEach(n=>{this.ranges.push({rhs:!0,range:new w.Range(n.modifiedStartLineNumber,n.modifiedStartColumn,n.modifiedEndLineNumber,n.modifiedEndColumn)})}):t.modifiedEndLineNumber===0?this.ranges.push({rhs:!0,range:new w.Range(t.modifiedStartLineNumber,1,t.modifiedStartLineNumber+1,1)}):this.ranges.push({rhs:!0,range:new w.Range(t.modifiedStartLineNumber,1,t.modifiedEndLineNumber+1,1)})}),this.ranges.sort((t,n)=>w.Range.compareRangesUsingStarts(t.range,n.range)),this._onDidUpdate.fire(this)}_initIdx(g){let t=!1;const n=this._editor.getPosition();if(!n){this.nextIdx=0;return}for(let i=0,o=this.ranges.length;i =this.ranges.length&&(this.nextIdx=0)):(this.nextIdx-=1,this.nextIdx<0&&(this.nextIdx=this.ranges.length-1));const n=this.ranges[this.nextIdx];this.ignoreSelectionChange=!0;try{const i=n.range.getStartPosition();this._editor.setPosition(i),this._editor.revealRangeInCenter(n.range,t)}finally{this.ignoreSelectionChange=!1}}canNavigate(){return this.ranges&&this.ranges.length>0}next(g=0){this._move(!0,g)}previous(g=0){this._move(!1,g)}dispose(){super.dispose(),this.ranges=[],this.disposed=!0}}e.DiffNavigator=C}),define(te[63],ie([1,0,3]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EditOperation=void 0;class m{static insert(I,w){return{range:new L.Range(I.lineNumber,I.column,I.lineNumber,I.column),text:w,forceMoveMarkers:!0}}static delete(I){return{range:I,text:null}}static replace(I,w){return{range:I,text:w}}static replaceMove(I,w){return{range:I,text:w,forceMoveMarkers:!0}}}e.EditOperation=m}),define(te[405],ie([1,0,8,63,3]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.trimTrailingWhitespace=e.TrimTrailingWhitespaceCommand=void 0;class I{constructor(C,u){this._selection=C,this._cursors=u,this._selectionId=null}getEditOperations(C,u){const g=w(C,this._cursors);for(let t=0,n=g.length;t i.lineNumber===o.lineNumber?i.column-o.column:i.lineNumber-o.lineNumber);for(let i=C.length-2;i>=0;i--)C[i].lineNumber===C[i+1].lineNumber&&C.splice(i,1);const u=[];let g=0,t=0;const n=C.length;for(let i=1,o=b.getLineCount();i<=o;i++){const c=b.getLineContent(i),d=c.length+1;let r=0;if(t 255?255:k|0}}e.RGBA8=L,L.Empty=new L(0,0,0,0)}),define(te[22],ie([1,0,11,3]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Selection=void 0;class k extends m.Range{constructor(w,b,C,u){super(w,b,C,u);this.selectionStartLineNumber=w,this.selectionStartColumn=b,this.positionLineNumber=C,this.positionColumn=u}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(w){return k.selectionsEqual(this,w)}static selectionsEqual(w,b){return w.selectionStartLineNumber===b.selectionStartLineNumber&&w.selectionStartColumn===b.selectionStartColumn&&w.positionLineNumber===b.positionLineNumber&&w.positionColumn===b.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(w,b){return this.getDirection()===0?new k(this.startLineNumber,this.startColumn,w,b):new k(w,b,this.startLineNumber,this.startColumn)}getPosition(){return new L.Position(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new L.Position(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(w,b){return this.getDirection()===0?new k(w,b,this.endLineNumber,this.endColumn):new k(this.endLineNumber,this.endColumn,w,b)}static fromPositions(w,b=w){return new k(w.lineNumber,w.column,b.lineNumber,b.column)}static fromRange(w,b){return b===0?new k(w.startLineNumber,w.startColumn,w.endLineNumber,w.endColumn):new k(w.endLineNumber,w.endColumn,w.startLineNumber,w.startColumn)}static liftSelection(w){return new k(w.selectionStartLineNumber,w.selectionStartColumn,w.positionLineNumber,w.positionColumn)}static selectionsArrEqual(w,b){if(w&&!b||!w&&b)return!1;if(!w&&!b)return!0;if(w.length!==b.length)return!1;for(let C=0,u=w.length;Cthis._onCut.fire(),0)),this._asyncFocusGainWriteScreenReaderContent=this._register(new I.RunOnceScheduler(()=>this.writeScreenReaderContent("asyncFocusGain"),0)),this._textAreaState=g.TextAreaState.EMPTY,this._selectionChangeListener=null,this.writeScreenReaderContent("ctor"),this._hasFocus=!1,this._currentComposition=null;let S=null;this._register(this._textArea.onKeyDown(v=>{const p=new k.StandardKeyboardEvent(v);(p.keyCode===109||this._currentComposition&&p.keyCode===1)&&p.stopPropagation(),p.equals(9)&&p.preventDefault(),S=p,this._onKeyDown.fire(p)})),this._register(this._textArea.onKeyUp(v=>{const p=new k.StandardKeyboardEvent(v);this._onKeyUp.fire(p)})),this._register(this._textArea.onCompositionStart(v=>{g._debugComposition&&console.log("[compositionstart]",v);const p=new o;if(this._currentComposition){this._currentComposition=p;return}if(this._currentComposition=p,this._OS===2&&S&&S.equals(109)&&this._textAreaState.selectionStart===this._textAreaState.selectionEnd&&this._textAreaState.selectionStart>0&&this._textAreaState.value.substr(this._textAreaState.selectionStart-1,1)===v.data&&(S.code==="ArrowRight"||S.code==="ArrowLeft")){g._debugComposition&&console.log("[compositionstart] Handling long press case on macOS + arrow key",v),p.handleCompositionUpdate("x"),this._onCompositionStart.fire({data:v.data});return}if(this._browser.isAndroid){this._onCompositionStart.fire({data:v.data});return}this._onCompositionStart.fire({data:v.data})})),this._register(this._textArea.onCompositionUpdate(v=>{g._debugComposition&&console.log("[compositionupdate]",v);const p=this._currentComposition;if(!p)return;if(this._browser.isAndroid){const y=g.TextAreaState.readFromTextArea(this._textArea),E=g.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,y);this._textAreaState=y,this._onType.fire(E),this._onCompositionUpdate.fire(v);return}const _=p.handleCompositionUpdate(v.data);this._textAreaState=g.TextAreaState.readFromTextArea(this._textArea),this._onType.fire(_),this._onCompositionUpdate.fire(v)})),this._register(this._textArea.onCompositionEnd(v=>{g._debugComposition&&console.log("[compositionend]",v);const p=this._currentComposition;if(!p)return;if(this._currentComposition=null,this._browser.isAndroid){const y=g.TextAreaState.readFromTextArea(this._textArea),E=g.TextAreaState.deduceAndroidCompositionInput(this._textAreaState,y);this._textAreaState=y,this._onType.fire(E),this._onCompositionEnd.fire();return}const _=p.handleCompositionUpdate(v.data);this._textAreaState=g.TextAreaState.readFromTextArea(this._textArea),this._onType.fire(_),this._onCompositionEnd.fire()})),this._register(this._textArea.onInput(v=>{if(g._debugComposition&&console.log("[input]",v),this._textArea.setIgnoreSelectionChangeTime("received input event"),this._currentComposition)return;const p=g.TextAreaState.readFromTextArea(this._textArea),_=g.TextAreaState.deduceInput(this._textAreaState,p,this._OS===2);_.replacePrevCharCnt===0&&_.text.length===1&&u.isHighSurrogate(_.text.charCodeAt(0))||(this._textAreaState=p,(_.text!==""||_.replacePrevCharCnt!==0||_.replaceNextCharCnt!==0||_.positionDelta!==0)&&this._onType.fire(_))})),this._register(this._textArea.onCut(v=>{this._textArea.setIgnoreSelectionChangeTime("received cut event"),this._ensureClipboardGetsEditorSelection(v),this._asyncTriggerCut.schedule()})),this._register(this._textArea.onCopy(v=>{this._ensureClipboardGetsEditorSelection(v)})),this._register(this._textArea.onPaste(v=>{if(this._textArea.setIgnoreSelectionChangeTime("received paste event"),v.preventDefault(),!v.clipboardData)return;let[p,_]=d.getTextData(v.clipboardData);!p||(_=_||i.INSTANCE.get(p),this._onPaste.fire({text:p,metadata:_}))})),this._register(this._textArea.onFocus(()=>{const v=this._hasFocus;this._setHasFocus(!0),this._browser.isSafari&&!v&&this._hasFocus&&this._asyncFocusGainWriteScreenReaderContent.schedule()})),this._register(this._textArea.onBlur(()=>{this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent("blurWithoutCompositionEnd"),this._onCompositionEnd.fire()),this._setHasFocus(!1)})),this._register(this._textArea.onSyntheticTap(()=>{this._browser.isAndroid&&this._currentComposition&&(this._currentComposition=null,this.writeScreenReaderContent("tapWithoutCompositionEnd"),this._onCompositionEnd.fire())}))}_installSelectionChangeListener(){let a=0;return m.addDisposableListener(document,"selectionchange",l=>{if(!this._hasFocus||this._currentComposition||!this._browser.isChrome)return;const h=Date.now(),f=h-a;if(a=h,f<5)return;const S=h-this._textArea.getIgnoreSelectionChangeTime();if(this._textArea.resetSelectionChangeTime(),S<100||!this._textAreaState.selectionStartPosition||!this._textAreaState.selectionEndPosition)return;const v=this._textArea.getValue();if(this._textAreaState.value!==v)return;const p=this._textArea.getSelectionStart(),_=this._textArea.getSelectionEnd();if(this._textAreaState.selectionStart===p&&this._textAreaState.selectionEnd===_)return;const y=this._textAreaState.deduceEditorPosition(p),E=this._host.deduceModelPosition(y[0],y[1],y[2]),N=this._textAreaState.deduceEditorPosition(_),D=this._host.deduceModelPosition(N[0],N[1],N[2]),M=new t.Selection(E.lineNumber,E.column,D.lineNumber,D.column);this._onSelectionChangeRequest.fire(M)})}dispose(){super.dispose(),this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null)}focusTextArea(){this._setHasFocus(!0),this.refreshFocusState()}isFocused(){return this._hasFocus}refreshFocusState(){this._setHasFocus(this._textArea.hasFocus())}_setHasFocus(a){this._hasFocus!==a&&(this._hasFocus=a,this._selectionChangeListener&&(this._selectionChangeListener.dispose(),this._selectionChangeListener=null),this._hasFocus&&(this._selectionChangeListener=this._installSelectionChangeListener()),this._hasFocus&&this.writeScreenReaderContent("focusgain"),this._hasFocus?this._onFocus.fire():this._onBlur.fire())}_setAndWriteTextAreaState(a,l){this._hasFocus||(l=l.collapseSelection()),l.writeToTextArea(a,this._textArea,this._hasFocus),this._textAreaState=l}writeScreenReaderContent(a){this._currentComposition||this._setAndWriteTextAreaState(a,this._host.getScreenReaderContent(this._textAreaState))}_ensureClipboardGetsEditorSelection(a){const l=this._host.getDataToCopy(),h={version:1,isFromEmptySelection:l.isFromEmptySelection,multicursorText:l.multicursorText,mode:l.mode};i.INSTANCE.set(this._browser.isFirefox?l.text.replace(/\r\n/g,` +`):l.text,h),a.preventDefault(),a.clipboardData&&d.setTextData(a.clipboardData,l.text,l.html,h)}}e.TextAreaInput=c;class d{static getTextData(a){const l=a.getData(C.Mimes.text);let h=null;const f=a.getData("vscode-editor-data");if(typeof f=="string")try{h=JSON.parse(f),h.version!==1&&(h=null)}catch{}return[l,h]}static setTextData(a,l,h,f){a.setData(C.Mimes.text,l),typeof h=="string"&&a.setData("text/html",h),a.setData("vscode-editor-data",JSON.stringify(f))}}class r extends b.Disposable{constructor(a){super();this._actual=a,this.onKeyDown=this._register(m.createEventEmitter(this._actual,"keydown")).event,this.onKeyUp=this._register(m.createEventEmitter(this._actual,"keyup")).event,this.onCompositionStart=this._register(m.createEventEmitter(this._actual,"compositionstart")).event,this.onCompositionUpdate=this._register(m.createEventEmitter(this._actual,"compositionupdate")).event,this.onCompositionEnd=this._register(m.createEventEmitter(this._actual,"compositionend")).event,this.onInput=this._register(m.createEventEmitter(this._actual,"input")).event,this.onCut=this._register(m.createEventEmitter(this._actual,"cut")).event,this.onCopy=this._register(m.createEventEmitter(this._actual,"copy")).event,this.onPaste=this._register(m.createEventEmitter(this._actual,"paste")).event,this.onFocus=this._register(m.createEventEmitter(this._actual,"focus")).event,this.onBlur=this._register(m.createEventEmitter(this._actual,"blur")).event,this._onSyntheticTap=this._register(new w.Emitter),this.onSyntheticTap=this._onSyntheticTap.event,this._ignoreSelectionChangeTime=0,this._register(m.addDisposableListener(this._actual,n.Tap,()=>this._onSyntheticTap.fire()))}hasFocus(){const a=m.getShadowRoot(this._actual);return a?a.activeElement===this._actual:m.isInDOM(this._actual)?document.activeElement===this._actual:!1}setIgnoreSelectionChangeTime(a){this._ignoreSelectionChangeTime=Date.now()}getIgnoreSelectionChangeTime(){return this._ignoreSelectionChangeTime}resetSelectionChangeTime(){this._ignoreSelectionChangeTime=0}getValue(){return this._actual.value}setValue(a,l){const h=this._actual;h.value!==l&&(this.setIgnoreSelectionChangeTime("setValue"),h.value=l)}getSelectionStart(){return this._actual.selectionDirection==="backward"?this._actual.selectionEnd:this._actual.selectionStart}getSelectionEnd(){return this._actual.selectionDirection==="backward"?this._actual.selectionStart:this._actual.selectionEnd}setSelectionRange(a,l,h){const f=this._actual;let S=null;const v=m.getShadowRoot(f);v?S=v.activeElement:S=document.activeElement;const p=S===f,_=f.selectionStart,y=f.selectionEnd;if(p&&_===l&&y===h){L.isFirefox&&window.parent!==window&&f.focus();return}if(p){this.setIgnoreSelectionChangeTime("setSelectionRange"),f.setSelectionRange(l,h),L.isFirefox&&window.parent!==window&&f.focus();return}try{const E=m.saveParentsScrollTop(f);this.setIgnoreSelectionChangeTime("setSelectionRange"),f.focus(),f.setSelectionRange(l,h),m.restoreParentsScrollTop(f,E)}catch{}}}e.TextAreaWrapper=r}),define(te[100],ie([1,0,22]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ReplaceCommandThatPreservesSelection=e.ReplaceCommandWithOffsetCursorState=e.ReplaceCommandWithoutChangingPosition=e.ReplaceCommandThatSelectsText=e.ReplaceCommand=void 0;class m{constructor(u,g,t=!1){this._range=u,this._text=g,this.insertsAutoWhitespace=t}getEditOperations(u,g){g.addTrackedEditOperation(this._range,this._text)}computeCursorState(u,g){const n=g.getInverseEditOperations()[0].range;return L.Selection.fromPositions(n.getEndPosition())}}e.ReplaceCommand=m;class k{constructor(u,g){this._range=u,this._text=g}getEditOperations(u,g){g.addTrackedEditOperation(this._range,this._text)}computeCursorState(u,g){const n=g.getInverseEditOperations()[0].range;return L.Selection.fromRange(n,0)}}e.ReplaceCommandThatSelectsText=k;class I{constructor(u,g,t=!1){this._range=u,this._text=g,this.insertsAutoWhitespace=t}getEditOperations(u,g){g.addTrackedEditOperation(this._range,this._text)}computeCursorState(u,g){const n=g.getInverseEditOperations()[0].range;return L.Selection.fromPositions(n.getStartPosition())}}e.ReplaceCommandWithoutChangingPosition=I;class w{constructor(u,g,t,n,i=!1){this._range=u,this._text=g,this._columnDeltaOffset=n,this._lineNumberDeltaOffset=t,this.insertsAutoWhitespace=i}getEditOperations(u,g){g.addTrackedEditOperation(this._range,this._text)}computeCursorState(u,g){const n=g.getInverseEditOperations()[0].range;return L.Selection.fromPositions(n.getEndPosition().delta(this._lineNumberDeltaOffset,this._columnDeltaOffset))}}e.ReplaceCommandWithOffsetCursorState=w;class b{constructor(u,g,t,n=!1){this._range=u,this._text=g,this._initialSelection=t,this._forceMoveMarkers=n,this._selectionId=null}getEditOperations(u,g){g.addTrackedEditOperation(this._range,this._text,this._forceMoveMarkers),this._selectionId=g.trackSelection(this._initialSelection)}computeCursorState(u,g){return g.getTrackedSelection(this._selectionId)}}e.ReplaceCommandThatPreservesSelection=b}),define(te[406],ie([1,0,3,22]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SurroundSelectionCommand=void 0;class k{constructor(w,b,C){this._range=w,this._charBeforeSelection=b,this._charAfterSelection=C}getEditOperations(w,b){b.addTrackedEditOperation(new L.Range(this._range.startLineNumber,this._range.startColumn,this._range.startLineNumber,this._range.startColumn),this._charBeforeSelection),b.addTrackedEditOperation(new L.Range(this._range.endLineNumber,this._range.endColumn,this._range.endLineNumber,this._range.endColumn),this._charAfterSelection)}computeCursorState(w,b){const C=b.getInverseEditOperations(),u=C[0].range,g=C[1].range;return new m.Selection(u.endLineNumber,u.endColumn,g.endLineNumber,g.endColumn-this._charAfterSelection.length)}}e.SurroundSelectionCommand=k}),define(te[93],ie([1,0,8,16,112]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeUTF16LE=e.createStringBuilder=e.hasTextDecoder=e.getPlatformTextDecoder=void 0;let I;function w(){return I||(I=new TextDecoder("UTF-16LE")),I}let b;function C(){return b||(b=new TextDecoder("UTF-16BE")),b}let u;function g(){return u||(u=m.isLittleEndian()?w():C()),u}e.getPlatformTextDecoder=g,e.hasTextDecoder=typeof TextDecoder!="undefined",e.hasTextDecoder?(e.createStringBuilder=c=>new i(c),e.decodeUTF16LE=t):(e.createStringBuilder=c=>new o,e.decodeUTF16LE=n);function t(c,d,r){const s=new Uint16Array(c.buffer,d,r);return r>0&&(s[0]===65279||s[0]===65534)?n(c,d,r):w().decode(s)}function n(c,d,r){const s=[];let a=0;for(let l=0;l =this._capacity){this._flushBuffer(),this._completedStrings[this._completedStrings.length]=d;return}for(let s=0;s =this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[g]}onLinesDeleted(u,g){if(this.getCount()===0)return null;const t=this.getStartLineNumber(),n=this.getEndLineNumber();if(g n)return null;let i=0,o=0;for(let d=t;d<=n;d++){const r=d-this._rendLineNumberStart;u<=d&&d<=g&&(o===0?(i=r,o=1):o++)}if(u =t&&o<=n&&(this._lines[o-this._rendLineNumberStart].onContentChanged(),i=!0);return i}onLinesInserted(u,g){if(this.getCount()===0)return null;const t=g-u+1,n=this.getStartLineNumber(),i=this.getEndLineNumber();if(u<=n)return this._rendLineNumberStart+=t,null;if(u>i)return null;if(t+u>i)return this._lines.splice(u-this._rendLineNumberStart,i-u+1);const o=[];for(let a=0;a t)continue;const d=Math.max(g,c.fromLineNumber),r=Math.min(t,c.toLineNumber);for(let s=d;s<=r;s++){const a=s-this._rendLineNumberStart;this._lines[a].onTokensChanged(),n=!0}}return n}}e.RenderedLinesCollection=I;class w{constructor(u){this._host=u,this.domNode=this._createDomNode(),this._linesCollection=new I(()=>this._host.createVisibleLine())}_createDomNode(){const u=(0,L.createFastDomNode)(document.createElement("div"));return u.setClassName("view-layer"),u.setPosition("absolute"),u.domNode.setAttribute("role","presentation"),u.domNode.setAttribute("aria-hidden","true"),u}onConfigurationChanged(u){return!!u.hasChanged(131)}onFlushed(u){return this._linesCollection.flush(),!0}onLinesChanged(u){return this._linesCollection.onLinesChanged(u.fromLineNumber,u.toLineNumber)}onLinesDeleted(u){const g=this._linesCollection.onLinesDeleted(u.fromLineNumber,u.toLineNumber);if(g)for(let t=0,n=g.length;t g){const o=g,c=Math.min(t,i.rendLineNumberStart-1);o<=c&&(this._insertLinesBefore(i,o,c,n,g),i.linesLength+=c-o+1)}else if(i.rendLineNumberStart 0&&(this._removeLinesBefore(i,o),i.linesLength-=o)}if(i.rendLineNumberStart=g,i.rendLineNumberStart+i.linesLength-1 t){const o=Math.max(0,t-i.rendLineNumberStart+1),d=i.linesLength-1-o+1;d>0&&(this._removeLinesAfter(i,d),i.linesLength-=d)}return this._finishRendering(i,!1,n),i}_renderUntouchedLines(u,g,t,n,i){const o=u.rendLineNumberStart,c=u.lines;for(let d=g;d<=t;d++){const r=o+d;c[d].layoutLine(r,n[r-i])}}_insertLinesBefore(u,g,t,n,i){const o=[];let c=0;for(let d=g;d<=t;d++)o[c++]=this.host.createVisibleLine();u.lines=o.concat(u.lines)}_removeLinesBefore(u,g){for(let t=0;t =0;c--){const d=u.lines[c];n[c]&&(d.setDomNode(o),o=o.previousSibling)}}_finishRenderingInvalidLines(u,g,t){const n=document.createElement("div");b._ttPolicy&&(g=b._ttPolicy.createHTML(g)),n.innerHTML=g;for(let i=0;i C}),b._sb=(0,m.createStringBuilder)(1e5)}),define(te[240],ie([1,0,112,93]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.compressConsecutiveTextChanges=e.TextChange=void 0;function k(C){return C.replace(/\n/g,"\\n").replace(/\r/g,"\\r")}class I{constructor(u,g,t,n){this.oldPosition=u,this.oldText=g,this.newPosition=t,this.newText=n}get oldLength(){return this.oldText.length}get oldEnd(){return this.oldPosition+this.oldText.length}get newLength(){return this.newText.length}get newEnd(){return this.newPosition+this.newText.length}toString(){return this.oldText.length===0?`(insert@${this.oldPosition} "${k(this.newText)}")`:this.newText.length===0?`(delete@${this.oldPosition} "${k(this.oldText)}")`:`(replace@${this.oldPosition} "${k(this.oldText)}" with "${k(this.newText)}")`}static _writeStringSize(u){return 4+2*u.length}static _writeString(u,g,t){const n=g.length;L.writeUInt32BE(u,n,t),t+=4;for(let i=0;i (w.hasOwnProperty(b)||(w[b]=I(b)),w[b])}e.getMapForWordSeparators=k(I=>new m(I))}),define(te[121],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getWordAtText=e.ensureValidWordDefinition=e.DEFAULT_WORD_REGEXP=e.USUAL_WORD_SEPARATORS=void 0,e.USUAL_WORD_SEPARATORS="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function L(b=""){let C="(-?\\d*\\.\\d\\w*)|([^";for(const u of e.USUAL_WORD_SEPARATORS)b.indexOf(u)>=0||(C+="\\"+u);return C+="\\s]+)",new RegExp(C,"g")}e.DEFAULT_WORD_REGEXP=L();function m(b){let C=e.DEFAULT_WORD_REGEXP;if(b&&b instanceof RegExp)if(b.global)C=b;else{let u="g";b.ignoreCase&&(u+="i"),b.multiline&&(u+="m"),b.unicode&&(u+="u"),C=new RegExp(b.source,u)}return C.lastIndex=0,C}e.ensureValidWordDefinition=m;const k={maxLen:1e3,windowSize:15,timeBudget:150};function I(b,C,u,g,t=k){if(u.length>t.maxLen){let d=b-t.maxLen/2;return d<0?d=0:g+=d,u=u.substring(d,b+t.maxLen/2),I(b,C,u,g,t)}const n=Date.now(),i=b-1-g;let o=-1,c=null;for(let d=1;!(Date.now()-n>=t.timeBudget);d++){const r=i-t.windowSize*d;C.lastIndex=Math.max(0,r);const s=w(C,u,i,o);if(!s&&c||(c=s,r<=0))break;o=r}if(c){const d={word:c[0],startColumn:g+1+c.index,endColumn:g+1+c.index+c[0].length};return C.lastIndex=0,d}return null}e.getWordAtText=I;function w(b,C,u,g){let t;for(;t=b.exec(C);){const n=t.index||0;if(n<=u&&b.lastIndex>=u)return t;if(g>0&&n>g)return null}return null}}),define(te[241],ie([1,0,70]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AtomicTabMoveOperations=void 0;class m{static whitespaceVisibleColumn(I,w,b){const C=I.length;let u=0,g=-1,t=-1;for(let n=0;n 0&&r.originalLength<20&&r.modifiedLength>0&&r.modifiedLength<20&&l()){const E=s.createCharSequence(d,r.originalStart,r.originalStart+r.originalLength-1),N=a.createCharSequence(d,r.modifiedStart,r.modifiedStart+r.modifiedLength-1);let D=I(E,N,l,!0).changes;f&&(D=u(D)),y=[];for(let M=0,B=D.length;M1&&D>1;){const M=y.charCodeAt(N-2),B=E.charCodeAt(D-2);if(M!==B)break;N--,D--}(N>1||D>1)&&this._pushTrimWhitespaceCharChange(a,l+1,1,N,h+1,1,D)}{let N=i(y,1),D=i(E,1);const M=y.length+1,B=E.length+1;for(;N !0;const d=Date.now();return()=>Date.now()-d g&&(g=n)}return g}else{if(typeof I=="string")return C?I==="*"?5:I===b?10:0:0;if(I){const{language:g,pattern:t,scheme:n,hasAccessToAllModels:i,notebookType:o}=I;if(!C&&!i)return 0;let c=0;if(n)if(n===w.scheme)c=10;else if(n==="*")c=5;else return 0;if(g)if(g===b)c=10;else if(g==="*")c=Math.max(c,5);else return 0;if(o)if(o===u)c=10;else if(o==="*")c=Math.max(c,5);else return 0;if(t){let d;if(typeof t=="string"?d=t:d=Object.assign(Object.assign({},t),{base:(0,m.normalize)(t.base)}),d===w.fsPath||(0,L.match)(d,w.fsPath))c=10;else return 0}return c}else return 0}}e.score=k}),define(te[122],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AutoClosingPairs=e.StandardAutoClosingPairConditional=e.IndentAction=void 0;var L;(function(w){w[w.None=0]="None",w[w.Indent=1]="Indent",w[w.IndentOutdent=2]="IndentOutdent",w[w.Outdent=3]="Outdent"})(L=e.IndentAction||(e.IndentAction={}));class m{constructor(b){if(this._neutralCharacter=null,this._neutralCharacterSearched=!1,this.open=b.open,this.close=b.close,this._inString=!0,this._inComment=!0,this._inRegEx=!0,Array.isArray(b.notIn))for(let C=0,u=b.notIn.length;Ci&&(i=a),s>o&&(o=s),l>o&&(o=l)}i++,o++;const c=new m(o,i,0);for(let d=0,r=n.length;d =this._maxCharCode?0:this._states.get(n,i)}}e.StateMachine=k;let I=null;function w(){return I===null&&(I=new k([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),I}let b=null;function C(){if(b===null){b=new L.CharacterClassifier(0);const t=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let i=0;i c);if(c>0){const s=i.charCodeAt(c-1),a=i.charCodeAt(r);(s===40&&a===41||s===91&&a===93||s===123&&a===125)&&r--}return{range:{startLineNumber:o,startColumn:c+1,endLineNumber:o,endColumn:r+2},url:i.substring(c,r+1)}}static computeLinks(n,i=w()){const o=C(),c=[];for(let d=1,r=n.getLineCount();d<=r;d++){const s=n.getLineContent(d),a=s.length;let l=0,h=0,f=0,S=1,v=!1,p=!1,_=!1,y=!1;for(;l0&&I.getLanguageId(t-1)===u;)t--;return new m(I,u,t,g+1,I.getStartOffset(t),I.getEndOffset(g))}e.createScopedLineTokens=L;class m{constructor(w,b,C,u,g,t){this._scopedLineTokensBrand=void 0,this._actual=w,this.languageId=b,this._firstTokenIndex=C,this._lastTokenIndex=u,this.firstCharOffset=g,this._lastCharOffset=t}getLineContent(){return this._actual.getLineContent().substring(this.firstCharOffset,this._lastCharOffset)}getActualLineContentBefore(w){return this._actual.getLineContent().substring(0,this.firstCharOffset+w)}getTokenCount(){return this._lastTokenIndex-this._firstTokenIndex}findTokenIndexAtOffset(w){return this._actual.findTokenIndexAtOffset(w+this.firstCharOffset)-this._firstTokenIndex}getStandardTokenType(w){return this._actual.getStandardTokenType(w+this._firstTokenIndex)}}e.ScopedLineTokens=m;function k(I){return(I&3)!=0}e.ignoreBracketsInToken=k}),define(te[61],ie([1,0,11,3,22,123,70,177]),function(q,e,L,m,k,I,w,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isQuote=e.EditOperationResult=e.SingleCursorState=e.PartialViewCursorState=e.PartialModelCursorState=e.CursorState=e.CursorConfiguration=void 0;const C=()=>!0,u=()=>!1,g=s=>s===" "||s===" ";class t{constructor(a,l,h,f){this.languageConfigurationService=f,this._cursorMoveConfigurationBrand=void 0,this._languageId=a;const S=h.options,v=S.get(131);this.readOnly=S.get(81),this.tabSize=l.tabSize,this.indentSize=l.indentSize,this.insertSpaces=l.insertSpaces,this.stickyTabStops=S.get(104),this.lineHeight=S.get(59),this.pageSize=Math.max(1,Math.floor(v.height/this.lineHeight)-2),this.useTabStops=S.get(116),this.wordSeparators=S.get(117),this.emptySelectionClipboard=S.get(32),this.copyWithSyntaxHighlighting=S.get(21),this.multiCursorMergeOverlapping=S.get(69),this.multiCursorPaste=S.get(71),this.autoClosingBrackets=S.get(5),this.autoClosingQuotes=S.get(8),this.autoClosingDelete=S.get(6),this.autoClosingOvertype=S.get(7),this.autoSurround=S.get(11),this.autoIndent=S.get(9),this.surroundingPairs={},this._electricChars=null,this.shouldAutoCloseBefore={quote:this._getShouldAutoClose(a,this.autoClosingQuotes),bracket:this._getShouldAutoClose(a,this.autoClosingBrackets)},this.autoClosingPairs=this.languageConfigurationService.getLanguageConfiguration(a).getAutoClosingPairs();const p=this.languageConfigurationService.getLanguageConfiguration(a).getSurroundingPairs();if(p)for(const _ of p)this.surroundingPairs[_.open]=_.close}static shouldRecreate(a){return a.hasChanged(131)||a.hasChanged(117)||a.hasChanged(32)||a.hasChanged(69)||a.hasChanged(71)||a.hasChanged(5)||a.hasChanged(8)||a.hasChanged(6)||a.hasChanged(7)||a.hasChanged(11)||a.hasChanged(116)||a.hasChanged(59)||a.hasChanged(81)}get electricChars(){var a;if(!this._electricChars){this._electricChars={};const l=(a=this.languageConfigurationService.getLanguageConfiguration(this._languageId).electricCharacter)===null||a===void 0?void 0:a.getElectricCharacters();if(l)for(const h of l)this._electricChars[h]=!0}return this._electricChars}onElectricCharacter(a,l,h){const f=(0,I.createScopedLineTokens)(l,h-1),S=this.languageConfigurationService.getLanguageConfiguration(f.languageId).electricCharacter;return S?S.onElectricCharacter(a,f,h-f.firstCharOffset):null}normalizeIndentation(a){return(0,b.normalizeIndentation)(a,this.indentSize,this.insertSpaces)}_getShouldAutoClose(a,l){switch(l){case"beforeWhitespace":return g;case"languageDefined":return this._getLanguageDefinedShouldAutoClose(a);case"always":return C;case"never":return u}}_getLanguageDefinedShouldAutoClose(a){const l=this.languageConfigurationService.getLanguageConfiguration(a).getAutoCloseBeforeSet();return h=>l.indexOf(h)!==-1}visibleColumnFromColumn(a,l){return w.CursorColumns.visibleColumnFromColumn(a.getLineContent(l.lineNumber),l.column,this.tabSize)}columnFromVisibleColumn(a,l,h){const f=w.CursorColumns.columnFromVisibleColumn(a.getLineContent(l),h,this.tabSize),S=a.getLineMinColumn(l);if(f v?v:f}}e.CursorConfiguration=t;class n{constructor(a,l){this._cursorStateBrand=void 0,this.modelState=a,this.viewState=l}static fromModelState(a){return new i(a)}static fromViewState(a){return new o(a)}static fromModelSelection(a){const l=k.Selection.liftSelection(a),h=new c(m.Range.fromPositions(l.getSelectionStart()),0,l.getPosition(),0);return n.fromModelState(h)}static fromModelSelections(a){const l=[];for(let h=0,f=a.length;ht,c=g>n,d=g n||S g||f 0&&g--,I.columnSelect(b,C,u.fromViewLineNumber,u.fromViewVisualColumn,u.toViewLineNumber,g)}static columnSelectRight(b,C,u){let g=0;const t=Math.min(u.fromViewLineNumber,u.toViewLineNumber),n=Math.max(u.fromViewLineNumber,u.toViewLineNumber);for(let o=t;o<=n;o++){const c=C.getLineMaxColumn(o),d=b.visibleColumnFromColumn(C,new m.Position(o,c));g=Math.max(g,d)}let i=u.toViewVisualColumn;return i t.getLineMinColumn(n.lineNumber))return n.delta(void 0,-w.prevCharLength(t.getLineContent(n.lineNumber),n.column-1));if(n.lineNumber>1){const i=n.lineNumber-1;return new k.Position(i,t.getLineMaxColumn(i))}else return n}static leftPositionAtomicSoftTabs(t,n,i){if(n.column<=t.getLineIndentColumn(n.lineNumber)){const o=t.getLineMinColumn(n.lineNumber),c=t.getLineContent(n.lineNumber),d=b.AtomicTabMoveOperations.atomicPosition(c,n.column-1,i,0);if(d!==-1&&d+1>=o)return new k.Position(n.lineNumber,d+1)}return this.leftPosition(t,n)}static left(t,n,i){const o=t.stickyTabStops?u.leftPositionAtomicSoftTabs(n,i,t.tabSize):u.leftPosition(n,i);return new C(o.lineNumber,o.column,0)}static moveLeft(t,n,i,o,c){let d,r;if(i.hasSelection()&&!o)d=i.selection.startLineNumber,r=i.selection.startColumn;else{const s=i.position.delta(void 0,-(c-1)),a=n.normalizePosition(u.clipPositionColumn(s,n),0),l=u.left(t,n,a);d=l.lineNumber,r=l.column}return i.move(o,d,r,0)}static clipPositionColumn(t,n){return new k.Position(t.lineNumber,u.clipRange(t.column,n.getLineMinColumn(t.lineNumber),n.getLineMaxColumn(t.lineNumber)))}static clipRange(t,n,i){return t i?i:t}static rightPosition(t,n,i){return i l?(i=l,r?o=n.getLineMaxColumn(i):o=Math.min(n.getLineMaxColumn(i),o)):o=t.columnFromVisibleColumn(n,i,a),S?c=0:c=a-m.CursorColumns.visibleColumnFromColumn(n.getLineContent(i),o,t.tabSize),s!==void 0){const v=new k.Position(i,o),p=n.normalizePosition(v,s);c=c+(o-p.column),i=p.lineNumber,o=p.column}return new C(i,o,c)}static down(t,n,i,o,c,d,r){return this.vertical(t,n,i,o,c,i+d,r,1)}static moveDown(t,n,i,o,c){let d,r;i.hasSelection()&&!o?(d=i.selection.endLineNumber,r=i.selection.endColumn):(d=i.position.lineNumber,r=i.position.column);const s=u.down(t,n,d,r,i.leftoverVisibleColumns,c,!0);return i.move(o,s.lineNumber,s.column,s.leftoverVisibleColumns)}static translateDown(t,n,i){const o=i.selection,c=u.down(t,n,o.selectionStartLineNumber,o.selectionStartColumn,i.selectionStartLeftoverVisibleColumns,1,!1),d=u.down(t,n,o.positionLineNumber,o.positionColumn,i.leftoverVisibleColumns,1,!1);return new L.SingleCursorState(new I.Range(c.lineNumber,c.column,c.lineNumber,c.column),c.leftoverVisibleColumns,new k.Position(d.lineNumber,d.column),d.leftoverVisibleColumns)}static up(t,n,i,o,c,d,r){return this.vertical(t,n,i,o,c,i-d,r,0)}static moveUp(t,n,i,o,c){let d,r;i.hasSelection()&&!o?(d=i.selection.startLineNumber,r=i.selection.startColumn):(d=i.position.lineNumber,r=i.position.column);const s=u.up(t,n,d,r,i.leftoverVisibleColumns,c,!0);return i.move(o,s.lineNumber,s.column,s.leftoverVisibleColumns)}static translateUp(t,n,i){const o=i.selection,c=u.up(t,n,o.selectionStartLineNumber,o.selectionStartColumn,i.selectionStartLeftoverVisibleColumns,1,!1),d=u.up(t,n,o.positionLineNumber,o.positionColumn,i.leftoverVisibleColumns,1,!1);return new L.SingleCursorState(new I.Range(c.lineNumber,c.column,c.lineNumber,c.column),c.leftoverVisibleColumns,new k.Position(d.lineNumber,d.column),d.leftoverVisibleColumns)}static _isBlankLine(t,n){return t.getLineFirstNonWhitespaceColumn(n)===0}static moveToPrevBlankLine(t,n,i,o){let c=i.position.lineNumber;for(;c>1&&this._isBlankLine(n,c);)c--;for(;c>1&&!this._isBlankLine(n,c);)c--;return i.move(o,c,n.getLineMinColumn(c),0)}static moveToNextBlankLine(t,n,i,o){const c=n.getLineCount();let d=i.position.lineNumber;for(;d =f.length+1)return!1;const S=f.charAt(h.column-2),v=o.get(S);if(!v)return!1;if((0,k.isQuote)(S)){if(i==="never")return!1}else if(n==="never")return!1;const p=f.charAt(h.column-1);let _=!1;for(const y of v)y.open===S&&y.close===p&&(_=!0);if(!_)return!1;if(t==="auto"){let y=!1;for(let E=0,N=r.length;E 1){const c=n.getLineContent(o.lineNumber),d=L.firstNonWhitespaceIndex(c),r=d===-1?c.length+1:d+1;if(o.column<=r){const s=i.visibleColumnFromColumn(n,o),a=I.CursorColumns.prevIndentTabStop(s,i.indentSize),l=i.columnFromVisibleColumn(n,o.lineNumber,a);return new b.Range(o.lineNumber,l,o.lineNumber,o.column)}}return b.Range.fromPositions(u.getPositionAfterDeleteLeft(o,n),o)}static getPositionAfterDeleteLeft(t,n){if(t.column>1){const i=L.getLeftDeleteOffset(t.column-1,n.getLineContent(t.lineNumber));return t.with(void 0,i+1)}else if(t.lineNumber>1){const i=t.lineNumber-1;return new C.Position(i,n.getLineMaxColumn(i))}else return t}static cut(t,n,i){const o=[];let c=null;i.sort((d,r)=>C.Position.compare(d.getStartPosition(),r.getEndPosition()));for(let d=0,r=i.length;d 1&&(c==null?void 0:c.endLineNumber)!==a.lineNumber?(l=a.lineNumber-1,h=n.getLineMaxColumn(a.lineNumber-1),f=a.lineNumber,S=n.getLineMaxColumn(a.lineNumber)):(l=a.lineNumber,h=1,f=a.lineNumber,S=n.getLineMaxColumn(a.lineNumber));const v=new b.Range(l,h,f,S);c=v,v.isEmpty()?o[d]=null:o[d]=new m.ReplaceCommand(v,"")}else o[d]=null;else o[d]=new m.ReplaceCommand(s,"")}return new k.EditOperationResult(0,o,{shouldPushStackElementBefore:!0,shouldPushStackElementAfter:!0})}}e.DeleteOperations=u}),define(te[151],ie([1,0,8,61,181,120,11,3]),function(q,e,L,m,k,I,w,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WordPartOperations=e.WordOperations=void 0;class C{static _createWord(n,i,o,c,d){return{start:c,end:d,wordType:i,nextCharClass:o}}static _findPreviousWordOnLine(n,i,o){const c=i.getLineContent(o.lineNumber);return this._doFindPreviousWordOnLine(c,n,o)}static _doFindPreviousWordOnLine(n,i,o){let c=0;for(let d=o.column-2;d>=0;d--){const r=n.charCodeAt(d),s=i.get(r);if(s===0){if(c===2)return this._createWord(n,c,s,d+1,this._findEndOfWord(n,i,c,d+1));c=1}else if(s===2){if(c===1)return this._createWord(n,c,s,d+1,this._findEndOfWord(n,i,c,d+1));c=2}else if(s===1&&c!==0)return this._createWord(n,c,s,d+1,this._findEndOfWord(n,i,c,d+1))}return c!==0?this._createWord(n,c,1,0,this._findEndOfWord(n,i,c,0)):null}static _findEndOfWord(n,i,o,c){const d=n.length;for(let r=c;r =0;d--){const r=n.charCodeAt(d),s=i.get(r);if(s===1||o===1&&s===2||o===2&&s===0)return d+1}return 0}static moveWordLeft(n,i,o,c){let d=o.lineNumber,r=o.column;r===1&&d>1&&(d=d-1,r=i.getLineMaxColumn(d));let s=C._findPreviousWordOnLine(n,i,new w.Position(d,r));if(c===0)return new w.Position(d,s?s.start+1:1);if(c===1)return s&&s.wordType===2&&s.end-s.start==1&&s.nextCharClass===0&&(s=C._findPreviousWordOnLine(n,i,new w.Position(d,s.start+1))),new w.Position(d,s?s.start+1:1);if(c===3){for(;s&&s.wordType===2;)s=C._findPreviousWordOnLine(n,i,new w.Position(d,s.start+1));return new w.Position(d,s?s.start+1:1)}return s&&r<=s.end+1&&(s=C._findPreviousWordOnLine(n,i,new w.Position(d,s.start+1))),new w.Position(d,s?s.end+1:1)}static _moveWordPartLeft(n,i){const o=i.lineNumber,c=n.getLineMaxColumn(o);if(i.column===1)return o>1?new w.Position(o-1,n.getLineMaxColumn(o-1)):i;const d=n.getLineContent(o);for(let r=i.column-1;r>1;r--){const s=d.charCodeAt(r-2),a=d.charCodeAt(r-1);if(s===95&&a!==95)return new w.Position(o,r);if(L.isLowerAsciiLetter(s)&&L.isUpperAsciiLetter(a))return new w.Position(o,r);if(L.isUpperAsciiLetter(s)&&L.isUpperAsciiLetter(a)&&r+1 =a.start+1&&(a=C._findNextWordOnLine(n,i,new w.Position(d,a.end+1))),a?r=a.start+1:r=i.getLineMaxColumn(d);return new w.Position(d,r)}static _moveWordPartRight(n,i){const o=i.lineNumber,c=n.getLineMaxColumn(o);if(i.column===c)return o 1?l=1:(a--,l=c.getLineMaxColumn(a)):(h&&l<=h.end+1&&(h=C._findPreviousWordOnLine(o,c,new w.Position(a,h.start+1))),h?l=h.end+1:l>1?l=1:(a--,l=c.getLineMaxColumn(a))),new b.Range(a,l,s.lineNumber,s.column)}static deleteInsideWord(n,i,o){if(!o.isEmpty())return o;const c=new w.Position(o.positionLineNumber,o.positionColumn),d=this._deleteInsideWordWhitespace(i,c);return d||this._deleteInsideWordDetermineDeleteRange(n,i,c)}static _charAtIsWhitespace(n,i){const o=n.charCodeAt(i);return o===32||o===9}static _deleteInsideWordWhitespace(n,i){const o=n.getLineContent(i.lineNumber),c=o.length;if(c===0)return null;let d=Math.max(i.column-2,0);if(!this._charAtIsWhitespace(o,d))return null;let r=Math.min(i.column-1,c-1);if(!this._charAtIsWhitespace(o,r))return null;for(;d>0&&this._charAtIsWhitespace(o,d-1);)d--;for(;r+1 1?new b.Range(o.lineNumber-1,i.getLineMaxColumn(o.lineNumber-1),o.lineNumber,1):o.lineNumber f.start+1<=o.column&&o.column<=f.end+1,s=(f,S)=>(f=Math.min(f,o.column),S=Math.max(S,o.column),new b.Range(o.lineNumber,f,o.lineNumber,S)),a=f=>{let S=f.start+1,v=f.end+1,p=!1;for(;v-1 1&&this._charAtIsWhitespace(c,S-2);)S--;return s(S,v)},l=C._findPreviousWordOnLine(n,i,o);if(l&&r(l))return a(l);const h=C._findNextWordOnLine(n,i,o);return h&&r(h)?a(h):l&&h?s(l.end+1,h.start+1):l?s(l.start+1,l.end+1):h?s(h.start+1,h.end+1):s(1,d+1)}static _deleteWordPartLeft(n,i){if(!i.isEmpty())return i;const o=i.getPosition(),c=C._moveWordPartLeft(n,o);return new b.Range(o.lineNumber,o.column,c.lineNumber,c.column)}static _findFirstNonWhitespaceChar(n,i){const o=n.length;for(let c=i;c =S.start+1&&(S=C._findNextWordOnLine(o,c,new w.Position(a,S.end+1))),S?l=S.start+1:l Boolean(n))}}),define(te[182],ie([1,0,19,61,180,151,11,3]),function(q,e,L,m,k,I,w,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CursorMove=e.CursorMoveCommands=void 0;class C{static addCursorDown(t,n,i){const o=[];let c=0;for(let d=0,r=n.length;d a&&(l=a,h=t.model.getLineMaxColumn(l)),m.CursorState.fromModelState(new m.SingleCursorState(new b.Range(d.lineNumber,1,l,h),0,new w.Position(l,h),0))}const s=n.modelState.selectionStart.getStartPosition().lineNumber;if(d.lineNumber s){const a=t.getLineCount();let l=r.lineNumber+1,h=1;return l>a&&(l=a,h=t.getLineMaxColumn(l)),m.CursorState.fromViewState(n.viewState.move(n.modelState.hasSelection(),l,h,0))}else{const a=n.modelState.selectionStart.getEndPosition();return m.CursorState.fromModelState(n.modelState.move(n.modelState.hasSelection(),a.lineNumber,a.column,0))}}static word(t,n,i,o){const c=t.model.validatePosition(o);return m.CursorState.fromModelState(I.WordOperations.word(t.cursorConfig,t.model,n.modelState,i,c))}static cancelSelection(t,n){if(!n.modelState.hasSelection())return new m.CursorState(n.modelState,n.viewState);const i=n.viewState.position.lineNumber,o=n.viewState.position.column;return m.CursorState.fromViewState(new m.SingleCursorState(new b.Range(i,o,i,o),0,new w.Position(i,o),0))}static moveTo(t,n,i,o,c){const d=t.model.validatePosition(o),r=c?t.coordinatesConverter.validateViewPosition(new w.Position(c.lineNumber,c.column),d):t.coordinatesConverter.convertModelPositionToViewPosition(d);return m.CursorState.fromViewState(n.viewState.move(i,r.lineNumber,r.column,0))}static simpleMove(t,n,i,o,c,d){switch(i){case 0:return d===4?this._moveHalfLineLeft(t,n,o):this._moveLeft(t,n,o,c);case 1:return d===4?this._moveHalfLineRight(t,n,o):this._moveRight(t,n,o,c);case 2:return d===2?this._moveUpByViewLines(t,n,o,c):this._moveUpByModelLines(t,n,o,c);case 3:return d===2?this._moveDownByViewLines(t,n,o,c):this._moveDownByModelLines(t,n,o,c);case 4:return d===2?n.map(r=>m.CursorState.fromViewState(k.MoveOperations.moveToPrevBlankLine(t.cursorConfig,t,r.viewState,o))):n.map(r=>m.CursorState.fromModelState(k.MoveOperations.moveToPrevBlankLine(t.cursorConfig,t.model,r.modelState,o)));case 5:return d===2?n.map(r=>m.CursorState.fromViewState(k.MoveOperations.moveToNextBlankLine(t.cursorConfig,t,r.viewState,o))):n.map(r=>m.CursorState.fromModelState(k.MoveOperations.moveToNextBlankLine(t.cursorConfig,t.model,r.modelState,o)));case 6:return this._moveToViewMinColumn(t,n,o);case 7:return this._moveToViewFirstNonWhitespaceColumn(t,n,o);case 8:return this._moveToViewCenterColumn(t,n,o);case 9:return this._moveToViewMaxColumn(t,n,o);case 10:return this._moveToViewLastNonWhitespaceColumn(t,n,o);default:return null}}static viewportMove(t,n,i,o,c){const d=t.getCompletelyVisibleViewRange(),r=t.coordinatesConverter.convertViewRangeToModelRange(d);switch(i){case 11:{const s=this._firstLineNumberInRange(t.model,r,c),a=t.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(t,n[0],o,s,a)]}case 13:{const s=this._lastLineNumberInRange(t.model,r,c),a=t.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(t,n[0],o,s,a)]}case 12:{const s=Math.round((r.startLineNumber+r.endLineNumber)/2),a=t.model.getLineFirstNonWhitespaceColumn(s);return[this._moveToModelPosition(t,n[0],o,s,a)]}case 14:{const s=[];for(let a=0,l=n.length;ai.endLineNumber-1?d=i.endLineNumber-1:c m.CursorState.fromViewState(k.MoveOperations.moveLeft(t.cursorConfig,t,c.viewState,i,o)))}static _moveHalfLineLeft(t,n,i){const o=[];for(let c=0,d=n.length;c m.CursorState.fromViewState(k.MoveOperations.moveRight(t.cursorConfig,t,c.viewState,i,o)))}static _moveHalfLineRight(t,n,i){const o=[];for(let c=0,d=n.length;c g.readSelectionFromMarkers(this.context))}getAll(){return this.cursors.map(g=>g.asCursorState())}getViewPositions(){return this.cursors.map(g=>g.viewState.position)}getTopMostViewPosition(){return(0,L.findMinBy)(this.cursors,(0,L.compareBy)(g=>g.viewState.position,I.Position.compare)).viewState.position}getBottomMostViewPosition(){return(0,L.findLastMaxBy)(this.cursors,(0,L.compareBy)(g=>g.viewState.position,I.Position.compare)).viewState.position}getSelections(){return this.cursors.map(g=>g.modelState.selection)}getViewSelections(){return this.cursors.map(g=>g.viewState.selection)}setSelections(g){this.setStates(m.CursorState.fromModelSelections(g))}getPrimaryCursor(){return this.cursors[0].asCursorState()}setStates(g){g!==null&&(this.cursors[0].setState(this.context,g[0].modelState,g[0].viewState),this._setSecondaryStates(g.slice(1)))}_setSecondaryStates(g){const t=this.cursors.length-1,n=g.length;if(t n){const i=t-n;for(let o=0;o=g+1&&this.lastAddedCursorIndex--,this.cursors[g+1].dispose(this.context),this.cursors.splice(g+1,1)}normalize(){if(this.cursors.length===1)return;const g=this.cursors.slice(0),t=[];for(let n=0,i=g.length;nn.selection,w.Range.compareRangesUsingStarts));for(let n=0;n l&&v.index--;g.splice(l,1),t.splice(a,1),this._removeSecondaryCursor(l-1),n--}}}}e.CursorCollection=C}),define(te[415],ie([1,0,122]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CharacterPairSupport=void 0;class m{constructor(w){if(w.autoClosingPairs?this._autoClosingPairs=w.autoClosingPairs.map(b=>new L.StandardAutoClosingPairConditional(b)):w.brackets?this._autoClosingPairs=w.brackets.map(b=>new L.StandardAutoClosingPairConditional({open:b[0],close:b[1]})):this._autoClosingPairs=[],w.colorizedBracketPairs?this._colorizedBracketPairs=k(w.colorizedBracketPairs.map(b=>[b[0],b[1]])):w.brackets?this._colorizedBracketPairs=k(w.brackets.map(b=>[b[0],b[1]]).filter(b=>!(b[0]==="<"&&b[1]===">"))):this._colorizedBracketPairs=[],w.__electricCharacterSupport&&w.__electricCharacterSupport.docComment){const b=w.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new L.StandardAutoClosingPairConditional({open:b.open,close:b.close||""}))}this._autoCloseBefore=typeof w.autoCloseBefore=="string"?w.autoCloseBefore:m.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=w.surroundingPairs||this._autoClosingPairs}getAutoClosingPairs(){return this._autoClosingPairs}getAutoCloseBeforeSet(){return this._autoCloseBefore}getSurroundingPairs(){return this._surroundingPairs}getColorizedBrackets(){return this._colorizedBracketPairs}}e.CharacterPairSupport=m,m.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=`;:.,=}])> + `;function k(I){return I.filter(([w,b])=>w!==""&&b!=="")}}),define(te[416],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentRulesSupport=void 0;function L(k){return k.global&&(k.lastIndex=0),!0}class m{constructor(I){this._indentationRules=I}shouldIncrease(I){return!!(this._indentationRules&&this._indentationRules.increaseIndentPattern&&L(this._indentationRules.increaseIndentPattern)&&this._indentationRules.increaseIndentPattern.test(I))}shouldDecrease(I){return!!(this._indentationRules&&this._indentationRules.decreaseIndentPattern&&L(this._indentationRules.decreaseIndentPattern)&&this._indentationRules.decreaseIndentPattern.test(I))}shouldIndentNextLine(I){return!!(this._indentationRules&&this._indentationRules.indentNextLinePattern&&L(this._indentationRules.indentNextLinePattern)&&this._indentationRules.indentNextLinePattern.test(I))}shouldIgnore(I){return!!(this._indentationRules&&this._indentationRules.unIndentedLinePattern&&L(this._indentationRules.unIndentedLinePattern)&&this._indentationRules.unIndentedLinePattern.test(I))}getIndentMetadata(I){let w=0;return this.shouldIncrease(I)&&(w+=1),this.shouldDecrease(I)&&(w+=2),this.shouldIndentNextLine(I)&&(w+=4),this.shouldIgnore(I)&&(w+=8),w}}e.IndentRulesSupport=m}),define(te[417],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BasicInplaceReplace=void 0;class L{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}navigateValueSet(k,I,w,b,C){if(k&&I){const u=this.doNavigateValueSet(I,C);if(u)return{range:k,value:u}}if(w&&b){const u=this.doNavigateValueSet(b,C);if(u)return{range:w,value:u}}return null}doNavigateValueSet(k,I){const w=this.numberReplace(k,I);return w!==null?w:this.textReplace(k,I)}numberReplace(k,I){const w=Math.pow(10,k.length-(k.lastIndexOf(".")+1));let b=Number(k),C=parseFloat(k);return!isNaN(b)&&!isNaN(C)&&b===C?b===0&&!I?null:(b=Math.floor(b*w),b+=I?w:-w,String(b/w)):null}textReplace(k,I){return this.valueSetsReplace(this._defaultValueSet,k,I)}valueSetsReplace(k,I,w){let b=null;for(let C=0,u=k.length;b===null&&C=0?(b+=w?1:-1,b<0?b=k.length-1:b%=k.length,k[b]):null}}e.BasicInplaceReplace=L,L.INSTANCE=new L}),define(te[418],ie([1,0,13,8,122]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OnEnterSupport=void 0;class I{constructor(b){b=b||{},b.brackets=b.brackets||[["(",")"],["{","}"],["[","]"]],this._brackets=[],b.brackets.forEach(C=>{const u=I._createOpenBracketRegExp(C[0]),g=I._createCloseBracketRegExp(C[1]);u&&g&&this._brackets.push({open:C[0],openRegExp:u,close:C[1],closeRegExp:g})}),this._regExpRules=b.onEnterRules||[]}onEnter(b,C,u,g){if(b>=3)for(let t=0,n=this._regExpRules.length;t c.reg?(c.reg.lastIndex=0,c.reg.test(c.text)):!0))return i.action}if(b>=2&&u.length>0&&g.length>0)for(let t=0,n=this._brackets.length;t =2&&u.length>0){for(let t=0,n=this._brackets.length;t [p[0].toLowerCase(),p[1].toLowerCase()]);const h=[];for(let p=0;p {const[y,E]=p,[N,D]=_;return y===N||y===D||E===N||E===D},S=(p,_)=>{const y=Math.min(p,_),E=Math.max(p,_);for(let N=0;N 0&&v.push({open:_,close:y})}return v}class b{constructor(l,h){this._richEditBracketsBrand=void 0;const f=w(h);this.brackets=f.map((S,v)=>new I(l,v,S.open,S.close,t(S.open,S.close,f,v),n(S.open,S.close,f,v))),this.forwardRegex=i(this.brackets),this.reversedRegex=o(this.brackets),this.textIsBracket={},this.textIsOpenBracket={},this.maxBracketLength=0;for(const S of this.brackets){for(const v of S.open)this.textIsBracket[v]=S,this.textIsOpenBracket[v]=!0,this.maxBracketLength=Math.max(this.maxBracketLength,v.length);for(const v of S.close)this.textIsBracket[v]=S,this.textIsOpenBracket[v]=!1,this.maxBracketLength=Math.max(this.maxBracketLength,v.length)}}}e.RichEditBrackets=b;function C(a,l,h,f){for(let S=0,v=l.length;S =0&&f.push(_);for(const _ of p.close)_.indexOf(a)>=0&&f.push(_)}}function u(a,l){return a.length-l.length}function g(a){if(a.length<=1)return a;const l=[],h=new Set;for(const f of a)h.has(f)||(l.push(f),h.add(f));return l}function t(a,l,h,f){let S=[];S=S.concat(a),S=S.concat(l);for(let v=0,p=S.length;v =0;p--)S[v++]=f.charCodeAt(p);return m.getPlatformTextDecoder().decode(S)}else{const S=[];let v=0;for(let p=f.length-1;p>=0;p--)S[v++]=f.charAt(p);return S.join("")}}let l=null,h=null;return function(S){return l!==S&&(l=S,h=a(l)),h}}();class s{static _findPrevBracketInText(l,h,f,S){const v=f.match(l);if(!v)return null;const p=f.length-(v.index||0),_=v[0].length,y=S+p;return new k.Range(h,y-_+1,h,y+1)}static findPrevBracketInRange(l,h,f,S,v){const _=r(f).substring(f.length-v,f.length-S);return this._findPrevBracketInText(l,h,_,S)}static findNextBracketInText(l,h,f,S){const v=f.match(l);if(!v)return null;const p=v.index||0,_=v[0].length;if(_===0)return null;const y=S+p;return new k.Range(h,y+1,h,y+1+_)}static findNextBracketInRange(l,h,f,S,v){const p=f.substring(S,v);return this.findNextBracketInText(l,h,p,S)}}e.BracketsUtils=s}),define(te[419],ie([1,0,18,123,183]),function(q,e,L,m,k){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BracketElectricCharacterSupport=void 0;class I{constructor(b){this._richEditBrackets=b}getElectricCharacters(){const b=[];if(this._richEditBrackets)for(const C of this._richEditBrackets.brackets)for(const u of C.close){const g=u.charAt(u.length-1);b.push(g)}return(0,L.distinct)(b)}onElectricCharacter(b,C,u){if(!this._richEditBrackets||this._richEditBrackets.brackets.length===0)return null;const g=C.findTokenIndexAtOffset(u-1);if((0,m.ignoreBracketsInToken)(C.getStandardTokenType(g)))return null;const t=this._richEditBrackets.reversedRegex,n=C.getLineContent().substring(0,u-1)+b,i=k.BracketsUtils.findPrevBracketInRange(t,1,n,0,n.length);if(!i)return null;const o=n.substring(i.startColumn-1,i.endColumn-1).toLowerCase();if(this._richEditBrackets.textIsOpenBracket[o])return null;const d=C.getActualLineContentBefore(i.startColumn-1);return/^\s*$/.test(d)?{matchOpenBracket:o}:null}}e.BracketElectricCharacterSupport=I}),define(te[420],ie([1,0,30]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateTokensCSSForColorMap=e.ThemeTrieElement=e.ThemeTrieElementRule=e.strcmp=e.toStandardTokenType=e.TokenTheme=e.ColorMap=e.parseTokenTheme=e.ParsedTokenThemeRule=void 0;class m{constructor(d,r,s,a,l){this._parsedThemeRuleBrand=void 0,this.token=d,this.index=r,this.fontStyle=s,this.foreground=a,this.background=l}}e.ParsedTokenThemeRule=m;function k(c){if(!c||!Array.isArray(c))return[];const d=[];let r=0;for(let s=0,a=c.length;s{const y=t(p.token,_.token);return y!==0?y:p.index-_.index});let r=0,s="000000",a="ffffff";for(;c.length>=1&&c[0].token==="";){const p=c.shift();p.fontStyle!==-1&&(r=p.fontStyle),p.foreground!==null&&(s=p.foreground),p.background!==null&&(a=p.background)}const l=new b;for(let p of d)l.getId(p);const h=l.getId(s),f=l.getId(a),S=new n(r,h,f),v=new i(S);for(let p=0,_=c.length;p<_;p++){const y=c[p];v.insert(y.token,y.fontStyle,l.getId(y.foreground),l.getId(y.background))}return new C(l,v)}const w=/^#?([0-9A-Fa-f]{6})([0-9A-Fa-f]{2})?$/;class b{constructor(){this._lastColorId=0,this._id2color=[],this._color2id=new Map}getId(d){if(d===null)return 0;const r=d.match(w);if(!r)throw new Error("Illegal value for token color: "+d);d=r[1].toUpperCase();let s=this._color2id.get(d);return s||(s=++this._lastColorId,this._color2id.set(d,s),this._id2color[s]=L.Color.fromHex("#"+d),s)}getColorMap(){return this._id2color.slice(0)}}e.ColorMap=b;class C{constructor(d,r){this._colorMap=d,this._root=r,this._cache=new Map}static createFromRawTokenTheme(d,r){return this.createFromParsedTokenTheme(k(d),r)}static createFromParsedTokenTheme(d,r){return I(d,r)}getColorMap(){return this._colorMap.getColorMap()}_match(d){return this._root.match(d)}match(d,r){let s=this._cache.get(r);if(typeof s=="undefined"){const a=this._match(r),l=g(r);s=(a.metadata|l<<8)>>>0,this._cache.set(r,s)}return(s|d<<0)>>>0}}e.TokenTheme=C;const u=/\b(comment|string|regex|regexp)\b/;function g(c){const d=c.match(u);if(!d)return 0;switch(d[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"regexp":return 3}throw new Error("Unexpected match for standard token type!")}e.toStandardTokenType=g;function t(c,d){return c
d?1:0}e.strcmp=t;class n{constructor(d,r,s){this._themeTrieElementRuleBrand=void 0,this._fontStyle=d,this._foreground=r,this._background=s,this.metadata=(this._fontStyle<<10|this._foreground<<14|this._background<<23)>>>0}clone(){return new n(this._fontStyle,this._foreground,this._background)}acceptOverwrite(d,r,s){d!==-1&&(this._fontStyle=d),r!==0&&(this._foreground=r),s!==0&&(this._background=s),this.metadata=(this._fontStyle<<10|this._foreground<<14|this._background<<23)>>>0}}e.ThemeTrieElementRule=n;class i{constructor(d){this._themeTrieElementBrand=void 0,this._mainRule=d,this._children=new Map}match(d){if(d==="")return this._mainRule;const r=d.indexOf(".");let s,a;r===-1?(s=d,a=""):(s=d.substring(0,r),a=d.substring(r+1));const l=this._children.get(s);return typeof l!="undefined"?l.match(a):this._mainRule}insert(d,r,s,a){if(d===""){this._mainRule.acceptOverwrite(r,s,a);return}const l=d.indexOf(".");let h,f;l===-1?(h=d,f=""):(h=d.substring(0,l),f=d.substring(l+1));let S=this._children.get(h);typeof S=="undefined"&&(S=new i(this._mainRule.clone()),this._children.set(h,S)),S.insert(f,r,s,a)}}e.ThemeTrieElement=i;function o(c){const d=[];for(let r=1,s=c.length;r {if(t){const n=this._entries.indexOf(t);n>=0&&(this._entries.splice(n,1),this._lastCandidate=void 0,this._onDidChange.fire(this._entries.length),t=void 0)}})}has(u){return this.all(u).length>0}all(u){if(!u)return[];this._updateScores(u);const g=[];for(let t of this._entries)t._score>0&&g.push(t.provider);return g}ordered(u){const g=[];return this._orderedForEach(u,t=>g.push(t.provider)),g}orderedGroups(u){const g=[];let t,n;return this._orderedForEach(u,i=>{t&&n===i._score?t.push(i.provider):(n=i._score,t=[i.provider],g.push(t))}),g}_orderedForEach(u,g){if(!!u){this._updateScores(u);for(const t of this._entries)t._score>0&&g(t)}}_updateScores(u){var g;const t=(g=this._notebookTypeResolver)===null||g===void 0?void 0:g.call(this,u.uri),n={uri:u.uri.toString(),language:u.getLanguageId(),notebookType:t};if(!(this._lastCandidate&&this._lastCandidate.language===n.language&&this._lastCandidate.uri===n.uri&&this._lastCandidate.notebookType===n.notebookType)){this._lastCandidate=n;for(let i of this._entries)if(i._score=(0,I.score)(i.selector,u.uri,u.getLanguageId(),(0,k.shouldSynchronizeModel)(u),t),w(i.selector)&&i._score>0){for(let o of this._entries)o._score=0;i._score=1e3;break}this._entries.sort(b._compareByScoreAndTime)}}static _compareByScoreAndTime(u,g){return u._scoreg._score?-1:u._time g._time?-1:0}}e.LanguageFeatureRegistry=b}),define(te[85],ie([1,0,8,3]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.lengthOfString=e.lengthsToRange=e.positionToLength=e.lengthGreaterThanEqual=e.lengthLessThanEqual=e.lengthLessThan=e.lengthDiffNonNegative=e.lengthAdd=e.lengthGetColumnCountIfZeroLineCount=e.lengthGetLineCount=e.lengthToObj=e.toLength=e.lengthIsZero=e.lengthZero=e.lengthDiff=e.LengthObj=void 0;class k{constructor(h,f){this.lineCount=h,this.columnCount=f}toString(){return`${this.lineCount},${this.columnCount}`}}e.LengthObj=k,k.zero=new k(0,0);function I(l,h,f,S){return l!==f?C(f-l,S):C(0,S-h)}e.lengthDiff=I,e.lengthZero=0;function w(l){return l===0}e.lengthIsZero=w;const b=Math.pow(2,26);function C(l,h){return l*b+h}e.toLength=C;function u(l){const h=l,f=Math.floor(h/b),S=h-f*b;return new k(f,S)}e.lengthToObj=u;function g(l){return Math.floor(l/b)}e.lengthGetLineCount=g;function t(l){return l}e.lengthGetColumnCountIfZeroLineCount=t;function n(l,h){return h=h}e.lengthGreaterThanEqual=d;function r(l){return C(l.lineNumber-1,l.column-1)}e.positionToLength=r;function s(l,h){const f=l,S=Math.floor(f/b),v=f-S*b,p=h,_=Math.floor(p/b),y=p-_*b;return new m.Range(S+1,v+1,_+1,y+1)}e.lengthsToRange=s;function a(l){const h=(0,L.splitLines)(l);return C(h.length-1,h[h.length-1].length)}e.lengthOfString=a}),define(te[243],ie([1,0,85]),function(q,e,L){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BeforeEditPositionMapper=e.TextEditInfo=void 0;class m{constructor(b,C,u){this.startOffset=b,this.endOffset=C,this.newLength=u}}e.TextEditInfo=m;class k{constructor(b,C){this.documentLength=C,this.nextEditIdx=0,this.deltaOldToNewLineCount=0,this.deltaOldToNewColumnCount=0,this.deltaLineIdxInOld=-1,this.edits=b.map(u=>I.from(u))}getOffsetBeforeChange(b){return this.adjustNextEdit(b),this.translateCurToOld(b)}getDistanceToNextChange(b){this.adjustNextEdit(b);const C=this.edits[this.nextEditIdx],u=C?this.translateOldToCur(C.offsetObj):this.documentLength;return(0,L.lengthDiffNonNegative)(b,u)}translateOldToCur(b){return b.lineCount===this.deltaLineIdxInOld?(0,L.toLength)(b.lineCount+this.deltaOldToNewLineCount,b.columnCount+this.deltaOldToNewColumnCount):(0,L.toLength)(b.lineCount+this.deltaOldToNewLineCount,b.columnCount)}translateCurToOld(b){const C=(0,L.lengthToObj)(b);return C.lineCount-this.deltaOldToNewLineCount===this.deltaLineIdxInOld?(0,L.toLength)(C.lineCount-this.deltaOldToNewLineCount,C.columnCount-this.deltaOldToNewColumnCount):(0,L.toLength)(C.lineCount-this.deltaOldToNewLineCount,C.columnCount)}adjustNextEdit(b){for(;this.nextEditIdx =w.childrenLength)return-1;if(w.getChild(b))return b}}function I(w){return w.length>0?w[w.length-1]:void 0}}),define(te[101],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DenseKeyProvider=e.identityKeyProvider=e.SmallImmutableSet=void 0;const L=new Array;class m{constructor(w,b){this.items=w,this.additionalItems=b}static create(w,b){if(w<=128&&b.length===0){let C=m.cache[w];return C||(C=new m(w,b),m.cache[w]=C),C}return new m(w,b)}static getEmpty(){return this.empty}add(w,b){const C=b.getKey(w);let u=C>>5;if(u===0){const t=1< 0;)a=a.getChild(l-1);return a.canBeReused(s)}handleChildrenChanged(){this.throwIfImmutable();const s=this.childrenLength;let a=this.getChild(0).length,l=this.getChild(0).missingOpeningBracketIds;for(let h=1;h =u.length)return null;const c=g,d=u[c].listHeight;for(g++;g=2?k(c===0&&g===u.length?u:u.slice(c,g),!1):u[c]}let n=t(),i=t();if(!i)return n;for(let c=t();c;c=t())I(n,i)<=I(i,c)?(n=w(n,i),i=c):i=w(i,c);return w(n,i)}e.concat23Trees=m;function k(u,g=!1){if(u.length===0)return null;if(u.length===1)return u[0];let t=u.length;for(;t>3;){const n=t>>1;for(let i=0;i =3?u[2]:null,g)}e.concat23TreesOfSameHeight=k;function I(u,g){return Math.abs(u.listHeight-g.listHeight)}function w(u,g){return u.listHeight===g.listHeight?L.ListAstNode.create23(u,g,null,!1):u.listHeight>g.listHeight?b(u,g):C(g,u)}function b(u,g){u=u.toMutable();let t=u;const n=new Array;let i;for(;;){if(g.listHeight===t.listHeight){i=g;break}if(t.kind!==4)throw new Error("unexpected");n.push(t),t=t.makeLastElementMutable()}for(let o=n.length-1;o>=0;o--){const c=n[o];i?c.childrenLength>=3?i=L.ListAstNode.create23(c.unappendChild(),i,null,!1):(c.appendChildOfSameHeight(i),i=void 0):c.handleChildrenChanged()}return i?L.ListAstNode.create23(u,i,null,!1):u}function C(u,g){u=u.toMutable();let t=u;const n=new Array;for(;g.listHeight!==t.listHeight;){if(t.kind!==4)throw new Error("unexpected");n.push(t),t=t.makeFirstElementMutable()}let i=g;for(let o=n.length-1;o>=0;o--){const c=n[o];i?c.childrenLength>=3?i=L.ListAstNode.create23(i,c.unprependChild(),null,!1):(c.prependChildOfSameHeight(i),i=void 0):c.handleChildrenChanged()}return i?L.ListAstNode.create23(i,u,null,!1):u}}),define(te[244],ie([1,0,152,243,101,85,423,422]),function(q,e,L,m,k,I,w,b){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseDocument=void 0;function C(g,t,n,i){return new u(g,t,n,i).parseDocument()}e.parseDocument=C;class u{constructor(t,n,i,o){if(this.tokenizer=t,this.createImmutableLists=o,this._itemsConstructed=0,this._itemsFromCache=0,i&&o)throw new Error("Not supported");this.oldNodeReader=i?new b.NodeReader(i):void 0,this.positionMapper=new m.BeforeEditPositionMapper(n,t.length)}parseDocument(){this._itemsConstructed=0,this._itemsFromCache=0;let t=this.parseList(k.SmallImmutableSet.getEmpty());return t||(t=L.ListAstNode.getEmpty()),t}parseList(t){const n=new Array;for(;;){const o=this.tokenizer.peek();if(!o||o.kind===2&&o.bracketIds.intersects(t))break;const c=this.parseChild(t);c.kind===4&&c.childrenLength===0||n.push(c)}return this.oldNodeReader?(0,w.concat23Trees)(n):(0,w.concat23TreesOfSameHeight)(n,this.createImmutableLists)}parseChild(t){if(this.oldNodeReader){const i=this.positionMapper.getDistanceToNextChange(this.tokenizer.offset);if(!(0,I.lengthIsZero)(i)){const o=this.oldNodeReader.readLongestNodeAt(this.positionMapper.getOffsetBeforeChange(this.tokenizer.offset),c=>(0,I.lengthLessThan)(c.length,i)?c.canBeReused(t):!1);if(o)return this._itemsFromCache++,this.tokenizer.skip(o.length),o}}this._itemsConstructed++;const n=this.tokenizer.read();switch(n.kind){case 2:return new L.InvalidBracketAstNode(n.bracketIds,n.length);case 0:return n.astNode;case 1:{const i=t.merge(n.bracketIds),o=this.parseList(i),c=this.tokenizer.peek();return c&&c.kind===2&&(c.bracketId===n.bracketId||c.bracketIds.intersects(n.bracketIds))?(this.tokenizer.read(),L.PairAstNode.create(n.astNode,o,c.astNode)):L.PairAstNode.create(n.astNode,o,null)}default:throw new Error("unexpected")}}}}),define(te[424],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.guessIndentation=void 0;class L{constructor(){this.spacesDiff=0,this.looksLikeAlignment=!1}}function m(I,w,b,C,u){u.spacesDiff=0,u.looksLikeAlignment=!1;let g;for(g=0;g 0&&n>0||i>0&&o>0)return;const c=Math.abs(n-o),d=Math.abs(t-i);if(c===0){u.spacesDiff=d,d>0&&0<=i-1&&i-1 0?u++:p>1&&g++,m(t,n,h,v,d),d.looksLikeAlignment&&!(b&&w===d.spacesDiff)))continue;const y=d.spacesDiff;y<=o&&c[y]++,t=h,n=v}let r=b;u!==g&&(r=u {const h=c[l];h>a&&(a=h,s=l)}),s===4&&c[4]>0&&c[2]>0&&c[2]>=c[4]/2&&(s=2)}return{insertSpaces:r,tabSize:s}}e.guessIndentation=k}),define(te[425],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.intervalCompare=e.recomputeMaxEnd=e.nodeAcceptEdit=e.IntervalTree=e.SENTINEL=e.IntervalNode=e.getNodeColor=void 0;function L(T){return(T.metadata&1)>>>0}e.getNodeColor=L;function m(T,A){T.metadata=T.metadata&254|A<<0}function k(T){return(T.metadata&2)>>>1==1}function I(T,A){T.metadata=T.metadata&253|(A?1:0)<<1}function w(T){return(T.metadata&4)>>>2==1}function b(T,A){T.metadata=T.metadata&251|(A?1:0)<<2}function C(T){return(T.metadata&24)>>>3}function u(T,A){T.metadata=T.metadata&231|A<<3}function g(T){return(T.metadata&32)>>>5==1}function t(T,A){T.metadata=T.metadata&223|(A?1:0)<<5}class n{constructor(A,P,F){this.metadata=0,this.parent=this,this.left=this,this.right=this,m(this,1),this.start=P,this.end=F,this.delta=0,this.maxEnd=F,this.id=A,this.ownerId=0,this.options=null,b(this,!1),u(this,1),t(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=F,this.range=null,I(this,!1)}reset(A,P,F,W){this.start=P,this.end=F,this.maxEnd=F,this.cachedVersionId=A,this.cachedAbsoluteStart=P,this.cachedAbsoluteEnd=F,this.range=W}setOptions(A){this.options=A;const P=this.options.className;b(this,P==="squiggly-error"||P==="squiggly-warning"||P==="squiggly-info"),u(this,this.options.stickiness),t(this,this.options.collapseOnReplaceEdit)}setCachedOffsets(A,P,F){this.cachedVersionId!==F&&(this.range=null),this.cachedVersionId=F,this.cachedAbsoluteStart=A,this.cachedAbsoluteEnd=P}detach(){this.parent=null,this.left=null,this.right=null}}e.IntervalNode=n,e.SENTINEL=new n(null,0,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,m(e.SENTINEL,0);class i{constructor(){this.root=e.SENTINEL,this.requestNormalizeDelta=!1}intervalSearch(A,P,F,W,R){return this.root===e.SENTINEL?[]:f(this,A,P,F,W,R)}search(A,P,F){return this.root===e.SENTINEL?[]:h(this,A,P,F)}collectNodesFromOwner(A){return a(this,A)}collectNodesPostOrder(){return l(this)}insert(A){S(this,A),this._normalizeDeltaIfNecessary()}delete(A){p(this,A),this._normalizeDeltaIfNecessary()}resolveNode(A,P){const F=A;let W=0;for(;A!==this.root;)A===A.parent.right&&(W+=A.parent.delta),A=A.parent;const R=F.start+W,z=F.end+W;F.setCachedOffsets(R,z,P)}acceptReplace(A,P,F,W){const R=r(this,A,A+P);for(let z=0,j=R.length;z P||F===1?!1:F===2?!0:A}function d(T,A,P,F,W){const R=C(T),z=R===0||R===2,j=R===1||R===2,$=P-A,G=F,J=Math.min($,G),re=T.start;let se=!1;const Z=T.end;let V=!1;A<=re&&Z<=P&&g(T)&&(T.start=A,se=!0,T.end=A,V=!0);{const X=W?1:$>0?2:0;!se&&c(re,z,A,X)&&(se=!0),!V&&c(Z,j,A,X)&&(V=!0)}if(J>0&&!W){const X=$>G?2:0;!se&&c(re,z,A+J,X)&&(se=!0),!V&&c(Z,j,A+J,X)&&(V=!0)}{const X=W?1:0;!se&&c(re,z,P,X)&&(T.start=A+G,se=!0),!V&&c(Z,j,P,X)&&(T.end=A+G,V=!0)}const K=G-$;se||(T.start=Math.max(0,re+K)),V||(T.end=Math.max(0,Z+K)),T.start>T.end&&(T.end=T.start)}e.nodeAcceptEdit=d;function r(T,A,P){let F=T.root,W=0,R=0,z=0,j=0;const $=[];let G=0;for(;F!==e.SENTINEL;){if(k(F)){I(F.left,!1),I(F.right,!1),F===F.parent.right&&(W-=F.parent.delta),F=F.parent;continue}if(!k(F.left)){if(R=W+F.maxEnd,RP){I(F,!0);continue}if(j=W+F.end,j>=A&&(F.setCachedOffsets(z,j,0),$[G++]=F),I(F,!0),F.right!==e.SENTINEL&&!k(F.right)){W+=F.delta,F=F.right;continue}}return I(T.root,!1),$}function s(T,A,P,F){let W=T.root,R=0,z=0,j=0;const $=F-(P-A);for(;W!==e.SENTINEL;){if(k(W)){I(W.left,!1),I(W.right,!1),W===W.parent.right&&(R-=W.parent.delta),M(W),W=W.parent;continue}if(!k(W.left)){if(z=R+W.maxEnd,zP){W.start+=$,W.end+=$,W.delta+=$,(W.delta<-1073741824||W.delta>1073741824)&&(T.requestNormalizeDelta=!0),I(W,!0);continue}if(I(W,!0),W.right!==e.SENTINEL&&!k(W.right)){R+=W.delta,W=W.right;continue}}I(T.root,!1)}function a(T,A){let P=T.root;const F=[];let W=0;for(;P!==e.SENTINEL;){if(k(P)){I(P.left,!1),I(P.right,!1),P=P.parent;continue}if(P.left!==e.SENTINEL&&!k(P.left)){P=P.left;continue}if(P.ownerId===A&&(F[W++]=P),I(P,!0),P.right!==e.SENTINEL&&!k(P.right)){P=P.right;continue}}return I(T.root,!1),F}function l(T){let A=T.root;const P=[];let F=0;for(;A!==e.SENTINEL;){if(k(A)){I(A.left,!1),I(A.right,!1),A=A.parent;continue}if(A.left!==e.SENTINEL&&!k(A.left)){A=A.left;continue}if(A.right!==e.SENTINEL&&!k(A.right)){A=A.right;continue}P[F++]=A,I(A,!0)}return I(T.root,!1),P}function h(T,A,P,F){let W=T.root,R=0,z=0,j=0;const $=[];let G=0;for(;W!==e.SENTINEL;){if(k(W)){I(W.left,!1),I(W.right,!1),W===W.parent.right&&(R-=W.parent.delta),W=W.parent;continue}if(W.left!==e.SENTINEL&&!k(W.left)){W=W.left;continue}z=R+W.start,j=R+W.end,W.setCachedOffsets(z,j,F);let J=!0;if(A&&W.ownerId&&W.ownerId!==A&&(J=!1),P&&w(W)&&(J=!1),J&&($[G++]=W),I(W,!0),W.right!==e.SENTINEL&&!k(W.right)){R+=W.delta,W=W.right;continue}}return I(T.root,!1),$}function f(T,A,P,F,W,R){let z=T.root,j=0,$=0,G=0,J=0;const re=[];let se=0;for(;z!==e.SENTINEL;){if(k(z)){I(z.left,!1),I(z.right,!1),z===z.parent.right&&(j-=z.parent.delta),z=z.parent;continue}if(!k(z.left)){if($=j+z.maxEnd,$P){I(z,!0);continue}if(J=j+z.end,J>=A){z.setCachedOffsets(G,J,R);let Z=!0;F&&z.ownerId&&z.ownerId!==F&&(Z=!1),W&&w(z)&&(Z=!1),Z&&(re[se++]=z)}if(I(z,!0),z.right!==e.SENTINEL&&!k(z.right)){j+=z.delta,z=z.right;continue}}return I(T.root,!1),re}function S(T,A){if(T.root===e.SENTINEL)return A.parent=e.SENTINEL,A.left=e.SENTINEL,A.right=e.SENTINEL,m(A,0),T.root=A,T.root;v(T,A),B(A.parent);let P=A;for(;P!==T.root&&L(P.parent)===1;)if(P.parent===P.parent.parent.left){const F=P.parent.parent.right;L(F)===1?(m(P.parent,0),m(F,0),m(P.parent.parent,1),P=P.parent.parent):(P===P.parent.right&&(P=P.parent,E(T,P)),m(P.parent,0),m(P.parent.parent,1),N(T,P.parent.parent))}else{const F=P.parent.parent.left;L(F)===1?(m(P.parent,0),m(F,0),m(P.parent.parent,1),P=P.parent.parent):(P===P.parent.left&&(P=P.parent,N(T,P)),m(P.parent,0),m(P.parent.parent,1),E(T,P.parent.parent))}return m(T.root,0),A}function v(T,A){let P=0,F=T.root;const W=A.start,R=A.end;for(;;)if(O(W,R,F.start+P,F.end+P)<0)if(F.left===e.SENTINEL){A.start-=P,A.end-=P,A.maxEnd-=P,F.left=A;break}else F=F.left;else if(F.right===e.SENTINEL){A.start-=P+F.delta,A.end-=P+F.delta,A.maxEnd-=P+F.delta,F.right=A;break}else P+=F.delta,F=F.right;A.parent=F,A.left=e.SENTINEL,A.right=e.SENTINEL,m(A,1)}function p(T,A){let P,F;if(A.left===e.SENTINEL?(P=A.right,F=A,P.delta+=A.delta,(P.delta<-1073741824||P.delta>1073741824)&&(T.requestNormalizeDelta=!0),P.start+=A.delta,P.end+=A.delta):A.right===e.SENTINEL?(P=A.left,F=A):(F=_(A.right),P=F.right,P.start+=F.delta,P.end+=F.delta,P.delta+=F.delta,(P.delta<-1073741824||P.delta>1073741824)&&(T.requestNormalizeDelta=!0),F.start+=A.delta,F.end+=A.delta,F.delta=A.delta,(F.delta<-1073741824||F.delta>1073741824)&&(T.requestNormalizeDelta=!0)),F===T.root){T.root=P,m(P,0),A.detach(),y(),M(P),T.root.parent=e.SENTINEL;return}const W=L(F)===1;if(F===F.parent.left?F.parent.left=P:F.parent.right=P,F===A?P.parent=F.parent:(F.parent===A?P.parent=F:P.parent=F.parent,F.left=A.left,F.right=A.right,F.parent=A.parent,m(F,L(A)),A===T.root?T.root=F:A===A.parent.left?A.parent.left=F:A.parent.right=F,F.left!==e.SENTINEL&&(F.left.parent=F),F.right!==e.SENTINEL&&(F.right.parent=F)),A.detach(),W){B(P.parent),F!==A&&(B(F),B(F.parent)),y();return}B(P),B(P.parent),F!==A&&(B(F),B(F.parent));let R;for(;P!==T.root&&L(P)===0;)P===P.parent.left?(R=P.parent.right,L(R)===1&&(m(R,0),m(P.parent,1),E(T,P.parent),R=P.parent.right),L(R.left)===0&&L(R.right)===0?(m(R,1),P=P.parent):(L(R.right)===0&&(m(R.left,0),m(R,1),N(T,R),R=P.parent.right),m(R,L(P.parent)),m(P.parent,0),m(R.right,0),E(T,P.parent),P=T.root)):(R=P.parent.left,L(R)===1&&(m(R,0),m(P.parent,1),N(T,P.parent),R=P.parent.left),L(R.left)===0&&L(R.right)===0?(m(R,1),P=P.parent):(L(R.left)===0&&(m(R.right,0),m(R,1),E(T,R),R=P.parent.left),m(R,L(P.parent)),m(P.parent,0),m(R.left,0),N(T,P.parent),P=T.root));m(P,0),y()}function _(T){for(;T.left!==e.SENTINEL;)T=T.left;return T}function y(){e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.delta=0,e.SENTINEL.start=0,e.SENTINEL.end=0}function E(T,A){const P=A.right;P.delta+=A.delta,(P.delta<-1073741824||P.delta>1073741824)&&(T.requestNormalizeDelta=!0),P.start+=A.delta,P.end+=A.delta,A.right=P.left,P.left!==e.SENTINEL&&(P.left.parent=A),P.parent=A.parent,A.parent===e.SENTINEL?T.root=P:A===A.parent.left?A.parent.left=P:A.parent.right=P,P.left=A,A.parent=P,M(A),M(P)}function N(T,A){const P=A.left;A.delta-=P.delta,(A.delta<-1073741824||A.delta>1073741824)&&(T.requestNormalizeDelta=!0),A.start-=P.delta,A.end-=P.delta,A.left=P.right,P.right!==e.SENTINEL&&(P.right.parent=A),P.parent=A.parent,A.parent===e.SENTINEL?T.root=P:A===A.parent.right?A.parent.right=P:A.parent.left=P,P.right=A,A.parent=P,M(A),M(P)}function D(T){let A=T.end;if(T.left!==e.SENTINEL){const P=T.left.maxEnd;P>A&&(A=P)}if(T.right!==e.SENTINEL){const P=T.right.maxEnd+T.delta;P>A&&(A=P)}return A}function M(T){T.maxEnd=D(T)}e.recomputeMaxEnd=M;function B(T){for(;T!==e.SENTINEL;){const A=D(T);if(T.maxEnd===A)return;T.maxEnd=A,T=T.parent}}function O(T,A,P,F){return T===P?A-F:T-P}e.intervalCompare=O}),define(te[426],ie([1,0]),function(q,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.recomputeTreeMetadata=e.updateTreeMetadata=e.fixInsert=e.rbDelete=e.rightRotate=e.leftRotate=e.resetSentinel=e.calculateLF=e.calculateSize=e.righttest=e.leftest=e.SENTINEL=e.TreeNode=void 0;class L{constructor(c,d){this.piece=c,this.color=d,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}next(){if(this.right!==e.SENTINEL)return m(this.right);let c=this;for(;c.parent!==e.SENTINEL&&c.parent.left!==c;)c=c.parent;return c.parent===e.SENTINEL?e.SENTINEL:c.parent}prev(){if(this.left!==e.SENTINEL)return k(this.left);let c=this;for(;c.parent!==e.SENTINEL&&c.parent.right!==c;)c=c.parent;return c.parent===e.SENTINEL?e.SENTINEL:c.parent}detach(){this.parent=null,this.left=null,this.right=null}}e.TreeNode=L,e.SENTINEL=new L(null,0),e.SENTINEL.parent=e.SENTINEL,e.SENTINEL.left=e.SENTINEL,e.SENTINEL.right=e.SENTINEL,e.SENTINEL.color=0;function m(o){for(;o.left!==e.SENTINEL;)o=o.left;return o}e.leftest=m;function k(o){for(;o.right!==e.SENTINEL;)o=o.right;return o}e.righttest=k;function I(o){return o===e.SENTINEL?0:o.size_left+o.piece.length+I(o.right)}e.calculateSize=I;function w(o){return o===e.SENTINEL?0:o.lf_left+o.piece.lineFeedCnt+w(o.right)}e.calculateLF=w;function b(){e.SENTINEL.parent=e.SENTINEL}e.resetSentinel=b;function C(o,c){const d=c.right;d.size_left+=c.size_left+(c.piece?c.piece.length:0),d.lf_left+=c.lf_left+(c.piece?c.piece.lineFeedCnt:0),c.right=d.left,d.left!==e.SENTINEL&&(d.left.parent=c),d.parent=c.parent,c.parent===e.SENTINEL?o.root=d:c.parent.left===c?c.parent.left=d:c.parent.right=d,d.left=c,c.parent=d}e.leftRotate=C;function u(o,c){const d=c.left;c.left=d.right,d.right!==e.SENTINEL&&(d.right.parent=c),d.parent=c.parent,c.size_left-=d.size_left+(d.piece?d.piece.length:0),c.lf_left-=d.lf_left+(d.piece?d.piece.lineFeedCnt:0),c.parent===e.SENTINEL?o.root=d:c===c.parent.right?c.parent.right=d:c.parent.left=d,d.right=c,c.parent=d}e.rightRotate=u;function g(o,c){let d,r;if(c.left===e.SENTINEL?(r=c,d=r.right):c.right===e.SENTINEL?(r=c,d=r.left):(r=m(c.right),d=r.right),r===o.root){o.root=d,d.color=0,c.detach(),b(),o.root.parent=e.SENTINEL;return}const s=r.color===1;if(r===r.parent.left?r.parent.left=d:r.parent.right=d,r===c?(d.parent=r.parent,i(o,d)):(r.parent===c?d.parent=r:d.parent=r.parent,i(o,d),r.left=c.left,r.right=c.right,r.parent=c.parent,r.color=c.color,c===o.root?o.root=r:c===c.parent.left?c.parent.left=r:c.parent.right=r,r.left!==e.SENTINEL&&(r.left.parent=r),r.right!==e.SENTINEL&&(r.right.parent=r),r.size_left=c.size_left,r.lf_left=c.lf_left,i(o,r)),c.detach(),d.parent.left===d){const l=I(d),h=w(d);if(l!==d.parent.size_left||h!==d.parent.lf_left){const f=l-d.parent.size_left,S=h-d.parent.lf_left;d.parent.size_left=l,d.parent.lf_left=h,n(o,d.parent,f,S)}}if(i(o,d.parent),s){b();return}let a;for(;d!==o.root&&d.color===0;)d===d.parent.left?(a=d.parent.right,a.color===1&&(a.color=0,d.parent.color=1,C(o,d.parent),a=d.parent.right),a.left.color===0&&a.right.color===0?(a.color=1,d=d.parent):(a.right.color===0&&(a.left.color=0,a.color=1,u(o,a),a=d.parent.right),a.color=d.parent.color,d.parent.color=0,a.right.color=0,C(o,d.parent),d=o.root)):(a=d.parent.left,a.color===1&&(a.color=0,d.parent.color=1,u(o,d.parent),a=d.parent.left),a.left.color===0&&a.right.color===0?(a.color=1,d=d.parent):(a.left.color===0&&(a.right.color=0,a.color=1,C(o,a),a=d.parent.left),a.color=d.parent.color,d.parent.color=0,a.left.color=0,u(o,d.parent),d=o.root));d.color=0,b()}e.rbDelete=g;function t(o,c){for(i(o,c);c!==o.root&&c.parent.color===1;)if(c.parent===c.parent.parent.left){const d=c.parent.parent.right;d.color===1?(c.parent.color=0,d.color=0,c.parent.parent.color=1,c=c.parent.parent):(c===c.parent.right&&(c=c.parent,C(o,c)),c.parent.color=0,c.parent.parent.color=1,u(o,c.parent.parent))}else{const d=c.parent.parent.left;d.color===1?(c.parent.color=0,d.color=0,c.parent.parent.color=1,c=c.parent.parent):(c===c.parent.left&&(c=c.parent,u(o,c)),c.parent.color=0,c.parent.parent.color=1,C(o,c.parent.parent))}o.root.color=0}e.fixInsert=t;function n(o,c,d,r){for(;c!==o.root&&c!==e.SENTINEL;)c.parent.left===c&&(c.parent.size_left+=d,c.parent.lf_left+=r),c=c.parent}e.updateTreeMetadata=n;function i(o,c){let d=0,r=0;if(c!==o.root){for(;c!==o.root&&c===c.parent.right;)c=c.parent;if(c!==o.root)for(c=c.parent,d=I(c.left)-c.size_left,r=w(c.left)-c.lf_left,c.size_left+=d,c.lf_left+=r;c!==o.root&&(d!==0||r!==0);)c.parent.left===c&&(c.parent.size_left+=d,c.parent.lf_left+=r),c=c.parent}}e.recomputeTreeMetadata=i}),define(te[245],ie([1,0,18,142]),function(q,e,L,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PrefixSumIndexOfResult=e.ConstantTimePrefixSumComputer=e.PrefixSumComputer=void 0;class k{constructor(C){this.values=C,this.prefixSum=new Uint32Array(C.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(C,u){C=(0,m.toUint32)(C);const g=this.values,t=this.prefixSum,n=u.length;return n===0?!1:(this.values=new Uint32Array(g.length+n),this.values.set(g.subarray(0,C),0),this.values.set(g.subarray(C),C+n),this.values.set(u,C),C-1